This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rpointel
Recipients neologix, rpointel, vstinner
Date 2011-08-31.17:59:35
SpamBayes Score 6.642305e-07
Marked as misclassified No
Message-id <1314813576.33.0.456780707255.issue12868@psf.upfronthosting.co.za>
In-reply-to
Content
Hi,

results:
>Out of curiosity, could you try this:
>$ ./python -c "import faulthandler; faulthandler.enable(); faulthandler._stack_overflow()"; echo $?

$ ./python -c "import faulthandler; faulthandler.enable(); faulthandler._stack_overflow()"; echo $?
zsh: illegal hardware instruction (core dumped)  ./python -c 
132

>And if you're motivated, you could try it again after having built python with './configure --without-threads'.

It does not build completely, I have a problem if I add --without-threads:
$ make
[...]
./Modules/posixmodule.c:4582: undefined reference to `sched_get_priority_min'
libpython3.3m.a(posixmodule.o)(.text+0x430b): In function `posix_sched_get_priority_max':
./Modules/posixmodule.c:4565: undefined reference to `sched_get_priority_max'
collect2: ld returned 1 exit status
*** Error code 1

It seems that it needs -pthread even if I precise --without-threads. Must I open a new ticket for this problem?

Thanks for your help,

Remi.
History
Date User Action Args
2011-08-31 17:59:36rpointelsetrecipients: + rpointel, vstinner, neologix
2011-08-31 17:59:36rpointelsetmessageid: <1314813576.33.0.456780707255.issue12868@psf.upfronthosting.co.za>
2011-08-31 17:59:35rpointellinkissue12868 messages
2011-08-31 17:59:35rpointelcreate