|--==> "MS" == Michael Sperber <sperber(a)informatik.uni-tuebingen.de>
writes:
>>>>>"SY" == Steve Youngs
<youngs(a)xemacs.org> writes:
MS> Set a break point on the
invalid_operation call in unix_send_process
MS> (around line 1569). Reproduce the error. Mail in the backtrace, if
MS> possible both C and Lisp.
SY> But the invalid_operation isn't the problem, that was being called
SY> because I killed the external process. My first thoughts were the
SY> same as Ben's, a buffering problem.
MS> Yeah, but the problem I saw wasn't, so I wouldn't bet that yours is.
MS> The backtrace would give a hint what the code path to the problem is.
MS> It sure was useful in tracking down the problem I was seeing.
OK, here's the resulting trace...
#0 0x404bcd24 in __libc_write () at __libc_write:-1
#1 0xbfffcddc in ?? ()
#2 0x0822bca6 in retry_write (fildes=10, buf=0x8fd6170, nbyte=512)
at sysdep.c:2682
#3 0x081a5053 in filedesc_writer (stream=0x8fd58d8,
data=0x8fd6170 "\n build-date \"2002-01-14\"\n maintainer
\"Eric Ludlam
<zappo(a)gnu.org>\"\n distribution xemacs\n priority low\n category
\"standard\"\n dump nil\n description \"Enhanced Implementation of
Emacs Inter"...,
size=512) at lstream.c:1128
#4 0x081a3b37 in Lstream_really_write (lstr=0x8fd58d8,
data=0x8fd6170 "\n build-date \"2002-01-14\"\n maintainer
\"Eric Ludlam
<zappo(a)gnu.org>\"\n distribution xemacs\n priority low\n category
\"standard\"\n dump nil\n description \"Enhanced Implementation of
Emacs Inter"...,
size=512) at lstream.c:328
#5 0x081a3bfd in Lstream_flush_out (lstr=0x8fd58d8) at lstream.c:366
#6 0x081a3c81 in Lstream_flush (lstr=0x8fd58d8) at lstream.c:391
#7 0x08120fdd in coding_flusher (stream=0x8fb97e0) at file-coding.c:2196
#8 0x081a3bb4 in Lstream_really_write (lstr=0x8fb97e0,
data=0x8fd5f00 "ategi\002", size=0) at lstream.c:351
#9 0x081a3bfd in Lstream_flush_out (lstr=0x8fb97e0) at lstream.c:366
#10 0x081a3fc4 in Lstream_write_1 (lstr=0x8fb97e0, data=0xbfffcba0, size=512)
at lstream.c:512
#11 0x081a402a in Lstream_write (lstr=0x8fb97e0, data=0xbfffcba0, size=512)
at lstream.c:550
#12 0x081d4d36 in unix_send_process (proc={...}, lstream=0x8fd5a98)
at process-unix.c:1528
#13 0x081cfc7b in send_process (process={...}, relocatable={...},
nonrelocatable=0x0, start=1, len=65145) at process.c:1206
#14 0x081d03c5 in Fprocess_send_region (process={...}, start={...}, end={...},
buffer={...}) at process.c:1388
#15 0x080e058b in Ffuncall (nargs=5, args=0xbfffcf04) at eval.c:3750
#16 0x080a0426 in execute_optimized_program (
program=0xbfffd070 "\f«\bÆ\r\v\n\f$\210Ç\r!\210E\021É\r!\210E\r!\210\b«öEI!\210ª
\016\\@d\016\\@Ø
ÿ¿YJ\016\b@", stack_depth=5, constants_data=0x40656d18)
at bytecode.c:675
#17 0x080a5463 in Fbyte_code (instructions={...}, constants={...},
stack_depth={...}) at bytecode.c:2330
#18 0x080dfab0 in Feval (form={...}) at eval.c:3532
#19 0x080dc859 in condition_case_1 (handlers={...}, bfun=0x80df2c0 <Feval>,
barg={...}, hfun=0x80dc980 <run_condition_case_handlers>, harg={...})
at eval.c:1856
#20 0x080dcd83 in condition_case_3 (bodyform={...}, var={...}, handlers={...})
at eval.c:1938
#21 0x080a1b0b in execute_rare_opcode (stack_ptr=0xbfffd414,
program_ptr=0xbfffd5d2
")\207\t«\nO\r\016\027\016\030\t$\210Ö\r!\210O\211\024\211\025\207ÿ¿µy$\b(\005@\b\v",
opcode=143) at bytecode.c:1200
#22 0x080a0121 in execute_optimized_program (
program=0xbfffd5a0 "Æ\r\v«\036\f«\e\n«\030ÇEÉEE\fIII\nIBBBBE
\fD
\006ª\006\v?-\002Ñ\"\210\v¬\tO\211\030OO\217)\207\t«\nO\r\016\027\016\030\t$\210Ö\r!\210O\211\024\211\025\207ÿ¿µy$\b(\005@\b\v",
stack_depth=14,
constants_data=0x40656db4) at bytecode.c:581
#23 0x080a5463 in Fbyte_code (instructions={...}, constants={...},
stack_depth={...}) at bytecode.c:2330
#24 0x080dfab0 in Feval (form={...}) at eval.c:3532
#25 0x080dc2c0 in internal_catch (tag={...}, func=0x80df2c0 <Feval>,
arg={...}, threw=0x0, thrown_tag=0x0) at eval.c:1479
#26 0x080a1a88 in execute_rare_opcode (stack_ptr=0xbfffd934,
program_ptr=0x88aabe8 ".\v\207", opcode=141) at bytecode.c:1181
#27 0x080a0121 in execute_optimized_program (
program=0x88aaaf8 "Æ\211\211\211\211\211\211\211\036
\036!\036#\036$\036\"\032\031\030Ç\216\f;«'E\f!\024É\026\"EE!\021r\tq\210Æ\036%I\fÆ\211\211\211I&\006\210)e\026!d\026
)ª)\f:«\034I\f@!\021\fA@R\004I\t!\026!
\f8R\004Ñ\t!\026
ª\n\f«\aOOO\f#\210\r:«\006\rA@ª\002É\e\r:«\004\r@\025\r-\026\rÉa«\004pª\016\r"«\aÉ\026#ƪ\004O\r!\025\v«\034\vÉa¬\027Ö\v!«\a\v\022Æ\023ª\fE\v!\023É\026$EE!\022Æ\036&xØE\vÉa«\004\rª\004\r\nD\016'\016(%"...,
stack_depth=8, constants_data=0x40656edc)
at bytecode.c:581
#28 0x080e63c0 in funcall_compiled_function (fun={...}, nargs=10,
args=0xbfffdb94) at eval.c:3387
#29 0x080e07a4 in Ffuncall (nargs=11, args=0xbfffdb90) at eval.c:3785
#30 0x080e1082 in Fapply (nargs=6, args=0xbfffdcc8) at eval.c:4039
#31 0x080e074d in Ffuncall (nargs=7, args=0xbfffdcc4) at eval.c:3771
#32 0x080a0426 in execute_optimized_program (
program=0x88aaa58
"Æ\211\e\032Æ\035ÇE\215\210É\r!«\a\rE\016\025\"\025\r:«\t\r@\022\rA\023ª\r\r«\nE\r!«\005\r\022\r\023)\016\026R+\nR(\t:«\005\t@ª\002\t\034I\f!¬\005\f;-\fI\f!-\aIII\f!\")R\a\016\027@R\002
\016\030R\027\vR\024\b:«\nIÑI\b@!\"R\a\016\027AR\002O\036\030\036\026OO\016\025\b\t\016\031\016\032&\006,\207itut\t\001",
stack_depth=7, constants_data=0x4066ebc0) at bytecode.c:675
#33 0x080e63c0 in funcall_compiled_function (fun={...}, nargs=10,
args=0xbfffdf14) at eval.c:3387
#34 0x080e07a4 in Ffuncall (nargs=11, args=0xbfffdf10) at eval.c:3785
#35 0x080e1082 in Fapply (nargs=6, args=0xbfffe048) at eval.c:4039
#36 0x080e074d in Ffuncall (nargs=7, args=0xbfffe044) at eval.c:3771
#37 0x080a0426 in execute_optimized_program (
program=0x885c8b0
"\r-\005Æ\fÇ\"\r-\004Æ\v!\032\031EÉ\bp\f\vE\016\n\016\v\016\f&\006\210\r-\004\t\n|*\207",
stack_depth=7, constants_data=0x4065b6d8)
at bytecode.c:675
#38 0x080e63c0 in funcall_compiled_function (fun={...}, nargs=12,
args=0xbfffe294) at eval.c:3387
#39 0x080e07a4 in Ffuncall (nargs=13, args=0xbfffe290) at eval.c:3785
#40 0x080e1082 in Fapply (nargs=4, args=0xbfffe3d8) at eval.c:4039
#41 0x080e074d in Ffuncall (nargs=5, args=0xbfffe3d4) at eval.c:3771
#42 0x080a0426 in execute_optimized_program (
program=0x8fc37b0
"Æ\031Ç\216EÉ!\210E\211\036)\036*A\016$s\034\t@\030\tA@\036\"\016+Æ\016,\016\"DÆE\016$A\bBC\"BBBB\032Æ\e\f«+\bIII!!\036#\036%I\216r\016#q\210
\210Ñ\r!\210)r\016#q\210~\210Oed\016%ÆO%\210,\016&«>IIO!!\036'O\216r\016'q\210
\210\016&Ö±\002\210\f¬\016xÑ\r<«\004\rª\003\rC\"\210xØed\n$\210eb\210U`U
UÜY\"#+ª1\r<«\034r\r@q\210xØ\rA@\f«\006\rA@ª\005\rAA@\n$)ª\022r\rq\210xØe\f"...,
stack_depth=9, constants_data=0x8a28268) at bytecode.c:675
#43 0x080e63c0 in funcall_compiled_function (fun={...}, nargs=6,
args=0xbfffe638) at eval.c:3387
#44 0x080e07a4 in Ffuncall (nargs=7, args=0xbfffe634) at eval.c:3785
#45 0x080a0426 in execute_optimized_program (
program=0x8fb6878
"AÆ\n!BÇ\tBE\bBE\034ÉE\v!E\vA\f\"\016\016\016\017\016\020\r«\004\rª\003I
&\006\210)\r-\004I\r!\207", stack_depth=7,
constants_data=0x89e17f0) at bytecode.c:675
#46 0x080e63c0 in funcall_compiled_function (fun={...}, nargs=3,
args=0xbfffe884) at eval.c:3387
#47 0x080e07a4 in Ffuncall (nargs=4, args=0xbfffe880) at eval.c:3785
#48 0x080a76fe in Fcall_interactively (function={...}, record_flag={...},
keys={...}) at callint.c:994
#49 0x080de906 in Fcommand_execute (cmd={...}, record_flag={...}, keys={...})
at eval.c:3046
#50 0x080e055c in Ffuncall (nargs=3, args=0xbfffeb34) at eval.c:3750
#51 0x080a0426 in execute_optimized_program (
program=0x8bfabc0
"\r\035Æ\rÇa«\004Eª$\rÉk«\004Eª\034\r"«\aEI\r\"ª\022\r:«\r\r@"«\bEI\r@\"ª\002I!\024)\t«Kt«HI\f!\f\032\eI\f
\"\210\v-8\b¬\023Ñ O a«\aO pa«\006O \210ª\004O
\210Öx!-\eØUE\vA«\004Uª\002U\nÜ\v!#\"\210Ö\016\036!\210YU!*\207I\f
\"\207", stack_depth=7, constants_data=0x40654bdc) at bytecode.c:675
#52 0x080e63c0 in funcall_compiled_function (fun={...}, nargs=1,
args=0xbfffed84) at eval.c:3387
#53 0x080e07a4 in Ffuncall (nargs=2, args=0xbfffed80) at eval.c:3785
#54 0x080a76fe in Fcall_interactively (function={...}, record_flag={...},
keys={...}) at callint.c:994
#55 0x080de906 in Fcommand_execute (cmd={...}, record_flag={...}, keys={...})
at eval.c:3046
#56 0x080f668b in execute_command_event (command_builder=0x84c1648,
event={...}) at event-stream.c:4114
#57 0x080f6f96 in Fdispatch_event (event={...}) at event-stream.c:4430
#58 0x080af6c5 in Fcommand_loop_1 () at cmdloop.c:582
#59 0x080af448 in command_loop_1 (dummy={...}) at cmdloop.c:501
#60 0x080dc859 in condition_case_1 (handlers={...},
bfun=0x80af410 <command_loop_1>, barg={...}, hfun=0x80aef70 <cmd_error>,
harg={...}) at eval.c:1856
#61 0x080af0c8 in command_loop_3 () at cmdloop.c:264
#62 0x080af0ef in command_loop_2 (dummy={...}) at cmdloop.c:275
#63 0x080dc2c0 in internal_catch (tag={...}, func=0x80af0e0 <command_loop_2>,
arg={...}, threw=0x0, thrown_tag=0x0) at eval.c:1479
#64 0x080af210 in initial_command_loop (load_me={...}) at cmdloop.c:313
#65 0x080d74b7 in xemacs_21_5_b7_i686_pc_linux () at emacs.c:2347
#66 0x080d80eb in main (argc=1, argv=0xbffff4d4, envp=0xbffff4dc)
at emacs.c:2723
#67 0x4041b23a in __libc_start_main (main=0x80d8060 <main>, argc=1,
ubp_av=0xbffff4d4, init=0x8088e30 <_init>, fini=0x82a3a70 <_fini>,
rtld_fini=0x4000da54 <_dl_fini>, stack_end=0xbffff4cc)
at ../sysdeps/generic/libc-start.c:129
(eicq-gdb) print debug_backtrace()
$1 = void
(eicq-gdb)
--
|---<Steve Youngs>---------------<GnuPG KeyID: 10D5C9C5>---|
| XEmacs - It's not just an editor. |
| It's a way of life. |
|------------------------------------<youngs(a)xemacs.org>---|