Comment 10 for bug 1762683

Revision history for this message
Phil M (unmobile+ubuntu) wrote :

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@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@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)