incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lyle Pratt (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-885) Crash when sliding the notification tray and/or tel link confirm dialog
Date Wed, 13 Jun 2012 20:27:42 GMT

    [ https://issues.apache.org/jira/browse/CB-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13294639#comment-13294639
] 

Lyle Pratt commented on CB-885:
-------------------------------

I'm actually experiencing this same issue when using Push Notifications with Cordova. Basically,
the first time you request an APN, iOS asks for Push Notification permission via an alert.
That alert crashes the app with this error:

2012-06-13 11:20:35.434 BetterVoicemail[667:7113] bool _WebTryThreadLock(bool), 0x190670:
Tried to obtain the web lock from a thread other than the main thread or the web thread. This
may be a result of calling to UIKit from a secondary thread. Crashing now..

Shazron, do you think your commit will fix that issue? 1.8.1 is scheduled to be released tomorrow.
Does it contain the fix?

Thanks!
Lyle
                
> Crash when sliding the notification tray and/or tel link confirm dialog
> -----------------------------------------------------------------------
>
>                 Key: CB-885
>                 URL: https://issues.apache.org/jira/browse/CB-885
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 1.8.0
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>            Priority: Critical
>             Fix For: 1.8.1
>
>
> my app crashes when I invoke some native iOS UI (i.e. Manually pulling the Notification
tray on top of the app, clicking a link that invokes a native Call dialog, etc). 
> EmployeeDirectory18[2451:7103] bool _WebTryThreadLock(bool), 0x3a2f60: Tried to obtain
the web lock from a thread other than the main thread or the web thread. This may be a result
of calling to UIKit from a secondary thread. Crashing now...
> 1   _ZL17_WebTryThreadLockb
> 2   WebThreadLock
> 3   -[UIWebView stringByEvaluatingJavaScriptFromString:]
> 4   -[CDVPlugin writeJavascript:]
> 5   -[CDVLocalStorage backup:withDict:]
> 6   __33-[CDVLocalStorage onResignActive]_block_invoke_0201
> 7   _dispatch_call_block_and_release
> 8   _dispatch_worker_thread2
> 9   _pthread_wqthread
> 10  start_wqthread
> (lldb) 

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

        

Mime
View raw message