Massimo Paladin <massimo.pala...@gmail.com> added the comment:

$ cd ~; gdb -args python /tmp/example.py
GNU gdb (GDB) Fedora (7.3.50.20110722-10.fc16)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/python...(no debugging symbols found)...done.
Missing separate debuginfos, use: debuginfo-install python-2.7.2-5.2.fc16.x86_64
(gdb) run
Starting program: /usr/bin/python /tmp/example.py
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Detaching after fork from child process 16202.
^C
Program received signal SIGINT, Interrupt.
0x00000039d3a0e8e0 in __connect_nocancel () from /lib64/libpthread.so.0
(gdb) where
#0  0x00000039d3a0e8e0 in __connect_nocancel () from /lib64/libpthread.so.0
#1  0x00007ffff095c678 in ?? () from 
/usr/lib64/python2.7/lib-dynload/_socketmodule.so
#2  0x00007ffff095d524 in ?? () from 
/usr/lib64/python2.7/lib-dynload/_socketmodule.so
#3  0x00000039d6ae00bd in PyEval_EvalFrameEx () from 
/usr/lib64/libpython2.7.so.1.0
#4  0x00000039d6ae15a5 in PyEval_EvalCodeEx () from 
/usr/lib64/libpython2.7.so.1.0
#5  0x00000039d6a6dc2c in ?? () from /usr/lib64/libpython2.7.so.1.0
#6  0x00000039d6a49193 in PyObject_Call () from /usr/lib64/libpython2.7.so.1.0
#7  0x00007ffff0755597 in ?? () from 
/usr/lib64/python2.7/lib-dynload/_functoolsmodule.so
#8  0x00000039d6a49193 in PyObject_Call () from /usr/lib64/libpython2.7.so.1.0
#9  0x00000039d6ade795 in PyEval_EvalFrameEx () from 
/usr/lib64/libpython2.7.so.1.0
#10 0x00000039d6ae0580 in PyEval_EvalFrameEx () from 
/usr/lib64/libpython2.7.so.1.0
#11 0x00000039d6ae0580 in PyEval_EvalFrameEx () from 
/usr/lib64/libpython2.7.so.1.0
#12 0x00000039d6ae15a5 in PyEval_EvalCodeEx () from 
/usr/lib64/libpython2.7.so.1.0
#13 0x00000039d6a6dc2c in ?? () from /usr/lib64/libpython2.7.so.1.0
#14 0x00000039d6a49193 in PyObject_Call () from /usr/lib64/libpython2.7.so.1.0
#15 0x00000039d6ada457 in PyEval_CallObjectWithKeywords () from 
/usr/lib64/libpython2.7.so.1.0
#16 0x00000039d6afcdde in PyErr_PrintEx () from /usr/lib64/libpython2.7.so.1.0
#17 0x00000039d6afd38e in PyRun_SimpleFileExFlags () from 
/usr/lib64/libpython2.7.so.1.0
#18 0x00000039d6b0e745 in Py_Main () from /usr/lib64/libpython2.7.so.1.0
#19 0x00000039d362169d in __libc_start_main () from /lib64/libc.so.6
#20 0x0000000000400651 in _start ()
(gdb)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14091>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to