$> 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) import sip Undefined command: "import". Try "help". (gdb) run Starting program: /home/r64y/e1/path64/bin/slpy [Thread debugging using libthread_db enabled] [New Thread 46986063435504 (LWP 32750)] 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 >>> sip.wrapper Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 46986063435504 (LWP 32750)] 0x00002abbcb711f30 in strchr () from /lib/libc.so.6 (gdb) thread apply all bt full Thread 1 (Thread 46986063435504 (LWP 32750)): #0 0x00002abbcb711f30 in strchr () from /lib/libc.so.6 No symbol table info available. #1 0x00002abbcb712a2e 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 0x0000000000458a74 in type_repr (type=0x0) at Objects/typeobject.c:381 mod = name = rtn = kind = #4 0x000000000044777a in PyObject_Repr (v=0x2abbcc2b1800) at Objects/object.c:361 res = #5 0x0000000000448225 in internal_print (op=0x2abbcc2b1800, fp=0x2abbcb9e7760, flags=0, nesting=0) at Objects/object.c:294 s = ret = #6 0x000000000042dece in PyFile_WriteObject (v=0x2abbcc2b1800, f=, flags=0) at Objects/fileobject.c:2176 fp = (FILE *) 0x2abbcb9e7760 enc = result = writer = value = (PyObject *) 0x2abbcc2b1800 args = result = #7 0x00000000004b8c29 in sys_displayhook (self=, o=0x2abbcc2b1800) at Python/sysmodule.c:114 outf = (PyObject *) 0x2abbcac08198 builtins = (PyObject *) 0x2abbcac05440 ---Type to continue, or q to quit--- #8 0x00000000004194c8 in PyObject_Call (func=0x0, arg=0x2e, kw=0x2e) at Objects/abstract.c:1861 result = stackless = 0 call = (ternaryfunc) 0xfefefefefefefeff #9 0x000000000047ea4f in PyEval_CallObjectWithKeywords (func=0x2abbcac0d908, arg=0x2abbcacf2690, kw=0x0) at Python/ceval.c:3747 stackless = 0 result = #10 0x0000000000484dfa in PyEval_EvalFrame_value (f=0x820170, throwflag=, retval=) at Python/ceval.c:1728 fp = (FILE *) 0x0 name = cf = {cf_flags = 7612992} stack_pointer = next_instr = (unsigned char *) 0x2abbcacf75d3 "d" opcode = oparg = 0 why = WHY_RETURN err = 0 x = v = w = u = t = stream = fastlocals = (PyObject **) 0x8202f0 freevars = (PyObject **) 0x8202f0 tstate = (PyThreadState *) 0x786090 co = (PyCodeObject *) 0x2abbcac706c0 instr_ub = -1 instr_lb = 0 instr_prev = -1 first_instr = ---Type to continue, or q to quit--- names = (PyObject *) 0x2abbcacf81b8 consts = (PyObject *) 0x2abbcac3ced0 #11 0x00000000004878af in PyEval_EvalFrameEx_slp (f=0x0, throwflag=0, retval=0x742a40) at Python/ceval.c:782 tstate = (PyThreadState *) 0x786090 #12 0x00000000004879e0 in slp_frame_dispatch_top (retval=0x0) at Stackless/core/stacklesseval.c:671 ts = (PyThreadState *) 0x786090 f = (PyFrameObject *) 0x0 #13 0x000000000048a668 in slp_run_tasklet () at Stackless/module/scheduling.c:1155 ts = (PyThreadState *) 0x786090 retval = (PyObject *) 0x742a40 #14 0x000000000048878e in slp_eval_frame (f=0x820170) at Stackless/core/stacklesseval.c:281 ts = (PyThreadState *) 0x786090 fprev = (PyFrameObject *) 0x0 #15 0x0000000000488826 in climb_stack_and_eval_frame (f=0x0) at Stackless/core/stacklesseval.c:248 probe = 46986049012864 #16 0x000000000048879b in slp_eval_frame (f=0x820170) at Stackless/core/stacklesseval.c:276 ts = (PyThreadState *) 0x786090 fprev = (PyFrameObject *) 0x0 #17 0x000000000047f4b2 in PyEval_EvalCode (co=0x0, globals=0x2e, locals=0x2e) at Python/ceval.c:496 No locals. #18 0x00000000004b351b in PyRun_InteractiveOneFlags (fp=0x2abbcb9e7680, filename=0x4f2a71 "", flags=0x7fffdfecf350) at Python/pythonrun.c:1302 m = d = (PyObject *) 0x7b2340 v = w = mod = (mod_ty) 0x8177b0 arena = (PyArena *) 0x7d1d10 ps1 = 0x2abbcacf6264 ">>> " ps2 = errcode = 0 #19 0x00000000004b3734 in PyRun_InteractiveLoopFlags (fp=0x2abbcb9e7680, filename=0x4f2a71 "", flags=0x7fffdfecf350) at Python/pythonrun.c:731 ---Type to continue, or q to quit--- v = (PyObject *) 0x2abbcacf6360 ret = local_flags = {cf_flags = 65302} #20 0x00000000004b383a in PyRun_AnyFileExFlags (fp=0x2abbcb9e7680, filename=0x4f2a71 "", closeit=0, flags=0x7fffdfecf350) at Python/pythonrun.c:700 err = #21 0x0000000000416120 in Py_Main (argc=, argv=0x0) at Modules/main.c:497 v = c = sts = 0 command = 0x0 filename = 0x2e
module = 0x0 fp = (FILE *) 0x2abbcb9e7680 p = inspect = 0 unbuffered = skipfirstline = 0 stdin_is_interactive = 1 help = version = saw_inspect_flag = 0 saw_unbuffered_flag = 0 cf = {cf_flags = 0} #22 0x00002abbcb6b98e4 in __libc_start_main () from /lib/libc.so.6 No symbol table info available. #23 0x00000000004156f9 in _start () No symbol table info available. (gdb) quit