1 2 ---Thread-Announcement------------------------------------------ 3 4 Thread #x is the program's root thread 5 6 ---------------------------------------------------------------- 7 8 Thread #x's call to sem_init failed 9 with error code 22 (EINVAL: Invalid argument) 10 at 0x........: sem_init_WRK (hg_intercepts.c:...) 11 by 0x........: sem_init@* (hg_intercepts.c:...) 12 by 0x........: main (tc18_semabuse.c:23) 13 14 ---------------------------------------------------------------- 15 16 Thread #x: Bug in libpthread: sem_wait succeeded on semaphore without prior sem_post 17 at 0x........: sem_wait_WRK (hg_intercepts.c:...) 18 by 0x........: sem_wait (hg_intercepts.c:...) 19 by 0x........: main (tc18_semabuse.c:34) 20 21 22 ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) 23