RunApplicationEventLoop freezes when using my framework
RunApplicationEventLoop freezes when using my framework
- Subject: RunApplicationEventLoop freezes when using my framework
- From: Andy Wiese <email@hidden>
- Date: Wed, 1 Dec 2004 03:31:02 -0600
Hi All,
Still having trouble getting an embedded framework to work.
1. I have a framework which is built to be an embedded framework. I
believe I set that up correctly.
2. I have a test application that embeds and links that framework. It
builds and runs, opens a window and executes a bunch of unit tests from
the framework, but it freezes in RunApplicationEventLoop.
3. I have another test application that is nearly identical, but builds
the framework code directly into the application. At first I had the
same problem, but then I looked at the Xcode application stationary and
saw that the sample app links libstdc++.a. I included that in the
Frameworks and Libraries phase, and now the monolithic sample app runs
fine (in RunApplicationEventLoop()).
I'm thinking that maybe I'm missing some library in either the
framework or app, since that fixed app 3. My framework links
Carbon.framework and libstdc++.a, test app 2 links Carbon.framework,
libstdc++.a, and m_core. Is there some other necessary library that I
am missing?
There are no error messages in the console. If I pause the app in the
debugger after it freezes, the stack trace always says:
#0 0x900074c8 in mach_msg_trap ()
#1 0x90007018 in mach_msg ()
#2 0x90191708 in __CFRunLoopRun ()
#3 0x90195e94 in CFRunLoopRunSpecific ()
#4 0x927d5f88 in GetWindowList ()
#5 0x927dc6f0 in GetMainEventQueue ()
#6 0x927fe1c8 in GetApplicationTextEncoding ()
#7 0x927fb698 in RunApplicationEventLoop ()
#8 0x0000a264 in main (argc=2141449080, argv=0x38810040) at
/Users/andy/Projects/m_sandbox/mx/m_core/source/main/M_main_dev.cpp:92
It seems stuck in GetApplicationTextEncoding, but I'm not sure what to
think of that.
Any suggestions what I should try next?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden