Am 14.03.2015 um 23:20 schrieb Riccardo Mottola: > Hi, > > I'm debugging a strange problem in TalkSoup on GNUstep, where certain > Bundles do not get loaded and other apparently load twice. > The same "code" works on Mac currently, although the mac build system on > Mac is now XCode native, thus the problem could be also in the way > plists, bundles are build and installed. I have no clue yet where the > problem is. > > My problem right now seems to be the DCCSupport.bundle, for example. In > TalkSoup.m in "activate_bundle" I print out first "dir" and then the > loaded (but not yet activated) bundle. > > This is what I get > <...> > 2015-03-14 20:46:21.489 TalkSoup[6954:6954] dir > /Local/Applications/TalkSoup.app/Resources/InFilters/DCCSupport.bundle > 2015-03-14 20:46:21.489 TalkSoup[6954:6954] initing bundle <NSBundle: > 0x84aa580> > </Local/Applications/TalkSoup.app/Resources/InFilters/DCCSupport.bundle> > 2015-03-14 20:46:21.492 TalkSoup[6954:6954] dcc initializing, invoc (null) > 2015-03-14 20:46:21.533 TalkSoup[6954:6954] dir > /Local/Applications/TalkSoup.app/Resources/InFilters/Emoticon.bundle > 2015-03-14 20:46:21.566 TalkSoup[6954:6954] initing bundle <NSBundle: > 0x84aa580> > </Local/Applications/TalkSoup.app/Resources/InFilters/DCCSupport.bundle> > (loaded) > 2015-03-14 20:46:21.574 TalkSoup[6954:6954] dir > /Local/Applications/TalkSoup.app/Resources/InFilters/MessageOutTab.bundle > 2015-03-14 20:46:21.578 TalkSoup[6954:6954] initing bundle <NSBundle: > 0x84ec400> > </Local/Applications/TalkSoup.app/Resources/InFilters/MessageOutTab.bundle> > <...> > > Frist, DCCSupport is loaded. Fine! > Then Emoticon.bundle should be loaded, but I get back the SAME bundle I > got on the call before. The next bundle is then loaded fine. > > Why? I see no exceptions in gdb. If there has been an error in loading > the bundle, I'd expect at least a nil bundle, not the previous bundle!
The first thing I would check is the content of the Info.plists. Maybe all these bundles look the same to GNUstep and it gets confused. For a deeper analysis it would help to know, which TalkSoup class does the bundle loading to start the inspection there. Fred _______________________________________________ Discuss-gnustep mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnustep
