Re: Weird crash in sendEvent - right click vs control click
Re: Weird crash in sendEvent - right click vs control click
- Subject: Re: Weird crash in sendEvent - right click vs control click
- From: Andrew Merenbach <email@hidden>
- Date: Tue, 13 May 2008 21:33:18 -0700
Hi, Brett,
Is it possible that you have any haxies, or any Input Managers, of any
sort installed? Logitech Control Center, for instance, or perhaps
APE? That's the only thing that I could think of that might be
yielding such a crash.
Cheers,
Andrew
On May 13, 2008, at 9:21 PM, Brett Powley wrote:
Hi,
I'm having a rather weird crash in a Cocoa application. If I
control-click on a window, my application crashes instantly. If I
right click, it doesn't (and indeed my rightMouse method is
eventually called as I want it to be).
I've tried enabling zombies, but that doesn't catch anything.
The stack trace is rather short:
objc_msgSend
-[NSWindow sendEvent:]
-[MyWindow sendEvent:]
-[NSApplication sendEvent:]
-[MyApplication sendEvent:]
-[NSApplication run]
NSApplicationMain
main
That leads to the questions:
(1) What's the difference between a control click and a right click
that would lead the former to cause a crash and the latter not to?
(2) What's likely to be the cause of a crash in NSWindow sendEvent: ?
Thanks,
Brett
_______________________________________________
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
_______________________________________________
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