all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Carsten Mattner <carstenmattner@googlemail.com>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: Eli Zaretskii <eliz@gnu.org>, Emacs developers <emacs-devel@gnu.org>
Subject: Re: C-g crash in C-x C-f (OSX Lion)
Date: Sun, 18 Dec 2011 18:58:53 +0100	[thread overview]
Message-ID: <CACY+HvpKzETrLx+_3QfBCNtmj1+NqwuKE9KQi-8z-pf7cfqCuA@mail.gmail.com> (raw)
In-Reply-To: <B077B745-0D8F-44EE-A727-FE03211B0EAD@swipnet.se>

On Sun, Dec 18, 2011 at 2:52 PM, Jan Djärv <jan.h.d@swipnet.se> 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 of.

Jan, what about the other crash I had posted a full backtrace of when I tried
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=5, readfds=0xbfffeda0,
writefds=0xbfffed20, exceptfds=0x0, timeout=0xbfffed00) at
nsterm.m:3493
#2  0x0021bc7d in wait_reading_process_output (time_limit=30,
microsecs=0, read_kbd=-1, do_display=1, wait_for_cell=25806370,
wait_proc=0x0, just_wait_proc=0) at process.c:4610
#3  0x000103a5 in sit_for (timeout=120, reading=1, do_display=1) at
dispnew.c:6060
#4  0x000fa5b8 in read_char (commandflag=1, nmaps=12, maps=0xbffff170,
prev_event=25806370, used_mouse_menu=0xbffff33c, end_time=0x0) at
keyboard.c:2688#5  0x00108e7d in read_key_sequence (keybuf=0xbffff4e8,
bufsize=30, prompt=25806370, dont_downcase_last=0,
can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9300
#6  0x000f737f in command_loop_1 () at keyboard.c:1448
#7  0x001ac8d6 in internal_condition_case (bfun=0xf6e70
<command_loop_1>, handlers=25851274, hfun=0xf6480 <cmd_error>) at
eval.c:1499
#8  0x000f69cd in command_loop_2 (ignore=25806370) at keyboard.c:1159
#9  0x001ac1bf in internal_catch (tag=25849298, func=0xf6990
<command_loop_2>, arg=25806370) 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=2, argv=0xbffff9c4) at emacs.c:1709
(gdb) frame 1
#1  0x00263cc2 in ns_select (nfds=5, readfds=0xbfffeda0,
writefds=0xbfffed20, exceptfds=0x0, timeout=0xbfffed00) 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=30,
microsecs=0, read_kbd=-1, do_display=1, wait_for_cell=25806370,
wait_proc=0x0, just_wait_proc=0) at process.c:4610
4610              nfds = ns_select
Current language:  auto; currently c(gdb) frame 3
#3  0x000103a5 in sit_for (timeout=120, reading=1, do_display=1) at
dispnew.c:60606060      wait_reading_process_output (sec, usec,
reading ? -1 : 1, do_display,
(gdb) frame 4
#4  0x000fa5b8 in read_char (commandflag=1, nmaps=12, maps=0xbffff170,
prev_event=25806370, used_mouse_menu=0xbffff33c, end_time=0x0) at
keyboard.c:2688
2688              tem0 = sit_for (make_number (timeout), 1, 1);
(gdb) frame 5#5  0x00108e7d in read_key_sequence (keybuf=0xbffff4e8,
bufsize=30, prompt=25806370, dont_downcase_last=0,
can_return_switch_frame=1, fix_current_buffer=1) at
keyboard.c:93009300                key = read_char (NILP (prompt),
nmaps,
(gdb) frame 6
#6  0x000f737f in command_loop_1 () at keyboard.c:14481448          i
= read_key_sequence (keybuf, sizeof keybuf / sizeof keybuf[0],
(gdb)



  parent reply	other threads:[~2011-12-18 17:58 UTC|newest]

Thread overview: 156+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-12 13:11 C-g crash in C-x C-f (OSX Lion) Carsten Mattner
2011-12-14 17:56 ` chad
2011-12-14 20:50 ` Jan Djärv
2011-12-14 21:45   ` Carsten Mattner
2011-12-15  6:08     ` Eli Zaretskii
2011-12-15 20:42       ` Carsten Mattner
2011-12-15 20:47         ` Eli Zaretskii
2011-12-15 21:22           ` Carsten Mattner
2011-12-15 21:24       ` Carsten Mattner
2011-12-16 12:46         ` Carsten Mattner
2011-12-16 13:33           ` Jan D.
2011-12-16 14:21             ` Carsten Mattner
2011-12-16 14:32               ` Eli Zaretskii
2011-12-16 19:00                 ` Carsten Mattner
2011-12-16 19:02                   ` Carsten Mattner
2011-12-16 20:11                     ` Carsten Mattner
2011-12-16 20:14                       ` Carsten Mattner
2011-12-16 20:19                         ` Carsten Mattner
2011-12-16 20:21                           ` Carsten Mattner
2011-12-16 21:12                             ` Eli Zaretskii
2011-12-16 21:21                               ` Carsten Mattner
2011-12-16 21:11                           ` Eli Zaretskii
2011-12-16 21:22                             ` Carsten Mattner
2011-12-17  8:33                               ` Eli Zaretskii
2011-12-16 21:24                             ` Andreas Schwab
2011-12-17  3:41                               ` Stephen J. Turnbull
2011-12-17  4:36                                 ` Óscar Fuentes
2011-12-17  8:32                               ` Eli Zaretskii
2011-12-17  9:46                                 ` Jan Djärv
2011-12-17 12:03                                   ` Eli Zaretskii
2011-12-17 13:50                                     ` Jan Djärv
2011-12-17 15:39                                 ` Carsten Mattner
2011-12-17 15:49                                   ` Carsten Mattner
2011-12-17 16:08                                   ` Eli Zaretskii
2011-12-17 16:09                                   ` Jan Djärv
2011-12-17 16:20                                     ` Carsten Mattner
2011-12-17 16:47                                       ` Carsten Mattner
2011-12-17 17:15                                         ` Jan Djärv
2011-12-17 17:19                                           ` Carsten Mattner
2011-12-17 17:46                                             ` Jan Djärv
2011-12-17 18:06                                               ` Carsten Mattner
2011-12-17 18:18                                                 ` Jan Djärv
2011-12-17 18:20                                                   ` Carsten Mattner
2011-12-19  8:40                                     ` Stephen J. Turnbull
2011-12-19 10:59                                       ` Carsten Mattner
2011-12-19 11:20                                         ` Eli Zaretskii
2011-12-19 11:51                                           ` Carsten Mattner
2011-12-19 14:04                                             ` Eli Zaretskii
2011-12-19 11:53                                         ` Stephen J. Turnbull
2011-12-17  9:27                               ` Jan Djärv
2011-12-16 21:49                             ` Carsten Mattner
2011-12-17  8:13                               ` Eli Zaretskii
2011-12-17  0:22                             ` Paul Eggert
2011-12-17  9:14                               ` Jan Djärv
2011-12-17 17:30                                 ` Adrian Robert
2011-12-17 17:53                                   ` Jan Djärv
2011-12-17 18:19                                 ` Paul Eggert
2011-12-19 18:18                                   ` Jan Djärv
2011-12-19 21:31                                     ` Paul Eggert
2011-12-19  9:00                               ` René Kyllingstad
2011-12-19 11:00                                 ` Carsten Mattner
2011-12-19 15:53                                   ` Jan D.
2011-12-19 16:52                                     ` Carsten Mattner
2011-12-19 17:04                                       ` chad
2011-12-19 17:25                                       ` René Kyllingstad
2011-12-19 17:47                                         ` Carsten Mattner
2011-12-19 22:27                                         ` Dan Nicolaescu
2011-12-19 22:29                                           ` Carsten Mattner
2011-12-19 23:42                                             ` chad
2011-12-20  0:03                                         ` chad
2011-12-20  1:12                                           ` YAMAMOTO Mitsuharu
2011-12-20  1:28                                             ` YAMAMOTO Mitsuharu
2011-12-20  1:40                                             ` chad
2011-12-20  2:14                                               ` Glenn Morris
2011-12-20  2:32                                               ` YAMAMOTO Mitsuharu
2011-12-20  9:24                                                 ` YAMAMOTO Mitsuharu
2011-12-20 18:33                                                   ` Carsten Mattner
2011-12-21  0:38                                                     ` YAMAMOTO Mitsuharu
2011-12-21 10:42                                                       ` Carsten Mattner
2011-12-22  0:34                                                         ` YAMAMOTO Mitsuharu
2011-12-22 11:23                                                           ` Carsten Mattner
2011-12-22  0:42                                                   ` YAMAMOTO Mitsuharu
2011-12-22 11:28                                                     ` Carsten Mattner
2011-12-23  1:28                                                       ` YAMAMOTO Mitsuharu
2011-12-23  8:09                                                         ` Jan Djärv
2011-12-24  1:54                                                           ` YAMAMOTO Mitsuharu
2011-12-26 15:31                                                             ` Jan Djärv
2011-12-26 15:46                                                               ` David Reitter
2011-12-26 16:26                                                               ` Carsten Mattner
2011-12-26 16:41                                                               ` Stephen J. Turnbull
2011-12-27  1:28                                                                 ` YAMAMOTO Mitsuharu
2011-12-27  1:14                                                               ` YAMAMOTO Mitsuharu
2011-12-23 13:26                                                         ` Ted Zlatanov
2011-12-23 15:05                                                           ` Stephen J. Turnbull
2011-12-27 15:52                                                             ` Ted Zlatanov
2011-12-28  4:50                                                               ` Stephen J. Turnbull
2011-12-28  7:36                                                               ` YAMAMOTO Mitsuharu
2011-12-28 10:42                                                                 ` Stefan Monnier
2011-12-28 13:44                                                                   ` Jan Djärv
2011-12-29  0:18                                                                 ` Ted Zlatanov
2011-12-29  0:57                                                                   ` YAMAMOTO Mitsuharu
2011-12-29 15:15                                                                     ` Ted Zlatanov
2011-12-30  0:34                                                                       ` YAMAMOTO Mitsuharu
2011-12-30 14:52                                                                         ` Ted Zlatanov
2011-12-30 22:12                                                                           ` YAMAMOTO Mitsuharu
2011-12-31 13:22                                                                             ` Mac OS-compatible ports (was: C-g crash in C-x C-f (OSX Lion)) Ted Zlatanov
2011-12-31 14:27                                                                               ` Mac OS-compatible ports Jan D.
2012-01-01  1:54                                                                                 ` YAMAMOTO Mitsuharu
2012-01-01 10:48                                                                                   ` Jan Djärv
2012-01-01 15:31                                                                                     ` Adrian Robert
2012-01-02  0:13                                                                                       ` YAMAMOTO Mitsuharu
2012-01-01  1:47                                                                               ` Mac OS-compatible ports (was: C-g crash in C-x C-f (OSX Lion)) YAMAMOTO Mitsuharu
2012-01-01  7:02                                                                                 ` YAMAMOTO Mitsuharu
2012-01-01 21:18                                                                                   ` Mac OS-compatible ports David De La Harpe Golden
2012-01-02  6:04                                                                                     ` YAMAMOTO Mitsuharu
2012-01-01 10:50                                                                                 ` Mac OS-compatible ports (was: C-g crash in C-x C-f (OSX Lion)) Carsten Mattner
2012-01-01 14:06                                                                                 ` Mac OS-compatible ports Ted Zlatanov
2012-01-02  0:43                                                                                   ` YAMAMOTO Mitsuharu
2012-01-01  6:26                                                                               ` Leo
2012-01-01 10:36                                                                                 ` Jan Djärv
2012-01-01 10:48                                                                                   ` Carsten Mattner
2012-01-02 10:08                                                                                   ` Christian Lynbech
2012-01-07 13:09                                                                                     ` Dimitri Fontaine
2012-01-08  1:07                                                                                       ` Dave Abrahams
2012-01-08  1:10                                                                                       ` Dave Abrahams
2012-01-08  1:28                                                                                       ` chad
2012-01-08  8:37                                                                                         ` Dimitri Fontaine
2012-01-01 13:24                                                                                 ` Ted Zlatanov
2012-01-01 19:22                                                                                 ` chad
2011-12-20  1:57                                             ` C-g crash in C-x C-f (OSX Lion) Leo
2011-12-20  7:29                                             ` YAMAMOTO Mitsuharu
2011-12-19 18:15                                       ` Harald Hanche-Olsen
2011-12-19 18:50                                         ` Carsten Mattner
2011-12-19 19:40                                           ` Harald Hanche-Olsen
2011-12-19 20:16                                             ` Jan Djärv
2011-12-19 20:46                                               ` Carsten Mattner
2011-12-20 17:34                                                 ` Adrian Robert
2011-12-17 18:26             ` Richard Stallman
2011-12-17 18:30               ` Carsten Mattner
     [not found]                 ` <CACY+HvrywuKjP8-TtONhaX-D6hK7WPKFhe2gqWA9BkjkpZ_uAg@mail.gmail.com>
2011-12-18 10:22                   ` Carsten Mattner
2011-12-18 13:52                     ` Jan Djärv
2011-12-18 14:35                       ` Carsten Mattner
2011-12-18 15:09                         ` Jan Djärv
2011-12-18 17:58                       ` Carsten Mattner [this message]
2011-12-19  6:32                         ` Jan Djärv
2011-12-19 11:04                           ` Carsten Mattner
2011-12-19 13:33                             ` Carsten Mattner
2011-12-19 15:55                             ` Jan D.
2011-12-19 16:53                               ` Carsten Mattner
2011-12-19 17:48                                 ` Jan Djärv
2011-12-19 18:51                                   ` Carsten Mattner
2011-12-19 20:16                                     ` Jan Djärv
2011-12-18 16:54                     ` Eli Zaretskii
2011-12-18 17:11                       ` Carsten Mattner
2011-12-19  2:51                 ` Richard Stallman
2011-12-19 11:10                   ` Carsten Mattner

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=CACY+HvpKzETrLx+_3QfBCNtmj1+NqwuKE9KQi-8z-pf7cfqCuA@mail.gmail.com \
    --to=carstenmattner@googlemail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=jan.h.d@swipnet.se \
    /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.