bugGNUstep - Bugs: bug #30077, Unable to launch application on...

Group
 
 

bug #30077: Unable to launch application on Windows

Submitter:  Doug Simons <theeggcamefirst>
Submitted:  Mon 07 Jun 2010 11:18:34 PM UTC
   
 
Category:  Base/Foundation Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 08 Jun 2010 04:47:00 PM UTC, comment #4: 

Excellent! It's working now. Thanks!!

Doug Simons <theeggcamefirst>
Tue 08 Jun 2010 04:19:52 PM UTC, comment #3: 

Found/fixed it ... the problem was dues to David's forwarding/invocation change ... I had fixed one issue (attempting to access isa via nil pointer), but hadn't noticed that the code was actually checking for the wrong method (respondsTo: rather than methodSignatureForSelector:) before calling -methodSignatureForSelector:

I don't know why that crashed windows and not my gnu/linux system, but I reproduced the problem onn my windows test system, and changing to check the correct method fixes things for me there.

Richard Frith-Macdonald <CaS>
Group Member
Tue 08 Jun 2010 09:53:10 AM UTC, comment #2: 

I haven't reproduced this on windowsw, but I guess your problem was not windows specific and was due to a mistake someone made in the invocation code which caused a crash on some versions of the runtime.  If that's the problem then I already committed a fix at revision  30606 and certainly updating trunk from svn should solve it for you.

Richard Frith-Macdonald <CaS>
Group Member
Mon 07 Jun 2010 11:19:26 PM UTC, comment #1: 

I forgot to mention: reverting base to r30586 solves the problem.

Doug Simons <theeggcamefirst>
Mon 07 Jun 2010 11:18:34 PM UTC, original submission:  

Recent updates to base cause a crash on application launch. Due to the nature of the crash on Windows, no meaningful backtrace is available AFTER the crash, but by stepping through in gdb it appears it may be happening when the app tries to connect to the gdnc server, as seen in this backtrace just BEFORE the crash occurs:

#0  -[NSDistributedNotificationCenter(Private) _connect] (self=0x1287788, _cmd=0x70442e48)
    at NSDistributedNotificationCenter.m:749
#1  0x702ea5a1 in -[NSDistributedNotificationCenter addObserver:selector:name:object:suspensionBehav
ior:] (self=0x1287788, _cmd=0x70442e30, anObserver=0x1285838, aSelector=0x6db5a700,
    notificationName=0x0, anObject=0x6db58620, suspensionBehavior=2)
    at NSDistributedNotificationCenter.m:338
#2  0x702ea30f in -[NSDistributedNotificationCenter addObserver:selector:name:object:] (
    self=0x1287788, _cmd=0x6db5a708, anObserver=0x1285838, aSelector=0x6db5a700,
    notificationName=0x0, anObject=0x6db58620) at NSDistributedNotificationCenter.m:263
#3  0x6da214cf in -[_GSWorkspaceCenter init] (self=0x1285838, _cmd=0x7045ab48)
    at NSWorkspace.m:284
#4  0x7032a9ec in +[NSObject new] (self=0x6db598c0, _cmd=0x6db5a688) at NSObject.m:1192
#5  0x6da22170 in -[NSWorkspace init] (self=0x1283950, _cmd=0x6db5a6f0) at NSWorkspace.m:643
#6  0x6da21ff0 in +[NSWorkspace sharedWorkspace] (self=0x6db596c0, _cmd=0x6dae1a88)
    at NSWorkspace.m:612
#7  0x6d90aa0b in -[NSDocumentController init] (self=0x1279370, _cmd=0x57d7b8)
    at NSDocumentController.m:312
#8  0x004f1ef4 in -[EggplantDocumentController init] (self=0x1279370, _cmd=0x53e158)
    at EggplantDocumentController.m:26
#9  0x0042003c in +[EggplantApplication sharedApplication] (self=0x53c3a0, _cmd=0x6daabd58)
    at EggplantApplication.m:198
#10 0x6d881eee in NSApplicationMain (argc=1, argv=0x10bbf50) at Functions.m:76
#11 0x00401a65 in main (argc=1, argv=0x10bbf50) at main.m:13

Doug Simons <theeggcamefirst>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by CaS (Posted a comment)
  • -email is unavailable- added by theeggcamefirst (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-06-08 CaS Open/ClosedOpen Closed
    2010-06-08 CaS StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code