Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 312 by [email protected]: segfault when creating
more than 256 threads
http://code.google.com/p/address-sanitizer/issues/detail?id=312
Using clang 3.4 and asan, it systematically crashes after creating slightly
more than 256 threads.
Attached program compiled with:
clang -O1 -g -fsanitize=address -fno-omit-frame-pointer test.c
(gdb) bt
#0 0x000000000000256f in ?? ()
#1 0x000000000047fc9c in SetStarted () at
/srv/tools-src/llvm_3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_thread_registry.cc:64
#2 StartThread () at
/srv/tools-src/llvm_3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_thread_registry.cc:269
#3 0x0000000000470f43 in ThreadStart () at
/srv/tools-src/llvm_3.4/projects/compiler-rt/lib/asan/asan_thread.cc:184
#4 0x00007ffff7bc8062 in start_thread (arg=0x7fffef7fc700) at
pthread_create.c:312
#5 0x00007ffff6fd6bfd in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Attachments:
test.c 538 bytes
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.