cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shane Carr (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-5473) EXC_BAD_ACCESS on CDVPlugin that is re-opened after being closed
Date Sat, 07 Dec 2013 05:00:36 GMT

     [ https://issues.apache.org/jira/browse/CB-5473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shane Carr updated CB-5473:
---------------------------

    Description: 
We've been having an issue involving Cordova crashing as the modal view for our plugin opens.
 We have been able to reproduce the issue, and the steps are shown below.  The null pointer
seems to come from the {{WebCore::TimerBase::setNextFireTime}} method.

h2. Source Code

The source code for the project exhibiting this behavior can be cloned from BitBucket:

https://bitbucket.org/vote539/shopeel-camera/commits/838204b04aceb4fc6919bf1b6588ed69cea168ad

The above commit strips out nonessential details.  Please do not use the latest commit when
debugging.  If the app runs slowly even when you use the above commit, try removing (or modifying)
the weinre line on your local machine.

h2. Steps to Reproduce

The following steps have, without fail, reproduced the error for me.  I am unsure whether
this is the minimal set of steps.

# Build and run the app through XCode on a real iOS device.
# Tap the "Open Shopeel Camera" button.  The plugin view opens.
# Tap the "Cancel" button to close the plugin view.
# Wait at least 30 seconds.
# Tap the "Open Shopeel Camera" button again.
# Tap the "Cancel" button again.
# Wait at least 30 seconds.
# Tap the "Open Shopeel Camera" button a third time.  The app crashes.

h2. Error Log

The app always crashes on the following line:

{code}
0x32e6379e:  ldr.w  r0, [r0, r5, lsl #2]
{code}

The trace indicates that this occurs on the thread labeled {{com.apple.camera.avcapturesession}}
in the method named {{WebCore::TimerBase::setNextFireTime(double)}}.

  was:
We've been having an issue involving Cordova crashing as the modal view for our plugin opens.
 We have been able to reproduce the issue, and the steps are shown below.  The null pointer
seems to come from the {{WebCore::TimerBase::setNextFireTime}} method.

h2. Source Code

The source code for the project exhibiting this behavior can be cloned from BitBucket:

https://bitbucket.org/vote539/shopeel-camera/commits/838204b04aceb4fc6919bf1b6588ed69cea168ad

h2. Steps to Reproduce

The following steps have, without fail, reproduced the error for me.  I am unsure whether
this is the minimal set of steps.

# Build and run the app through XCode on a real iOS device.
# Tap the "Open Shopeel Camera" button.  The plugin view opens.
# Tap the "Cancel" button to close the plugin view.
# Wait at least 30 seconds.
# Tap the "Open Shopeel Camera" button again.
# Tap the "Cancel" button again.
# Wait at least 30 seconds.
# Tap the "Open Shopeel Camera" button a third time.  The app crashes.

h2. Error Log

The app always crashes on the following line:

{code}
0x32e6379e:  ldr.w  r0, [r0, r5, lsl #2]
{code}

The trace indicates that this occurs on the thread labeled {{com.apple.camera.avcapturesession}}
in the method named {{WebCore::TimerBase::setNextFireTime(double)}}.


> EXC_BAD_ACCESS on CDVPlugin that is re-opened after being closed
> ----------------------------------------------------------------
>
>                 Key: CB-5473
>                 URL: https://issues.apache.org/jira/browse/CB-5473
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 3.1.0
>         Environment: iOS 5.1 (possibly more)
>            Reporter: Shane Carr
>            Assignee: Shazron Abdullah
>            Priority: Critical
>              Labels: camera, crash, plugin
>
> We've been having an issue involving Cordova crashing as the modal view for our plugin
opens.  We have been able to reproduce the issue, and the steps are shown below.  The null
pointer seems to come from the {{WebCore::TimerBase::setNextFireTime}} method.
> h2. Source Code
> The source code for the project exhibiting this behavior can be cloned from BitBucket:
> https://bitbucket.org/vote539/shopeel-camera/commits/838204b04aceb4fc6919bf1b6588ed69cea168ad
> The above commit strips out nonessential details.  Please do not use the latest commit
when debugging.  If the app runs slowly even when you use the above commit, try removing (or
modifying) the weinre line on your local machine.
> h2. Steps to Reproduce
> The following steps have, without fail, reproduced the error for me.  I am unsure whether
this is the minimal set of steps.
> # Build and run the app through XCode on a real iOS device.
> # Tap the "Open Shopeel Camera" button.  The plugin view opens.
> # Tap the "Cancel" button to close the plugin view.
> # Wait at least 30 seconds.
> # Tap the "Open Shopeel Camera" button again.
> # Tap the "Cancel" button again.
> # Wait at least 30 seconds.
> # Tap the "Open Shopeel Camera" button a third time.  The app crashes.
> h2. Error Log
> The app always crashes on the following line:
> {code}
> 0x32e6379e:  ldr.w  r0, [r0, r5, lsl #2]
> {code}
> The trace indicates that this occurs on the thread labeled {{com.apple.camera.avcapturesession}}
in the method named {{WebCore::TimerBase::setNextFireTime(double)}}.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message