[Adium-devl] Problems With Storing Info. for Contact
George Armah
armahg at gmail.com
Fri Jun 6 09:51:52 UTC 2008
So I tried building and running 1.3svn Adium and run into problems in
both Deployment and Deployment-Debug mode.
Deployment-Debug Mode crash report
------------------------------------------------------------------------
Process: Adium [34767]
Path:
/Users/Armahg/Builds/Deployment-Debug/Adium.app/Contents/MacOS/Adium
Identifier: com.adiumX.adiumX
Version: 1.3svn (1.3svn)
Code Type: X86 (Native)
Parent Process: launchd [259]
Date/Time: 2008-06-06 05:37:15.131 -0400
OS Version: Mac OS X 10.5.3 (9D34)
Report Version: 6
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread: 0
Application Specific Information:
*** Terminating app due to uncaught exception
'NSInvalidArgumentException', reason: '*** -[NSKeyedUnarchiver
initForReadingWithData:]: incomprehensible archive (0x3c, 0x3c, 0x3c,
0x3c, 0x3c, 0x3c, 0x3c, 0x20)'
Thread 0 Crashed:
0 com.apple.CoreFoundation 0x93e4cff4
___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ + 4
1 libobjc.A.dylib 0x96f600fb objc_exception_throw + 40
2 com.apple.CoreFoundation 0x93e4cf2b +[NSException
raise:format:arguments:] + 155
3 com.apple.CoreFoundation 0x93e4cf6a +[NSException
raise:format:] + 58
4 com.apple.Foundation 0x9041e1f9 -[NSKeyedUnarchiver
initForReadingWithData:] + 3097
5 com.apple.AppKit 0x94c31d81 loadNib + 119
6 com.apple.AppKit 0x94c31774
+[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 946
7 com.apple.AppKit 0x94c313b7
+[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] + 171
8 com.apple.AppKit 0x94c312f5
+[NSBundle(NSNibLoading) loadNibNamed:owner:] + 391
9 com.apple.AppKit 0x94c30fa4 NSApplicationMain + 434
10 com.adiumX.adiumX 0x000033f2 _start + 216
11 com.adiumX.adiumX 0x00003319 start + 41
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0xa04490f0 ebx: 0x96f600dc ecx: 0xa04481a0 edx: 0x003e6000
edi: 0x00442f50 esi: 0xa004cd98 ebp: 0xbffff7f8 esp: 0xbffff7f8
ss: 0x0000001f efl: 0x00000282 eip: 0x93e4cff4 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0xffe17754
------------------------------------------------------------------------
Adium builds with a couple of warnings and then crashes whilst
attempting to launch.
The same thing happens after building in Deployment mode.
It is failing to load a nib file for some reason. Has anyone else
encountered this issue?
George.
Evan Schoenberg wrote:
> Run a current Adium subversion build in Debug or Deployment-Debug
> mode,and check for Console logging after setting a contact's info and
> then quitting and restarting. Do you get any output? One condition
> which could do as you describe would be if an object which isn't valid
> for a plist were set as a preference, and this would log in current
> builds.
>
> Cheers,
> Evan
>
> On Jun 4, 2008, at 12:40 PM, George Armah <armahg at gmail.com> wrote:
>
>
>> Hello,
>> One of the users of my Send Email/SMS plugin reported some problems
>> with
>> saving
>> the phone number of a contact via the plugin. I investigated and
>> here is
>> what I found:
>>
>> My plugin saves three pieces of information:
>> #define KEY_GEMAIL @"User Email Address"
>> #define KEY_SMSPHONENUM @"User SMS"
>> #define KEY_SERVICEPROVIDER @"User Service Provider"
>>
>> Saving a contact's email address works fine.
>> When I save a contact's phone number and service provider, they both
>> persist so long as adium is running.
>> After shutting down and restarting adium, the service provider is
>> found
>> but there is
>> nothing saved for the phone number value.
>> Note that this behavior is not consistent. Out of about 20 tries for
>> about 5 different contacts, one of the
>> contacts had his phone number information saved permanently (after a
>> couple of tries).
>>
>>
>> The plugin source code is available for download from:
>> http://www.cs.lafayette.edu/%7Earmahg/AGAdiumSMSPluginSourceCode.zip
>> I also pasted the three .m classes of the plugin using lisppaste
>> http://paste.lisp.org/display/61710
>> EmailSMSPreferencesWindowController is the class that does the the
>> saving
>> of the phone number information. This happens in the method
>> - (IBAction)smsSaveClicked:(id)sender.
>>
>>
>> I am really confused as to what could be causing this problem and
>> would
>> appreciate any
>> help or pointers as to how to troubleshoot. Could it be that some
>> other
>> plugin or section
>> of Adium code is using the same preference key? Where are the user
>> preference files
>> for Adium located? Knowing that could help in my troubleshooting.
>>
>>
>> Thanks in advance for any help,
>>
>> George.
>>
>> _______________________________________________
>> Adium-devl mailing list
>> Adium-devl at adiumx.com
>> http://adiumx.com/mailman/listinfo/adium-devl_adiumx.com
>>
>>
>
> _______________________________________________
> Adium-devl mailing list
> Adium-devl at adiumx.com
> http://adiumx.com/mailman/listinfo/adium-devl_adiumx.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20080606/a40e2b5c/attachment-0001.html>
More information about the devel
mailing list