Re: NSWindow delegate of unexpected class
Re: NSWindow delegate of unexpected class
- Subject: Re: NSWindow delegate of unexpected class
- From: "Shawn Erickson" <email@hidden>
- Date: Tue, 15 Jul 2008 16:47:07 -0700
On Tue, Jul 15, 2008 at 4:25 PM, Shawn Erickson <email@hidden> wrote:
> Does anyone know of a third-party haxie (input manager, etc.) that
> when loaded into an application hijacks the delegate of NSWindow
> instances? ...something that replaces the window's delegate with one
> of its own objects that presumable forwards messages onto our
> delegate.
>
> We happen to have some debugging related assert code like the
> following (in a class method) that validates that the delegate of a
> window is of an expected class. These asserts made it into a release
> version of our of product and we are getting runtime exception reports
> from the field cause by this assert.
>
> NSAssert([[someWindow delegate] isKindOfClass:self], @"incorrect
> delegate class");
>
> We are fairly sure that the pointer to the window is valid and that
> the window object is still valid because of code before this point
> interacts with the window instance without issue.
>
> Basically we are trying to reproduce this issue in house and so far
> haven't been able to cause it. It appears to only affect a few
> customers and those affected consistently hit the assert (still trying
> to contact affected customers).
So I think an unrelated crash log from a customer that is also affect
by this runtime exception (assert) gives me a hint...
...
0x11ac3000 - 0x11ad4ffc +com.unsanity.ape 2.5 (2.5b1)
/Library/Frameworks/ApplicationEnhancer.framework/Versions/A/ApplicationEnhancer
0x11ae0000 - 0x11b02ff7 +com.unsanity.menumaster.ape 1.4.3b2 (1.4.3b2)
/Library/Application Enhancers/Menu Master.ape/Contents/MacOS/Menu
Master
0x11b52000 - 0x11b6dffd +com.unsanity.windowshadex.cocoa 4.2b1 (???)
<c05f172c8a7efe32846e234cf9d416de> /Library/Application
Enhancers/WindowShade X.ape/Contents/PlugIns/WindowShade X
Cocoa.ape/Contents/MacOS/WindowShade X Cocoa
0x11b90000 - 0x11bc6fe3 +com.unsanity.fruitmenu 3.7b2 (207)
/Library/Application Enhancers/FruitMenu.ape/Contents/MacOS/FruitMenu
0x11bd8000 - 0x11bd8ffd +com.yazsoft.SDEnhancer ??? (1.0)
<1c24784f37773ada58fa649b1df6a1b3>
/Library/InputManagers/SpeedDownload
Enhancer/SpeedDownloadEnhancer.bundle/Contents/MacOS/SpeedDownloadEnhancer
0x11d5d000 - 0x11d66ff7 +com.unsanity.smartcrashreports Smart Crash
Reports version 1.5b2 (1.5b2) /Library/InputManagers/Smart Crash
Reports/Smart Crash Reports.bundle/Contents/MacOS/Smart Crash Reports
0x11d73000 - 0x11d74fff +com.1passwd.InputManager 2.5.7 (5899)
<0ee7b2245d52c905764dad5b5072f832>
/Library/InputManagers/1PasswdIM/1PasswdIM.bundle/Contents/MacOS/1PasswdIM
0x11d79000 - 0x11d79ffd +com.unsanity.menumaster.menuisequalcat ???
(1.4.3b2) <01d0234b2be80aa79976d3fabccd06c4> /Library/Application
Enhancers/Menu Master.ape/Contents/Resources/MenuIsEqualCat.bundle/Contents/MacOS/MenuIsEqualCat
0x11e20000 - 0x11e92fff +com.DivXInc.DivXDecoder 6.4.0 (6.4.0)
/Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder
0x15d68000 - 0x15fa8fd2 +net.telestream.wmv.import 2.2.0.49 (2.2.0.49)
/Library/QuickTime/Flip4Mac WMV
Import.component/Contents/MacOS/Flip4Mac WMV Import
0x15fe0000 - 0x161a2fea +net.telestream.wmv.advanced 2.2.0.49
(2.2.0.49) /Library/QuickTime/Flip4Mac WMV
Advanced.component/Contents/MacOS/Flip4Mac WMV Advanced
0x16ed8000 - 0x16edbfff +com.stclairsoft.DefaultFolderX.osax Default
Folder X Addition version 1.0 (kBundleVersion)
<abea579c554b7767792fd3c4acaf0771>
/Users/gbr1/Library/ScriptingAdditions/Default Folder X
Addition.osax/Contents/MacOS/Default Folder X Addition
0x170c6000 - 0x170dcfff +com.rainmaker.SpellCatcher.InputMethod 10.2.3
(10.2.3) /Users/gbr1/Library/Components/Spell
Catcher.component/Contents/MacOS/Spell Catcher
0x170e7000 - 0x17108ff3 +com.stclairsoft.DefaultFolderX.CarbonPatcher
kBundleVersion (kBundleVersion) <e4d0fe7b5eb0290c63d11fc2fb5d4176>
/Library/PreferencePanes/Default Folder
X.prefPane/Contents/Resources/Default Folder
X.bundle/Contents/Resources/Carbon
Patcher.bundle/Contents/MacOS/Carbon Patcher
0x1711c000 - 0x1713aff7 +Cocoa Patcher ??? (???)
<34f21cf95eb2ed1d2bc0e5ac6616b420> /Library/PreferencePanes/Default
Folder X.prefPane/Contents/Resources/Default Folder
X.bundle/Contents/Resources/Cocoa Patcher.bundle/Contents/MacOS/Cocoa
Patcher
...
-Shawn
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden