Opened 6 years ago

Last modified 4 years ago

#14305 closed bug

Assert in pthread_join — at Version 5

Reported by: miqlas Owned by: nobody
Priority: normal Milestone: R1/beta3
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, 6 years ago

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

comment:2 by nielx, 6 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, 5 years ago

Please retest after hrev52662.

comment:4 by nielx, 4 years ago

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

comment:5 by pulkomandy, 4 years ago

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