all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: "Kim F. Storm" <storm@cua.dk>, Jason Rumney <jasonr@gnu.org>
Subject: Re: emacs crashed on many OSes (was: emacs crashed on windows-xp)
Date: Thu, 12 Oct 2006 08:52:54 +0200	[thread overview]
Message-ID: <452DE646.7010708@swipnet.se> (raw)
In-Reply-To: <452D1CAE.6050706@swipnet.se>



Jan Djärv skrev:
> 
> 
> Jason Rumney skrev:
>>
>>>> It crashes with a message print out:
>>>>         Fatal error (11)Segmentation fault
>>>>
>>>> I'm running emacs-unicode-2 (CVS:2006-10-04) in Fedora core 5.
>>>>     
>>>
>>> Doesn't happen for me with CVS trunk on GNU/Linux (redhat 9.0).
>>>   
>>
>> Strange, it does for me on GNU/Linux (Debian testing) as well as 
>> Windows..
> 
> 
> FWIW, it crashes for me with Mac OSX.
> 


And on FreeBSD 4.11.  Here is a backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x808cea3 in display_count_lines (start=219173, start_byte=219173,
     limit_byte=219583, count=217461, byte_pos_ptr=0xbfbfe710) at xdisp.c:18011
18011                   while (*cursor != '\n' && ++cursor != ceiling_addr)

(gdb) p cursor
$1 = (
     unsigned char *) 0x28635000 <Error reading address 0x28635000: Bad address>
(gdb) where
#0  0x808cea3 in display_count_lines (start=219173, start_byte=219173,
     limit_byte=219583, count=217461, byte_pos_ptr=0xbfbfe710) at xdisp.c:18011
#1  0x808c57d in decode_mode_spec (w=0x86afe00, c=108, field_width=0,
     precision=-3, multibyte=0xbfbfe7b4) at xdisp.c:17769
#2  0x808add6 in display_mode_element (it=0xbfbfe8b0, depth=2, field_width=0,
     precision=-1, elt=141645059, props=137934849, risky=0) at xdisp.c:16906
#3  0x808b274 in display_mode_element (it=0xbfbfe8b0, depth=1, field_width=-1,
     precision=-1, elt=138437181, props=137934849, risky=0) at xdisp.c:17101
#4  0x8078091 in x_consider_frame_title (frame=141225988) at xdisp.c:8994
#5  0x80781ec in prepare_menu_bars () at xdisp.c:9051
#6  0x807b82d in redisplay_internal (preserve_echo_area=0) at xdisp.c:10938
#7  0x807a8cc in redisplay () at xdisp.c:10519
#8  0x8124e79 in read_char (commandflag=1, nmaps=2, maps=0xbfbff538,
     prev_event=137934849, used_mouse_menu=0xbfbff5ec, end_time=0x0)
     at keyboard.c:2633
#9  0x812ea4f in read_key_sequence (keybuf=0xbfbff71c, bufsize=30,
     prompt=137934849, dont_downcase_last=0, can_return_switch_frame=1,
     fix_current_buffer=1) at keyboard.c:8963
#10 0x81226e5 in command_loop_1 () at keyboard.c:1603
#11 0x81a2bf5 in internal_condition_case (bfun=0x81223b4 <command_loop_1>,
     handlers=137999033, hfun=0x8121cf0 <cmd_error>) at eval.c:1481
#12 0x8122080 in command_loop_2 () at keyboard.c:1326
#13 0x81a2678 in internal_catch (tag=137993265,
     func=0x8122060 <command_loop_2>, arg=137934849) at eval.c:1222
#14 0x8122032 in command_loop () at keyboard.c:1305
#15 0x8121a47 in recursive_edit_1 () at keyboard.c:1003
#16 0x8121b97 in Frecursive_edit () at keyboard.c:1064
#17 0x81203e5 in main (argc=4, argv=0xbfbffa40) at emacs.c:1794

(gdb) p ceiling_addr
$2 = (
     unsigned char *) 0x285f7ae5 "\037\nFile: elisp,  Node: Introduction, 
Next: Lisp Data Types,  Prev: Top,  Up: Top\n\n1 Introduction\n", '*' <repeats 
14 times>, "\n\nMost of the GNU Emacs text editor is written in the 
programming\nlanguage called Emacs L"...
(gdb) p cursor
$3 = (
     unsigned char *) 0x28635000 <Error reading address 0x28635000: Bad address>
(gdb) p base
$4 = (
     unsigned char *) 0x2862083c "File: elisp,  Node: Lists,  Next: Sequences 
Arrays Vectors,  Prev: Strings and Characters,  Up: Top\n\n5 
Lists\n*******\n\nA \"list\" represents a sequence of zero or more elements 
(which may be\nany Lisp obj"...
(gdb) p start_byte
$5 = 219173
(gdb) p limit_byte
$6 = 219583
(gdb) p ceiling
$7 = 51917


I'll leave it running in gdb.  If anybody can figure this out or need more 
debugging done,  just let me know.

	Jan D.

  reply	other threads:[~2006-10-12  6:52 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <u3b9vs3d0.fsf@gmail.com>
     [not found] ` <E1GXZXq-00010B-E1@fencepost.gnu.org>
     [not found]   ` <uu02bdxx0.fsf@gmail.com>
     [not found]     ` <E1GXb1L-0006rN-Kp@fencepost.gnu.org>
     [not found]       ` <m23b9vjgrh.fsf@sl392.st-edmunds.cam.ac.uk>
     [not found]         ` <m3ejtf7yh0.fsf@kfs-l.imdomain.dk>
2006-10-11 15:53           ` emacs crashed on windows-xp Jason Rumney
2006-10-11 16:32             ` Jan Djärv
2006-10-12  6:52               ` Jan Djärv [this message]
2006-10-12 17:52                 ` emacs crashed on many OSes (was: emacs crashed on windows-xp) Giorgos Keramidas
2006-10-12 19:12                   ` emacs crashed on many OSes Jan D.
2006-10-12 22:43                     ` Giorgos Keramidas
2006-10-12 13:50             ` emacs crashed on windows-xp Kim F. Storm
2006-10-12 14:04             ` Kim F. Storm
2006-10-12 14:57               ` Eli Zaretskii
2006-10-12 15:22               ` Stefan Monnier
2006-10-12 22:38               ` Richard Stallman
2006-10-12 23:11                 ` Kim F. Storm
2006-10-13 11:19                   ` Richard Stallman
2006-10-13  2:50                 ` Chong Yidong
2006-10-13  8:25                   ` Kim F. Storm
2006-10-13 11:01                   ` Jason Rumney
2006-10-13 15:48                     ` Eli Zaretskii
2006-10-13 16:56                       ` Chong Yidong
2006-10-13 19:08                         ` Eli Zaretskii
2006-10-13 11:19                   ` Richard Stallman
2006-10-13 14:28                     ` Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=452DE646.7010708@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=jasonr@gnu.org \
    --cc=storm@cua.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.