[New-bugs-announce] [issue36989] test_thread fails because symbol is (no longer) exported

Michael Felt report at bugs.python.org
Tue May 21 07:35:53 EDT 2019


New submission from Michael Felt <aixtools at felt.demon.nl>:

On AIX, with commit 4fb15021890d327023aefd95f5a84ac33b037d19 (HEAD -> master, origin/master, origin/HEAD)

test_thread is failing.

The three sub_tests that exit as ERROR are:
ERROR: test_threads_join_2 (test.test_threading.SubinterpThreadingTests)
ERROR: test_frame_tstate_tracing (test.test_threading.ThreadTests)

These two have in common:
Traceback (most recent call last):
...
ImportError:    0509-130 Symbol resolution failed for /home/buildbot/python-master/build/lib.aix-7.1-3.8-pydebug/_testcapi.so because:
        0509-136   Symbol _PyMem_GetAllocatorsName (number 191) is not exported from
                   dependent module python.
        0509-192 Examine .loader section symbols with the
                 'dump -Tv' command.

FAIL: test_daemon_threads_fatal_error (test.test_threading.SubinterpThreadingTests)

I am guessing that:

======================================================================
FAIL: test_daemon_threads_fatal_error (test.test_threading.SubinterpThreadingTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/python-master/Lib/test/test_threading.py", line 942, in test_daemon_threads_fatal_error
    self.assertIn("Fatal Python error: Py_EndInterpreter: "
AssertionError: 'Fatal Python error: Py_EndInterpreter: not the last thread' not found in 'Traceback (most recent call last):\n  File "<string>", line 2, in <module>\nImportError: \t0509-130 Symbol resolution failed for /home/buildbot/python-master/build/lib.aix-7.1-3.8-pydebug/_testcapi.so because:\n\t0509-136   Symbol _PyMem_GetAllocatorsName (number 191) is not exported from\n\t\t   dependent module python.\n\t0509-192 Examine .loader section symbols with the\n\t\t \'dump -Tv\' command.'

----------------------------------------------------------------------
is caused by the earlier failures.

----------
components: Build, Tests
messages: 343016
nosy: Michael.Felt
priority: normal
severity: normal
status: open
title: test_thread fails because symbol is (no longer) exported
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36989>
_______________________________________


More information about the New-bugs-announce mailing list