ImageImage

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.

classification
Title: test_pickle segfault on s390x RHEL7 LTO 3.x
Type: Stage: resolved
Components: Tests Versions: Python 3.11
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: Dennis Sweeney, thesamesam, vstinner
Priority: normal Keywords:

Created on 2021-10-15 13:27 by vstinner, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (4)
msg404014 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2021-10-15 13:27
s390x RHEL7 LTO 3.x:
https://buildbot.python.org/all/#/builders/402/builds/979

--------------------
0:02:00 load avg: 5.14 [193/427/2] test_pickletools crashed (Exit code -11) -- running: test_unparse (30.6 sec), test_concurrent_futures (1 min 56 sec), test_multiprocessing_spawn (43.2 sec)
Fatal Python error: Segmentation fault

Current thread 0x000003ffb8e77700 (most recent call first):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/pickletester.py", line 3304 in __getattr__
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/pickletester.py", line 3305 in __getattr__
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/pickletester.py", line 3305 in __getattr__
  (...)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/pickletester.py", line 3305 in __getattr__
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/pickletester.py", line 3305 in __getattr__
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/pickletester.py", line 3305 in __getattr__
  ...

Extension modules: _testcapi, _testbuffer (total: 2)
--------------------

and

--------------------
test_instance_dispatch_table (test.test_pickle.CDispatchTableTests) ... ok
test_appends_on_non_lists (test.test_pickle.CDumpPickle_LoadPickle) ... ok
test_attribute_name_interning (test.test_pickle.CDumpPickle_LoadPickle) ... ok
Fatal Python error: Segmentation fault

Current thread 0x000003ff80377700 (most recent call first):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/pickletester.py", line 3305 in __getattr__
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/pickletester.py", line 3305 in __getattr__
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/pickletester.py", line 3305 in __getattr__
  (...)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/pickletester.py", line 3305 in __getattr__
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/pickletester.py", line 3305 in __getattr__
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/pickletester.py", line 3305 in __getattr__
  ...

Extension modules: _testcapi, _testbuffer (total: 2)
--------------------
msg404015 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2021-10-15 13:29
It seems like pickle tests started to crash at build 936, 4 days ago:
https://buildbot.python.org/all/#/builders/402/builds/936

This build was trigged by the change:

commit fcb3d2ff633f3e9a826888d8b29c305a3959ff54
Author: Mark Shannon <[email protected]>
Date:   Mon Oct 11 11:34:02 2021 +0100

    Restore PEP 523 functionality. (GH-28871)


I don't know if the commit is related to the crash or not.
msg405271 - (view) Author: Dennis Sweeney (Dennis Sweeney) * (Python committer) Date: 2021-10-28 21:13
Hopefully this was fixed by https://github.com/python/cpython/pull/29258
msg405358 - (view) Author: Dennis Sweeney (Dennis Sweeney) * (Python committer) Date: 2021-10-30 04:39
Looks like the pickletester bug hasn't happened since the fix, so I'll go ahead and close this.
History
Date User Action Args
2022-04-11 14:59:51adminsetgithub: 89647
2021-10-30 04:39:15Dennis Sweeneysetstatus: open -> closed
resolution: fixed
messages: + msg405358

stage: resolved
2021-10-29 16:12:43thesamesamsetnosy: + thesamesam
2021-10-28 21:13:05Dennis Sweeneysetnosy: + Dennis Sweeney
messages: + msg405271
2021-10-15 13:29:03vstinnersetmessages: + msg404015
2021-10-15 13:27:03vstinnercreate