From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: Crashes on w32 and debugging Date: Sat, 01 Mar 2008 11:52:56 +0100 Message-ID: <47C93588.4050403@gmail.com> References: <47C6713B.6030309@gmail.com> <47C67775.8060906@gnu.org> <47C75221.2030708@gmail.com> <47C75363.8010904@gnu.org> <47C88039.6000402@gmail.com> <47C89238.2030908@gnu.org> <47C89397.5080609@gnu.org> <47C93338.4020000@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1204368834 14649 80.91.229.12 (1 Mar 2008 10:53:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Mar 2008 10:53:54 +0000 (UTC) Cc: Eli Zaretskii , Emacs Devel , "Kim F. Storm" To: Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 01 11:54:20 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JVPMA-0002ky-12 for ged-emacs-devel@m.gmane.org; Sat, 01 Mar 2008 11:54:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JVPLc-000648-Bi for ged-emacs-devel@m.gmane.org; Sat, 01 Mar 2008 05:53:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JVPLX-00061h-QZ for emacs-devel@gnu.org; Sat, 01 Mar 2008 05:53:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JVPLU-0005zl-2L for emacs-devel@gnu.org; Sat, 01 Mar 2008 05:53:39 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JVPLT-0005zS-SE for emacs-devel@gnu.org; Sat, 01 Mar 2008 05:53:35 -0500 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JVPLI-0003Ml-II; Sat, 01 Mar 2008 05:53:25 -0500 Original-Received: from c83-254-148-228.bredband.comhem.se ([83.254.148.228]:61221 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1JVPL4-0001JR-5p; Sat, 01 Mar 2008 11:53:11 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: <47C93338.4020000@gmail.com> X-Antivirus: avast! (VPS 080229-0, 2008-02-29), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.148.228 X-Scan-Result: No virus found in message 1JVPL4-0001JR-5p. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1JVPL4-0001JR-5p 99265d9be3ad4ff4e9eda3a6121979a3 X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) 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:90977 Archived-At: Lennart Borgman (gmail) wrote: > Jason Rumney wrote: >> >>> Program received signal SIGSEGV, Segmentation fault. >>> 0x0103a4ef in next_element_from_display_vector (it=0x82dbe0) at >>> xdisp.c:6063 >>> 6063 if (INTEGERP (*it->dpvec) >> >> You might want to do a cvs update before spending too much time >> debugging this, as I can't find any such line in the latest version of >> xdisp.c. Perhaps the bug has already been fixed. > > I just got a new crash, but unfortunately not running under the > debugger. However this crash happened after working mostly in org-mode > (I had not started any external programs from Emacs this time). > > I had been using occur quite a lot in the org-mode buffer. I always > start it from isearch. > > Remember that the crash when running under the debugger was a SIGSEV in > next_element_from_display_vector. > > To avoid confusion I say again that that this is > > GNU Emacs 23.0.50.1 (i386-mingw-nt5.1.2600) of 2008-01-30 (patched) Switched to run under gdb and immediately got a new crash. As above working in an org-mode buffer. I had just used occur and then I typed `C-x 1'. That operation was never made (ie the frame was still divided when I switched to the debugger. (Not sure however if the crash actually happened before `C-x 1' or after.) Here are some data as suggested by Jason before: Program received signal SIGSEGV, Segmentation fault. 0x0103a4ef in next_element_from_display_vector (it=0x82e5d0) at xdisp.c:6063 6063 if (INTEGERP (*it->dpvec) (gdb) print it $1 = (struct it *) 0x82e5d0 (gdb) print it->dpvec $2 = (Lisp_Object *) 0x0 (gdb) print *it->dpvec Cannot access memory at address 0x0 (gdb)