Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mpramodjain

macrumors regular
Original poster
Nov 20, 2008
152
0
Banglore
Do any one know why this error occurs ,and how to resolve this..


#0 0x91ab54a6 in mach_msg_trap ()
#1 0x91abcc9c in mach_msg ()
#2 0x95b9f0ce in CFRunLoopRunSpecific ()
#3 0x95b9fcf8 in CFRunLoopRunInMode ()
#4 0x31699d38 in GSEventRunModal ()
#5 0x31699dfd in GSEventRun ()
#6 0x30a5dadb in -[UIApplication _run] ()
#7 0x30a68ce4 in UIApplicationMain ()

I am getting the above error when I am getting connected to remote server using http Connection.
 

xsmasher

macrumors regular
Jul 18, 2008
140
0
Do any one know why this error occurs ,and how to resolve this..

#0 0x91ab54a6 in mach_msg_trap ()
#1 0x91abcc9c in mach_msg ()
#2 0x95b9f0ce in CFRunLoopRunSpecific ()
#3 0x95b9fcf8 in CFRunLoopRunInMode ()
#4 0x31699d38 in GSEventRunModal ()
#5 0x31699dfd in GSEventRun ()
#6 0x30a5dadb in -[UIApplication _run] ()
#7 0x30a68ce4 in UIApplicationMain ()

I am getting the above error when I am getting connected to remote server using http Connection.

Are you using threads, or any kind of asynchonous calls? Do you know what line or area of your program this happens in? What is the simplest code that causes this problem that you can write? In short, what have you tried?

Unfortunately, the stack trace you provided doesn't contain enough info to figure out the problem.
 

mpramodjain

macrumors regular
Original poster
Nov 20, 2008
152
0
Banglore
multiple http connections at a time using timer..

Unfortunately, the stack trace you provided doesn't contain enough info to figure out the problem.


I am using timer, for creating multiple http connections asynchronous calls at a time...
 

xsmasher

macrumors regular
Jul 18, 2008
140
0
I am using timer, for creating multiple http connections asynchronous calls at a time...

A timer is usually used for repeating events at intervals, or for making something happen after a pause, not for creating multiple requests at the same time.

If you post the code for your timer and your asynchrononus requests, I'll look at it. (Just the code causing problems, not the whole app.)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.