[Python-bugs-list] [ python-Bugs-674987 ] seg fault on exit in import module

SourceForge.net noreply@sourceforge.net
Sun, 26 Jan 2003 08:25:40 -0800


Bugs item #674987, was opened at 2003-01-26 11:25
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=674987&group_id=5470

Category: Python Interpreter Core
Group: Python 2.3
Status: Open
Resolution: None
Priority: 6
Submitted By: Neal Norwitz (nnorwitz)
Assigned to: Just van Rossum (jvr)
Summary: seg fault on exit in import module

Initial Comment:
Just, I'm guessing this has to do with the import
modifications you made, although I really don't know. 
I just started getting a crash which originates in
_PyImport_Fini().

When I run:
  ./python -E -tt ./Lib/test/regrtest.py test_logging

I get a core dump.  Here's the stack trace from a debug
build.  The same problem occurs in a normal (non-debug)
build.

(gdb) bt
#0  0x08080e09 in _Py_ForgetReference (op=0x407887c0)
at Objects/object.c:1949
#1  0x08080e79 in _Py_Dealloc (op=0x407887c0) at
Objects/object.c:1970
#2  0x08079e7e in dict_dealloc (mp=0x4026b214) at
Objects/dictobject.c:690
#3  0x08080e87 in _Py_Dealloc (op=0x4026b214) at
Objects/object.c:1971
#4  0x08079e7e in dict_dealloc (mp=0x401bea34) at
Objects/dictobject.c:690
#5  0x08080e87 in _Py_Dealloc (op=0x401bea34) at
Objects/object.c:1971
#6  0x080d5d66 in _PyImport_Fini () at Python/import.c:224
#7  0x080dff7a in Py_Finalize () at Python/pythonrun.c:233
#8  0x08055146 in Py_Main (argc=4, argv=0xbffff814) at
Modules/main.c:465
#9  0x08054884 in main (argc=4, argv=0xbffff814) at
Modules/python.c:23

Any ideas?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=674987&group_id=5470