From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: emacs crashed on many OSes (was: emacs crashed on windows-xp) Date: Thu, 12 Oct 2006 08:52:54 +0200 Message-ID: <452DE646.7010708@swipnet.se> References: <452D1379.7010307@gnu.org> <452D1CAE.6050706@swipnet.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1160636059 16060 80.91.229.2 (12 Oct 2006 06:54:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 12 Oct 2006 06:54:19 +0000 (UTC) Cc: "Kim F. Storm" , Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 12 08:54:16 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GXuSA-0004Cu-9p for ged-emacs-devel@m.gmane.org; Thu, 12 Oct 2006 08:54:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GXuS9-00058l-H1 for ged-emacs-devel@m.gmane.org; Thu, 12 Oct 2006 02:54:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GXuRk-0004uE-Gc for emacs-devel@gnu.org; Thu, 12 Oct 2006 02:53:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GXuRj-0004sL-Hp for emacs-devel@gnu.org; Thu, 12 Oct 2006 02:53:36 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GXuRj-0004s8-62 for emacs-devel@gnu.org; Thu, 12 Oct 2006 02:53:35 -0400 Original-Received: from [81.228.9.186] (helo=av9-2-sn3.vrr.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GXuZq-0001gD-9G; Thu, 12 Oct 2006 03:01:58 -0400 Original-Received: by av9-2-sn3.vrr.skanova.net (Postfix, from userid 502) id B1FCB38157; Thu, 12 Oct 2006 08:53:30 +0200 (CEST) Original-Received: from smtp3-2-sn3.vrr.skanova.net (smtp3-2-sn3.vrr.skanova.net [81.228.9.102]) by av9-2-sn3.vrr.skanova.net (Postfix) with ESMTP id 9C60E380F6; Thu, 12 Oct 2006 08:53:30 +0200 (CEST) Original-Received: from coolsville.localdomain (81-235-205-78-no59.tbcn.telia.com [81.235.205.78]) by smtp3-2-sn3.vrr.skanova.net (Postfix) with ESMTP id 6E4B637E44; Thu, 12 Oct 2006 08:53:28 +0200 (CEST) User-Agent: Thunderbird 1.5.0.7 (X11/20060913) Original-To: Emacs Devel In-Reply-To: <452D1CAE.6050706@swipnet.se> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:60628 Archived-At: Jan Dj=E4rv skrev: >=20 >=20 > 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. >>>> =20 >>> >>> Doesn't happen for me with CVS trunk on GNU/Linux (redhat 9.0). >>> =20 >> >> Strange, it does for me on GNU/Linux (Debian testing) as well as=20 >> Windows.. >=20 >=20 > FWIW, it crashes for me with Mac OSX. >=20 And on FreeBSD 4.11. Here is a backtrace: Program received signal SIGSEGV, Segmentation fault. 0x808cea3 in display_count_lines (start=3D219173, start_byte=3D219173, limit_byte=3D219583, count=3D217461, byte_pos_ptr=3D0xbfbfe710) at x= disp.c:18011 18011 while (*cursor !=3D '\n' && ++cursor !=3D ceiling= _addr) (gdb) p cursor $1 =3D ( unsigned char *) 0x28635000 (gdb) where #0 0x808cea3 in display_count_lines (start=3D219173, start_byte=3D219173= , limit_byte=3D219583, count=3D217461, byte_pos_ptr=3D0xbfbfe710) at x= disp.c:18011 #1 0x808c57d in decode_mode_spec (w=3D0x86afe00, c=3D108, field_width=3D= 0, precision=3D-3, multibyte=3D0xbfbfe7b4) at xdisp.c:17769 #2 0x808add6 in display_mode_element (it=3D0xbfbfe8b0, depth=3D2, field_= width=3D0, precision=3D-1, elt=3D141645059, props=3D137934849, risky=3D0) at xd= isp.c:16906 #3 0x808b274 in display_mode_element (it=3D0xbfbfe8b0, depth=3D1, field_= width=3D-1, precision=3D-1, elt=3D138437181, props=3D137934849, risky=3D0) at xd= isp.c:17101 #4 0x8078091 in x_consider_frame_title (frame=3D141225988) at xdisp.c:89= 94 #5 0x80781ec in prepare_menu_bars () at xdisp.c:9051 #6 0x807b82d in redisplay_internal (preserve_echo_area=3D0) at xdisp.c:1= 0938 #7 0x807a8cc in redisplay () at xdisp.c:10519 #8 0x8124e79 in read_char (commandflag=3D1, nmaps=3D2, maps=3D0xbfbff538= , prev_event=3D137934849, used_mouse_menu=3D0xbfbff5ec, end_time=3D0x0= ) at keyboard.c:2633 #9 0x812ea4f in read_key_sequence (keybuf=3D0xbfbff71c, bufsize=3D30, prompt=3D137934849, dont_downcase_last=3D0, can_return_switch_frame=3D= 1, fix_current_buffer=3D1) at keyboard.c:8963 #10 0x81226e5 in command_loop_1 () at keyboard.c:1603 #11 0x81a2bf5 in internal_condition_case (bfun=3D0x81223b4 , handlers=3D137999033, hfun=3D0x8121cf0 ) at eval.c:1481 #12 0x8122080 in command_loop_2 () at keyboard.c:1326 #13 0x81a2678 in internal_catch (tag=3D137993265, func=3D0x8122060 , arg=3D137934849) 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=3D4, argv=3D0xbfbffa40) at emacs.c:1794 (gdb) p ceiling_addr $2 =3D ( unsigned char *) 0x285f7ae5 "\037\nFile: elisp, Node: Introduction,= =20 Next: Lisp Data Types, Prev: Top, Up: Top\n\n1 Introduction\n", '*' , "\n\nMost of the GNU Emacs text editor is written in the=20 programming\nlanguage called Emacs L"... (gdb) p cursor $3 =3D ( unsigned char *) 0x28635000 (gdb) p base $4 =3D ( unsigned char *) 0x2862083c "File: elisp, Node: Lists, Next: Seque= nces=20 Arrays Vectors, Prev: Strings and Characters, Up: Top\n\n5=20 Lists\n*******\n\nA \"list\" represents a sequence of zero or more elemen= ts=20 (which may be\nany Lisp obj"... (gdb) p start_byte $5 =3D 219173 (gdb) p limit_byte $6 =3D 219583 (gdb) p ceiling $7 =3D 51917 I'll leave it running in gdb. If anybody can figure this out or need mor= e=20 debugging done, just let me know. Jan D.