Jason Dove created CB-1229:
------------------------------

             Summary: Application Crashes w/EXC_BAD_ACCESS on ResignActive
                 Key: CB-1229
                 URL: https://issues.apache.org/jira/browse/CB-1229
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 1.8.1
         Environment: iOS 5.1
            Reporter: Jason Dove
            Assignee: Shazron Abdullah
            Priority: Critical


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 ()


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to