Author skrah
Recipients benjamin.peterson, meador.inge, neologix, skrah, vstinner
Date 2011-09-13.15:14:51
SpamBayes Score 9.39385e-09
Marked as misclassified No
Message-id <1315926892.24.0.656491462595.issue12936@psf.upfronthosting.co.za>
In-reply-to
Content
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()?
History
Date User Action Args
2011-09-13 15:14:52skrahsetrecipients: + skrah, vstinner, benjamin.peterson, meador.inge, neologix
2011-09-13 15:14:52skrahsetmessageid: <1315926892.24.0.656491462595.issue12936@psf.upfronthosting.co.za>
2011-09-13 15:14:51skrahlinkissue12936 messages
2011-09-13 15:14:51skrahcreate