Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Strange crash in RunApplicationEventLoop()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Strange crash in RunApplicationEventLoop()



I'm writing a very simple Carbon app to test out a library I'm working on, and it's crashing deep inside the RunApplicationEventLoop () function. It only happens if certain code of mine runs first, but I don't see anything it's doing that could cause a crash -- that code just loads some data files and preps some variables, and doesn't seem to do anything that should affect the event manager.

My stack trace is:

Thread 0 Crashed:
0 com.apple.CoreFoundation 0x9074ef8c CFDictionaryGetValue + 56
1 com.apple.HIToolbox 0x93186ea0 GetProvidedServices() + 64
2 com.apple.HIToolbox 0x93186e44 RegisterForServices + 32
3 com.apple.HIToolbox 0x931863e4 _FirstEventTime + 328
4 com.apple.HIToolbox 0x93186280 CheckEventsInited + 48
5 com.apple.HIToolbox 0x9318610c RunCurrentEventLoopInMode + 52
6 com.apple.HIToolbox 0x931857ec ReceiveNextEventCommon + 244
7 com.apple.HIToolbox 0x931caca4 AcquireNextEventInMode + 72
8 com.apple.HIToolbox 0x931caa94 RunApplicationEventLoop + 132
9 main.ob 0x00043924 main + 304 (main.cpp:92)
10 ...ourcompany.MacCarbonTestApp 0x00002278 start + 456
11 dyld 0x8fe01048 _dyld_start + 60


Anyone know what Carbon is trying to do here that might help me figure out why my code makes it crash? If I could just understand what Carbon's trying to accomplish here, I might be able to fix the problem.

Thanks,

--
Eric Shepherd
email@hidden



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
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 © 2011 Apple Inc. All rights reserved.