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 <>
I wonder whether it is

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

$ 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
Date User Action Args
2011-09-13 15:14:52skrahsetrecipients: + skrah, vstinner, benjamin.peterson, meador.inge, neologix
2011-09-13 15:14:52skrahsetmessageid: <>
2011-09-13 15:14:51skrahlinkissue12936 messages
2011-09-13 15:14:51skrahcreate