[Bug 1762683] Re: AddressSanitizer CHECK failed: ../../../sanitizer/asan/asan_interceptors.cc:384 "((__interception::real___cxa_throw)) != (0)" (0x0, 0x0)

Phil M 1762683 at bugs.launchpad.net
Thu Aug 8 19:50:37 UTC 2019


I'm still seeing this problem for both 7.4.0-1ubuntu1~18.04.1 and
8.3.0-6ubuntu1~18.04.1.

I've confirmed with the reproduction case posted on the GCC bug as well:

phil at machine:~/python_module$ g++ --version
g++ (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

phil at machine:~/python_module$ bash run.sh
without sanitizers
Throwing an exception
Caught an exception
Hello
*******
with sanitizers
Throwing an exception
==11969==AddressSanitizer CHECK failed: ../../../../src/libsanitizer/asan/asan_interceptors.cc:384 "((__interception::real___cxa_throw)) != (0)" (0x0, 0x0)
    #0 0x7faf2d20fc02  (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xe9c02)
    #1 0x7faf2d22e595 in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x108595)
    #2 0x7faf2d15e26c in __interceptor___cxa_throw (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x3826c)
    #3 0x7faf28e631f5 in greet(_object*, _object*) (/home/phil/python_module/greet.so+0x11f5)
    #4 0x503090  (/usr/bin/python3.6+0x503090)
    #5 0x506858 in _PyEval_EvalFrameDefault (/usr/bin/python3.6+0x506858)
    #6 0x502208  (/usr/bin/python3.6+0x502208)
    #7 0x502f3c  (/usr/bin/python3.6+0x502f3c)
    #8 0x506858 in _PyEval_EvalFrameDefault (/usr/bin/python3.6+0x506858)
    #9 0x504c27  (/usr/bin/python3.6+0x504c27)
    #10 0x506392 in PyEval_EvalCode (/usr/bin/python3.6+0x506392)
    #11 0x634d51  (/usr/bin/python3.6+0x634d51)
    #12 0x634e09 in PyRun_FileExFlags (/usr/bin/python3.6+0x634e09)
    #13 0x6385c7 in PyRun_SimpleFileExFlags (/usr/bin/python3.6+0x6385c7)
    #14 0x639159 in Py_Main (/usr/bin/python3.6+0x639159)
    #15 0x4a6f0f in main (/usr/bin/python3.6+0x4a6f0f)
    #16 0x7faf2cd56b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
    #17 0x5afa09 in _start (/usr/bin/python3.6+0x5afa09)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-8 in Ubuntu.
https://bugs.launchpad.net/bugs/1762683

Title:
  AddressSanitizer CHECK failed:
  ../../../sanitizer/asan/asan_interceptors.cc:384
  "((__interception::real___cxa_throw)) != (0)" (0x0, 0x0)

Status in gcc:
  Invalid
Status in gcc-6 package in Ubuntu:
  Fix Released
Status in gcc-7 package in Ubuntu:
  Fix Released
Status in gcc-8 package in Ubuntu:
  Fix Released

Bug description:
  see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84428 for details and
  repro

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: libubsan0 7.3.0-15ubuntu2
  ProcVersionSignature: Ubuntu 4.15.0-13.14-generic 4.15.10
  Uname: Linux 4.15.0-13-generic x86_64
  ApportVersion: 2.20.9-0ubuntu4
  Architecture: amd64
  CurrentDesktop: XFCE
  Date: Tue Apr 10 11:09:34 2018
  Dependencies:
   gcc-7-base 7.3.0-15ubuntu2
   gcc-8-base 8-20180408-0ubuntu1
   libc6 2.27-0ubuntu3
   libgcc1 1:8-20180408-0ubuntu1
   libstdc++6 8-20180408-0ubuntu1
  InstallationDate: Installed on 2010-10-19 (2729 days ago)
  InstallationMedia: Xubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101008.1)
  SourcePackage: gcc-7
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1762683/+subscriptions



More information about the foundations-bugs mailing list