Skip to content

test_pickle segfault on s390x RHEL7 LTO 3.x #89647

Description

@vstinner
BPO 45484
Nosy @vstinner, @sweeneyde, @thesamesam

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2021-10-30.04:39:15.230>
created_at = <Date 2021-10-15.13:27:03.173>
labels = ['tests', '3.11']
title = 'test_pickle segfault on s390x RHEL7 LTO 3.x'
updated_at = <Date 2021-10-30.04:39:15.229>
user = 'https://github.com/vstinner'

bugs.python.org fields:

activity = <Date 2021-10-30.04:39:15.229>
actor = 'Dennis Sweeney'
assignee = 'none'
closed = True
closed_date = <Date 2021-10-30.04:39:15.230>
closer = 'Dennis Sweeney'
components = ['Tests']
creation = <Date 2021-10-15.13:27:03.173>
creator = 'vstinner'
dependencies = []
files = []
hgrepos = []
issue_num = 45484
keywords = []
message_count = 4.0
messages = ['404014', '404015', '405271', '405358']
nosy_count = 3.0
nosy_names = ['vstinner', 'Dennis Sweeney', 'thesamesam']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue45484'
versions = ['Python 3.11']

Activity

  1. vstinner commented on Oct 15, 2021

    @vstinner
    MemberAuthor

    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)
    --------------------

  2. added
    3.11only security fixes
    testsTests in the Lib/test dir
    on Oct 15, 2021
  3. vstinner commented on Oct 15, 2021

    @vstinner
    MemberAuthor

    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 fcb3d2f
    Author: Mark Shannon <mark@hotpy.org>
    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.

  4. sweeneyde commented on Oct 28, 2021

    @sweeneyde
    Member

    Hopefully this was fixed by #29258

  5. sweeneyde commented on Oct 30, 2021

    @sweeneyde
    Member

    Looks like the pickletester bug hasn't happened since the fix, so I'll go ahead and close this.

  6. transferred this issue fromon Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.11only security fixestestsTests in the Lib/test dir

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions