bug-gnustep
[Top][All Lists]
Advanced

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

Re: remove DnD image before drop


From: Adam Fedor
Subject: Re: remove DnD image before drop
Date: Wed, 23 Jan 2002 08:24:09 -0700
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:0.9.7) Gecko/20020120

Enrico Sersale wrote:


And the crash confirming from keyboard on the alert panel remains...

#0  0x403d8c20 in _NSRemoveHandler (handler=0xbfffe630) at
NSException.m:272
#1  0x40412a1f in -[NSRunLoop acceptInputForMode:beforeDate:]
(self=0x81b9620,
    _cmd=0x404c0880, mode=0x819bb40, limit_date=0x85f7550) at
NSRunLoop.m:1424


This is a very unusual place for a crash to occur. The only way this could happen is if the default (or current) thread has not been properly initialized, which means there is something very wrong with the base library.

It's more likely that you failed to clean/recompile a library (base, gui, your own) or the application after a large change, such as the addition of an ivar.

I tried the same procedure and got a crash also (with the 0.2.7 sources), but for a different reason which the attach patch partial fixes. Unfortuneatly, there is also another problem with a Watcher object being released too soon that causes it to crash again soon after. I haven't had time to track this down.


--
Adam Fedor, Digital Optics            | I'm glad I hate spinach, because
http://www.doc.com                    | if I didn't, I'd eat it, and you
http://www.gnustep.org                | know how I hate the stuff.
diff -cr GWorkspace.orig/IconViewsIcon.m GWorkspace/IconViewsIcon.m
*** GWorkspace.orig/IconViewsIcon.m     Wed Dec 26 07:34:07 2001
--- GWorkspace/IconViewsIcon.m  Wed Jan 23 08:17:11 2002
***************
*** 114,120 ****
                }
  
      namelabel = [NSTextField new];
-     AUTORELEASE (namelabel);
      
                [namelabel setFont: font];
                [namelabel setBezeled: NO];
--- 114,119 ----

reply via email to

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