emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ediff frequently crashes emacs.


From: Peter Seibel
Subject: Re: Ediff frequently crashes emacs.
Date: Sat, 06 Nov 2004 18:26:50 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux)

Richard Stallman <address@hidden> writes:

>     The latest build, after make extraclean, etc. also exhibits the
>     freezing while using ediff.
>
> Can you use GDB to investigate what the state is when it is "frozen"?
> Is it waiting?  Looping?  If looping, please follow the advice
> given in etc/DEBUG for such cases.

Okay, I'm not sure this is really what you want, mostly because I
don't really know my way around GDB all that well. But emacs stopped
responding so I attached GDB to it with "gdb program <pid>" and poked
around some was able to get the following which I'm including on the
theory that some data is better than no data and maybe there's
something in here that will make the problem leap out at someone. Next
time it happens I'll try to actually follow the instructions in
etc/DEBUG.

And if anyone wants to give me some specific things to try in GDB I'll
be happy to do that as well.

-Peter

Current directory is ~/
GNU gdb Red Hat Linux (5.1.90CVS-5)
Copyright 2002 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"...program: No such file or 
directory.

Attaching to process 14334
Reading symbols from /usr/local/bin/emacs...done.
Reading symbols from /usr/X11R6/lib/libXaw3d.so.7...done.
Loaded symbols for /usr/X11R6/lib/libXaw3d.so.7
Reading symbols from /usr/X11R6/lib/libXmu.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXmu.so.6
Reading symbols from /usr/X11R6/lib/libXt.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXt.so.6
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.6
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.6
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/lib/libtiff.so.3...done.
Loaded symbols for /usr/lib/libtiff.so.3
Reading symbols from /usr/lib/libjpeg.so.62...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /usr/lib/libpng.so.2...done.
Loaded symbols for /usr/lib/libpng.so.2
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/i686/libm.so.6...done.
Loaded symbols for /lib/i686/libm.so.6
Reading symbols from /usr/lib/libungif.so.4...done.
Loaded symbols for /usr/lib/libungif.so.4
Reading symbols from /usr/X11R6/lib/libXpm.so.4...done.
Loaded symbols for /usr/X11R6/lib/libXpm.so.4
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /usr/lib/libncurses.so.5...done.
Loaded symbols for /usr/lib/libncurses.so.5
Reading symbols from /lib/i686/libc.so.6...done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /usr/X11R6/lib/X11/locale/common/xlcDef.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/common/xlcDef.so.2
Reading symbols from /usr/X11R6/lib/X11/locale/common/ximcp.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/common/ximcp.so.2
Reading symbols from /usr/lib/gconv/ISO8859-15.so...done.
Loaded symbols for /usr/lib/gconv/ISO8859-15.so
Reading symbols from /usr/X11R6/lib/X11/locale/common/xomGeneric.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/common/xomGeneric.so.2
Reading symbols from /lib/libnss_nisplus.so.2...done.
Loaded symbols for /lib/libnss_nisplus.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
0x420e187e in select () from /lib/i686/libc.so.6
(gdb) bt
#0  0x420e187e in select () from /lib/i686/libc.so.6
#1  0x402a9d44 in _XlcPublicMethods () from /usr/X11R6/lib/libX11.so.6
#2  0x4020745a in _XRead () from /usr/X11R6/lib/libX11.so.6
#3  0x40207f1a in _XReply () from /usr/X11R6/lib/libX11.so.6
#4  0x402037e8 in XSync () from /usr/X11R6/lib/libX11.so.6
#5  0x080c76da in x_catch_errors_unwind (old_val=157977501) at xterm.c:7622
#6  0x08141bd7 in unbind_to (count=26, value=137321169) at eval.c:3116
#7  0x08167fb9 in Fbyte_code (bytestr=140593339, vector=139510996, maxdepth=40)
    at bytecode.c:885
#8  0x08141747 in funcall_lambda (fun=138989924, nargs=3, 
    arg_vector=0xbfffeb64) at eval.c:2944
#9  0x0814131d in Ffuncall (nargs=4, args=0xbfffeb60) at eval.c:2814
#10 0x08167a24 in Fbyte_code (bytestr=140593403, vector=139632612, maxdepth=40)
    at bytecode.c:686
#11 0x08141747 in funcall_lambda (fun=139531236, nargs=2, 
    arg_vector=0xbfffec94) at eval.c:2944
#12 0x0814131d in Ffuncall (nargs=3, args=0xbfffec90) at eval.c:2814
#13 0x08167a24 in Fbyte_code (bytestr=140593387, vector=139377988, maxdepth=40)
    at bytecode.c:686
#14 0x08141747 in funcall_lambda (fun=140509180, nargs=2, 
    arg_vector=0xbfffede4) at eval.c:2944
#15 0x0814131d in Ffuncall (nargs=3, args=0xbfffede0) at eval.c:2814
#16 0x08167a24 in Fbyte_code (bytestr=137973619, vector=139857492, maxdepth=96)
    at bytecode.c:686
#17 0x08141747 in funcall_lambda (fun=139846732, nargs=2, 
    arg_vector=0xbfffef04) at eval.c:2944
#18 0x0814131d in Ffuncall (nargs=3, args=0xbfffef00) at eval.c:2814
#19 0x08167a24 in Fbyte_code (bytestr=138077035, vector=140503636, maxdepth=48)
    at bytecode.c:686
#20 0x08141747 in funcall_lambda (fun=139593556, nargs=1, 
    arg_vector=0xbffff034) at eval.c:2944
#21 0x0814131d in Ffuncall (nargs=2, args=0xbffff030) at eval.c:2814
#22 0x08167a24 in Fbyte_code (bytestr=140504195, vector=139658156, maxdepth=48)
    at bytecode.c:686
#23 0x08141747 in funcall_lambda (fun=140541020, nargs=1, 
    arg_vector=0xbffff164) at eval.c:2944
#24 0x0814131d in Ffuncall (nargs=2, args=0xbffff160) at eval.c:2814
#25 0x08167a24 in Fbyte_code (bytestr=140504067, vector=140252356, maxdepth=16)
    at bytecode.c:686
#26 0x08141747 in funcall_lambda (fun=140541420, nargs=1, 
    arg_vector=0xbffff284) at eval.c:2944
#27 0x0814131d in Ffuncall (nargs=2, args=0xbffff280) at eval.c:2814
#28 0x08167a24 in Fbyte_code (bytestr=140301963, vector=140252484, maxdepth=32)
    at bytecode.c:686
#29 0x08141747 in funcall_lambda (fun=140576084, nargs=1, 
    arg_vector=0xbffff3d4) at eval.c:2944
#30 0x0814131d in Ffuncall (nargs=2, args=0xbffff3d0) at eval.c:2814
#31 0x0813dc51 in Fcall_interactively (function=139497401, 
    record_flag=17165146, keys=137378044) at callint.c:878
#32 0x080f1105 in Fcommand_execute (cmd=139497401, record_flag=137321169, 
    keys=137321169, special=137321169) at keyboard.c:9724
#33 0x080e73e7 in command_loop_1 () at keyboard.c:1779
#34 0x0813f79a in internal_condition_case (bfun=0x80e6514 <command_loop_1>, 
    handlers=137382137, hfun=0x80e6090 <cmd_error>) at eval.c:1367
#35 0x080e6386 in command_loop_2 () at keyboard.c:1309
#36 0x0813f333 in internal_catch (tag=137376161, 
    func=0x80e6368 <command_loop_2>, arg=137321169) at eval.c:1128
#37 0x080e6315 in command_loop () at keyboard.c:1288
#38 0x080e5e47 in recursive_edit_1 () at keyboard.c:981
#39 0x080e5f6f in Frecursive_edit () at keyboard.c:1042
#40 0x080e4ddb in main (argc=1, argv=0xbffffb94) at emacs.c:1738
#41 0x42017499 in __libc_start_main () from /lib/i686/libc.so.6
(gdb) help stack
Examining the stack.
The stack is made up of stack frames.  Gdb assigns numbers to stack frames
counting from zero for the innermost (currently executing) frame.

At any time gdb identifies one frame as the "selected" frame.
Variable lookups are done with respect to the selected frame.
When the program being debugged stops, gdb selects the innermost frame.
The commands below can be used to select other frames by number or address.

List of commands:

backtrace -- Print backtrace of all stack frames
bt -- Print backtrace of all stack frames
down -- Select and print stack frame called by this one
frame -- Select and print a stack frame
return -- Make selected stack frame return to its caller
select-frame -- Select a stack frame without printing anything
up -- Select and print stack frame that called this one

Type "help" followed by command name for full documentation.
Command name abbreviations are allowed if unambiguous.
(gdb) backtrace
#0  0x420e187e in select () from /lib/i686/libc.so.6
#1  0x402a9d44 in _XlcPublicMethods () from /usr/X11R6/lib/libX11.so.6
#2  0x4020745a in _XRead () from /usr/X11R6/lib/libX11.so.6
#3  0x40207f1a in _XReply () from /usr/X11R6/lib/libX11.so.6
#4  0x402037e8 in XSync () from /usr/X11R6/lib/libX11.so.6
#5  0x080c76da in x_catch_errors_unwind (old_val=157977501) at xterm.c:7622
#6  0x08141bd7 in unbind_to (count=26, value=137321169) at eval.c:3116
#7  0x08167fb9 in Fbyte_code (bytestr=140593339, vector=139510996, maxdepth=40)
    at bytecode.c:885
#8  0x08141747 in funcall_lambda (fun=138989924, nargs=3, 
    arg_vector=0xbfffeb64) at eval.c:2944
#9  0x0814131d in Ffuncall (nargs=4, args=0xbfffeb60) at eval.c:2814
#10 0x08167a24 in Fbyte_code (bytestr=140593403, vector=139632612, maxdepth=40)
    at bytecode.c:686
#11 0x08141747 in funcall_lambda (fun=139531236, nargs=2, 
    arg_vector=0xbfffec94) at eval.c:2944
#12 0x0814131d in Ffuncall (nargs=3, args=0xbfffec90) at eval.c:2814
#13 0x08167a24 in Fbyte_code (bytestr=140593387, vector=139377988, maxdepth=40)
    at bytecode.c:686
#14 0x08141747 in funcall_lambda (fun=140509180, nargs=2, 
    arg_vector=0xbfffede4) at eval.c:2944
#15 0x0814131d in Ffuncall (nargs=3, args=0xbfffede0) at eval.c:2814
#16 0x08167a24 in Fbyte_code (bytestr=137973619, vector=139857492, maxdepth=96)
    at bytecode.c:686
#17 0x08141747 in funcall_lambda (fun=139846732, nargs=2, 
    arg_vector=0xbfffef04) at eval.c:2944
#18 0x0814131d in Ffuncall (nargs=3, args=0xbfffef00) at eval.c:2814
#19 0x08167a24 in Fbyte_code (bytestr=138077035, vector=140503636, maxdepth=48)
    at bytecode.c:686
#20 0x08141747 in funcall_lambda (fun=139593556, nargs=1, 
    arg_vector=0xbffff034) at eval.c:2944
#21 0x0814131d in Ffuncall (nargs=2, args=0xbffff030) at eval.c:2814
#22 0x08167a24 in Fbyte_code (bytestr=140504195, vector=139658156, maxdepth=48)
    at bytecode.c:686
#23 0x08141747 in funcall_lambda (fun=140541020, nargs=1, 
    arg_vector=0xbffff164) at eval.c:2944
#24 0x0814131d in Ffuncall (nargs=2, args=0xbffff160) at eval.c:2814
#25 0x08167a24 in Fbyte_code (bytestr=140504067, vector=140252356, maxdepth=16)
    at bytecode.c:686
#26 0x08141747 in funcall_lambda (fun=140541420, nargs=1, 
    arg_vector=0xbffff284) at eval.c:2944
#27 0x0814131d in Ffuncall (nargs=2, args=0xbffff280) at eval.c:2814
#28 0x08167a24 in Fbyte_code (bytestr=140301963, vector=140252484, maxdepth=32)
    at bytecode.c:686
#29 0x08141747 in funcall_lambda (fun=140576084, nargs=1, 
    arg_vector=0xbffff3d4) at eval.c:2944
#30 0x0814131d in Ffuncall (nargs=2, args=0xbffff3d0) at eval.c:2814
#31 0x0813dc51 in Fcall_interactively (function=139497401, 
    record_flag=17165146, keys=137378044) at callint.c:878
#32 0x080f1105 in Fcommand_execute (cmd=139497401, record_flag=137321169, 
    keys=137321169, special=137321169) at keyboard.c:9724
#33 0x080e73e7 in command_loop_1 () at keyboard.c:1779
#34 0x0813f79a in internal_condition_case (bfun=0x80e6514 <command_loop_1>, 
    handlers=137382137, hfun=0x80e6090 <cmd_error>) at eval.c:1367
#35 0x080e6386 in command_loop_2 () at keyboard.c:1309
#36 0x0813f333 in internal_catch (tag=137376161, 
    func=0x80e6368 <command_loop_2>, arg=137321169) at eval.c:1128
#37 0x080e6315 in command_loop () at keyboard.c:1288
#38 0x080e5e47 in recursive_edit_1 () at keyboard.c:981
#39 0x080e5f6f in Frecursive_edit () at keyboard.c:1042
#40 0x080e4ddb in main (argc=1, argv=0xbffffb94) at emacs.c:1738
#41 0x42017499 in __libc_start_main () from /lib/i686/libc.so.6
(gdb) bt
#0  0x420e187e in select () from /lib/i686/libc.so.6
#1  0x402a9d44 in _XlcPublicMethods () from /usr/X11R6/lib/libX11.so.6
#2  0x4020745a in _XRead () from /usr/X11R6/lib/libX11.so.6
#3  0x40207f1a in _XReply () from /usr/X11R6/lib/libX11.so.6
#4  0x402037e8 in XSync () from /usr/X11R6/lib/libX11.so.6
#5  0x080c76da in x_catch_errors_unwind (old_val=157977501) at xterm.c:7622
#6  0x08141bd7 in unbind_to (count=26, value=137321169) at eval.c:3116
#7  0x08167fb9 in Fbyte_code (bytestr=140593339, vector=139510996, maxdepth=40)
    at bytecode.c:885
#8  0x08141747 in funcall_lambda (fun=138989924, nargs=3, 
    arg_vector=0xbfffeb64) at eval.c:2944
#9  0x0814131d in Ffuncall (nargs=4, args=0xbfffeb60) at eval.c:2814
#10 0x08167a24 in Fbyte_code (bytestr=140593403, vector=139632612, maxdepth=40)
    at bytecode.c:686
#11 0x08141747 in funcall_lambda (fun=139531236, nargs=2, 
    arg_vector=0xbfffec94) at eval.c:2944
#12 0x0814131d in Ffuncall (nargs=3, args=0xbfffec90) at eval.c:2814
#13 0x08167a24 in Fbyte_code (bytestr=140593387, vector=139377988, maxdepth=40)
    at bytecode.c:686
#14 0x08141747 in funcall_lambda (fun=140509180, nargs=2, 
    arg_vector=0xbfffede4) at eval.c:2944
#15 0x0814131d in Ffuncall (nargs=3, args=0xbfffede0) at eval.c:2814
#16 0x08167a24 in Fbyte_code (bytestr=137973619, vector=139857492, maxdepth=96)
    at bytecode.c:686
#17 0x08141747 in funcall_lambda (fun=139846732, nargs=2, 
    arg_vector=0xbfffef04) at eval.c:2944
#18 0x0814131d in Ffuncall (nargs=3, args=0xbfffef00) at eval.c:2814
#19 0x08167a24 in Fbyte_code (bytestr=138077035, vector=140503636, maxdepth=48)
    at bytecode.c:686
#20 0x08141747 in funcall_lambda (fun=139593556, nargs=1, 
    arg_vector=0xbffff034) at eval.c:2944
#21 0x0814131d in Ffuncall (nargs=2, args=0xbffff030) at eval.c:2814
#22 0x08167a24 in Fbyte_code (bytestr=140504195, vector=139658156, maxdepth=48)
    at bytecode.c:686
#23 0x08141747 in funcall_lambda (fun=140541020, nargs=1, 
    arg_vector=0xbffff164) at eval.c:2944
#24 0x0814131d in Ffuncall (nargs=2, args=0xbffff160) at eval.c:2814
#25 0x08167a24 in Fbyte_code (bytestr=140504067, vector=140252356, maxdepth=16)
    at bytecode.c:686
#26 0x08141747 in funcall_lambda (fun=140541420, nargs=1, 
    arg_vector=0xbffff284) at eval.c:2944
#27 0x0814131d in Ffuncall (nargs=2, args=0xbffff280) at eval.c:2814
#28 0x08167a24 in Fbyte_code (bytestr=140301963, vector=140252484, maxdepth=32)
    at bytecode.c:686
#29 0x08141747 in funcall_lambda (fun=140576084, nargs=1, 
    arg_vector=0xbffff3d4) at eval.c:2944
#30 0x0814131d in Ffuncall (nargs=2, args=0xbffff3d0) at eval.c:2814
#31 0x0813dc51 in Fcall_interactively (function=139497401, 
    record_flag=17165146, keys=137378044) at callint.c:878
#32 0x080f1105 in Fcommand_execute (cmd=139497401, record_flag=137321169, 
    keys=137321169, special=137321169) at keyboard.c:9724
#33 0x080e73e7 in command_loop_1 () at keyboard.c:1779
#34 0x0813f79a in internal_condition_case (bfun=0x80e6514 <command_loop_1>, 
    handlers=137382137, hfun=0x80e6090 <cmd_error>) at eval.c:1367
#35 0x080e6386 in command_loop_2 () at keyboard.c:1309
#36 0x0813f333 in internal_catch (tag=137376161, 
    func=0x80e6368 <command_loop_2>, arg=137321169) at eval.c:1128
#37 0x080e6315 in command_loop () at keyboard.c:1288
#38 0x080e5e47 in recursive_edit_1 () at keyboard.c:981
#39 0x080e5f6f in Frecursive_edit () at keyboard.c:1042
#40 0x080e4ddb in main (argc=1, argv=0xbffffb94) at emacs.c:1738
#41 0x42017499 in __libc_start_main () from /lib/i686/libc.so.6
(gdb) bt
#0  0x420e187e in select () from /lib/i686/libc.so.6
#1  0x402a9d44 in _XlcPublicMethods () from /usr/X11R6/lib/libX11.so.6
#2  0x4020745a in _XRead () from /usr/X11R6/lib/libX11.so.6
#3  0x40207f1a in _XReply () from /usr/X11R6/lib/libX11.so.6
#4  0x402037e8 in XSync () from /usr/X11R6/lib/libX11.so.6
#5  0x080c76da in x_catch_errors_unwind (old_val=157977501) at xterm.c:7622
#6  0x08141bd7 in unbind_to (count=26, value=137321169) at eval.c:3116
#7  0x08167fb9 in Fbyte_code (bytestr=140593339, vector=139510996, maxdepth=40)
    at bytecode.c:885
#8  0x08141747 in funcall_lambda (fun=138989924, nargs=3, 
    arg_vector=0xbfffeb64) at eval.c:2944
#9  0x0814131d in Ffuncall (nargs=4, args=0xbfffeb60) at eval.c:2814
#10 0x08167a24 in Fbyte_code (bytestr=140593403, vector=139632612, maxdepth=40)
    at bytecode.c:686
#11 0x08141747 in funcall_lambda (fun=139531236, nargs=2, 
    arg_vector=0xbfffec94) at eval.c:2944
#12 0x0814131d in Ffuncall (nargs=3, args=0xbfffec90) at eval.c:2814
#13 0x08167a24 in Fbyte_code (bytestr=140593387, vector=139377988, maxdepth=40)
    at bytecode.c:686
#14 0x08141747 in funcall_lambda (fun=140509180, nargs=2, 
    arg_vector=0xbfffede4) at eval.c:2944
#15 0x0814131d in Ffuncall (nargs=3, args=0xbfffede0) at eval.c:2814
#16 0x08167a24 in Fbyte_code (bytestr=137973619, vector=139857492, maxdepth=96)
    at bytecode.c:686
#17 0x08141747 in funcall_lambda (fun=139846732, nargs=2, 
    arg_vector=0xbfffef04) at eval.c:2944
#18 0x0814131d in Ffuncall (nargs=3, args=0xbfffef00) at eval.c:2814
#19 0x08167a24 in Fbyte_code (bytestr=138077035, vector=140503636, maxdepth=48)
    at bytecode.c:686
#20 0x08141747 in funcall_lambda (fun=139593556, nargs=1, 
    arg_vector=0xbffff034) at eval.c:2944
#21 0x0814131d in Ffuncall (nargs=2, args=0xbffff030) at eval.c:2814
#22 0x08167a24 in Fbyte_code (bytestr=140504195, vector=139658156, maxdepth=48)
    at bytecode.c:686
#23 0x08141747 in funcall_lambda (fun=140541020, nargs=1, 
    arg_vector=0xbffff164) at eval.c:2944
#24 0x0814131d in Ffuncall (nargs=2, args=0xbffff160) at eval.c:2814
#25 0x08167a24 in Fbyte_code (bytestr=140504067, vector=140252356, maxdepth=16)
    at bytecode.c:686
#26 0x08141747 in funcall_lambda (fun=140541420, nargs=1, 
    arg_vector=0xbffff284) at eval.c:2944
#27 0x0814131d in Ffuncall (nargs=2, args=0xbffff280) at eval.c:2814
#28 0x08167a24 in Fbyte_code (bytestr=140301963, vector=140252484, maxdepth=32)
    at bytecode.c:686
