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: Fri, 29 Feb 2008 22:59:21 +0100 Message-ID: <47C88039.6000402@gmail.com> References: <47C6713B.6030309@gmail.com> <47C67775.8060906@gnu.org> <47C75221.2030708@gmail.com> <47C75363.8010904@gnu.org> 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 1204322401 7095 80.91.229.12 (29 Feb 2008 22:00:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Feb 2008 22:00:01 +0000 (UTC) Cc: Emacs Devel To: Jason Rumney , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 29 23:00:25 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 1JVDH5-0004mU-V5 for ged-emacs-devel@m.gmane.org; Fri, 29 Feb 2008 23:00:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JVDGZ-00023L-DX for ged-emacs-devel@m.gmane.org; Fri, 29 Feb 2008 16:59:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JVDGU-00022n-6i for emacs-devel@gnu.org; Fri, 29 Feb 2008 16:59:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JVDGS-00022a-PK for emacs-devel@gnu.org; Fri, 29 Feb 2008 16:59:36 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JVDGS-00022X-J7 for emacs-devel@gnu.org; Fri, 29 Feb 2008 16:59:36 -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 1JVDGK-0005RR-SL; Fri, 29 Feb 2008 16:59:29 -0500 Original-Received: from c83-254-148-228.bredband.comhem.se ([83.254.148.228]:65437 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1JVDGI-0005Vn-3v; Fri, 29 Feb 2008 22:59:27 +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: <47C75363.8010904@gnu.org> X-Antivirus: avast! (VPS 080228-0, 2008-02-28), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.148.228 X-Scan-Result: No virus found in message 1JVDGI-0005Vn-3v. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1JVDGI-0005Vn-3v 55d8c5dc03114b61cb4df77da05b9f4d 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:90917 Archived-At: Jason Rumney wrote: > Lennart Borgman (gmail) wrote: >> Thanks Jason, but I need a little clarification. After configure I >> suppose I should do only "make bootstrap", but not "make install", or? > Just make should be enough - the .elc files will not be affected by C > optimisations. Now I got a crash. Could you please tell me what to examine and how to do it? I am starting to wonder if the problem happens during a call to yes-or-no-p in a timer. I have a little library pause.el that does such calls to chase me away from the keyboard. Here are some messages I see before the crash: warning: obscured frame 02ECF000 ( *Minibuf-1* - Emacs) found to be visible warning: msg c113 not expected by w32_msg_pump warning: frame 02ECF000 (freemind.el - Emacs) obscured warning: msg c113 not expected by w32_msg_pump warning: obscured frame 02ECF000 (freemind.el - Emacs) found to be visible warning: msg c113 not expected by w32_msg_pump warning: msg c113 not expected by w32_msg_pump warning: msg c113 not expected by w32_msg_pump warning: frame 02ECF000 (freemind.el - Emacs) obscured Program received signal SIGSEGV, Segmentation fault. 0x0103a4ef in next_element_from_display_vector (it=0x82dbe0) at xdisp.c:6063 6063 if (INTEGERP (*it->dpvec) (gdb) Here is a backtrace: (gdb) bt #0 0x0103a4ef in next_element_from_display_vector (it=0x82dbe0) at xdisp.c:6063 #1 0x01039585 in get_next_display_element (it=0x82dbe0) at xdisp.c:5590 #2 0x0104f914 in display_line (it=0x82dbe0) at xdisp.c:16113 #3 0x01049b30 in try_window (window=37262852, pos={charpos = 1, bytepos = 1}, check_margins=1) at xdisp.c:13692 #4 0x010489a8 in redisplay_window (window=37262852, just_this_one_p=0) at xdisp.c:13310 #5 0x01044dbc in redisplay_window_0 (window=37262852) at xdisp.c:11901 #6 0x01020837 in internal_condition_case_1 ( bfun=0x1044d8a , arg=37262852, handlers=23811365, hfun=0x1044d69 ) at eval.c:1542 #7 0x01044d59 in redisplay_windows (window=37262852) at xdisp.c:11880 #8 0x01043de6 in redisplay_internal (preserve_echo_area=1) at xdisp.c:11437 #9 0x010446e3 in redisplay_preserve_echo_area (from_where=7) at xdisp.c:11688 #10 0x0100b645 in swallow_events (do_display=1) at keyboard.c:4453 #11 0x010b3caa in sit_for (timeout=240, reading=1, do_display=1) at dispnew.c:6573 #12 0x01008fb2 in read_char (commandflag=1, nmaps=17, maps=0x82f040, prev_event=23828481, used_mouse_menu=0x82f19c, end_time=0x0) at keyboard.c:2966 #13 0x01012302 in read_key_sequence (keybuf=0x82f300, bufsize=30, prompt=23828481, dont_downcase_last=0, can_return_switch_frame=1, ---Type to continue, or q to quit--- fix_current_buffer=1) at keyboard.c:9457 #14 0x010062aa in command_loop_1 () at keyboard.c:1655 #15 0x01020727 in internal_condition_case (bfun=0x1005f6f , handlers=23901353, hfun=0x100599d ) at eval.c:1494 #16 0x01005cf8 in command_loop_2 () at keyboard.c:1370 #17 0x01020218 in internal_catch (tag=23930001, func=0x1005cd5 , arg=23828481) at eval.c:1230 #18 0x01005c5d in command_loop () at keyboard.c:1335 #19 0x010055b9 in recursive_edit_1 () at keyboard.c:958 #20 0x010dbd65 in read_minibuf (map=23816653, initial=23828481, prompt=37612675, backup_n=0, expflag=0, histvar=23895881, histpos=0, defalt=23828481, allow_props=0, inherit_input_method=0) at minibuf.c:757 #21 0x010ddb18 in Fcompleting_read (prompt=37612675, collection=23830532, predicate=23930049, require_match=23828529, initial_input=23828481, hist=23895881, def=23828481, inherit_input_method=23828481) at minibuf.c:1830 #22 0x01014543 in Fexecute_extended_command (prefixarg=23828481) at keyboard.c:10471 #23 0x01022ba2 in Ffuncall (nargs=2, args=0x82f8b0) at eval.c:3025 #24 0x0115498b in Fcall_interactively (function=23893545, record_flag=23828481, keys=23896068) at callint.c:842 #25 0x01022bf6 in Ffuncall (nargs=4, args=0x82fb30) at eval.c:3031 #26 0x0102278e in call3 (fn=23958625, arg1=23893545, arg2=23828481, ---Type to continue, or q to quit--- arg3=23828481) at eval.c:2851 #27 0x010143d6 in Fcommand_execute (cmd=23893545, record_flag=23828481, keys=23828481, special=23828481) at keyboard.c:10411 #28 0x0100729b in command_loop_1 () at keyboard.c:1910 #29 0x01020727 in internal_condition_case (bfun=0x1005f6f , handlers=23901353, hfun=0x100599d ) at eval.c:1494 #30 0x01005cf8 in command_loop_2 () at keyboard.c:1370 #31 0x01020218 in internal_catch (tag=23893329, func=0x1005cd5 , arg=23828481) at eval.c:1230 #32 0x01005cae in command_loop () at keyboard.c:1349 #33 0x010055b9 in recursive_edit_1 () at keyboard.c:958 #34 0x0100571d in Frecursive_edit () at keyboard.c:1020 #35 0x0100270d in main (argc=3, argv=0xa82788) at emacs.c:1743 #36 0x0100124b in __mingw_CRTStartup () #37 0x01001298 in mainCRTStartup () Lisp Backtrace: "execute-extended-command" (0x82f8b4) "call-interactively" (0x82fb34) (gdb)