Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EXC_BAD_ACCESS in StoreEventParam



I'm getting an EXC_BAD_ACCESS in StoreEventParam. I'm a bit lost because
this crash is happening 15 calls deep into Carbon from my code.

Here one call stack
StoreEventParam
SetEventParameter
CreateWindowEvent
HitTestWindowDefinition
_FindWindowPartHit
AddWindowDataToMouseEvent
CreateMouseButtonEventFromCGEvent
ConvertPlatformEventRecordAndPostWithOptions
PullEventsFromWindowServerOnConnection
MessageHandler
__CFMachPortPerform
CFRunLoopRunSpecific
CFRunLoopRunInMode
RunCurrentEventLoopInMode
ReceiveNextEventCommon
ReceiveNextEvent

And here is another call stack:
StoreEventParam
SetEventParameter
SendShowHideEvent
_ShowHideWindow
ShowHide
SetMenuBarObscured
HIApplication::FrontUILost
HIApplication::HandleActivated
HIApplication::EventObserver
_NotifyEventLoopObservers
AcquireEventFromQueue
ReceiveNextEventCommon
ReceiveNextEvent

In both cases, my call to ReceiveNextEvent is pretty straightforward:
ReceiveNextEvent( 0, NULL, kEventDurationForever, true, &event );
where EventRef was declared 2 statements ago.

I'm clueless. If anybody have experience with that or can point to something
from the call stack, I would greatly appreciate.

Yves Poissant
Hash Inc.


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.