This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Regression on "python -Wi" crash
Type: crash Stage:
Components: Interpreter Core Versions: Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: benjamin.peterson Nosy List: benjamin.peterson, kbk
Priority: normal Keywords: needs review

Created on 2009-07-21 03:59 by kbk, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg90748 - (view) Author: Kurt B. Kaiser (kbk) * (Python committer) Date: 2009-07-21 03:59
Rev 73196

http://svn.python.org/
view?view=rev&revision=73196

Caused regression on

http://bugs.python.org/issue1503294

when running build.sh:

(gdb) r -Wi
Starting program: /home/neal/python/trunk/
python -Wi
warning: Unable to find dynamic linker 
breakpoint function.
GDB will be unable to debug shared library 
initializers
and track explicitly loaded dynamic code.
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 1190)]
Fatal Python error: PyThreadState_Get: no 
current thread

Program received signal SIGABRT, Aborted.
[Switching to Thread 16384 (LWP 1190)]
0xb7e80021 in kill () from /lib/libc.so.6
(gdb) bt
#0  0xb7e80021 in kill () from /lib/libc.so.6
#1  0xb7f9cce1 in pthread_kill () from /lib/
libpthread.so.0
#2  0xb7f9d05b in raise () from /lib/
libpthread.so.0
#3  0xb7e7fc54 in raise () from /lib/
libc.so.6
#4  0xb7e8140d in abort () from /lib/libc.so.6
#5  0x08112084 in Py_FatalError (
    msg=0x818d1c4 "PyThreadState_Get: no 
current 
thread")
    at Python/pythonrun.c:1660
#6  0x0810e56c in PyThreadState_Get () at 
Python/
pystate.c:310
#7  0x0808b5e4 in PyDict_GetItem 
(op=0xb7e19034, key=0xb7e18028)
    at Objects/dictobject.c:718
#8  0x080aa542 in PyString_InternInPlace 
(p=0xbffff900)
    at Objects/stringobject.c:5143
#9  0x0809df48 in PyString_FromString 
(str=0xbffffbc2 "i")
    at Objects/stringobject.c:163
#10 0x081180d5 in PySys_AddWarnOption 
(s=0xbffffbc2 "i")
    at Python/sysmodule.c:985
#11 0x08058b8c in Py_Main (argc=2, 
argv=0xbffffa84) at Modules/main.c:415
#12 0x0805811e in main (argc=2, 
argv=0xbffffa84) at Modules/python.c:23
msg90760 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2009-07-21 14:09
Fixed in r74139
History
Date User Action Args
2022-04-11 14:56:51adminsetgithub: 50779
2009-07-21 14:09:05benjamin.petersonsetstatus: open -> closed
resolution: fixed
messages: + msg90760
2009-07-21 03:59:53kbkcreate