[Adium-devl] Plug-In Work

Chris Stewart compiledmonkey at gmail.com
Thu Dec 7 23:40:57 UTC 2006


Here's the output:

(gdb) bt
#0  0x90a54387 in objc_msgSend ()
#1  0x101611d0 in ?? ()
#2  0x90a57c56 in objc_msgSendv ()
#3  0x925fc43e in -[NSInvocation invoke] ()
#4  0x000f18f2 in -[AdiumContentFiltering
filterAttributedString:usingFilterType:direction:filterContext:notifyingTarget:selector:context:]
(self=0x62d540, _cmd=0x374278, attributedString=0xbfffe8a8,
type=AIFilterContent, direction=AIFilterOutgoing, filterContext=0x10108600,
target=0x10108600, selector=0x373ae4, context=0x10104670) at
/Users/chris/Programming/obj-c/Adium/adium/Source/AdiumContentFiltering.m:301
#5  0x000dad39 in -[AIContentController
filterAttributedString:usingFilterType:direction:filterContext:notifyingTarget:selector:context:]
(self=0x62e110, _cmd=0x374278, attributedString=0x10149de0,
type=AIFilterContent, direction=AIFilterOutgoing, filterContext=0x10108600,
target=0x10108600, selector=0x373ae4, context=0x10104670) at
/Users/chris/Programming/obj-c/Adium/adium/Source/AIContentController.m:189
#6  0x0030b2f8 in -[AIAccount(Abstract)
autoRefreshingOutgoingContentForStatusKey:selector:context:]
(self=0x10108600, _cmd=0x373b3c, key=0x36f4208, selector=0x36ece60,
originalContext=0x10192c00) at
/Users/chris/Programming/obj-c/Adium/adium/Frameworks/Adium
Framework/Source/AIAbstractAccount.m:732
#7  0x036cc743 in -[CBGaimAccount
configureGaimAccountNotifyingTarget:selector:] (self=0x10108600,
_cmd=0x36ed0f0, target=0x10108600, selector=0x36ed144) at
/Users/chris/Programming/obj-c/Adium/adium/Plugins/Gaim
Service/CBGaimAccount.m:1319
#8  0x036cc4d4 in -[CBGaimAccount connect] (self=0x10108600,
_cmd=0x90a9cfbc) at /Users/chris/Programming/obj-c/Adium/adium/Plugins/Gaim
Service/CBGaimAccount.m:1275
#9  0x0030af8e in -[AIAccount(Abstract) passwordReturnedForConnect:context:]
(self=0x10108600, _cmd=0x373bf8, inPassword=0x10163e60, inContext=0x0) at
/Users/chris/Programming/obj-c/Adium/adium/Frameworks/Adium
Framework/Source/AIAbstractAccount.m:653
#10 0x90a57c56 in objc_msgSendv ()
#11 0x925fc43e in -[NSInvocation invoke] ()
#12 0x92622433 in -[NSInvocation invokeWithTarget:] ()
#13 0x1204a902 in -[NSObject(RunLoopMessenger) handleInvocation:]
(self=0x10108600, _cmd=0x1205d960, anInvocation=0x1015bdc0) at
/Users/chris/Programming/obj-c/Adium/adium/Frameworks/AIUtilities
Framework/Source/AIObjectAdditions.m:255
#14 0x9260b0c7 in __NSFireDelayedPerform ()
#15 0x90829bc9 in CFRunLoopRunSpecific ()
#16 0x90828eb5 in CFRunLoopRunInMode ()
#17 0x92dcdb90 in RunCurrentEventLoopInMode ()
#18 0x92dcd297 in ReceiveNextEventCommon ()
#19 0x92dcd0ee in BlockUntilNextEventMatchingListInMode ()
#20 0x9326f465 in _DPSNextEvent ()
#21 0x9326f056 in -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#22 0x93268ddb in -[NSApplication run] ()
#23 0x9325cd2f in NSApplicationMain ()
#24 0x00002488 in main (argc=1, argv=0xbffffa14) at
/Users/chris/Programming/obj-c/Adium/adium/Source/main.m:3
(gdb)

On 12/7/06, Colin Barrett <timber at lava.net> wrote:
>
> Well, that probably means that you're accessing null'd memory or
> something. At the (gdb) prompt type bt and paste us the backtrace.
>
> -Colin
>
> On Dec 7, 2006, at 5:20 PM, Chris Stewart wrote:
>
> > OK, I was able to get everything to run without registering my plug-
> > in.  Once I uncommented this line in my class:
> >
> > - (void)installPlugin
> > {
> >     [[adium contentController] registerContentFilter:self
> > ofType:AIFilterContent direction:AIFilterOutgoing];
> > }
> >
> > I got this error while attempting to run:
> >
> > 2006-12-07 17:17:46.596 Adium[6954] Immediate reachability info for
> > <NSCFType: 0x102510d0>
> > 2006-12-07 17:17:46.596 Adium[6954] ***
> > hostReachabilityChangedCallback got flags: -r-----
> > [Switching to process 6954 thread 0x18a03]
> > Invalid memory access of location 63755f00 eip=90a54387
> > [Switching to process 6954 local thread 0xf03]
> > Program received signal:  "EXC_BAD_ACCESS".
> > (gdb)
> >
> > On 12/7/06, Chris Stewart <compiledmonkey at gmail.com> wrote:
> > Great, thank you.  I should be ready to submit my patch shortly. :)
> >
> > On 12/7/06, Evan Schoenberg < evan at adiumx.com > wrote:
> >
> > On Dec 7, 2006, at 4:47 PM, Chris Stewart wrote:
> >
> >> I should be able to delete everything in the build directory, right?
> >
> > Yup, though then you have to wait for everything to build next time
> > through.
> >
> > _______________________________________________
> > Adium-devl mailing list
> > Adium-devl at adiumx.com
> > http://adiumx.com/mailman/listinfo/adium-devl_adiumx.com
> >
> >
> >
> >
> >
> >
> > --
> > Chris Stewart
> > compiledmonkey at gmail.com
> > http://www.compiledmonkey.com
> >
> >
> >
> > --
> > Chris Stewart
> > compiledmonkey at gmail.com
> > http://www.compiledmonkey.com
> > _______________________________________________
> > 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
>



-- 
Chris Stewart
compiledmonkey at gmail.com
http://www.compiledmonkey.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://adiumx.com/pipermail/devel_adium.im/attachments/20061207/872f7272/attachment.html>


More information about the Adium-devl mailing list