#14342 closed bug (fixed)

Repeatly create/join threads with thread local variable crash

Reported by: leorize Owned by: nobody
Priority: high Milestone: Unscheduled
Component: System/libroot.so Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All


The attached program tlsbrute.c demonstrate this bug

How to run:

$ gcc -o tlsbrute tlsbrute.c
$ ./tlsbrute


$ ./tlsbrute
(no output, returns 0)


$ ./tlsbrute
(crash dialog appears, thread recieved SIGSEGV)
Kill Thread

Attachments (2)

tlsbrute.c (644 bytes ) - added by leorize 18 months ago.
tlsbrute-crash.report (7.9 KB ) - added by leorize 18 months ago.

Download all attachments as: .zip

Change History (5)

by leorize, 18 months ago

Attachment: tlsbrute.c added

comment:1 by waddlesplash, 18 months ago

Try running under libroot_debug with MALLOC_DEBUG=g and see what happens.

by leorize, 18 months ago

Attachment: tlsbrute-crash.report added

comment:2 by leorize, 18 months ago

It still have a crash dialog, no output, but this time it died on _kern_debugger. Check the attached debug report for more details.

comment:3 by waddlesplash, 14 months ago

Resolution: fixed
Status: newclosed

Fixed in hrev52662 (and fix merged into r1beta1 also.)

Note: See TracTickets for help on using tickets.