Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-1229

Application Crashes w/EXC_BAD_ACCESS on ResignActive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Cannot Reproduce
    • 1.8.1
    • 2.1.0
    • cordova-ios
    • None
    • iOS 5.1

    Description

      I recently moved from PG 1.2 to 1.8.1.

      On Android I have no issues. On iOS, whenever I press the home button the application crashes with an EXC_BAD_ACCESS.

      I have my own backgroundTask that also ran on ResignActive, and I thought it could be a problem, so I removed it and retested, unfortunately the app is still failing.

      CallStack from the crash:
      #0 0x02acf09f in objc_msgSend ()
      #1 0x0023ab52 in -[_UIBackgroundTaskInfo dealloc] ()
      #2 0x02acfe3d in _objc_rootRelease ()
      #3 0x014861d4 in releaseObjectMT ()
      #4 0x014832b9 in __NSMapTableCallback ()
      #5 0x01493686 in CFBasicHashRemoveValue ()
      #6 0x01493181 in -[NSClassicMapTable removeObjectForKey:] ()
      #7 0x01493115 in NSMapRemove ()
      #8 0x0024e15d in -[UIApplication endBackgroundTask:] ()
      #9 0x00118f99 in __33-[CDVLocalStorage onResignActive]_block_invoke_0203 ()
      #10 0x04a4d330 in _dispatch_call_block_and_release ()
      #11 0x04a4e439 in _dispatch_worker_thread2 ()
      #12 0x988a1b24 in _pthread_wqthread ()
      #13 0x988a36fe in start_wqthread ()

      Attachments

        1. zombie.png
          301 kB
          Shazron Abdullah

        Issue Links

          Activity

            People

              shazron Shazron Abdullah
              jason_d Jason D
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: