$> gdb slpy GNU gdb 6.6-debian Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-linux-gnu"... Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /home/r64y/e1/path64/bin/slpy [Thread debugging using libthread_db enabled] [New Thread 47521844852464 (LWP 32241)] Python 2.6a0 Stackless 3.1b3 060516 (trunk:54612, Mar 30 2007, 13:27:25) [GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import sip >>> help(sip) Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 47521844852464 (LWP 32241)] 0x00002b388a80bf30 in strchr () from /lib/libc.so.6 (gdb) thread apply all full bt Thread 1 (Thread 47521844852464 (LWP 32241)): Undefined command: "full". Try "help". (gdb) thread apply all bt full Thread 1 (Thread 47521844852464 (LWP 32241)): #0 0x00002b388a80bf30 in strchr () from /lib/libc.so.6 No symbol table info available. #1 0x00002b388a80ca2e in strrchr () from /lib/libc.so.6 No symbol table info available. #2 0x0000000000455041 in type_module (type=, context=) at Objects/typeobject.c:99 mod = #3 0x000000000047cb0a in builtin_hasattr (self=, args=) at Python/bltinmodule.c:802 v = (PyObject *) 0x2b388b3ab800 name = (PyObject *) 0x0 #4 0x0000000000486aad in PyEval_EvalFrame_value (f=0x861350, throwflag=, retval=) at Python/ceval.c:3883 callargs = (PyObject *) 0x2b388b90f368 stack_pointer = next_instr = (unsigned char *) 0x850062 "o\024" opcode = oparg = why = WHY_RETURN err = 0 x = v = w = u = t = stream = fastlocals = (PyObject **) 0x8614d0 freevars = (PyObject **) 0x861520 tstate = (PyThreadState *) 0x786090 co = (PyCodeObject *) 0x2b388b8df8a0 instr_ub = -1 ---Type to continue, or q to quit--- instr_lb = 0 instr_prev = -1 first_instr = names = (PyObject *) 0x2b3889d1de60 consts = (PyObject *) 0x2b388b8e3130 #5 0x00000000004878af in PyEval_EvalFrameEx_slp (f=0x0, throwflag=0, retval=0x742a40) at Python/ceval.c:782 tstate = (PyThreadState *) 0x786090 #6 0x0000000000484320 in PyEval_EvalFrame_value (f=0x83b110, throwflag=, retval=0x2e) at Python/ceval.c:2849 sp = (PyObject **) 0x83b348 stack_pointer = (PyObject **) 0x1 next_instr = opcode = 131 oparg = 1 why = WHY_EXCEPTION err = 0 x = (PyObject *) 0x751610 v = (PyObject *) 0x83 w = u = (PyObject *) 0x838d7f t = stream = (PyObject *) 0x2b388a80798d fastlocals = (PyObject **) 0x83b290 freevars = (PyObject **) 0x83b340 tstate = (PyThreadState *) 0x786090 co = (PyCodeObject *) 0x2b3889e02af8 instr_ub = -1 instr_lb = 0 instr_prev = -1 first_instr = names = (PyObject *) 0x83c1c0 consts = (PyObject *) 0x83c080 #7 0x00000000004878af in PyEval_EvalFrameEx_slp (f=0x0, throwflag=0, retval=0x742a40) at Python/ceval.c:782 ---Type to continue, or q to quit--- tstate = (PyThreadState *) 0x786090 #8 0x0000000000484320 in PyEval_EvalFrame_value (f=0x8b81c0, throwflag=, retval=0x2e) at Python/ceval.c:2849 sp = (PyObject **) 0x8b8360 stack_pointer = (PyObject **) 0x2 next_instr = opcode = 7673360 oparg = 0 why = WHY_RETURN err = 0 x = (PyObject *) 0x751610 v = (PyObject *) 0x751610 w = u = (PyObject *) 0x2b3889df53f0 t = stream = (PyObject *) 0x2b3889e101f0 fastlocals = (PyObject **) 0x8b8340 freevars = (PyObject **) 0x8b8360 tstate = (PyThreadState *) 0x786090 co = (PyCodeObject *) 0x2b3889df6468 instr_ub = -1 instr_lb = 0 instr_prev = -1 first_instr = names = (PyObject *) 0x2b3889d38940 consts = (PyObject *) 0x2b3889decc10 #9 0x00000000004878af in PyEval_EvalFrameEx_slp (f=0x0, throwflag=0, retval=0x742a40) at Python/ceval.c:782 tstate = (PyThreadState *) 0x786090 #10 0x0000000000484320 in PyEval_EvalFrame_value (f=0x868040, throwflag=, retval=0x2e) at Python/ceval.c:2849 sp = (PyObject **) 0x868210 stack_pointer = (PyObject **) 0x3 next_instr = ---Type to continue, or q to quit--- opcode = -1953445912 oparg = 2 why = 7633280 err = 0 x = (PyObject *) 0x751610 v = (PyObject *) 0x2b388b90c7e8 w = u = (PyObject *) 0x2b3889d12850 t = stream = (PyObject *) 0x2b388aae2960 fastlocals = (PyObject **) 0x8681c0 freevars = (PyObject **) 0x868200 tstate = (PyThreadState *) 0x786090 co = (PyCodeObject *) 0x2b3889e0b198 instr_ub = -1 instr_lb = 0 instr_prev = -1 first_instr = names = (PyObject *) 0x2b3889d0b600 consts = (PyObject *) 0x2b3889e07280 #11 0x00000000004878af in PyEval_EvalFrameEx_slp (f=0x0, throwflag=0, retval=0x742a40) at Python/ceval.c:782 tstate = (PyThreadState *) 0x786090 #12 0x0000000000484320 in PyEval_EvalFrame_value (f=0x8b93f0, throwflag=, retval=0x2e) at Python/ceval.c:2849 sp = (PyObject **) 0x8b9580 stack_pointer = (PyObject **) 0x2 next_instr = opcode = 131 oparg = 2 why = 0 err = 0 x = (PyObject *) 0x751610 v = (PyObject *) 0x83 ---Type to continue, or q to quit--- w = u = (PyObject *) 0x2b3889e0b6c0 t = stream = (PyObject *) 0x7f4ee8 fastlocals = (PyObject **) 0x8b9570 freevars = (PyObject **) 0x8b9580 tstate = (PyThreadState *) 0x786090 co = (PyCodeObject *) 0x2b3889e0b6c0 instr_ub = -1 instr_lb = 0 instr_prev = -1 first_instr = names = (PyObject *) 0x2b3889d096e0 consts = (PyObject *) 0x2b3889d0a9e0 #13 0x00000000004878af in PyEval_EvalFrameEx_slp (f=0x0, throwflag=0, retval=0x742a40) at Python/ceval.c:782 tstate = (PyThreadState *) 0x786090 #14 0x0000000000484320 in PyEval_EvalFrame_value (f=0x8b9dc0, throwflag=, retval=0x2e) at Python/ceval.c:2849 sp = (PyObject **) 0x8b9f50 stack_pointer = (PyObject **) 0x2 next_instr = opcode = 7889040 oparg = 1 why = 7570752 err = 0 x = (PyObject *) 0x751610 v = (PyObject *) 0x786090 w = u = (PyObject *) 0x2b3889d73d10 t = stream = (PyObject *) 0xff0a000000000000 fastlocals = (PyObject **) 0x8b9f40 freevars = (PyObject **) 0x8b9f50 ---Type to continue, or q to quit--- tstate = (PyThreadState *) 0x786090 co = (PyCodeObject *) 0x2b3889e0b468 instr_ub = -1 instr_lb = 0 instr_prev = -1 first_instr = names = (PyObject *) 0x2b3889df3d50 consts = (PyObject *) 0x2b3889e0c3b0 #15 0x00000000004878af in PyEval_EvalFrameEx_slp (f=0x0, throwflag=0, retval=0x742a40) at Python/ceval.c:782 tstate = (PyThreadState *) 0x786090 #16 0x0000000000487b40 in slp_frame_dispatch (f=0x0, stopframe=0x820330, exc=46, retval=0x742a40) at Stackless/core/stacklesseval.c:644 ts = (PyThreadState *) 0x786090 #17 0x00000000004db63d in function_call (func=0x87b230, arg=0x2b3889d73cf8, kw=0x819850) at Objects/funcobject.c:520 pos = 9 i = 0 stackless = 0 result = argdefs = d = (PyObject **) 0x877728 k = (PyObject **) 0x85db20 nd = 1 #18 0x00000000004194c8 in PyObject_Call (func=0x0, arg=0x2e, kw=0x2e) at Objects/abstract.c:1861 result = stackless = 3 call = (ternaryfunc) 0xfefefefefefefeff #19 0x000000000041fcdc in instancemethod_call (func=, arg=0x2b3889d73cf8, kw=0x819850) at Objects/classobject.c:2502 clsbuf = "�\037P\000\000\000\000\000�\004\202\000\000\000\000\000\200W�\2118+\000\000�W�\2118+\000\000xt� �\177\000\000�\020B\000\000\000\000\000�s� �\177\000\000\000\000\000\000\000\000\000\000\002\000\000\000\000\200\000\0000\003\202\000\000\000\000\000�\004\202\000\000\000\000\000\220`x\000\000\000\000\000�t� �\177\000\000A?D", '\0' , "\002\000\000\000\000\000\000\000\a\000\000\000\000\000\000\0008�!Br��v\20---Type to continue, or q to quit--- 0W�\2118+\000\000p�\212\000\000\000\000\000\200W�\2118+\000\000\220��\2118+\000\000w��\2118+\000\0000�\207\000\000\000\000\0000�\207\000\000\000\000\000;\fB"... instbuf = "�\037P\000>\000\000\000�\037P\000\000\000\000\000\230s� �\177\000\000\0208J\000\000\000\000\000\230s� �\177\000\000�Rz\000\000\000\000\000\177\000\000\000\000\000\000\000`)�\2128+\000\000�\001\000\000\000\000\000\000\b\000\000\000\000\000\000\000p{�\2118+\000\000`\v}", '\0' , "\215y\200\2128+\000\000\000\000\000\000\000\000\000\000��v\000\000\000\000\000\b\000\000\000\000\000\000\000\031�K", '\0' , "\001\000\000\000\000\000\000\000`lt\000\000\000\000\000\001\000\000\000\000\000\000\000\037\000\000\000\000\000\000\0008�!Br��v\200W�\2118+\000\000\020�\205\000\000\000"... ok = 0 stackless = 0 self = (PyObject *) 0x2b388b90cd40 klass = (PyObject *) 0x1 result = #20 0x00000000004194c8 in PyObject_Call (func=0x0, arg=0x2e, kw=0x2e) at Objects/abstract.c:1861 result = stackless = 3 call = (ternaryfunc) 0xfefefefefefefeff #21 0x000000000042022f in instance_call (func=0x2b388b90cd40, arg=0x2b3889dec690, kw=0x819850) at Objects/classobject.c:2054 stackless = 0 res = (PyObject *) 0x2b3889d2f777 call = (PyObject *) 0x2b3889e24dc0 #22 0x00000000004194c8 in PyObject_Call (func=0x0, arg=0x2e, kw=0x2e) at Objects/abstract.c:1861 result = stackless = 3 call = (ternaryfunc) 0xfefefefefefefeff #23 0x000000000048468f in PyEval_EvalFrame_value (f=0x820330, throwflag=, retval=) at Python/ceval.c:4180 sp = (PyObject **) 0x8204d8 stack_pointer = next_instr = (unsigned char *) 0x2b3889d2f777 "S" opcode = oparg = 0 ---Type to continue, or q to quit--- why = WHY_RETURN err = 0 x = (PyObject *) 0x819850 v = w = u = t = stream = (PyObject *) 0x4f7900 fastlocals = (PyObject **) 0x8204b0 freevars = (PyObject **) 0x8204d0 tstate = (PyThreadState *) 0x786090 co = (PyCodeObject *) 0x2b3889d37b70 instr_ub = -1 instr_lb = 0 instr_prev = -1 first_instr = names = (PyObject *) 0x2b3889d2f7e8 consts = (PyObject *) 0x2b3889d2f7a0 #24 0x00000000004878af in PyEval_EvalFrameEx_slp (f=0x0, throwflag=0, retval=0x742a40) at Python/ceval.c:782 tstate = (PyThreadState *) 0x786090 #25 0x0000000000484320 in PyEval_EvalFrame_value (f=0x820170, throwflag=, retval=0x2e) at Python/ceval.c:2849 sp = (PyObject **) 0x8202f0 stack_pointer = (PyObject **) 0x0 next_instr = opcode = -1981888880 oparg = 1 why = WHY_RETURN err = 0 x = (PyObject *) 0x751610 v = (PyObject *) 0x2b3889dec690 w = u = (PyObject *) 0x78d040 ---Type to continue, or q to quit--- t = stream = (PyObject *) 0x0 fastlocals = (PyObject **) 0x8202f0 freevars = (PyObject **) 0x8202f0 tstate = (PyThreadState *) 0x786090 co = (PyCodeObject *) 0x2b3889d6a6c0 instr_ub = -1 instr_lb = 0 instr_prev = -1 first_instr = names = (PyObject *) 0x2b3889df21b8 consts = (PyObject *) 0x2b3889d36ed0 #26 0x00000000004878af in PyEval_EvalFrameEx_slp (f=0x0, throwflag=0, retval=0x742a40) at Python/ceval.c:782 tstate = (PyThreadState *) 0x786090 #27 0x00000000004879e0 in slp_frame_dispatch_top (retval=0x0) at Stackless/core/stacklesseval.c:671 ts = (PyThreadState *) 0x786090 f = (PyFrameObject *) 0x3 #28 0x000000000048a668 in slp_run_tasklet () at Stackless/module/scheduling.c:1155 ts = (PyThreadState *) 0x786090 retval = (PyObject *) 0x742a40 #29 0x000000000048878e in slp_eval_frame (f=0x820170) at Stackless/core/stacklesseval.c:281 ts = (PyThreadState *) 0x786090 fprev = (PyFrameObject *) 0x0 #30 0x0000000000488826 in climb_stack_and_eval_frame (f=0x0) at Stackless/core/stacklesseval.c:248 probe = 47521830429824 #31 0x000000000048879b in slp_eval_frame (f=0x820170) at Stackless/core/stacklesseval.c:276 ts = (PyThreadState *) 0x786090 fprev = (PyFrameObject *) 0x0 #32 0x000000000047f4b2 in PyEval_EvalCode (co=0x0, globals=0x2e, locals=0x2e) at Python/ceval.c:496 No locals. #33 0x00000000004b351b in PyRun_InteractiveOneFlags (fp=0x2b388aae1680, filename=0x4f2a71 "", flags=0x7fff20dd3250) at Python/pythonrun.c:1302 m = ---Type to continue, or q to quit--- d = (PyObject *) 0x7b2340 v = w = mod = (mod_ty) 0x817808 arena = (PyArena *) 0x7d1d10 ps1 = 0x2b3889df0264 ">>> " ps2 = errcode = 0 #34 0x00000000004b3734 in PyRun_InteractiveLoopFlags (fp=0x2b388aae1680, filename=0x4f2a71 "", flags=0x7fff20dd3250) at Python/pythonrun.c:731 v = (PyObject *) 0x2b3889df0360 ret = local_flags = {cf_flags = 65302} #35 0x00000000004b383a in PyRun_AnyFileExFlags (fp=0x2b388aae1680, filename=0x4f2a71 "", closeit=0, flags=0x7fff20dd3250) at Python/pythonrun.c:700 err = #36 0x0000000000416120 in Py_Main (argc=, argv=0x0) at Modules/main.c:497 v = c = sts = 0 command = 0x0 filename = 0x2e
module = 0x0 fp = (FILE *) 0x2b388aae1680 p = inspect = 0 unbuffered = skipfirstline = 0 stdin_is_interactive = 1 help = version = saw_inspect_flag = 0 saw_unbuffered_flag = 0 ---Type to continue, or q to quit--- cf = {cf_flags = 0} #37 0x00002b388a7b38e4 in __libc_start_main () from /lib/libc.so.6 No symbol table info available. #38 0x00000000004156f9 in _start () No symbol table info available. (gdb) quit