[issue22290] AMD64 OpenIndiana 3.x buildbot: assertion failed in PyObject_Call() in test_subprocess.test_preexec()

2014-10-05 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 0455cbfd7ae6 by Victor Stinner in branch '3.4':
Issue #22290: Fix error handling in the _posixsubprocess module.
https://hg.python.org/cpython/rev/0455cbfd7ae6

New changeset a74c73477a64 by Victor Stinner in branch 'default':
(Merge 3.4) Issue #22290: Fix error handling in the _posixsubprocess module.
https://hg.python.org/cpython/rev/a74c73477a64

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22290
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22290] AMD64 OpenIndiana 3.x buildbot: assertion failed in PyObject_Call() in test_subprocess.test_preexec()

2014-10-05 Thread STINNER Victor

STINNER Victor added the comment:

I hope that my fix will be enough to fix the issue. Since it was only seen 
once, I prefer to close the issue.

By the way, it would be nice to give more memory to this buildbot!

--
resolution:  - fixed
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22290
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22290] AMD64 OpenIndiana 3.x buildbot: assertion failed in PyObject_Call() in test_subprocess.test_preexec()

2014-09-04 Thread STINNER Victor

STINNER Victor added the comment:

I reproduced the crash with pyfailmalloc. The problem is that 
_posixsubprocess.fork_exec() calls gc.enable() on error when preexec_fn is set 
and the garbage collector was disabled (by fork_exec). Calling a function with 
an exception set is forbidden.

Attached patch fixes this issue, but fix also error handling in fork_exec() and 
add some unit tests.

--
keywords: +patch
Added file: http://bugs.python.org/file36541/fork_exec.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22290
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22290] AMD64 OpenIndiana 3.x buildbot: assertion failed in PyObject_Call() in test_subprocess.test_preexec()

2014-09-04 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 16e3d240456f by Victor Stinner in branch 'default':
Issue #22290: PyObject_Call() now fails with an assertion error when called
http://hg.python.org/cpython/rev/16e3d240456f

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22290
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22290] AMD64 OpenIndiana 3.x buildbot: assertion failed in PyObject_Call() in test_subprocess.test_preexec()

2014-09-04 Thread STINNER Victor

STINNER Victor added the comment:

 For example, test_json crashed with SIGSEGV in this build, probably because 
 of an unhandled MemoryError exception:

I created an issue for this bug: issue #22338. I proposed a fix.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22290
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22290] AMD64 OpenIndiana 3.x buildbot: assertion failed in PyObject_Call() in test_subprocess.test_preexec()

2014-09-01 Thread STINNER Victor

STINNER Victor added the comment:

Oh, a lot of tests fail with MemoryError on this buildbot. It may explain this 
issue.

For example, test_json crashed with SIGSEGV in this build, probably because of 
an unhandled MemoryError exception:
http://buildbot.python.org/all/builders/AMD64%20OpenIndiana%203.x/builds/8557/steps/test/logs/stdio

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22290
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22290] AMD64 OpenIndiana 3.x buildbot: assertion failed in PyObject_Call() in test_subprocess.test_preexec()

2014-08-27 Thread STINNER Victor

New submission from STINNER Victor:

I ran test_subprocess.test_preexec() 2000 times: I'm unable to reproduce the 
issue on my OpenIndiana VM, nor on Linux. I used this command:
gdb -args ./python -m test -F -m test_preexec test_subprocess 

The command on the buildbot is:
./python  ./Tools/scripts/run_tests.py -j 1 -u all -W --timeout=3600 -j4

http://buildbot.python.org/all/builders/AMD64%20OpenIndiana%203.x/builds/8549/steps/test/logs/stdio

[302/390/1] test_subprocess
Assertion failed: (result != NULL  !PyErr_Occurred()) || (result == NULL  
PyErr_Occurred()), file Objects/abstract.c, line 2091
Fatal Python error: Aborted

Current thread 0x0001 (most recent call first):
  File 
/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/subprocess.py, 
line 1396 in _execute_child
  File 
/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/subprocess.py, 
line 865 in __init__
  File 
/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/test/test_subprocess.py,
 line 1303 in test_preexec
  File 
/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/unittest/case.py,
 line 577 in run
  File 
/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/unittest/case.py,
 line 625 in __call__
  File 
/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/unittest/suite.py,
 line 125 in run
  File 
/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/unittest/suite.py,
 line 87 in __call__
  File 
/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/unittest/suite.py,
 line 125 in run
  File 
/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/unittest/suite.py,
 line 87 in __call__
  File 
/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/unittest/runner.py,
 line 168 in run
  File 
/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/test/support/__init__.py,
 line 1750 in _run_suite
  File 
/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/test/support/__init__.py,
 line 1784 in run_unittest
  File 
/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/test/test_subprocess.py,
 line 2470 in test_main
  File 
/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/test/regrtest.py,
 line 1280 in runtest_inner
  File 
/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/test/regrtest.py,
 line 967 in runtest
  File 
/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/test/regrtest.py,
 line 532 in main
  File 
/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/test/regrtest.py,
 line 1564 in main_in_temp_cwd
  File 
/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/test/regrtest.py,
 line 1589 in module
  File /export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/runpy.py, 
line 85 in _run_code
  File /export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/runpy.py, 
line 170 in _run_module_as_main

--
messages: 225984
nosy: haypo
priority: normal
severity: normal
status: open
title: AMD64 OpenIndiana 3.x buildbot: assertion failed in PyObject_Call() in 
test_subprocess.test_preexec()

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22290
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22290] AMD64 OpenIndiana 3.x buildbot: assertion failed in PyObject_Call() in test_subprocess.test_preexec()

2014-08-27 Thread STINNER Victor

STINNER Victor added the comment:

The error may be close to the call to the gc module: gc.isenabled(), 
gc.disable() or gc.enable(). The error is maybe an exception raised before the 
call to PyObject_Call(), because the called gc functions are very simple.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22290
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com