From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Carsten Mattner Newsgroups: gmane.emacs.devel Subject: Re: C-g crash in C-x C-f (OSX Lion) Date: Sun, 18 Dec 2011 18:58:53 +0100 Message-ID: References: <4EEB48B2.9090602@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1324231149 18118 80.91.229.12 (18 Dec 2011 17:59:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 18 Dec 2011 17:59:09 +0000 (UTC) Cc: Eli Zaretskii , Emacs developers To: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 18 18:59:04 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RcL0p-0003nr-Ha for ged-emacs-devel@m.gmane.org; Sun, 18 Dec 2011 18:59:03 +0100 Original-Received: from localhost ([::1]:57337 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcL0l-00015E-HQ for ged-emacs-devel@m.gmane.org; Sun, 18 Dec 2011 12:58:59 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:53187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcL0j-000158-9i for emacs-devel@gnu.org; Sun, 18 Dec 2011 12:58:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RcL0i-0004C8-8R for emacs-devel@gnu.org; Sun, 18 Dec 2011 12:58:57 -0500 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:57207) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcL0g-0004Bs-By; Sun, 18 Dec 2011 12:58:54 -0500 Original-Received: by iacb35 with SMTP id b35so6504009iac.0 for ; Sun, 18 Dec 2011 09:58:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=Uq9yFiCvqZVBx66Y5WcgeoPMgmoJHc0S3qjDEU0MLPA=; b=sz7JgfriATWYc7immYiJB5OJ4wlNj0j3jOhLDgWC74J702/rpxriNF3pnYqGQJUirR MYzJ8/ufs7XeS1PdqadCLIKFUiKOhI8st9hSv4qWbtYjpHqWFtcokrJqOf+ZZAaGgwYp 88x0p5QcCNjUzgVxUPyqfqPi/b53hBo9Zp/PA= Original-Received: by 10.50.154.228 with SMTP id vr4mr22564661igb.65.1324231133511; Sun, 18 Dec 2011 09:58:53 -0800 (PST) Original-Received: by 10.50.6.165 with HTTP; Sun, 18 Dec 2011 09:58:53 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:146803 Archived-At: On Sun, Dec 18, 2011 at 2:52 PM, Jan Dj=E4rv wrote: > Hello. > > 18 dec 2011 kl. 11:22 skrev Carsten Mattner: > >> For the record, it doesn't crash that easily if I do not run Emacs.app >> via gdb. Usually something starts to work when run in a debugger and >> not the other way around :). > > I ran Emacs compiled as you did, with evil-mode enabled for three > hours and did not get any errors. > However, I checked in some fixes, please try that variant. Trunk doesn't crash as easily in gdb. I suppose you fixed the issue with the graphical frontend. Thanks a lot! Whether that issue was the one I used for this threads Subject I'm unsure o= f. Jan, what about the other crash I had posted a full backtrace of when I tri= ed it in a terminal? It crashes when I do the same, but use C-g to cancel the visual selection iniated via evil-mode in progress. gdb ... (gdb) run -nw press v, do some selection, press C-g (gdb) bt #0 0x94fa5b42 in select$DARWIN_EXTSN () #1 0x00263cc2 in ns_select (nfds=3D5, readfds=3D0xbfffeda0, writefds=3D0xbfffed20, exceptfds=3D0x0, timeout=3D0xbfffed00) at nsterm.m:3493 #2 0x0021bc7d in wait_reading_process_output (time_limit=3D30, microsecs=3D0, read_kbd=3D-1, do_display=3D1, wait_for_cell=3D25806370, wait_proc=3D0x0, just_wait_proc=3D0) at process.c:4610 #3 0x000103a5 in sit_for (timeout=3D120, reading=3D1, do_display=3D1) at dispnew.c:6060 #4 0x000fa5b8 in read_char (commandflag=3D1, nmaps=3D12, maps=3D0xbffff170= , prev_event=3D25806370, used_mouse_menu=3D0xbffff33c, end_time=3D0x0) at keyboard.c:2688#5 0x00108e7d in read_key_sequence (keybuf=3D0xbffff4e8, bufsize=3D30, prompt=3D25806370, dont_downcase_last=3D0, can_return_switch_frame=3D1, fix_current_buffer=3D1) at keyboard.c:9300 #6 0x000f737f in command_loop_1 () at keyboard.c:1448 #7 0x001ac8d6 in internal_condition_case (bfun=3D0xf6e70 , handlers=3D25851274, hfun=3D0xf6480 ) at eval.c:1499 #8 0x000f69cd in command_loop_2 (ignore=3D25806370) at keyboard.c:1159 #9 0x001ac1bf in internal_catch (tag=3D25849298, func=3D0xf6990 , arg=3D25806370) at eval.c:1256 #10 0x000f694b in command_loop () at keyboard.c:1138 #11 0x000f5e95 in recursive_edit_1 () at keyboard.c:758 #12 0x000f6086 in Frecursive_edit () at keyboard.c:822 #13 0x000f3e6a in main (argc=3D2, argv=3D0xbffff9c4) at emacs.c:1709 (gdb) frame 1 #1 0x00263cc2 in ns_select (nfds=3D5, readfds=3D0xbfffeda0, writefds=3D0xbfffed20, exceptfds=3D0x0, timeout=3D0xbfffed00) at nsterm.m:3493 3493 return select (nfds, readfds, writefds, exceptfds, timeout); Current language: auto; currently objective-c (gdb) frame 2 #2 0x0021bc7d in wait_reading_process_output (time_limit=3D30, microsecs=3D0, read_kbd=3D-1, do_display=3D1, wait_for_cell=3D25806370, wait_proc=3D0x0, just_wait_proc=3D0) at process.c:4610 4610 nfds =3D ns_select Current language: auto; currently c(gdb) frame 3 #3 0x000103a5 in sit_for (timeout=3D120, reading=3D1, do_display=3D1) at dispnew.c:60606060 wait_reading_process_output (sec, usec, reading ? -1 : 1, do_display, (gdb) frame 4 #4 0x000fa5b8 in read_char (commandflag=3D1, nmaps=3D12, maps=3D0xbffff170= , prev_event=3D25806370, used_mouse_menu=3D0xbffff33c, end_time=3D0x0) at keyboard.c:2688 2688 tem0 =3D sit_for (make_number (timeout), 1, 1); (gdb) frame 5#5 0x00108e7d in read_key_sequence (keybuf=3D0xbffff4e8, bufsize=3D30, prompt=3D25806370, dont_downcase_last=3D0, can_return_switch_frame=3D1, fix_current_buffer=3D1) at keyboard.c:93009300 key =3D read_char (NILP (prompt), nmaps, (gdb) frame 6 #6 0x000f737f in command_loop_1 () at keyboard.c:14481448 i =3D read_key_sequence (keybuf, sizeof keybuf / sizeof keybuf[0], (gdb)