Message143974
I wonder whether it is http://sources.redhat.com/bugzilla/show_bug.cgi?id=12453.
The demo script from there crashes both on debian-arm and Ubuntu Lucid,
but this specific segfault only occurs on debian arm.
Attached is a minimal C test case that only crashes on debian-arm
when sched_setaffinity() is called *and* the program is linked to
pthread:
$ gcc -Wall -W -O0 -g -o crash crash.c
$ ./crash
$
$ gcc -Wall -W -O0 -g -o crash crash.c -pthread
$ ./crash
Segmentation fault (core dumped)
# comment out: sched_setaffinity(0, size, cpusetp);
$ gcc -Wall -W -O0 -g -o crash crash.c -pthread
$ ./crash
$
On Ubuntu all three cases run fine. Perhaps this is a bug in
sched_setaffinity()? |
|
Date |
User |
Action |
Args |
2011-09-13 15:14:52 | skrah | set | recipients:
+ skrah, vstinner, benjamin.peterson, meador.inge, neologix |
2011-09-13 15:14:52 | skrah | set | messageid: <1315926892.24.0.656491462595.issue12936@psf.upfronthosting.co.za> |
2011-09-13 15:14:51 | skrah | link | issue12936 messages |
2011-09-13 15:14:51 | skrah | create | |
|