Skip to content

Tests libquntum and bzip crash in release build #25

Description

@magras
$ cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=clang++-14 -DCMAKE_CXX_FLAGS="-isystem /usr/include/llvm-14 -isystem /usr/include/llvm-c-14"
...
$ cmake --build build
...
$ ctest --test-dir build --output-on-failure
Internal ctest changing into directory: /usr/local/src/stabilizer/build
Test project /usr/local/src/stabilizer/build
    Start 1: hello
1/3 Test #1: hello ............................   Passed    0.01 sec
    Start 2: libquantum
2/3 Test #2: libquantum .......................Subprocess aborted***Exception:   0.04 sec
 [/usr/local/src/stabilizer/runtime/libstabilizer.cpp:219]  ABORT: Fault at 0x7fbfc2c6da37, accessing address 0x564abc104020
/usr/local/src/stabilizer/build/runtime/libstabilizer.so(_Z5panicv+0x21) [0x7fbfc2c6d581] [at 0x7fbfc2c6d581]
/usr/local/src/stabilizer/build/runtime/libstabilizer.so(_Z7onFaultiP9siginfo_tPv+0x5d) [0x7fbfc2c6f27d] [at 0x7fbfc2c6f27d]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7fbfc2858520] [at 0x7fbfc2858520]
/usr/local/src/stabilizer/build/runtime/libstabilizer.so(_ZN8Function6copyToEPv+0x107) [0x7fbfc2c6da37] [at 0x7fbfc2c6da37]
/usr/local/src/stabilizer/build/runtime/libstabilizer.so(_ZN16FunctionLocationC2EP8Function+0x74) [0x7fbfc2c6dde4] [at 0x7fbfc2c6dde4]
/usr/local/src/stabilizer/build/runtime/libstabilizer.so(_ZN8Function8relocateEv+0x24) [0x7fbfc2c6daf4] [at 0x7fbfc2c6daf4]
/usr/local/src/stabilizer/build/runtime/libstabilizer.so(_Z6onTrapiP9siginfo_tPv+0x80) [0x7fbfc2c6ef00] [at 0x7fbfc2c6ef00]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7fbfc2858520] [at 0x7fbfc2858520]
/usr/local/src/stabilizer/build/tests-prefix/src/tests-build/libquantum/libquantum(stabilizer_main+0) [0x564abc0fa990] [at 0x564abc0fa990]
/usr/local/src/stabilizer/build/runtime/libstabilizer.so(main+0xf8) [0x7fbfc2c6ee38] [at 0x7fbfc2c6ee38]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90) [0x7fbfc283fd90] [at 0x7fbfc283fd90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80) [0x7fbfc283fe40] [at 0x7fbfc283fe40]
/usr/local/src/stabilizer/build/tests-prefix/src/tests-build/libquantum/libquantum(+0x60a5) [0x564abc0ec0a5] [at 0x564abc0ec0a5]

    Start 3: bzip2
3/3 Test #3: bzip2 ............................Subprocess aborted***Exception:   4.55 sec
 [/usr/local/src/stabilizer/runtime/libstabilizer.cpp:219]  ABORT: Fault at 0x4b6fabee, accessing address (nil)
/usr/local/src/stabilizer/build/runtime/libstabilizer.so(_Z5panicv+0x21) [0x7f8ecb744581] [at 0x7f8ecb744581]
/usr/local/src/stabilizer/build/runtime/libstabilizer.so(_Z7onFaultiP9siginfo_tPv+0x5d) [0x7f8ecb74627d] [at 0x7f8ecb74627d]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7f8ecb32c520] [at 0x7f8ecb32c520]
/usr/local/src/stabilizer/build/tests-prefix/src/tests-build/bzip2/bzip2(+0x42fe) [0x5606cc6902fe] [at 0x4b6fabee]


33% tests passed, 2 tests failed out of 3

Total Test time (real) =   4.62 sec

The following tests FAILED:
          2 - libquantum (Subprocess aborted)
          3 - bzip2 (Subprocess aborted)
Errors while running CTest

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions