[issue9197] subprocess module causing crash

2010-07-11 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: Unassigning, this is not mac-specific and I don't plan to work on this in the near future. -- assignee: ronaldoussoren - ___ Python tracker rep...@bugs.python.org

[issue9197] subprocess module causing crash

2010-07-08 Thread Palluat de Besset
Changes by Palluat de Besset marc.palluatdebes...@sophos.com: -- assignee: ronaldoussoren components: Macintosh nosy: mpalluat, ronaldoussoren priority: normal severity: normal status: open title: subprocess module causing crash type: crash versions: Python 3.1

[issue9197] subprocess module causing crash

2010-07-08 Thread Palluat de Besset
New submission from Palluat de Besset marc.palluatdebes...@sophos.com: there is a crash log inside the archive -- Added file: http://bugs.python.org/file17898/OSDP2.zip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9197

[issue9197] subprocess module causing crash

2010-07-08 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: The title is somewhat misleading, this is a C program that uses dlopen to load the python framework. I will look into this, but it is just as likely that code that loads or uses the python framework has a problem. --

[issue9197] subprocess module causing crash

2010-07-08 Thread Palluat de Besset
Palluat de Besset marc.palluatdebes...@sophos.com added the comment: Hi Ronald, Thank you for looking into it, and sorry for the misleading title. You will find a crash log and some instructions on how to reproduce the problem inside the archive. Thanks, Marc On 8 Jul 2010, at 10:18,

[issue9197] subprocess module causing crash

2010-07-08 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: I reproduce the problem on Linux (./configure --enable-shared), after I modified the source code a bit to directly use Python.h and to link with libpython3.2.so (no call to dlopen). In gdb the stack trace has exactly the same symbols

[issue9197] subprocess module causing crash

2010-07-08 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: Removing the call to Py_DECREF is fishy. The cleanup of the interpreter state in Py_Finalize doesn't clean up all state when m_copy refers to a version from a previous instance of the interpreter. Maybe the tp_dealloc of a module

[issue9197] subprocess module causing crash

2010-07-08 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: We definitely need unit tests about embedded python interpreter, I think there are none. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9197