[Top][All Lists]

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

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

From: Jan Djärv
Subject: Re: C-g crash in C-x C-f (OSX Lion)
Date: Sat, 17 Dec 2011 18:46:04 +0100

17 dec 2011 kl. 18:19 skrev Carsten Mattner:

> On Sat, Dec 17, 2011 at 6:15 PM, Jan Djärv <address@hidden> wrote:
>> Hello.
>> 17 dec 2011 kl. 17:47 skrev Carsten Mattner:
>>> The gdb session is still open if there's anything else you want me
>>> to inspect/run.
>>> I can keep it open for 2-3 hours before I need to leave and stop
>>> the machine.
>> What does this say:
>> (gdb) p QPRIMARY
>> (gdb) xtype
>> (gdb) xsymbol
>> ?
> (gdb) p QPRIMARY
> $3 = 27744162
> (gdb) xtype
> Lisp_Symbol
> (gdb) xsymbol
> $4 = (struct Lisp_Symbol *) 0x1a757a0
> (gdb)

This is really wierd.  


(gdb) p NXPrimaryPboard

and if it doesn't print 0:

(gdb) po NXPrimaryPboard

I don't quite understand what is going on here, but I'm inclined to fix the 
code as it should be and check it in.  I think Eli was correct, the pb = 0 is 
the error.

I have read up on pasteboardWithName and it should not return NULL on an 
unknown string.  It may return NULL if the string argument is NULL.  That kind 
of assumes symbol_to_nsstring returns NULL as Eli suggested.  Under -nw, I 
guess x-open-connection is not called so NXPrimaryPboard never gets 
initialized.  But you said this was a graphical session or did I misunderstand 

        Jan D.

reply via email to

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