Please describe exactly what actions triggered the bug and the precise symptoms of the bug:
I've been able to repro this a few times, but visiting other files doesn't necessarily trigger the bug; I wouldn't be surprised if nobody else can repro this :(
Anyway: I started emacs under gdb, and typed `run -q --no-site-file' to gdb.
Emacs started normally. I then typed to it
C-x C-f /sudo:address@hidden:/var/log/auth.log RET
(Note that I'd already run `sudo' recently, so the `sudo' run by tramp did not prompt me for a password.)
Emacs got a SIGABRT, as shown below.
Deciphering the backtrace as described in etc/DEBUG, I find that the most recently-activated Lisp function is `looking-at', with a single argument of the empty string. Next up is some function whose name gdb didn't print, but whose arguments
are
Program received signal SIGABRT, Aborted. 0x4060d571 in kill () from /lib/libc.so.6 (gdb) bt #0 0x4060d571 in kill () from /lib/libc.so.6 #1 0x081409f1 in abort () at emacs.c:424 #2 0x081a3fcc in mark_object (arg=1215840284) at alloc.c:5033 #3 0x081a4093 in mark_object (arg=-1469988152) at alloc.c:5050 #4 0x081a4093 in mark_object (arg=-1469988864) at alloc.c:5050 #5 0x081a5af3 in mark_maybe_pointer (p=0x861c000) at alloc.c:3780 #6 0x081a2844 in mark_memory (start=0xbffe8b20, end=0xbffffbfc) at alloc.c:3830 #7 0x081a28e4 in mark_stack () at alloc.c:4054 #8 0x081a3104 in Fgarbage_collect () at alloc.c:4428 #9 0x081bd7d7 in Ffuncall (nargs=2, args=0xbffe
8d20)
at eval.c:2668 #10 0x081f6c35 in Fbyte_code (bytestr=1751845160, vector=-2006249248, maxdepth=7) at bytecode.c:689 #11 0x081be252 in funcall_lambda (fun=-2006248984, nargs=0, arg_vector=0xbffe8ef4) at eval.c:2915 #12 0x081bdc89 in Ffuncall (nargs=1, args=0xbffe8ef0) at eval.c:2776 #13 0x081f6c35 in Fbyte_code (bytestr=1751845368, vector=-2006248712, maxdepth=10) at bytecode.c:689 #14 0x081be252 in funcall_lambda (fun=-2006248512, nargs=6, arg_vector=0xbffe90d8) at eval.c:2915 #15 0x081bdc89 in Ffuncall (nargs=7, args=0xbffe90d4) at eval.c:2776 #16 0x081f6c35 in Fbyte_code (bytestr=1751845528, vector=-2006248448, maxdepth=8) at bytecode.c:689 #17 0x081be252 in funcall_lambda (fun=-2006248280, nargs=9, arg_vector=0xbffe92a4) at eval.c:2915 #18 0x081bdc89 in Ffuncall (nargs=10, args=0xbffe92a0) at eval.c:2776 #19 0x081f6c35 in Fbyte_code (bytestr=1753569376, vector=-2004525808, maxdepth=11) at bytecode.c:689 #20 0x081be252 in funcall_lambda
(fun=-2006070672, nargs=1, arg_vector=0xbffe9568) at eval.c:2915 #21 0x081bdc89 in Ffuncall (nargs=2, args=0xbffe9564) at eval.c:2776 #22 0x081bd0e2 in Fapply (nargs=2, args=0xbffe9564) at eval.c:2181 #23 0x081bd977 in Ffuncall (nargs=3, args=0xbffe9560) at eval.c:2709 #24 0x081f6c35 in Fbyte_code (bytestr=1753599952, vector=-2005154968, maxdepth=4) at bytecode.c:689 #25 0x081be252 in funcall_lambda (fun=-2004642440, nargs=2, arg_vector=0xbffe9808) at eval.c:2915 #26 0x081bdc89 in Ffuncall (nargs=3, args=0xbffe9804) at eval.c:2776 #27 0x081bd0e2 in Fapply (nargs=3, args=0xbffe9804) at eval.c:2181 #28 0x081bd977 in Ffuncall (nargs=4, args=0xbffe9800) at eval.c:2709 #29 0x081f6c35 in Fbyte_code (bytestr=1753599920, vector=-2004704808, maxdepth=5) at bytecode.c:689 #30 0x081be252 in funcall_lambda (fun=-2004696280, nargs=2, arg_vector=0xbffe99d4) at eval.c:2915 #31 0x081bdc89 in Ffuncall (nargs=3, args=0xbffe99d0) at eval.c:2776 #32 0x081f6c35
in
Fbyte_code (bytestr=1747386220, vector=-2010710132, maxdepth=4) at bytecode.c:689 #33 0x081be252 in funcall_lambda (fun=-2010710200, nargs=1, arg_vector=0xbffe9b94) at eval.c:2915 #34 0x081bdc89 in Ffuncall (nargs=2, args=0xbffe9b90) at eval.c:2776 #35 0x081f6c35 in Fbyte_code (bytestr=1753569896, vector=-2005452856, maxdepth=9) at bytecode.c:689 #36 0x081be252 in funcall_lambda (fun=-2005452544, nargs=5, arg_vector=0xbffe9d70) at eval.c:2915 #37 0x081bdc89 in Ffuncall (nargs=6, args=0xbffe9d6c) at eval.c:2776 #38 0x081bd27b in Fapply (nargs=2, args=0xbffe9e74) at eval.c:2233 #39 0x081bd977 in Ffuncall (nargs=3, args=0xbffe9e70) at eval.c:2709 #40 0x081f6c35 in Fbyte_code (bytestr=1753599952, vector=-2005154968, maxdepth=4) at bytecode.c:689 #41 0x081be252 in funcall_lambda (fun=-2004642440, nargs=6, arg_vector=0xbffea030) at eval.c:2915 #42 0x081bdc89 in Ffuncall (nargs=7, args=0xbffea02c) at eval.c:2776 #43 0x081bd27b in Fapply (nargs=3,
args=0xbffea134) at eval.c:2233 #44 0x081bd977 in Ffuncall (nargs=4, args=0xbffea130) at eval.c:2709 #45 0x081f6c35 in Fbyte_code (bytestr=1753599920, vector=-2004704808, maxdepth=5) at bytecode.c:689 #46 0x081be252 in funcall_lambda (fun=-2004696280, nargs=6, arg_vector=0xbffea334) at eval.c:2915 #47 0x081bdc89 in Ffuncall (nargs=7, args=0xbffea330) at eval.c:2776 #48 0x081bd776 in call6 (fn=676424728, arg1=675839800, arg2=1752697640, arg3=675708232, arg4=675708184, arg5=675708184, arg6=675708184) at eval.c:2642 #49 0x08178f8a in Finsert_file_contents (filename=1752697640, visit=675708232, beg=675708184, end=675708184, replace=675708184) at fileio.c:3659 #50 0x081bcd41 in Feval (form=-1473826700) at eval.c:2094 #51 0x081bb6bd in Fcondition_case (args=-1466777264) at eval.c:1280 #52 0x081f73ac in Fbyte_code (bytestr=1747398180, vector=-2010698004, maxdepth=4) at bytecode.c:870 #53 0x081be252 in funcall_lambda (fun=-2010698276, nargs=6,
arg_vector=0xbfffee74) at eval.c:2915 #54 0x081bdc89 in Ffuncall (nargs=7, args=0xbfffee70) at eval.c:2776 #55 0x081f6c35 in Fbyte_code (bytestr=1747395764, vector=-2010699956, maxdepth=8) at bytecode.c:689 #56 0x081be252 in funcall_lambda (fun=-2010700688, nargs=4, arg_vector=0xbffff044) at eval.c:2915 #57 0x081bdc89 in Ffuncall (nargs=5, args=0xbffff040) at eval.c:2776 #58 0x081f6c35 in Fbyte_code (bytestr=1747390124, vector=-2010706216, maxdepth=6) at bytecode.c:689 #59 0x081be252 in funcall_lambda (fun=-2010706316, nargs=2, arg_vector=0xbffff210) at eval.c:2915 #60 0x081bdc89 in Ffuncall (nargs=3, args=0xbffff20c) at eval.c:2776 #61 0x081bd27b in Fapply (nargs=2, args=0xbffff2b0) at eval.c:2233 #62 0x081bd65f in apply1 (fn=676013736, arg=-1470181712) at eval.c:2489 #63 0x081b81fd in Fcall_interactively (function=676013736, record_flag=675708184, keys=-2008589528) at callint.c:414 #64 0x081522b7 in Fcommand_execute (cmd=676013736,
record_flag=675708184, keys=675708184, special=675708184) at keyboard.c:9670 #65 0x08145065 in command_loop_1 () at keyboard.c:1727 #66 0x081bb7dc in internal_condition_case (bfun=0x8143cd6 , handlers=675769048, hfun=0x814386b ) at eval.c:1333 #67 0x08143ba3 in command_loop_2 () at keyboard.c:1264 #68 0x081bb2a9 in internal_catch (tag=675763112, func=0x8143b7f , arg=675708184) at eval.c:1094 #69 0x08143b58 in command_loop () at keyboard.c:1243 #70 0x08143615 in recursive_edit_1 () at keyboard.c:959 #71 0x08143748 in Frecursive_edit () at keyboard.c:1015 #72 0x08142159 in main (argc=3, argv=0xbffffc64) at emacs.c:1682
In GNU Emacs 21.3.50.78 (i686-pc-linux-gnu, GTK+ Version 2.2.4) of 2004-03-06 on debian configured using `configure '--with-gtk' '--prefix=/usr/local/stow/emacs-cvs' 'CFLAGS=-g -O0''
Important settings: value of $LC_ALL: nil value of $LC_C
OLLATE:
nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil locale-coding-system: nil default-enable-multibyte-characters: t
Major mode: Debugger
Minor modes in effect: erc-autojoin-mode: t erc-button-mode: t erc-ring-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-fill-mode: t erc-netsplit-mode: t desktop-save-mode: t display-time-mode: t auto-compression-mode: t iswitchb-mode: t mouse-wheel-mode: t global-font-lock-mode: t font-lock-mode: t unify-8859-on-encoding-mode: t line-number-mode: t
Recent input: c C-c
C-u u p C-x 5 2 C-x b . g d b M-} M-} C-l C-v C-v C-x | C-v C-v C-v C-v C-v C-v C-x 5 o b t x b a C-p b SPC F s i g r u n y C-x 5 o C-v C-v C-p M-< C-M-s b p r b C-s C-s C-a C-x 5 o C-x 1 b t M-x r e p o r t - e m b
Recent messages: Completed Command: until alloc.c:5050 C-c C-u runs the command gud-until Truncate long lines enabled Completed Type space to flush; repeat completion command to scroll Partially completed Mark set Mark saved where search started Loading emacsbug...done