Opened 11 years ago

Closed 11 years ago

#1644 closed bug (fixed)

the pthread_key_create_1-2 posix test fails

Reported by: kaoutsis Owned by: axeld
Priority: normal Milestone: R1
Component: System/ Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All


source file: src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_key_create/1-2.c

the failure output is: Test FAILED: Could not use a certain key value to set for many keys

Change History (6)

comment:1 Changed 11 years ago by bonefish

Resolution: fixed
Status: newclosed

Fixed in hrev23009.

comment:2 Changed 11 years ago by kaoutsis

Resolution: fixed
Status: closedreopened


Thread 9026 caused an exception: Segment violation
Reading symbols from /boot/beos/system/lib/
Loaded symbols for /boot/beos/system/lib/
[tcsetpgrp failed in terminal_inferior: Invalid Argument]
[Switching to team ./pthread_key_create_1-2 (9025) thread pthread func (9026)]
0x002352f5 in __pthread_cleanup_pop_handler ()
   from /boot/beos/system/lib/
(gdb) where
#0  0x002352f5 in __pthread_cleanup_pop_handler ()
   from /boot/beos/system/lib/
#1  0x00234df1 in pthread_destroy_thread ()
   from /boot/beos/system/lib/
#2  0x0022601e in _thread_do_exit_notification ()
   from /boot/beos/system/lib/
#3  0x00225fa8 in exit_thread () from /boot/beos/system/lib/
#4  0x00234fdb in pthread_exit () from /boot/beos/system/lib/
#5  0x00200a5a in a_thread_func ()
#6  0x00234e67 in pthread_thread_entry () from /boot/beos/system/lib/
#7  0x00225e60 in thread_entry () from /boot/beos/system/lib/
#8  0x7003ffec in ?? ()

comment:3 Changed 11 years ago by kaoutsis

also know fails the pthread_key_create_3-1 invokes the gdb in pthread_cleanup_pop_handler() exactly as above, (there is no need to open another ticket, i think, fixing this, both will be fixed:-))

comment:4 Changed 11 years ago by kaoutsis

the same applies to pthread_key_delete_2-1

comment:5 Changed 11 years ago by axeld

Component: - GeneralSystem/
Status: reopenednew

I recently changed some stuff in the pthread implementation, so I guess I'm to blame. I'll have a look.

comment:6 Changed 11 years ago by axeld

Resolution: fixed
Status: newclosed

Fixed in hrev24998.

Note: See TracTickets for help on using tickets.