Opened 2 years ago

Last modified 7 weeks ago

#14305 new bug

Assert in pthread_join

Reported by: miqlas Owned by: nobody
Priority: normal Milestone: R1
Component: System/POSIX Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by pulkomandy)

TBB test reports:

../../src/test/harness.h:575, assertion !status: pthread_join failed
Abort

The code is:

        int status = pthread_join( thread_id, NULL );
        ASSERT( !status, "pthread_join failed" );

Platform : Haiku shredder 1 hrev52138 Jul 26 2018 11:36:54 x86_64 x86_64 Haiku TBB : https://github.com/01org/tbb/pull/64

Change History (5)

comment:1 by korli, 2 years ago

Could you provide a small test case? ie with "gcc -E"

comment:2 by nielx, 2 years ago

There is also an issue reported with pthread_join when using Rust. See: https://github.com/nielx/rust/issues/3

comment:3 by waddlesplash, 19 months ago

Please retest after hrev52662.

comment:4 by nielx, 8 weeks ago

Retested with a dev build of rustc and cargo on hrev54088 (near beta2). Unfortunately still the same error.

comment:5 by pulkomandy, 7 weeks ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.