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: Fri, 16 Dec 2011 21:19:19 +0100

On Fri, Dec 16, 2011 at 9:14 PM, Carsten Mattner
<address@hidden> wrote:
> On Fri, Dec 16, 2011 at 9:11 PM, Carsten Mattner
> <address@hidden> wrote:
>> On Fri, Dec 16, 2011 at 8:02 PM, Carsten Mattner
>> <address@hidden> wrote:
>>> On Fri, Dec 16, 2011 at 8:00 PM, Carsten Mattner
>>> <address@hidden> wrote:
>>>> OK, I made it crash.
>>>> I'm not sure what it was exactly but I was about to discard the changes
>>>> to a file and pressed kill-buffer (C-x k) and probably C-g to cancel.
>>>
>>> Should I try without evil-mode loaded?
>>>
>>> Maybe I should kept it in gdb for more commands to run on the live
>>> image. Sorry, I will keep the next crash open if you think it's useful.
>>
>> Happened again and this time also when I did a visual selection of
>> text in a buffer.
>>
>> Eli, any further inspection you want me to do for revealing more info about
>> the crash?
>>
>> I was also able to make it crash when started with -nw.
>> Looks like the same fault:
>
> Sorry, it's not the same backtrace. My fault.
> This is the one with the Cocoa frontend:
> #0  0x9adc5d50 in strlen ()
> #1  0x001e7601 in intern (str=0x0) at lread.c:3707
> #2  0x00283efb in ns_string_to_symbol (t=0x0) at nsselect.m:86
> #3  0x002847ab in ns_handle_selection_request (event=0xbfffef88) at
> nsselect.m:247
>
> vs the below with with the terminal frontend.
>
> Next I will not load evil-mode and see what happens.

Can these crashes happen due to enabled assertions?
Doesn't look like that to me, but with evil-mode not loaded I
was able to make it crash by pressing
C-S-> and then C-S-b (was trying to remember the Emacs editing
binding equivalent of { in evil-mode.

#0  0x9adc5d50 in strlen ()
#1  0x001e7601 in intern (str=0x0) at lread.c:3707
#2  0x00283efb in ns_string_to_symbol (t=0x0) at nsselect.m:86
#3  0x002847ab in ns_handle_selection_request (event=0xbfffef88) at
nsselect.m:247
#4  0x00285202 in Fx_own_selection_internal (selection_name=27744162,
selection_value=47468977) at nsselect.m:425
#5  0x001b025b in Ffuncall (nargs=3, args=0xbffff090) at eval.c:2989
#6  0x0020e3b1 in exec_byte_code (bytestr=3581977, vector=3581997,
maxdepth=20, args_template=27703842, nargs=0, args=0x0) at
bytecode.c:785
#7  0x001b0e01 in funcall_lambda (fun=3581941, nargs=2,
arg_vector=0xbffff440) at eval.c:3217
#8  0x001b04a0 in Ffuncall (nargs=3, args=0xbffff43c) at eval.c:3035
#9  0x001af8e4 in call2 (fn=27744138, arg1=27744162, arg2=47468977) at
eval.c:2770
#10 0x000f7a89 in command_loop_1 () at keyboard.c:1659
#11 0x001ac5d6 in internal_condition_case (bfun=0xf6b70
<command_loop_1>, handlers=27748746, hfun=0xf6180 <cmd_error>) at
eval.c:1499
#12 0x000f66cd in command_loop_2 (ignore=27703842) at keyboard.c:1159
#13 0x001abebf in internal_catch (tag=27746770, func=0xf6690
<command_loop_2>, arg=27703842) at eval.c:1256
#14 0x000f664b in command_loop () at keyboard.c:1138
#15 0x000f5b95 in recursive_edit_1 () at keyboard.c:758
#16 0x000f5d86 in Frecursive_edit () at keyboard.c:822
#17 0x000f3b6a in main (argc=1, argv=0xbffff9cc) at emacs.c:1709

....

(gdb) bt full#0  0x9adc5d50 in strlen ()
No symbol table info available.
#1  0x001e7601 in intern (str=0x0) at lread.c:3707
        tem = 1178832048
        len = 4363
        obarray = 0
#2  0x00283efb in ns_string_to_symbol (t=0x0) at nsselect.m:86
No locals.
#3  0x002847ab in ns_handle_selection_request (event=0xbfffef88) at
nsselect.m:247
        pb = (id) 0x0
        type = (NSString *) 0xacc4eb98
        selection_name = 47582326



reply via email to

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