Andy Piper writes:
Can you run in gdb and interupt it when it freezes? Or else send it a
signal and get a stacktrace from hte core.
andy
At the time this happened, I had done cvs examine on a directory tree,
followed by cvs diff on one of the files. When I tried to commit the
file, XEmacs froze after putting up a progress bar which said that it
was fontifying ChangeLog. (There is no such file in this particular
source tree.)
I will leave this xemacs in the debugger in case anyone needs
additional info. (I am not a heavy GDB user so if you want more info
you might have to specify the exact command.)
Craig
One backtrace comming up...
[lanning@lanning lanning]$ gdb xemacs-21.2-b37
GNU gdb 19991004
Copyright 1998 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"...
(gdb) run
Starting program: /usr/bin/xemacs-21.2-b37
xemacs-21.2-b37: X Error of failed request: BadValue (integer parameter out of range for
operation)
Major opcode of failed request: 12 (X_ConfigureWindow)
Value in failed request: 0x0
Serial number of failed request: 7145
Current serial number in output stream: 7207
Xlib: unexpected async reply (sequence 0xc2f9)!
xemacs-21.2-b37: X Error of failed request: BadValue (integer parameter out of range for
operation)
Major opcode of failed request: 12 (X_ConfigureWindow)
Value in failed request: 0x0
Serial number of failed request: 49836
Current serial number in output stream: 49913
Program received signal SIGINT, Interrupt.
0x404b017e in __select () from /lib/libc.so.6
(gdb) where
#0 0x404b017e in __select () from /lib/libc.so.6
#1 0x40306dd8 in ?? () from /usr/X11R6/lib/libX11.so.6
#2 0x402968f8 in _XRead () from /usr/X11R6/lib/libX11.so.6
#3 0x40297342 in _XReply () from /usr/X11R6/lib/libX11.so.6
#4 0x4028dc10 in XQueryColor () from /usr/X11R6/lib/libX11.so.6
#5 0x81d4a00 in x_generate_shadow_pixels (f=0x857f480, top_shadow=0xbfffd3e8,
bottom_shadow=0xbfffd3ec, background=13421772, core_background=16777215)
at redisplay-x.c:1611
#6 0x81d1efc in x_bevel_area (w=0x8bcd538, findex=6, x=4, y=838, width=870,
height=89, shadow_thickness=2, edges=15, style=EDGE_BEVEL_OUT)
at redisplay-x.c:551
#7 0x814d8a2 in output_gutter (f=0x857f480, pos=BOTTOM_GUTTER, force=0)
at gutter.c:492
#8 0x814e108 in update_frame_gutters (f=0x857f480) at gutter.c:634
#9 0x814f9db in Fredisplay_gutter_area () at gutter.c:1082
#10 0x80bb6e2 in Ffuncall (nargs=1, args=0xbfffd5cc) at eval.c:3528
#11 0x8092d39 in execute_optimized_program (
program=0x85d2f08
"\fÆk?zÇ\036#\n\032\016$®\002È\031ÉÊ!\eËÈÌ\013#\030Í\fÎÏ!\"\210Ð\b\016%\"\210Ñ\016&Ò\013\r$\210Ó\016'Ô\r#\210Õ\016(Ö\t#\210×Ø\r!!\210Õ\016)Ù\f#\210×Ø\r!!\210Ú\016!\r\"Ûa«\020Ü\016\"Ò\r#«\bÝ
\210Þ ª\026Ó\016!Û\r#\210ß\016\"ÒÇ\r$\210Þ \210à\r!-\207tch*A", stack_depth=5,
constants_data=0x84a4608)
at bytecode.c:746
#12 0x809297b in funcall_compiled_function (fun=138976996, nargs=3,
---Type <return> to continue, or q <return> to quit---
args=0xbfffd6d8) at bytecode.c:518
#13 0x80bb86f in Ffuncall (nargs=4, args=0xbfffd6d4) at eval.c:3563
#14 0x8092d39 in execute_optimized_program (
program=0x85906f0 "\r¬\004Æ
\025\n@\211\031A\036\020\b\t@a«%\t\f¡\210\016\020\fk«\020Ç\016\021È\013#\210ÉÊ\r!!\210ª\aË\f\013\r#\210Ì
\210ª\r\b\fB\nB\022Ë\f\013\r#\210Í \210\013Îa\004Ï\b!*\207h", stack_depth=5,
constants_data=0x84a44d0) at bytecode.c:746
#15 0x809297b in funcall_compiled_function (fun=138976940, nargs=4,
args=0xbfffd7e0) at bytecode.c:518
#16 0x80bb86f in Ffuncall (nargs=5, args=0xbfffd7dc) at eval.c:3563
#17 0x8092d39 in execute_optimized_program (
program=0x85d2ec0
"\fÅa«\aÆ\n\t\013#\207ÇÈ\013\"«\004\b«\026É\n\t\fÊa«\004˪\aÌ\fÍ¥Î\"P\013#\207Ï\n\t\f\013$\207on
i\231", stack_depth=6,
constants_data=0x84a46c8) at bytecode.c:746
#18 0x809297b in funcall_compiled_function (fun=138977024, nargs=3,
args=0xbfffd8ec) at bytecode.c:518
#19 0x80bb86f in Ffuncall (nargs=4, args=0xbfffd8e8) at eval.c:3563
#20 0x8092d39 in execute_optimized_program (
program=0x85d2e88
"\212\013¬\f\n¬\tÅÆ\tÅ\"\210ª\017ÇÈ\013\n#\034É\t\f\b#\210\f))\207EmacsI",
stack_depth=4, constants_data=0x84a4760) at bytecode.c:746
#21 0x809297b in funcall_compiled_function (fun=138977136, nargs=1,
args=0xbfffd9f0) at bytecode.c:518
#22 0x80bb86f in Ffuncall (nargs=5, args=0xbfffd9ec) at eval.c:3563
---Type <return> to continue, or q <return> to quit---
#23 0x8092d39 in execute_optimized_program (
program=0x85f7e18 "\016=\a\f\rZ\016>Y\0366\016?\036@\016:¢Æa«\005\016:ª\003Ç
A\036+È
\036;É\211\0361\0367Ê\0363\016+G\0368Ë\211\0369\036.Ë\036)\016+\203u\004\016+@\211\0269@\026.\rb\210`\fW\203U\004\016.;«\tÌ\016.\fÆ#ª\005\016.\f!\203A\004`\rZÍ_\f\rZ\0168_¥\0163Í_\0168¥\\É\\\0261\0166«\021\0161\0167V«\nÎÏÐ\0161\016;$\210\0161\0267\0169A\211\026)«¯\016)@@§\203Ï\001\016)@@\225\034\016)@\211\036,@\211\0360\224\035\0160\225\034Ñ\016,8\036*\016,A@\211\036"...,
stack_depth=13, constants_data=0x85e0518) at bytecode.c:746
#24 0x809297b in funcall_compiled_function (fun=140345664, nargs=3,
args=0xbfffdb18) at bytecode.c:518
#25 0x80bb86f in Ffuncall (nargs=4, args=0xbfffdb14) at eval.c:3563
#26 0x8092d39 in execute_optimized_program (
program=0x8588cc0 "Æ Ç\211È
É\211\031\030\036\017\036\020\036\021\036\022Ê\216\013«\005Ë\013!\210\016\023«\bÌ\r\f\"\210ª\aÍ\r\f\n#\210Î\r\f\n#.\a\207!",
stack_depth=6, constants_data=0x8590c48) at bytecode.c:746
#27 0x809297b in funcall_compiled_function (fun=140345188, nargs=3,
args=0xbfffdc24) at bytecode.c:518
#28 0x80bb86f in Ffuncall (nargs=4, args=0xbfffdc20) at eval.c:3563
#29 0x8092d39 in execute_optimized_program (
program=0x8589af0 "\013\n\t\b#\207O@ ", stack_depth=4,
constants_data=0x8591158) at bytecode.c:746
#30 0x809297b in funcall_compiled_function (fun=140345076, nargs=2,
args=0xbfffdd28) at bytecode.c:518
---Type <return> to continue, or q <return> to quit---
#31 0x80bb86f in Ffuncall (nargs=3, args=0xbfffdd24) at eval.c:3563
#32 0x8092d39 in execute_optimized_program (
program=0xbfffdd78 "\212Àed\"\210)À\207\235Ú\b\\«S\bÀ\234u\b,Þÿ¿",
stack_depth=3, constants_data=0x8582918) at bytecode.c:746
#33 0x80955b1 in Fbyte_code (instructions=139634404, constants=139995400,
stack_depth=7) at bytecode.c:2405
#34 0x80badeb in Feval (form=137520704) at eval.c:3331
#35 0x80b8bbd in condition_case_3 (bodyform=137520704, var=137030900,
handlers=137520968) at eval.c:1651
#36 0x8093773 in execute_rare_opcode (stack_ptr=0xbfffe000,
program_ptr=0x858f6ff "\210\013¬\bÇ\030ÂÆ!\210)ÍÀ!ÊL\210\f«\f\r«\tÎÏÐÑÒ
$\210,ÓÔ!)\207urso`", opcode=Bcondition_case) at bytecode.c:1271
#37 0x8092b5b in execute_optimized_program (
program=0x858f6e0
"\214~\210\n\r®\002tÆÇ\034\031\035\211\e¬\005ÂÈ!\210ÉedÊ#\210ÇËÌ\217\210\013¬\bÇ\030ÂÆ!\210)ÍÀ!ÊL\210\f«\f\r«\tÎÏÐÑÒ
$\210,ÓÔ!)\207urso`", stack_depth=6, constants_data=0x8591858) at bytecode.c:656
#38 0x809297b in funcall_compiled_function (fun=140345132, nargs=0,
args=0xbfffe108) at bytecode.c:518
#39 0x80bb86f in Ffuncall (nargs=1, args=0xbfffe104) at eval.c:3563
#40 0x8092d39 in execute_optimized_program (
program=0x8584548 "\t®\002t\031\b )\207", stack_depth=1,
constants_data=0x85911f0) at bytecode.c:746
#41 0x809297b in funcall_compiled_function (fun=140345020, nargs=0,
---Type <return> to continue, or q <return> to quit---
args=0xbfffe200) at bytecode.c:518
#42 0x80bb86f in Ffuncall (nargs=1, args=0xbfffe1fc) at eval.c:3563
#43 0x8092d39 in execute_optimized_program (
program=0x82f90c0
"\t«\bÆ\t!ÇVª\003\b?\f:¬\004\fª\013\016!\f·®\004È\f·A\e\035\016\"¬\tÉ
ÇHÊa«\003Ë\025É
Ìk«\003Ë\025\r«\023ÍÎ!\210ÏÎÐËÈ$\210ÏÑÒ\"\210ª\rÓÎÐÈ#\210Ë\211\026#\026$ÔÀ!\rL\210\r«'Õ
\210Ö×!\210\n¬/\013«\aØ \013X«\006Ù \210ª!\016%«\035ÚÛÜÝÉ
$\210ª\023\n«\rË\022Þed\"\210ß \210ª\004ß \210à *\207",
stack_depth=6, constants_data=0x8596410) at bytecode.c:746
#44 0x809297b in funcall_compiled_function (fun=140344852, nargs=1,
args=0xbfffe30c) at bytecode.c:518
#45 0x80bb86f in Ffuncall (nargs=2, args=0xbfffe308) at eval.c:3563
#46 0x8092d39 in execute_optimized_program (program=0x858e4b0 "ÀÁ!\207A",
stack_depth=2, constants_data=0x85964c0) at bytecode.c:746
#47 0x809297b in funcall_compiled_function (fun=140344880, nargs=0,
args=0xbfffe408) at bytecode.c:518
#48 0x80bb86f in Ffuncall (nargs=1, args=0xbfffe404) at eval.c:3563
#49 0x8092d39 in execute_optimized_program (
program=0x87e2118 "ÀÁ!\e\n«\a\013\fs?ª\004\013\rs\rÆ\016\a!\a\016\b\003É
\207aria\231\001", stack_depth=2, constants_data=0x84b7998) at bytecode.c:746
#50 0x809297b in funcall_compiled_function (fun=139179320, nargs=0,
args=0xbfffe5f4) at bytecode.c:518
#51 0x80bb86f in Ffuncall (nargs=1, args=0xbfffe5f0) at eval.c:3563
#52 0x80bc3b3 in run_hook_with_args_in_buffer (buf=0x8759cc0, nargs=1,
---Type <return> to continue, or q <return> to quit---
args=0xbfffe5f0, cond=RUN_HOOKS_TO_COMPLETION) at eval.c:4020
#53 0x80bf39b in run_hook_with_args (nargs=1, args=0xbfffe5f0,
cond=RUN_HOOKS_TO_COMPLETION) at eval.c:4033
#54 0x80c0c6c in Frun_hooks (nargs=1, args=0xbfffe5f0) at eval.c:3887
#55 0x80bb820 in Ffuncall (nargs=2, args=0xbfffe5ec) at eval.c:3549
#56 0x8092d39 in execute_optimized_program (
program=0x87e23a8 "Æ\r!?\024\b\204\203", stack_depth=5,
constants_data=0x8421868) at bytecode.c:746
#57 0x809297b in funcall_compiled_function (fun=138533164, nargs=2,
args=0xbfffe6f8) at bytecode.c:518
#58 0x80bb86f in Ffuncall (nargs=3, args=0xbfffe6f4) at eval.c:3563
#59 0x8092d39 in execute_optimized_program (
program=0xbfffe748 "Æ\f!\210\fq\210Ç
\210ÈÉÊ\217\210\013¬\003\n\023\t\020\016\021«\005Ë\r!\025Ì\r!\026\022\016\023\r!¬\bÍÎ!\210Ï\026\016\016\024¬\013Ð\016\025\016\026?\"\210p\024È\207\002",
stack_depth=3, constants_data=0x8423850)
at bytecode.c:746
#60 0x80955b1 in Fbyte_code (instructions=138548196, constants=138557504,
stack_depth=7) at bytecode.c:2405
#61 0x80badeb in Feval (form=138098772) at eval.c:3331
#62 0x80b8bbd in condition_case_3 (bodyform=138098772, var=137151300,
handlers=137651272) at eval.c:1651
#63 0x8093773 in execute_rare_opcode (stack_ptr=0xbfffea40,
program_ptr=0x85f4074 "\210)\f,\207ñÿ¿\031\001", opcode=Bcondition_case)
---Type <return> to continue, or q <return> to quit---
at bytecode.c:1271
#64 0x8092b5b in execute_optimized_program (
program=0x85f3f98
"ÆÇ\r!!\025È\r!«\035ÉÊ!«\023\016+«\017Ê\013«\bÆË\r!!ª\002\r!\207ÌÍ\r\"\207Î\r!\034ÆË\r!!\032ÏÐ\n!\233\036,Ñ\036\f\f«\035\016-¬\004\013«\026\t¬\023\212\fq\210\b\r\230¬\tÒÓ\r\b\016.$\210)\f«w\t¬\177Ô\f!¬zÕ\r!¬\bÌÖ\r\"\210ªn×\f!¬\034ØÙ\215«\027r\fq\210ÒÚ\r\"\210ÛÜ\211\"\210ÒÝ\r\"\210)ªNÞß\r!à\f!\230«\025á×\f!«\006âã!ª\004âä!ß\r!\"ª\026á×\f!«\006âå!ª\004âæ!ß\r!à\f!#!«\030r"...,
stack_depth=6, constants_data=0x84238e8) at bytecode.c:656
#65 0x809297b in funcall_compiled_function (fun=138533136, nargs=1,
args=0xbfffeb48) at bytecode.c:518
#66 0x80bb86f in Ffuncall (nargs=2, args=0xbfffeb44) at eval.c:3563
#67 0x8092d39 in execute_optimized_program (
program=0x8ce9f00 "\212ÆÇ\013!!\030È\026\030É )\032Ê\n!q\210\016\031Ëa¬\004Ë
\210eb\210ÌÍ!«\005Î\225b\210Ï ¬\005pCª=\214Ð
\210eb\210Ñ\013Æ\n!\"\211\035Ò\230¬\n\212Ó\rÈÔ#)¬\005Õ\013!\025È\034Ó\rÈÔ#«\020Ö
\211\031\fB\024\t×\234b\210)ªëp\f+B*\207-\b\210", stack_depth=5,
constants_data=0x8d18978) at bytecode.c:746
#68 0x809297b in funcall_compiled_function (fun=148736252, nargs=1,
args=0xbfffec50) at bytecode.c:518
#69 0x80bb86f in Ffuncall (nargs=2, args=0xbfffec4c) at eval.c:3563
#70 0x8092d39 in execute_optimized_program (
program=0x8793500
"Æ\035\016\fÆ\031\211\e«)\013@\021Ç\t!\211\030@\r·\211\036\013«\016\016\013È\016\013A\bA\"¡\210ª\005\b\rB\025*\013A\211\023¬Ù*\rÆ\034\211\032«\030\n@\024É\f@\fA\"\210\fA«\004Ê
\210\nA\211\022¬ê+Æ\2079",
---Type <return> to continue, or q <return> to quit---
stack_depth=5, constants_data=0x8dd9120) at bytecode.c:746
#71 0x809297b in funcall_compiled_function (fun=148736308, nargs=1,
args=0xbfffed58) at bytecode.c:518
#72 0x80bb86f in Ffuncall (nargs=2, args=0xbfffed54) at eval.c:3563
#73 0x8092d39 in execute_optimized_program (
program=0x859c9b8 "ÀÁ !\210Â \207 ", stack_depth=2,
constants_data=0x8cb2fc0) at bytecode.c:746
#74 0x809297b in funcall_compiled_function (fun=148803084, nargs=0,
args=0xbfffef44) at bytecode.c:518
#75 0x80bb86f in Ffuncall (nargs=1, args=0xbfffef40) at eval.c:3563
#76 0x80bc3b3 in run_hook_with_args_in_buffer (buf=0x878cb10, nargs=1,
args=0xbfffef40, cond=RUN_HOOKS_TO_COMPLETION) at eval.c:4020
#77 0x80bf39b in run_hook_with_args (nargs=1, args=0xbfffef40,
cond=RUN_HOOKS_TO_COMPLETION) at eval.c:4033
#78 0x80c0c6c in Frun_hooks (nargs=1, args=0xbfffef40) at eval.c:3887
#79 0x80bb820 in Ffuncall (nargs=2, args=0xbfffef3c) at eval.c:3549
#80 0x8092d39 in execute_optimized_program (
program=0x88b31e8 "\n«\t\013Äa¬\004\013?\023\013«\004Å \210Æ
\210ÇÈ!\tL\210ÇÉ!\bL\210\013«\005ÊË!\210eb\210Ìd!\210ÇÍ!Î L\210ÏÐÑ!!\207\b,\001-\bX",
stack_depth=3, constants_data=0x8d6f048) at bytecode.c:746
#81 0x809297b in funcall_compiled_function (fun=148802944, nargs=0,
args=0xbffff040) at bytecode.c:518
#82 0x80bb86f in Ffuncall (nargs=4, args=0xbffff03c) at eval.c:3563
---Type <return> to continue, or q <return> to quit---
#83 0x8092d39 in execute_optimized_program (
program=0x87b0e60 "Å
\210ÆÇÈÉÊ#!\210ËÌ!ÍL\210\nÎÈ\t\"AAA@®\002Ï\034\e\fÐ\bÑ#\210ËÂ!\013L*\207\001\001",
stack_depth=5, constants_data=0x8b67f60)
at bytecode.c:746
#84 0x809297b in funcall_compiled_function (fun=147577444, nargs=1,
args=0xbffff148) at bytecode.c:518
#85 0x80bb86f in Ffuncall (nargs=2, args=0xbffff144) at eval.c:3563
#86 0x8092d39 in execute_optimized_program (program=0x8716990 "ÀÁ!\207á\002",
stack_depth=2, constants_data=0x8b67f40) at bytecode.c:746
#87 0x809297b in funcall_compiled_function (fun=147577416, nargs=0,
args=0xbffff25c) at bytecode.c:518
#88 0x80bb86f in Ffuncall (nargs=1, args=0xbffff258) at eval.c:3563
#89 0x80bf3f0 in apply1 (fn=147577416, arg=137030900) at eval.c:4152
#90 0x80961ef in Fcall_interactively (function=147190388,
record_flag=137030900, keys=137030900) at callint.c:397
#91 0x80bb71a in Ffuncall (nargs=2, args=0xbffff454) at eval.c:3528
#92 0x80bf4bc in call1 (fn=137103580, arg0=147190388) at eval.c:4183
#93 0x80f88d3 in execute_command_event (command_builder=0x82fd400,
event=141644544) at event-stream.c:3829
#94 0x80f9603 in Fdispatch_event (event=141644544) at event-stream.c:4164
#95 0x809d7eb in Fcommand_loop_1 () at cmdloop.c:583
#96 0x809da20 in command_loop_1 (dummy=137030900) at cmdloop.c:494
#97 0x80bff7a in condition_case_1 (handlers=137030996,
---Type <return> to continue, or q <return> to quit---
bfun=0x809d9e8 <command_loop_1>, barg=137030900,
hfun=0x809cd30 <cmd_error>, harg=137030900) at eval.c:1651
#98 0x809dafc in command_loop_2 (dummy=137030900) at cmdloop.c:256
#99 0x80bfe4f in internal_catch (tag=137107068,
func=0x809dac8 <command_loop_2>, arg=137030900, threw=0x0) at eval.c:1317
#100 0x809d0da in initial_command_loop (load_me=137030900) at cmdloop.c:305
#101 0x80b4bcb in xemacs_21_2_b37_i686_pc_linux () at emacs.c:2241
#102 0x80b69b7 in main () at emacs.c:2670
#103 0x4041b9cb in __libc_start_main (main=0x80b68c0 <main>, argc=1,
argv=0xbffff7fc, init=0x807feb8 <_init>, fini=0x81fb9b4 <_fini>,
rtld_fini=0x4000ae60 <_dl_fini>, stack_end=0xbffff7f4)
at ../sysdeps/generic/libc-start.c:92
(gdb)