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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to