discuss-gnustep
[Top][All Lists]
Advanced

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

problem loading NSBundle in TalkSoup


From: Riccardo Mottola
Subject: problem loading NSBundle in TalkSoup
Date: Sat, 14 Mar 2015 23:20:32 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:36.0) Gecko/20100101 Firefox/36.0 SeaMonkey/2.33

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!

Riccardo



reply via email to

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