Skip to content

2022.3.0: Malloc tests fail #1907

@Lastique

Description

@Lastique

Summary

Running tests after building oneTBB 2022.3.0 fail:

136/140 Test #136: test_malloc_whitebox .....................   Passed    1.19 sec
test 137
        Start 137: test_malloc_atexit

137: Test command: /build/tbb/tbb/obj-x86_64-linux-gnu/gnu_13.3_cxx20_64_release/test_malloc_atexit "--force-colors=1"
137: Working Directory: /build/tbb/tbb/obj-x86_64-linux-gnu/gnu_13.3_cxx20_64_release
137: Test timeout computed to be: 10000000
137/140 Test #137: test_malloc_atexit .......................***Exception: SegFault  0.09 sec

test 138
        Start 138: test_malloc_overload

138: Test command: /build/tbb/tbb/obj-x86_64-linux-gnu/gnu_13.3_cxx20_64_release/test_malloc_overload "--force-colors=1"
138: Working Directory: /build/tbb/tbb/obj-x86_64-linux-gnu/gnu_13.3_cxx20_64_release
138: Test timeout computed to be: 10000000
138/140 Test #138: test_malloc_overload .....................***Exception: SegFault  0.07 sec

test 139
        Start 139: test_malloc_overload_disable

139: Test command: /build/tbb/tbb/obj-x86_64-linux-gnu/gnu_13.3_cxx20_64_release/test_malloc_overload_disable "--force-colors=1"
139: Working Directory: /build/tbb/tbb/obj-x86_64-linux-gnu/gnu_13.3_cxx20_64_release
139: Test timeout computed to be: 10000000
139/140 Test #139: test_malloc_overload_disable .............***Exception: SegFault  0.06 sec

test 140
        Start 140: test_malloc_new_handler

140: Test command: /build/tbb/tbb/obj-x86_64-linux-gnu/gnu_13.3_cxx20_64_release/test_malloc_new_handler "--force-colors=1"
140: Working Directory: /build/tbb/tbb/obj-x86_64-linux-gnu/gnu_13.3_cxx20_64_release
140: Test timeout computed to be: 10000000
140/140 Test #140: test_malloc_new_handler ..................***Exception: SegFault  0.07 sec


97% tests passed, 4 tests failed out of 140

Total Test time (real) = 138.23 sec

The following tests FAILED:
        137 - test_malloc_atexit (SEGFAULT)
        138 - test_malloc_overload (SEGFAULT)
        139 - test_malloc_overload_disable (SEGFAULT)
        140 - test_malloc_new_handler (SEGFAULT)
Errors while running CTest

Full build log:

ubuntu-noble.log

Version

2022.3.0

Environment

  • Core i7 12700K
  • Ubuntu 24.04 x86-64
  • gcc 13.3

Observed Behavior

Running tests fail.

Expected Behavior

Tests should succeed.

Steps To Reproduce

See the attached build log for command line options.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions