mach_msg

Discussion in 'iOS Programming' started by mpramodjain, Jan 30, 2009.

  1. mpramodjain macrumors regular

    Joined:
    Nov 20, 2008
    Location:
    Banglore
    #1
    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.
     
  2. xsmasher macrumors regular

    xsmasher

    Joined:
    Jul 18, 2008
    #2
    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.
     
  3. mpramodjain thread starter macrumors regular

    Joined:
    Nov 20, 2008
    Location:
    Banglore
    #3
    multiple http connections at a time using timer..


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

    xsmasher

    Joined:
    Jul 18, 2008
    #4
    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.)
     

Share This Page