emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C-g crash in C-x C-f (OSX Lion)


From: Carsten Mattner
Subject: Re: C-g crash in C-x C-f (OSX Lion)
Date: Sun, 18 Dec 2011 18:58:53 +0100

On Sun, Dec 18, 2011 at 2:52 PM, Jan Djärv <address@hidden> 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]