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

Re: Emacs crashes



Katsumi Yamaoka <yamaoka@jpl.org> writes:

> Hi,
>
> I'm troubled with Emacs crashing since yesterday when executing
> some emacs-w3m command.  I haven't succeeded in identifying of
> the Lisp code of the cause yet, though.  Here's a backtrace:

What does "xbacktrace" in gdb show?

Pls. also try the commands below:

>
> Program received signal SIGSEGV, Segmentation fault.
> 0x0809704f in lisp_string_width (string=149514347, precision=-1, nchars=0x0,
>     nbytes=0x0) at charset.c:1377
> 1377		  PARSE_MULTIBYTE_SEQ (str + i_byte, len_byte - i_byte, bytes);
> (gdb) bt
> #0  0x0809704f in lisp_string_width (string=149514347, precision=-1,
>     nchars=0x0, nbytes=0x0) at charset.c:1377

pp string

> #1  0x08097116 in Fstring_width (string=153333780) at charset.c:1415

up 
pp string

> #2  0x0814cfaf in Ffuncall (nargs=2, args=0x6f3b97) at eval.c:2790
> #3  0x081763c0 in Fbyte_code (bytestr=146859528, vector=1,
>     maxdepth=-1073752640) at bytecode.c:686
> #4  0x0814d3a3 in funcall_lambda (fun=146877780, nargs=0,
>     arg_vector=0xbfffd67c) at eval.c:2979
> #5  0x0814d228 in apply_lambda (fun=0, args=1, eval_flag=1) at eval.c:2901
> #6  0x0814c275 in Feval (form=1) at eval.c:2191
> #7  0x0814b354 in internal_condition_case_1 (bfun=0x814c0c0 <Feval>,
>     arg=146202181, handlers=137397969, hfun=0x8062910 <safe_eval_handler>)
>     at eval.c:1430
> #8  0x080629aa in safe_eval (sexpr=0) at xdisp.c:1979
> #9  0x08078a45 in display_mode_element (it=0xbfffda80, depth=5,
>     field_width=-13, precision=-24, elt=0, props=137397921, risky=0)
>     at xdisp.c:16052

up 8
p elt

(is elt really 0 here?  If not, try:
 pp elt
)


> #10 0x0807891c in display_mode_element (it=0xbfffda80, depth=3, field_width=0,
>     precision=-11, elt=145091869, props=137397921, risky=0) at xdisp.c:16133

up 
pp elt

> #11 0x0807891c in display_mode_element (it=0xbfffda80, depth=1, field_width=0,
>     precision=0, elt=138144357, props=137397921, risky=0) at xdisp.c:16133
> #12 0x08078587 in display_mode_line (w=0x0, face_id=MODE_LINE_FACE_ID,
>     format=0) at xdisp.c:15695
> #13 0x08078487 in display_mode_lines (w=0x5) at xdisp.c:15644
> #14 0x08072297 in redisplay_window (window=149534932, just_this_one_p=0)
>     at xdisp.c:12518
> #15 0x0806f965 in redisplay_window_0 (window=0) at xdisp.c:10962
> #16 0x0814b354 in internal_condition_case_1 (
>     bfun=0x806f930 <redisplay_window_0>, arg=149534932, handlers=137425093,
>     hfun=0x806f910 <redisplay_window_error>) at eval.c:1430
> #17 0x0806f90a in redisplay_windows (window=1) at xdisp.c:10941
> #18 0x0806ed19 in redisplay_internal (preserve_echo_area=0) at xdisp.c:10500
> #19 0x0806db52 in redisplay () at xdisp.c:9747
> #20 0x080ecc35 in read_char (commandflag=1, nmaps=2, maps=0xbfffeaac,
>     prev_event=137397921, used_mouse_menu=0xbfffeae8) at keyboard.c:2539
> #21 0x080f3374 in read_key_sequence (keybuf=0xbfffec10, bufsize=30,
>     prompt=137397921, dont_downcase_last=0, can_return_switch_frame=1,
>     fix_current_buffer=1) at keyboard.c:8818
> #22 0x080e9bb2 in command_loop_1 () at keyboard.c:1527
> #23 0x0814b24e in internal_condition_case (bfun=0x80e9a10 <command_loop_1>,
>     handlers=137458889, hfun=0x80e9510 <cmd_error>) at eval.c:1389
> #24 0x080e985d in command_loop_2 () at keyboard.c:1318
> #25 0x0814ad5b in internal_catch (tag=0, func=0x80e9830 <command_loop_2>,
>     arg=137397921) at eval.c:1148
> #26 0x080e9801 in command_loop () at keyboard.c:1297
> #27 0x080e9274 in recursive_edit_1 () at keyboard.c:990
> #28 0x080e93b1 in Frecursive_edit () at keyboard.c:1051
> #29 0x080e7937 in main (argc=1, argv=0xbffff284) at emacs.c:1775
> #30 0x42015574 in __libc_start_main () from /lib/tls/libc.so.6
>
> Regards,
>
>
> _______________________________________________
> Emacs-pretest-bug mailing list
> Emacs-pretest-bug@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
>
>

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk