[New-bugs-announce] [issue6530] Regression on "python -Wi" crash

Kurt B. Kaiser report at bugs.python.org
Tue Jul 21 06:00:03 CEST 2009


New submission from Kurt B. Kaiser <kbk at shore.net>:

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

----------
assignee: benjamin.peterson
components: Interpreter Core
keywords: needs review
messages: 90748
nosy: benjamin.peterson, kbk
priority: normal
severity: normal
status: open
title: Regression on "python -Wi" crash
type: crash
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6530>
_______________________________________


More information about the New-bugs-announce mailing list