linux-user crash in python test
$ /usr/bin/python3.11 -m unittest -v test.test_signal.StressTest.test_stress_modifying_handlers test_stress_modifying_handlers (test.test_signal.StressTest.test_stress_modifying_handlers) ... ok
----------------------------------------------------------------------
Ran 1 test in 0.526s
OK
$ qemu-x86_64 /usr/bin/python3.11 -m unittest -v test.test_signal.StressTest.test_stress_modifying_handlers test_stress_modifying_handlers (test.test_signal.StressTest.test_stress_modifying_handlers) ... qemu: uncaught target signal 11 (Segmentation fault) - core dumped Segmentation fault (core dumped)
Signature · 3 lines
Andreas Schwab, SUSE Labs, [email protected] GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."
Quoted 11 lines · Andreas Schwab
$ /usr/bin/python3.11 -m unittest -v test.test_signal.StressTest.test_stress_modifying_handlers test_stress_modifying_handlers (test.test_signal.StressTest.test_stress_modifying_handlers) ... ok----------------------------------------------------------------------
Ran 1 test in 0.526sOK
$ qemu-x86_64 /usr/bin/python3.11 -m unittest -v test.test_signal.StressTest.test_stress_modifying_handlers test_stress_modifying_handlers (test.test_signal.StressTest.test_stress_modifying_handlers) ... qemu: uncaught target signal 11 (Segmentation fault) - core dumped Segmentation fault (core dumped)
Just to check, does the python you're running this on have the change from
https://github.com/python/cpython/pull/110659
? That is a fix for a bug in this test which was found after 3.11 released but was backported to the 3.11 branch, and which (if I'm reading the bug reports correctly) might cause either test failures or segfaults.
Though it also wouldn't surprise me if this was a QEMU bug.
thanks
-- PMM
Quoted 3 lines · Peter Maydell
Just to check, does the python you're running this on have the change from
https://github.com/python/cpython/pull/110659
Yes, this is python 3.11.9.
Signature · 3 lines
Andreas Schwab, SUSE Labs, [email protected] GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."