incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sandstrom (Issue Comment Edited) (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (CB-264) camera.getPicture() CRASH when repeatedly called on iOS
Date Mon, 12 Mar 2012 14:54:43 GMT

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

sandstrom edited comment on CB-264 at 3/12/12 2:54 PM:
-------------------------------------------------------

I can confirm that we have this error too. Haven't seen it in the iOS Simulator but very frequently
when running on my phone (iPhone 4S).

Though there are a few minor differences it's more or less the same code we've used with Phonegap
1.0 for a couple of months without any problems.

It seems like the problem occur when a second picture is being taken, the first one typically
works. I've got very little experience with Objective-C, but the backtrace output is the following:
http://pastie.org/3578048

Could it have something to do with changed defaults in recent Xcode versions (we use 4.3.1)?

Let me know if I can provide more information or elaborate on something.
                
      was (Author: sandstrom):
    I can confirm that we have this error too. Haven't seen it in the iOS Simulator but very
frequently when running on my phone (iPhone 4S).

Though there are a few minor differences it's more or less the same code we've used with Phonegap
1.0 for a couple of months without any problems.

It seems like the problem occur when a second picture is being taken, the first one typically
works. I've got very little experience with Objective-C, but the backtrace output is the following:
http://pastie.org/3578048

Let me know if I can provide more information or elaborate on the problem.
                  
> camera.getPicture() CRASH when repeatedly called on iOS
> -------------------------------------------------------
>
>                 Key: CB-264
>                 URL: https://issues.apache.org/jira/browse/CB-264
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 1.4.0
>         Environment: PG 1.4.1 on iOS
> Crash on iPhone4S, iPad2 and iPod Touch
>            Reporter: Phil Haeusler
>            Assignee: Shazron Abdullah
>            Priority: Critical
>             Fix For: 1.6.0
>
>
> We are experiencing an intermittent crash when calling camera.getPicture() on multiple
devices.  The crash can occur either as the pickerController is popped in from the bottom,
or after you tap the Use button to accept the picture.  The app requires the taking and review
of pictures in a fairly fast manner.  We've found the crash can occur anytime after we've
capture only 1 or 2 photos.  Sometimes we go for quite a while without crashing.
> We see that the images captured are stored in tmp/photo_nnn.jpg, but we do not believe
we've reached any storage limits here.  
> We are taking the image and displaying it in a <img> - so possibly there is an
issue with UIWebView retaining references to previously loaded images, and exhausting it's
memory.  But not really sure if that could be an issue.
> We've created a small app that we can crash by repeated taking and viewing images.  There
doesn't seem to be anything special about it.
> https://gist.github.com/1868997

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