In GNU Emacs 19.34.3 (m68k-next-nextstep3, X toolkit) of Sun Sep 22 1996 on mourning
configured using `configure --with-pop --with-kerberos --with-hesiod'
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
I routinely make use of ange-ftp to save documents remotely
when working on a local emacs. I find that approximately
once every 20-30 hours of use, emacs will hang while
saving a docoument in a remote directory. At that point,
it does not refresh its window and must be sent a signal
manually in order to kill it.
Below is a log from a debug session that occurred after
my emacs hung recently. Emacs was running in X, and
this is from the shell I was using to investigate.
Darrin
128$ ps -aux | grep emacs
jewell 4789 90.4 24.8 10.4M 7.93M p4 R N 105:00 emacs
jewell 4791 0.0 0.4 1.71M 120K p4 SWN 0:00 /usr/local/libexec/emacs/19.34/m68k-next-nexts
jewell 8397 0.0 0.6 1.66M 200K p4 S N 0:00 grep emacs
0$ kill -3 4789
0$ ps -aux | grep emacs
jewell 4789 89.7 24.8 10.4M 7.93M p4 R N 105:06 emacs
jewell 8399 0.0 0.6 1.66M 200K p4 S N 0:00 grep emacs
0$ kill -5 4789
0$ ps -aux | grep emacs
jewell 4789 76.1 25.4 10.4M 8.12M p4 R N 106:41 emacs
jewell 8425 0.0 0.6 1.66M 200K p4 S N 0:00 grep emacs
[1]+ Trace/BPT trap (core dumped) emacs
0$ ps -aux | grep emacs
jewell 8427 1.0 0.6 1.66M 200K p4 S N 0:00 grep emacs
0$ ls -algF
total 10689
drwxrwxr-x 2 jewell jewell 1024 Nov 3 12:28 ./
drwxr-xr-x 18 jewell jewell 8192 Nov 2 09:47 ../
-rw-r--r-- 1 jewell jewell 10936320 Nov 3 12:29 core
$ gdb /usr/local/bin/emacs-19.34 core
GDB is free software and you are welcome to 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.
GDB 4.7 (NeXT 3.1), Copyright 1992 Free Software Foundation, Inc...
Reading symbols from /usr/local/bin/emacs-19.34...done.
Reading symbols from /usr/shlib/libsys_s.B.shlib...done.
0x5007922 in kill ()
(gdb) where
Reading in symbols for regex.c...done.
Reading in symbols for search.c...done.
Reading in symbols for fileio.c...done.
Reading in symbols for emacs.c...done.
Reading in symbols for alloc.c...done.
Reading in symbols for xterm.c...done.
Reading in symbols for keyboard.c...done.
Reading in symbols for eval.c...done.
Reading in symbols for bytecode.c...done.
Reading in symbols for process.c...done.
Reading in symbols for window.c...done.
Reading in symbols for callint.c...done.
#0 0x5007922 in kill ()
#1 0x4 in ?? ()
#2 0x500830c in _sigtramp ()
#3 0x5025606 in mutex_wait_lock ()
#4 0x5008fbc in nxzonemalloc ()
#5 0x500988e in malloc ()
#6 0x5816c in regex_compile (pattern=0x1b0f2c "^/[^/:]*\\'", size=10, syntax=262144, bufp=0x182ff8) at regex.c:1729
#7 0x5d3e4 in re_compile_pattern (pattern=0x1b0f2c "^/[^/:]*\\'", length=10, bufp=0x3fd46b4) at regex.c:5175
#8 0x55068 in compile_pattern_1 (cp=0x182ff0, pattern=807079716, translate=0x0, regp=0x0, posix=0) at search.c:126
#9 0x55136 in compile_pattern (pattern=807079716, regp=0x0, translate=0x0, posix=0) at search.c:167
#10 0x55564 in fast_string_match (regexp=807079716, string=808002984) at search.c:362
#11 0x4c754 in Ffind_file_name_handler (filename=808002984, operation=270117224) at fileio.c:296
#12 0x4cb6e in Fexpand_file_name (name=808002984, default_directory=270034892) at fileio.c:802
#13 0x5009c in Fdo_auto_save (no_message=270034932, current_only=270034892) at fileio.c:4060
#14 0x2d550 in shut_down_emacs (sig=3, no_x=0, stuff=270034892) at emacs.c:1292
#15 0x2c6e6 in fatal_error_signal (sig=4789) at emacs.c:166
#16 0x500830c in _sigtramp ()
#17 0x5025606 in mutex_wait_lock ()
#18 0x5008fbc in nxzonemalloc ()
#19 0x500988e in malloc ()
#20 0x5dff4 in xmalloc (size=40) at alloc.c:261
#21 0x1d47e in note_mouse_highlight (f=0x227df8, x=1478, y=0) at xterm.c:1966
#22 0x1d22c in note_mouse_movement (frame=0x227df8, event=0x3fd466c) at xterm.c:1863
#23 0x1f530 in XTread_socket (sd=0, bufp=0x3fd5c4c, numchars=4096, waitp=1, expected=1) at xterm.c:3887
#24 0x324ae in read_avail_input (expected=0) at keyboard.c:4796
#25 0x3264c in input_available_signal (signo=23) at keyboard.c:4946
#26 0x500830c in _sigtramp ()
#27 0x5008c3c in nxzonefreenolock ()
#28 0x5008a52 in nxzonemallocnolock ()
#29 0x5008fe0 in nxzonemalloc ()
#30 0x500988e in malloc ()
#31 0x5b5c4 in re_match_2_internal (bufp=0x182b58, string1=0x0, size1=0, string2=0x500b3c "#", size2=1, pos=0, regs=0x180848, stop=1478) at regex.c:3864
#32 0x5b230 in re_search_2 (bufp=0x182b58, string1=0x0, size1=0, string2=0x500b3c "#", size2=1, startpos=0, range=1, regs=0x180848, stop=1) at regex.c:3375
#33 0x5b070 in re_search (bufp=0x182b58, string=0x500b3c "#", size=0, startpos=0, range=1, regs=0x180848) at regex.c:3246
#34 0x554d0 in string_match_1 (regexp=807493408, string=5245748, start=270034892, posix=0) at search.c:315
#35 0x55528 in Fstring_match (regexp=807493408, string=810552116, start=270034892) at search.c:335
#36 0x6cc94 in Ffuncall (nargs=67100476, args=0x3ffdf88) at eval.c:2369
#37 0x7f2ee in Fbyte_code (bytestr=807493200, vector=1076211228, maxdepth=270190376) at bytecode.c:408
#38 0x6d19a in funcall_lambda (fun=2469580, nargs=2, arg_vector=0x3ffe07c) at eval.c:2542
#39 0x6cdb0 in Ffuncall (nargs=2, args=0x3ffe078) at eval.c:2412
#40 0x6c420 in Fapply (nargs=2, args=0x3ffe0d8) at eval.c:1876
#41 0x6c814 in apply1 (fn=270903744, arg=1347311460) at eval.c:2126
#42 0x82934 in read_process_output_call (fun_and_args=1347311452) at process.c:2420
#43 0x6b26a in internal_condition_case_1 (bfun=0x82918 <read_process_output_call>, arg=1347311452, handlers=270035252, hfun=0x82938 <read_process_output_error_handler>) at eval.c:1171
#44 0x82aac in read_process_output (proc=1077561908, channel=0) at process.c:2514
#45 0x827a6 in wait_reading_process_input (time_limit=-1, microsecs=0, read_kbd=0, do_display=0) at process.c:2326
#46 0x821f8 in Faccept_process_output (process=1077561908, timeout=270034892, timeout_msecs=1478) at process.c:1942
#47 0x6cc94 in Ffuncall (nargs=67102424, args=0x3ffe724) at eval.c:2369
#48 0x7f2ee in Fbyte_code (bytestr=807495488, vector=1076213960, maxdepth=270352576) at bytecode.c:408
#49 0x6c014 in Feval (form=1344648072) at eval.c:1732
#50 0x6b0e0 in Fcondition_case (args=1347311876) at eval.c:1081
#51 0x7f6b2 in Fbyte_code (bytestr=807495464, vector=1076214028, maxdepth=270352576) at bytecode.c:561
#52 0x6d19a in funcall_lambda (fun=2472264, nargs=1, arg_vector=0x3ffea10) at eval.c:2542
#53 0x6cdb0 in Ffuncall (nargs=1, args=0x3ffea0c) at eval.c:2412
#54 0x7f2ee in Fbyte_code (bytestr=807495172, vector=1076213736, maxdepth=270352576) at bytecode.c:408
#55 0x6d19a in funcall_lambda (fun=2472104, nargs=5, arg_vector=0x3ffeafc) at eval.c:2542
#56 0x6cdb0 in Ffuncall (nargs=5, args=0x3ffeaf8) at eval.c:2412
#57 0x7f2ee in Fbyte_code (bytestr=807497960, vector=1076218800, maxdepth=270904224) at bytecode.c:408
#58 0x6d19a in funcall_lambda (fun=2477188, nargs=4, arg_vector=0x3ffec0c) at eval.c:2542
#59 0x6cdb0 in Ffuncall (nargs=4, args=0x3ffec08) at eval.c:2412
#60 0x7f2ee in Fbyte_code (bytestr=807506260, vector=1076230732, maxdepth=270914352) at bytecode.c:408
#61 0x6d19a in funcall_lambda (fun=2489156, nargs=5, arg_vector=0x3ffed0c) at eval.c:2542
#62 0x6cdb0 in Ffuncall (nargs=5, args=0x3ffed08) at eval.c:2412
#63 0x6c420 in Fapply (nargs=2, args=0x3ffeda4) at eval.c:1876
#64 0x6cc74 in Ffuncall (nargs=2, args=0x3ffeda0) at eval.c:2365
#65 0x7f2ee in Fbyte_code (bytestr=807514824, vector=1076241560, maxdepth=270185456) at bytecode.c:408
#66 0x6d19a in funcall_lambda (fun=2499800, nargs=6, arg_vector=0x3ffeea8) at eval.c:2542
#67 0x6cdb0 in Ffuncall (nargs=6, args=0x3ffeea4) at eval.c:2412
#68 0x6c9fa in call6 (fn=270082088, arg1=270117752, arg2=1, arg3=20677, arg4=810545876, arg5=270034892, arg6=270034932) at eval.c:2279
#69 0x4f4ea in Fwrite_region (start=1, end=20677, filename=810545876, append=270034892, visit=270034932, lockname=809548856) at fileio.c:3458
#70 0x6cd12 in Ffuncall (nargs=67104720, args=0x3ffefcc) at eval.c:2383
#71 0x7f2ee in Fbyte_code (bytestr=806507028, vector=1074942728, maxdepth=270110712) at bytecode.c:408
#72 0x6d19a in funcall_lambda (fun=1200636, nargs=0, arg_vector=0x3fff0cc) at eval.c:2542
#73 0x6cdb0 in Ffuncall (nargs=0, args=0x3fff0c8) at eval.c:2412
#74 0x7f2ee in Fbyte_code (bytestr=806506092, vector=1074941824, maxdepth=10) at bytecode.c:408
#75 0x6d19a in funcall_lambda (fun=1199692, nargs=0, arg_vector=0x3fff1c0) at eval.c:2542
#76 0x6cdb0 in Ffuncall (nargs=0, args=0x3fff1bc) at eval.c:2412
#77 0x7f2ee in Fbyte_code (bytestr=806505524, vector=1074941064, maxdepth=270355580) at bytecode.c:408
#78 0x6d19a in funcall_lambda (fun=1199108, nargs=0, arg_vector=0x3fff2b4) at eval.c:2542
#79 0x6cdb0 in Ffuncall (nargs=0, args=0x3fff2b0) at eval.c:2412
#80 0x7f2ee in Fbyte_code (bytestr=806508104, vector=1074943576, maxdepth=270102904) at bytecode.c:408
#81 0x6d19a in funcall_lambda (fun=1201704, nargs=1, arg_vector=0x3fff398) at eval.c:2542
#82 0x6cdb0 in Ffuncall (nargs=1, args=0x3fff394) at eval.c:2412
#83 0x7f2ee in Fbyte_code (bytestr=806404356, vector=1074840636, maxdepth=270107980) at bytecode.c:408
#84 0x6d19a in funcall_lambda (fun=1097904, nargs=5, arg_vector=0x3fff4a0) at eval.c:2542
#85 0x6cdb0 in Ffuncall (nargs=5, args=0x3fff49c) at eval.c:2412
#86 0x7f2ee in Fbyte_code (bytestr=806508492, vector=1074944040, maxdepth=8) at bytecode.c:408
#87 0x6c014 in Feval (form=1343379388) at eval.c:1732
#88 0x6a0aa in Fprogn (args=1343379380) at eval.c:348
#89 0x1806e in Fsave_window_excursion (args=1343379380) at window.c:3450
#90 0x7f646 in Fbyte_code (bytestr=806508444, vector=1074943912, maxdepth=5) at bytecode.c:541
#91 0x6d19a in funcall_lambda (fun=1202020, nargs=1, arg_vector=0x3fff6f8) at eval.c:2542
#92 0x6cdb0 in Ffuncall (nargs=1, args=0x3fff6f4) at eval.c:2412
#93 0x699ca in Fcall_interactively (function=270355840, record_flag=270034892, keys=1075427208) at callint.c:675
#94 0x34ce2 in Fcommand_execute (cmd=270355840, record_flag=270034892, keys=270034892, special=0) at keyboard.c:6904
#95 0x2e950 in command_loop_1 () at keyboard.c:1371
#96 0x6b1a8 in internal_condition_case (bfun=0x2e0de <command_loop_1>, handlers=270035252, hfun=0x2ddf4 <cmd_error>) at eval.c:1132
#97 0x2dfd2 in command_loop_2 () at keyboard.c:994
#98 0x6add2 in internal_catch (tag=270035232, func=0x2dfb6 <command_loop_2>, arg=270034892) at eval.c:907
#99 0x2df92 in command_loop () at keyboard.c:974
(More stack frames follow...)
(gdb)