Ticket #1083: trace

File trace, 6.6 KB (added by loic, 9 years ago)
Line 
1DISPLAY=127.0.0.1:0 gdb /usr/bin/python
2GNU gdb 6.3-debian
3Copyright 2004 Free Software Foundation, Inc.
4GDB is free software, covered by the GNU General Public License, and you are
5welcome to change it and/or distribute copies of it under certain conditions.
6Type "show copying" to see the conditions.
7There is absolutely no warranty for GDB.  Type "show warranty" for details.
8This GDB was configured as "i386-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1".
9
10(gdb) run /usr/games/poker2d
11Starting program: /usr/bin/python /usr/games/poker2d
12[Thread debugging using libthread_db enabled]
13[New Thread -1209580800 (LWP 5295)]
14[New Thread -1229960272 (LWP 5299)]
15
16Program received signal SIGINT, Interrupt.
17[Switching to Thread -1209580800 (LWP 5295)]
180xb7f44523 in poll () from /lib/tls/libc.so.6
19(gdb) info threads
20  2 Thread -1229960272 (LWP 5299)  0xb7fdbd0b in sem_wait@GLIBC_2.0 () from /lib/tls/libpthread.so.0
21* 1 Thread -1209580800 (LWP 5295)  0xb7f44523 in poll () from /lib/tls/libc.so.6
22(gdb) bt
23#0  0xb7f44523 in poll () from /lib/tls/libc.so.6
24#1  0xb7bba2f6 in g_main_loop_get_context () from /usr/lib/libglib-2.0.so.0
25#2  0xb7bb98f0 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
26#3  0xb7bb9f13 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
27#4  0xb72c0243 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
28#5  0xb75812ed in init_gtk () from /usr/lib/python2.3/site-packages/gtk-2.0/gtk/_gtk.so
29#6  0x080aed35 in call_function (pp_stack=0xbfffe494, oparg=0) at ../Python/ceval.c:3431
30#7  0x080ac563 in eval_frame (f=0x82266dc) at ../Python/ceval.c:2122
31#8  0x080ad983 in PyEval_EvalCodeEx (co=0xb78eb0e0, globals=0xb78e768c, locals=0x0, args=0x821cfd4, argcount=1, kws=0x821cfd8, kwcount=0, defs=0xb76ee9b8, defcount=1, closure=0x0) at ../Python/ceval.c:2669
32#9  0x080af102 in fast_function (func=0xb76673ac, pp_stack=0xbfffe6b4, n=1, na=1, nk=0) at ../Python/ceval.c:3535
33#10 0x080aeebb in call_function (pp_stack=0xbfffe6b4, oparg=0) at ../Python/ceval.c:3464
34#11 0x080ac563 in eval_frame (f=0x821ce84) at ../Python/ceval.c:2122
35#12 0x080af049 in fast_function (func=0xb6c267d4, pp_stack=0xbfffe844, n=1, na=1, nk=0) at ../Python/ceval.c:3524
36#13 0x080aeebb in call_function (pp_stack=0xbfffe844, oparg=0) at ../Python/ceval.c:3464
37#14 0x080ac563 in eval_frame (f=0x81495cc) at ../Python/ceval.c:2122
38#15 0x080af049 in fast_function (func=0xb7afd6f4, pp_stack=0xbfffe9d4, n=1, na=1, nk=0) at ../Python/ceval.c:3524
39#16 0x080aeebb in call_function (pp_stack=0xbfffe9d4, oparg=0) at ../Python/ceval.c:3464
40#17 0x080ac563 in eval_frame (f=0x816aa6c) at ../Python/ceval.c:2122
41#18 0x080ad983 in PyEval_EvalCodeEx (co=0xb7df8be0, globals=0xb7df2e84, locals=0xb7df2e84, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:2669
42#19 0x080a8f5f in PyEval_EvalCode (co=0xb7df8be0, globals=0xb7df2e84, locals=0xb7df2e84) at ../Python/ceval.c:537
43#20 0x080c484b in PyImport_ExecCodeModuleEx (name=0xbffff430 "pokerclient2d.poker2d", co=0xb7df8be0, pathname=0xbfffeaf0 "/usr/lib/python2.3/site-packages/pokerclient2d/poker2d.pyc") at ../Python/import.c:621
44#21 0x080c4eec in load_source_module (name=0xbffff430 "pokerclient2d.poker2d", pathname=0xbfffeaf0 "/usr/lib/python2.3/site-packages/pokerclient2d/poker2d.pyc", fp=0x81425d0) at ../Python/import.c:894
45#22 0x080c5f3f in load_module (name=0xbffff430 "pokerclient2d.poker2d", fp=0x81425d0, buf=0xbfffef80 "/usr/lib/python2.3/site-packages/pokerclient2d/poker2d.py", type=1, loader=0x0) at ../Python/import.c:1700
46#23 0x080c725e in import_submodule (mod=0xb7e3435c, subname=0xb7dfd5b4 "poker2d", fullname=0xbffff430 "pokerclient2d.poker2d") at ../Python/import.c:2292
47#24 0x080c6f7f in ensure_fromlist (mod=0xb7e3435c, fromlist=0xb7dfd3ac, buf=0xbffff430 "pokerclient2d.poker2d", buflen=13, recursive=0) at ../Python/import.c:2203
48#25 0x080c67c5 in import_module_ex (name=0x0, globals=0xb7e4c79c, locals=0xb7e4c79c, fromlist=0xb7dfd3ac) at ../Python/import.c:1985
49#26 0x080c683a in PyImport_ImportModuleEx (name=0xb7dfc9e4 "pokerclient2d", globals=0xb7e4c79c, locals=0xb7e4c79c, fromlist=0xb7dfd3ac) at ../Python/import.c:1999
50#27 0x080a13bf in builtin___import__ (self=0x0, args=0xb7e53734) at ../Python/bltinmodule.c:45
51#28 0x080f11f6 in PyCFunction_Call (func=0xb7e3cbec, arg=0xb7e53734, kw=0x0) at ../Objects/methodobject.c:73
52#29 0x0805b638 in PyObject_Call (func=0xb7e3cbec, arg=0xb7e53734, kw=0x0) at ../Objects/abstract.c:1755
53#30 0x080aeac8 in PyEval_CallObjectWithKeywords (func=0xb7e3cbec, arg=0xb7e53734, kw=0x0) at ../Python/ceval.c:3352
54#31 0x080ac1b7 in eval_frame (f=0x816358c) at ../Python/ceval.c:2002
55#32 0x080ad983 in PyEval_EvalCodeEx (co=0xb7e717e0, globals=0xb7e4c79c, locals=0xb7e4c79c, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:2669
56#33 0x080a8f5f in PyEval_EvalCode (co=0xb7e717e0, globals=0xb7e4c79c, locals=0xb7e4c79c) at ../Python/ceval.c:537
57#34 0x080cf11a in run_node (n=0xb7e34350, filename=0xbffffdc1 "/usr/games/poker2d", globals=0xb7e4c79c, locals=0xb7e4c79c, flags=0xbffffbb8) at ../Python/pythonrun.c:1267
58#35 0x080cf0bd in run_err_node (n=0xb7e34350, filename=0xbffffdc1 "/usr/games/poker2d", globals=0xb7e4c79c, locals=0xb7e4c79c, flags=0xbffffbb8) at ../Python/pythonrun.c:1254
59#36 0x080cf07f in PyRun_FileExFlags (fp=0x8131008, filename=0xbffffdc1 "/usr/games/poker2d", start=257, globals=0xb7e4c79c, locals=0xb7e4c79c, closeit=1, flags=0xbffffbb8) at ../Python/pythonrun.c:1245
60#37 0x080ce110 in PyRun_SimpleFileExFlags (fp=0x8131008, filename=0xbffffdc1 "/usr/games/poker2d", closeit=1, flags=0xbffffbb8) at ../Python/pythonrun.c:862
61#38 0x080cda5f in PyRun_AnyFileExFlags (fp=0x8131008, filename=0xbffffdc1 "/usr/games/poker2d", closeit=1, flags=0xbffffbb8) at ../Python/pythonrun.c:659
62#39 0x080552ad in Py_Main (argc=2, argv=0xbffffc94) at ../Modules/main.c:415
63#40 0x08054a86 in main (argc=2, argv=0xbffffc94) at ../Modules/python.c:23
64(gdb) thread 2   
65[Switching to thread 2 (Thread -1229960272 (LWP 5299))]#0  0xb7fdbd0b in sem_wait@GLIBC_2.0 () from /lib/tls/libpthread.so.0
66(gdb) bt     
67#0  0xb7fdbd0b in sem_wait@GLIBC_2.0 () from /lib/tls/libpthread.so.0
68#1  0xb7fdfb7c in __JCR_LIST__ () from /lib/tls/libpthread.so.0
69#2  0x080d29de in PyThread_acquire_lock (lock=0x84c2f00, waitflag=1) at thread_pthread.h:406
70#3  0x080a8d25 in PyEval_RestoreThread (tstate=0x84c1b30) at ../Python/ceval.c:387
71#4  0x080cce81 in PyGILState_Ensure () at ../Python/pystate.c:455
72#5  0x080d5439 in t_bootstrap (boot_raw=0x84c2ee8) at ../Modules/threadmodule.c:178
73#6  0xb7fd7b63 in start_thread () from /lib/tls/libpthread.so.0
74#7  0xb7f4d18a in clone () from /lib/tls/libc.so.6
75(gdb)