Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

occasional test_threading failure #62864

Closed
pitrou opened this issue Aug 5, 2013 · 4 comments
Closed

occasional test_threading failure #62864

pitrou opened this issue Aug 5, 2013 · 4 comments
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs) tests Tests in the Lib/test dir type-crash A hard crash of the interpreter, possibly with a core dump

Comments

@pitrou
Copy link
Member

pitrou commented Aug 5, 2013

BPO 18664
Nosy @pitrou, @vstinner, @tiran, @serhiy-storchaka

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 2013-10-10.22:50:20.129>
created_at = <Date 2013-08-05.22:19:25.730>
labels = ['interpreter-core', 'tests', 'type-crash']
title = 'occasional test_threading failure'
updated_at = <Date 2013-10-10.22:50:20.128>
user = 'https://github.com/pitrou'

bugs.python.org fields:

activity = <Date 2013-10-10.22:50:20.128>
actor = 'vstinner'
assignee = 'none'
closed = True
closed_date = <Date 2013-10-10.22:50:20.129>
closer = 'vstinner'
components = ['Interpreter Core', 'Tests']
creation = <Date 2013-08-05.22:19:25.730>
creator = 'pitrou'
dependencies = []
files = []
hgrepos = []
issue_num = 18664
keywords = []
message_count = 4.0
messages = ['194517', '194521', '196097', '196200']
nosy_count = 5.0
nosy_names = ['pitrou', 'vstinner', 'christian.heimes', 'python-dev', 'serhiy.storchaka']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = 'crash'
url = 'https://bugs.python.org/issue18664'
versions = ['Python 3.4']

@pitrou
Copy link
Member Author

pitrou commented Aug 5, 2013

http://buildbot.python.org/all/builders/AMD64%20Windows%20Server%202008%20%5BSB%5D%203.x/builds/1021

======================================================================
FAIL: test_finalize_with_trace (test.test_threading.ThreadTests)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "E:\home\cpython\buildslave\x64\3.x.snakebite-win2k8r2sp1-amd64\build\lib\test\test_threading.py", line 323, in test_finalize_with_trace
    """)
  File "E:\home\cpython\buildslave\x64\3.x.snakebite-win2k8r2sp1-amd64\build\lib\test\script_helper.py", line 54, in assert_python_ok
    return _assert_python(True, *args, **env_vars)
  File "E:\home\cpython\buildslave\x64\3.x.snakebite-win2k8r2sp1-amd64\build\lib\test\script_helper.py", line 46, in _assert_python
    "stderr follows:\n%s" % (rc, err.decode('ascii', 'ignore')))
AssertionError: Process return code is 3, stderr follows:
Assertion failed: !PyErr_Occurred(), file ..\Objects\object.c, line 451
Fatal Python error: Aborted

Thread 0x00000e14:
File "<string>", line 8 in killer
File "E:\home\cpython\buildslave\x64\3.x.snakebite-win2k8r2sp1-amd64\build\lib\threading.py", line 599 in run
File "E:\home\cpython\buildslave\x64\3.x.snakebite-win2k8r2sp1-amd64\build\lib\threading.py", line 642 in _bootstrap_inner
File "E:\home\cpython\buildslave\x64\3.x.snakebite-win2k8r2sp1-amd64\build\lib\threading.py", line 619 in _bootstrap

Current thread 0x000006c4:

@pitrou pitrou added interpreter-core (Objects, Python, Grammar, and Parser dirs) tests Tests in the Lib/test dir type-crash A hard crash of the interpreter, possibly with a core dump labels Aug 5, 2013
@vstinner
Copy link
Member

vstinner commented Aug 6, 2013

Assertion failed: !PyErr_Occurred(), file ..\Objects\object.c, line 451

This error means that PyObject_Repr() was called with an exception set. It would help to know which function called PyObject_Repr() and when.

@vstinner
Copy link
Member

See also issue bpo-18746.

@python-dev
Copy link
Mannequin

python-dev mannequin commented Aug 26, 2013

New changeset e63f19d0a651 by Victor Stinner in branch 'default':
Issue bpo-18664, bpo-18408: Rewrite PyErr_WriteUnraisable() to handle errors
http://hg.python.org/cpython/rev/e63f19d0a651

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs) tests Tests in the Lib/test dir type-crash A hard crash of the interpreter, possibly with a core dump
Projects
None yet
Development

No branches or pull requests

2 participants