> gdb GNU gdb Red Hat Linux (6.3.0.0-1.143.el4rh) Copyright 2004 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 "i386-redhat-linux-gnu". .gdbinit:22: Error in sourced command file: No symbol table is loaded. Use the "file" command. (gdb) attach 13754 Attaching to process 13754 [[snip]] (gdb) source .gdbinit DISPLAY = :0.0 TERM = xterm Breakpoint 1 at 0x80e8bc2: file emacs.c, line 431. Breakpoint 2 at 0x81009b9: file sysdep.c, line 1385. (gdb) c Continuing. Detaching after fork from child process 13772. [[Load attached test.py. Go to end of last line. Execute python-find-imports, then python-complete-symbol. Emacs stops responding. Called 'kill -TSTP 13754']] Detaching after fork from child process 13781. Program received signal SIGTSTP, Stopped (user). [Switching to Thread -1208154432 (LWP 13754)] 0x00aa07a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 (gdb) bt full #0 0x00aa07a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 No symbol table info available. #1 0x00b8064d in ___newselect_nocancel () from /lib/tls/libc.so.6 No symbol table info available. #2 0x0817700e in select_wrapper (n=Variable "n" is not available. ) at process.c:4225 No locals. #3 0x08178c52 in wait_reading_process_output (time_limit=5, microsecs=0, read_kbd=0, do_display=0, wait_for_cell=137377993, wait_proc=0x919aa20, just_wait_proc=0) at process.c:4594 usecs = Variable "usecs" is not available. Lisp Backtrace: "accept-process-output" (0x919aa24) "python-send-receive" (0x913b5bb) "byte-code" (0x8e1c33b) "python-symbol-completions" (0x913b5eb) "python-complete-symbol" (0x83038c9) "call-interactively" (0x8e443c9) "execute-extended-command" (0x83038c9) "call-interactively" (0x830dc01) (gdb) xbacktrace "accept-process-output" (0x919aa24) "python-send-receive" (0x913b5bb) "byte-code" (0x8e1c33b) "python-symbol-completions" (0x913b5eb) "python-complete-symbol" (0x83038c9) "call-interactively" (0x8e443c9) "execute-extended-command" (0x83038c9) "call-interactively" (0x830dc01) (gdb) bt #0 0x00aa07a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x00b8064d in ___newselect_nocancel () from /lib/tls/libc.so.6 #2 0x0817700e in select_wrapper (n=Variable "n" is not available. ) at process.c:4225 #3 0x08178c52 in wait_reading_process_output (time_limit=5, microsecs=0, read_kbd=0, do_display=0, wait_for_cell=137377993, wait_proc=0x919aa20, just_wait_proc=0) at process.c:4594 #4 0x0817aef5 in Faccept_process_output (process=152676900, seconds=40, millisec=137377993, just_this_one=137377993) at process.c:3966 #5 0x0814a147 in Ffuncall (nargs=3, args=0xbfe69180) at eval.c:3000 #6 0x08172381 in Fbyte_code (bytestr=149233923, vector=149237380, maxdepth=Variable "maxdepth" is not available. ) at bytecode.c:679 #7 0x08149bef in funcall_lambda (fun=149237532, nargs=1, arg_vector=0xbfe692b8) at eval.c:3184 #8 0x0814a01a in Ffuncall (nargs=2, args=0xbfe692b4) at eval.c:3054 #9 0x08172381 in Fbyte_code (bytestr=149013307, vector=148470844, maxdepth=Variable "maxdepth" is not available. ) at bytecode.c:679 #10 0x08149793 in Feval (form=139039869) at eval.c:2328 #11 0x0814b855 in internal_lisp_condition_case (var=137377993, bodyform=139039869, handlers=139040085) at eval.c:1426 #12 0x08172776 in Fbyte_code (bytestr=149013803, vector=146456940, maxdepth=Variable "maxdepth" is not available. ) at bytecode.c:869 #13 0x08149bef in funcall_lambda (fun=147814364, nargs=1, arg_vector=0xbfe69654) at eval.c:3184 #14 0x0814a01a in Ffuncall (nargs=2, args=0xbfe69650) at eval.c:3054 #15 0x08172381 in Fbyte_code (bytestr=149013227, vector=148416964, maxdepth=Variable "maxdepth" is not available. ) at bytecode.c:679 #16 0x08149bef in funcall_lambda (fun=148959756, nargs=0, arg_vector=0xbfe697b4) at eval.c:3184 #17 0x0814a01a in Ffuncall (nargs=1, args=0xbfe697b0) at eval.c:3054 #18 0x0814b592 in apply1 (fn=149177289, arg=137377993) at eval.c:2738 #19 0x08147814 in Fcall_interactively (function=149177289, record_flag=137378041, keys=137419308) at callint.c:406 #20 0x080efdc5 in Fcommand_execute (cmd=149177289, record_flag=137378041, keys=137377993, special=137377993) at keyboard.c:10036 #21 0x080efff5 in Fexecute_extended_command (prefixarg=137377993) at keyboard.c:10152 #22 0x0814a16b in Ffuncall (nargs=2, args=0xbfe69ae0) at eval.c:3000 #23 0x0814767e in Fcall_interactively (function=137419777, record_flag=137377993, keys=137419308) at callint.c:860 #24 0x080efdc5 in Fcommand_execute (cmd=137419777, record_flag=137377993, keys=137377993, special=137377993) at keyboard.c:10036 #25 0x080f741e in command_loop_1 () at keyboard.c:1873 #26 0x0814852a in internal_condition_case (bfun=0x80f70ac , handlers=137423449, hfun=0x80f0694 ) at eval.c:1481 #27 0x080eb1b6 in command_loop_2 () at keyboard.c:1329 #28 0x08148209 in internal_catch (tag=137416633, func=0x80eb198 , arg=137377993) at eval.c:1222 #29 0x080eaff5 in command_loop () at keyboard.c:1308 #30 0x080eb090 in recursive_edit_1 () at keyboard.c:1006 #31 0x080eb15a in Frecursive_edit () at keyboard.c:1067 #32 0x080ea50e in main (argc=1, argv=0xbfe6a2e4) at emacs.c:1762 Lisp Backtrace: "accept-process-output" (0x919aa24) "python-send-receive" (0x913b5bb) "byte-code" (0x8e1c33b) "python-symbol-completions" (0x913b5eb) "python-complete-symbol" (0x83038c9) "call-interactively" (0x8e443c9) "execute-extended-command" (0x83038c9) "call-interactively" (0x830dc01) (gdb) step Single stepping until exit from function _dl_sysinfo_int80, which has no line number information. 0x00b8064d in ___newselect_nocancel () from /lib/tls/libc.so.6 (gdb) Single stepping until exit from function ___newselect_nocancel, which has no line number information. select_wrapper (n=Variable "n" is not available. ) at process.c:4226 4226 } [[Trying to get arguments to system call, but first two are "not available."]] (gdb) p n Variable "n" is not available. (gdb) p rfd Variable "rfd" is not available. (gdb) p wfd $1 = (fd_set *) 0x0 (gdb) p xfd $2 = (fd_set *) 0x0 (gdb) p tmo $3 = (struct timeval *) 0xbfe68db0 [[Calling finish to see loop.]] (gdb) finish Run till exit from #0 select_wrapper (n=Variable "n" is not available. ) at process.c:4226 0x08178c52 in wait_reading_process_output (time_limit=5, microsecs=0, read_kbd=0, do_display=0, wait_for_cell=137377993, wait_proc=0x919aa20, just_wait_proc=0) at process.c:4594 4594 nfds = select (max (max_process_desc, max_keyboard_desc) + 1, Value returned is $4 = 0 (gdb) finish Run till exit from #0 0x08178c52 in wait_reading_process_output (time_limit=5, microsecs=0, read_kbd=0, do_display=0, wait_for_cell=137377993, wait_proc=0x919aa20, just_wait_proc=0) at process.c:4594 0x0817aef5 in Faccept_process_output (process=152676900, seconds=40, millisec=137377993, just_this_one=137377993) at process.c:3966 3966 return Value returned is $5 = 0 (gdb) finish Run till exit from #0 0x0817aef5 in Faccept_process_output (process=152676900, seconds=40, millisec=137377993, just_this_one=137377993) at process.c:3966 0x0814a147 in Ffuncall (nargs=3, args=0xbfe69180) at eval.c:3000 3000 val = (*XSUBR (fun)->function) (internal_args[0], internal_args[1]); Value returned is $6 = 137377993 (gdb) finish Run till exit from #0 0x0814a147 in Ffuncall (nargs=3, args=0xbfe69180) at eval.c:3000 Fbyte_code (bytestr=149233923, vector=149237380, maxdepth=Variable "maxdepth" is not available. ) at bytecode.c:681 681 break; Value returned is $7 = 137377993 (gdb) finish Run till exit from #0 Fbyte_code (bytestr=149233923, vector=149237380, maxdepth=Variable "maxdepth" is not available. ) at bytecode.c:681 [[gdb stops here. Call 'kill -TSTP' on emacs again.]] Program received signal SIGTSTP, Stopped (user). 0x00aa07a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 (gdb) bt full #0 0x00aa07a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 No symbol table info available. #1 0x00b8064d in ___newselect_nocancel () from /lib/tls/libc.so.6 No symbol table info available. #2 0x0817700e in select_wrapper (n=Variable "n" is not available. ) at process.c:4225 No locals. #3 0x08178c52 in wait_reading_process_output (time_limit=5, microsecs=0, read_kbd=0, do_display=0, wait_for_cell=137377993, wait_proc=0x919aa20, just_wait_proc=0) at process.c:4594 usecs = Variable "usecs" is not available. Lisp Backtrace: "accept-process-output" (0x919aa24) "python-send-receive" (0x913b5bb) "byte-code" (0x8e1c33b) "python-symbol-completions" (0x913b5eb) "python-complete-symbol" (0x83038c9) "call-interactively" (0x8e443c9) "execute-extended-command" (0x83038c9) "call-interactively" (0x830dc01) (gdb)