#29 0x08141747 in funcall_lambda (fun=140576084, nargs=1, 
    arg_vector=0xbffff3d4) at eval.c:2944
#30 0x0814131d in Ffuncall (nargs=2, args=0xbffff3d0) at eval.c:2814
#31 0x0813dc51 in Fcall_interactively (function=139497401, 
    record_flag=17165146, keys=137378044) at callint.c:878
#32 0x080f1105 in Fcommand_execute (cmd=139497401, record_flag=137321169, 
    keys=137321169, special=137321169) at keyboard.c:9724
#33 0x080e73e7 in command_loop_1 () at keyboard.c:1779
#34 0x0813f79a in internal_condition_case (bfun=0x80e6514 <command_loop_1>, 
    handlers=137382137, hfun=0x80e6090 <cmd_error>) at eval.c:1367
#35 0x080e6386 in command_loop_2 () at keyboard.c:1309
#36 0x0813f333 in internal_catch (tag=137376161, 
    func=0x80e6368 <command_loop_2>, arg=137321169) at eval.c:1128
#37 0x080e6315 in command_loop () at keyboard.c:1288
#38 0x080e5e47 in recursive_edit_1 () at keyboard.c:981
#39 0x080e5f6f in Frecursive_edit () at keyboard.c:1042
#40 0x080e4ddb in main (argc=1, argv=0xbffffb94) at emacs.c:1738
#41 0x42017499 in __libc_start_main () from /lib/i686/libc.so.6
(gdb) help
List of classes of commands:

aliases -- Aliases of other commands
breakpoints -- Making program stop at certain points
data -- Examining data
files -- Specifying and examining files
internals -- Maintenance commands
obscure -- Obscure features
running -- Running the program
stack -- Examining the stack
status -- Status inquiries
support -- Support facilities
tracepoints -- Tracing of program execution without stopping the program
user-defined -- User-defined commands

Type "help" followed by a class name for a list of commands in that class.
Type "help" followed by command name for full documentation.
Command name abbreviations are allowed if unambiguous.
(gdb) help running
Running the program.

List of commands:

attach -- Attach to a process or file outside of GDB
continue -- Continue program being debugged
detach -- Detach a process or file previously attached
finish -- Execute until selected stack frame returns
handle -- Specify how to handle a signal
info handle -- What debugger does when program gets various signals
interrupt -- Interrupt the execution of the debugged program
jump -- Continue program being debugged at specified line or address
kill -- Kill execution of program being debugged
next -- Step program
nexti -- Step one instruction
run -- Start debugged program
set args -- Set argument list to give program being debugged when it is started
set environment -- Set environment variable value to give the program
set follow-fork-mode -- Set debugger response to a program call of fork or vfork
set scheduler-locking -- Set mode for locking scheduler during execution
set step-mode -- Set mode of the step operation
show args -- Show argument list to give program being debugged when it is 
started
show follow-fork-mode -- Show debugger response to a program call of fork or 
vfork
show scheduler-locking -- Show mode for locking scheduler during execution
show step-mode -- Show mode of the step operation
signal -- Continue program giving it signal specified by the argument
step -- Step program until it reaches a different source line
stepi -- Step one instruction exactly
target -- Connect to a target machine or process
thread -- Use this command to switch between threads
thread apply -- Apply a command to a list of threads
apply all -- Apply a command to all threads
tty -- Set terminal for future runs of program being debugged
unset environment -- Cancel environment variable VAR for the program
until -- Execute until the program reaches a source line greater than the 
current

Type "help" followed by command name for full documentation.
Command name abbreviations are allowed if unambiguous.
(gdb) step
Single stepping until exit from function select, 
which has no line number information.
0x402066f3 in _XPollfdCacheDel () from /usr/X11R6/lib/libX11.so.6
(gdb) step
Single stepping until exit from function _XPollfdCacheDel, 
which has no line number information.

step
0x4020745a in _XRead () from /usr/X11R6/lib/libX11.so.6
(gdb) Single stepping until exit from function _XRead, 
which has no line number information.
0x40206600 in _XPollfdCacheDel () from /usr/X11R6/lib/libX11.so.6
(gdb) Single stepping until exit from function _XPollfdCacheDel, 
which has no line number information.
0x402062c0 in _XGetAsyncData () from /usr/X11R6/lib/libX11.so.6
(gdb) step
Single stepping until exit from function _XGetAsyncData, 
which has no line number information.
0x420a8f93 in gettimeofday () from /lib/i686/libc.so.6
(gdb) step
Single stepping until exit from function gettimeofday, 
which has no line number information.
alarm_signal_handler (signo=14) at atimer.c:370
(gdb) step
(gdb) step
(gdb) step
(gdb) step
(gdb) step
(gdb) step
(gdb) step
(gdb) step
x_process_timeouts (timer=0x853e3d0) at xterm.c:10718
(gdb) step
popup_activated () at xmenu.c:1255
(gdb) step
(gdb) step
(gdb) step
popup_activated () at xmenu.c:1257
(gdb) step
x_process_timeouts (timer=0x853e3d0) at xterm.c:10725
(gdb) step
alarm_signal_handler (signo=14) at atimer.c:382
(gdb) step
(gdb) step
(gdb) step
schedule_atimer (t=0x853e3d0) at atimer.c:342
(gdb) step
(gdb) step
(gdb) step
(gdb) step
(gdb) step
(gdb) step
alarm_signal_handler (signo=14) at atimer.c:386
(gdb) step
(gdb) step
(gdb) step
(gdb) step
(gdb) step
(gdb) step
(gdb) step
(gdb) step
x_process_timeouts (timer=0x853e3d0) at xterm.c:10718
(gdb) step
popup_activated () at xmenu.c:1255
(gdb) step
(gdb) step
(gdb) step
popup_activated () at xmenu.c:1257
(gdb) step
x_process_timeouts (timer=0x853e3d0) at xterm.c:10725
(gdb) step
alarm_signal_handler (signo=14) at atimer.c:382
(gdb) step
(gdb) step
(gdb) step
schedule_atimer (t=0x853e3d0) at atimer.c:342
(gdb) step
(gdb) step
(gdb) step
(gdb) step
(gdb) step
(gdb) step
alarm_signal_handler (signo=14) at atimer.c:386
(gdb) step
(gdb) step
(gdb) step
(gdb) step
(gdb) step
(gdb) step
(gdb) step
(gdb) step
x_process_timeouts (timer=0x853e3d0) at xterm.c:10718
(gdb) step
popup_activated () at xmenu.c:1255
(gdb) step
(gdb) step
(gdb) step
popup_activated () at xmenu.c:1257
(gdb) step
x_process_timeouts (timer=0x853e3d0) at xterm.c:10725
(gdb) step
alarm_signal_handler (signo=14) at atimer.c:382
(gdb) step
(gdb) step
(gdb) step
schedule_atimer (t=0x853e3d0) at atimer.c:342
(gdb) step
(gdb) step
(gdb) step
(gdb) step
(gdb) step
(gdb) step
alarm_signal_handler (signo=14) at atimer.c:386
(gdb) step
(gdb) step
(gdb) step
(gdb) step
(gdb) step
(gdb) step
(gdb) step
(gdb) step
x_process_timeouts (timer=0x853e3d0) at xterm.c:10718
(gdb) step
popup_activated () at xmenu.c:1255
(gdb) step
(gdb) step
(gdb) step
popup_activated () at xmenu.c:1257
(gdb) continue
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
0x402062c3 in _XGetAsyncData () from /usr/X11R6/lib/libX11.so.6
(gdb) help help
Print list of commands.
(gdb) help
List of classes of commands:

aliases -- Aliases of other commands
breakpoints -- Making program stop at certain points
data -- Examining data
files -- Specifying and examining files
internals -- Maintenance commands
obscure -- Obscure features
running -- Running the program
stack -- Examining the stack
status -- Status inquiries
support -- Support facilities
tracepoints -- Tracing of program execution without stopping the program
user-defined -- User-defined commands

Type "help" followed by a class name for a list of commands in that class.
Type "help" followed by command name for full documentation.
Command name abbreviations are allowed if unambiguous.
(gdb) bt
#0  0x402062c3 in _XGetAsyncData () from /usr/X11R6/lib/libX11.so.6
#1  0x4020745a in _XRead () from /usr/X11R6/lib/libX11.so.6
#2  0x40207f1a in _XReply () from /usr/X11R6/lib/libX11.so.6
#3  0x402037e8 in XSync () from /usr/X11R6/lib/libX11.so.6
#4  0x080c76da in x_catch_errors_unwind (old_val=157977501) at xterm.c:7622
#5  0x08141bd7 in unbind_to (count=26, value=137321169) at eval.c:3116
#6  0x08167fb9 in Fbyte_code (bytestr=140593339, vector=139510996, maxdepth=40)
    at bytecode.c:885
#7  0x08141747 in funcall_lambda (fun=138989924, nargs=3, 
    arg_vector=0xbfffeb64) at eval.c:2944
#8  0x0814131d in Ffuncall (nargs=4, args=0xbfffeb60) at eval.c:2814
#9  0x08167a24 in Fbyte_code (bytestr=140593403, vector=139632612, maxdepth=40)
    at bytecode.c:686
#10 0x08141747 in funcall_lambda (fun=139531236, nargs=2, 
    arg_vector=0xbfffec94) at eval.c:2944
#11 0x0814131d in Ffuncall (nargs=3, args=0xbfffec90) at eval.c:2814
#12 0x08167a24 in Fbyte_code (bytestr=140593387, vector=139377988, maxdepth=40)
    at bytecode.c:686
#13 0x08141747 in funcall_lambda (fun=140509180, nargs=2, 
    arg_vector=0xbfffede4) at eval.c:2944
#14 0x0814131d in Ffuncall (nargs=3, args=0xbfffede0) at eval.c:2814
#15 0x08167a24 in Fbyte_code (bytestr=137973619, vector=139857492, maxdepth=96)
    at bytecode.c:686
#16 0x08141747 in funcall_lambda (fun=139846732, nargs=2, 
    arg_vector=0xbfffef04) at eval.c:2944
#17 0x0814131d in Ffuncall (nargs=3, args=0xbfffef00) at eval.c:2814
#18 0x08167a24 in Fbyte_code (bytestr=138077035, vector=140503636, maxdepth=48)
    at bytecode.c:686
#19 0x08141747 in funcall_lambda (fun=139593556, nargs=1, 
    arg_vector=0xbffff034) at eval.c:2944
#20 0x0814131d in Ffuncall (nargs=2, args=0xbffff030) at eval.c:2814
#21 0x08167a24 in Fbyte_code (bytestr=140504195, vector=139658156, maxdepth=48)
    at bytecode.c:686
#22 0x08141747 in funcall_lambda (fun=140541020, nargs=1, 
    arg_vector=0xbffff164) at eval.c:2944
#23 0x0814131d in Ffuncall (nargs=2, args=0xbffff160) at eval.c:2814
#24 0x08167a24 in Fbyte_code (bytestr=140504067, vector=140252356, maxdepth=16)
    at bytecode.c:686
#25 0x08141747 in funcall_lambda (fun=140541420, nargs=1, 
    arg_vector=0xbffff284) at eval.c:2944
#26 0x0814131d in Ffuncall (nargs=2, args=0xbffff280) at eval.c:2814
#27 0x08167a24 in Fbyte_code (bytestr=140301963, vector=140252484, maxdepth=32)
    at bytecode.c:686
#28 0x08141747 in funcall_lambda (fun=140576084, nargs=1, 
    arg_vector=0xbffff3d4) at eval.c:2944
#29 0x0814131d in Ffuncall (nargs=2, args=0xbffff3d0) at eval.c:2814
#30 0x0813dc51 in Fcall_interactively (function=139497401, 
    record_flag=17165146, keys=137378044) at callint.c:878
#31 0x080f1105 in Fcommand_execute (cmd=139497401, record_flag=137321169, 
    keys=137321169, special=137321169) at keyboard.c:9724
#32 0x080e73e7 in command_loop_1 () at keyboard.c:1779
#33 0x0813f79a in internal_condition_case (bfun=0x80e6514 <command_loop_1>, 
    handlers=137382137, hfun=0x80e6090 <cmd_error>) at eval.c:1367
#34 0x080e6386 in command_loop_2 () at keyboard.c:1309
#35 0x0813f333 in internal_catch (tag=137376161, 
    func=0x80e6368 <command_loop_2>, arg=137321169) at eval.c:1128
#36 0x080e6315 in command_loop () at keyboard.c:1288
#37 0x080e5e47 in recursive_edit_1 () at keyboard.c:981
#38 0x080e5f6f in Frecursive_edit () at keyboard.c:1042
#39 0x080e4ddb in main (argc=1, argv=0xbffffb94) at emacs.c:1738
#40 0x42017499 in __libc_start_main () from /lib/i686/libc.so.6
(gdb)




-- 
Peter Seibel                                      address@hidden

         Lisp is the red pill. -- John Fraser, comp.lang.lisp




reply via email to

[Prev in Thread] Current Thread [Next in Thread]