On 19 February 2014 19:09, Piotr Rak <[email protected]> wrote: > If you want to give it a shot, I'll attach one of my puppets (10 threads, > doing nothing but sleep). > Also I use bfd linker so it has nothing to do with gold in my case.
Hi Piotr, I'm not able to compile your test code (clang 3.4), but as a data point I have no trouble with a similar C test case of mine, on FreeBSD. Perhaps you can build it and compare. My test code is here: https://github.com/emaste/userland-cores (lldb) bt all * thread #1: tid = 0, 0x0000000800aa03fc libc.so.7`__sys_thr_kill + 12 at thr_kill.S:3, name = 'gen-core-v1', stop reason = signal SIGABRT * frame #0: 0x0000000800aa03fc libc.so.7`__sys_thr_kill + 12 at thr_kill.S:3 frame #1: 0x0000000800b4487b libc.so.7`abort + 75 at abort.c:65 frame #2: 0x00000000004007c1 gen-core-v1`thread_fn_2(arg=0x0000000000600c20) + 81 at gen-core.c:37 frame #3: 0x0000000800822dc4 libthr.so.3`thread_start(curthread=0x0000000801008000) + 260 at thr_create.c:284 thread #2: tid = 1, 0x0000000800b2707c libc.so.7`__sys_nanosleep + 12 at nanosleep.S:3, name = 'gen-core-v1', stop reason = signal SIGABRT frame #0: 0x0000000800b2707c libc.so.7`__sys_nanosleep + 12 at nanosleep.S:3 frame #1: 0x0000000800a929c8 libc.so.7`__sleep(seconds=60) + 40 at sleep.c:58 frame #2: 0x0000000800825078 libthr.so.3`___sleep(seconds=60) + 40 at thr_syscalls.c:592 frame #3: 0x0000000000400755 gen-core-v1`thread_fn_1(arg=0x0000000000600c08) + 69 at gen-core.c:23 frame #4: 0x0000000800822dc4 libthr.so.3`thread_start(curthread=0x0000000801007c00) + 260 at thr_create.c:284 thread #3: tid = 2, 0x0000000800b2707c libc.so.7`__sys_nanosleep + 12 at nanosleep.S:3, name = 'gen-core-v1', stop reason = signal SIGABRT frame #0: 0x0000000800b2707c libc.so.7`__sys_nanosleep + 12 at nanosleep.S:3 frame #1: 0x0000000800a929c8 libc.so.7`__sleep(seconds=60) + 40 at sleep.c:58 frame #2: 0x0000000800825078 libthr.so.3`___sleep(seconds=60) + 40 at thr_syscalls.c:592 frame #3: 0x0000000000400755 gen-core-v1`thread_fn_1(arg=0x0000000000600bf0) + 69 at gen-core.c:23 frame #4: 0x0000000800822dc4 libthr.so.3`thread_start(curthread=0x0000000801007800) + 260 at thr_create.c:284 thread #4: tid = 3, 0x0000000800b2707c libc.so.7`__sys_nanosleep + 12 at nanosleep.S:3, name = 'gen-core-v1', stop reason = signal SIGABRT frame #0: 0x0000000800b2707c libc.so.7`__sys_nanosleep + 12 at nanosleep.S:3 frame #1: 0x0000000800a929c8 libc.so.7`__sleep(seconds=60) + 40 at sleep.c:58 frame #2: 0x0000000800825078 libthr.so.3`___sleep(seconds=60) + 40 at thr_syscalls.c:592 frame #3: 0x000000000040088f gen-core-v1`main(argc=1, argv=0x00007fffffffd540) + 191 at gen-core.c:54 frame #4: 0x0000000000400681 gen-core-v1`_start(ap=<unavailable>, cleanup=<unavailable>) + 161 at crt1.c:97 _______________________________________________ lldb-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
