Message167777
| Author |
skrah |
| Recipients |
flub, georg.brandl, larry, ned.deily, python-dev, skrah, vstinner |
| Date |
2012年08月09日.10:33:49 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1344508430.91.0.946604358984.issue15589@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> If disabling faulthandler avoids new issues, you can add 'if
> [not] sys.thread_info.version.startswith("linuxthreads")'
That suppresses some bus errors. However, they still occur without
being raised (some print statements and a WIFSIGNALED test inserted
in posix_waitpid):
>>> import subprocess, os
>>> p = subprocess.Popen(["/bin/true"])
>>> os.waitpid(p.pid, os.WNOHANG)
pid: 4461 options: 1
signo: 10
(4461, 10)
>>>
So a bus error occurs in waitpid(pid, &status, options).WAIT_TYPE
is int, perhaps that's incorrect for the platform, but I can't get
hold of the posix man pages for debian-etch-sparc. |
|