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: Sat, 17 Dec 2011 17:20:05 +0100

On Sat, Dec 17, 2011 at 5:09 PM, Jan Djärv <address@hidden> wrote:
> Hello.
>
> 17 dec 2011 kl. 16:39 skrev Carsten Mattner:
>
>>
>> New session same #4 for that call
>> (gdb) frame 4
>> #4  0x00285202 in Fx_own_selection_internal (selection_name=27744162,
>> selection_value=78814449) at nsselect.m:425
>> 425         ns_handle_selection_request (&ev);
>> Current language:  auto; currently objective-c
>> (gdb) p selection_name
>> $1 = 27744162
>> (gdb) xtype
>> Undefined command: "xtype".  Try "help".
>> (gdb) xsymbol
>> Undefined command: "xsymbol".  Try "help".
>> (gdb)
>>
>> Could gdb be too old for xsymbol/xtype commands? Are those aliases?
>
> They are commands from .gdbinit in Emacs src directory.  You should start gdb 
> when standing in that directory, or source that file into gdb.  That is, when 
> gdb is started:
>
> (gdb) source <path to emacs sources>/src/.gdbinit

Oops, sorry, forgot to follow etc/DEBUG

(gdb) bt
#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=0xbfffef78) at
nsselect.m:247
#4  0x00285202 in Fx_own_selection_internal (selection_name=27744162,
selection_value=39064129) at nsselect.m:425
#5  0x001b025b in Ffuncall (nargs=3, args=0xbffff080) 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=0xbffff430) at eval.c:3217
#8  0x001b04a0 in Ffuncall (nargs=3, args=0xbffff42c) at eval.c:3035
#9  0x001af8e4 in call2 (fn=27744138, arg1=27744162, arg2=39064129) at
eval.c:2770
#10 0x000f7a33 in command_loop_1 () at keyboard.c:1656
#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=0xbffff9c0) at emacs.c:1709

Lisp Backtrace:
"x-own-selection-internal" (0xbffff084)
"x-set-selection" (0xbffff430)
(gdb) frame 4
#4  0x00285202 in Fx_own_selection_internal (selection_name=27744162,
selection_value=39064129) at nsselect.m:425
425         ns_handle_selection_request (&ev);
Current language:  auto; currently objective-c
(gdb) p selection_name
$1 = 27744162
(gdb) xtype
Lisp_Symbol
(gdb) xsymbol
$2 = (struct Lisp_Symbol *) 0x1a757a0
"PRIMARY"
(gdb)

I didn't run src/emacs but the application bundle for the Cocoa app to
properly load and display an interactive window and not just one which
doesn't accept input events from keyboard/mouse.



reply via email to

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