cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-4567) Run test mobile-spec "Benchmarks" ->"AutoBench", and it crashed on iOS!
Date Tue, 27 Aug 2013 15:16:52 GMT

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

ASF subversion and git services commented on CB-4567:
-----------------------------------------------------

Commit 9e5f8c59f8f240bd10896380c1c7448fb73cb103 in branch refs/heads/master from [~lmnbeyond]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=9e5f8c5 ]

[CB-4567] fix issue: "Benchmarks" ->"AutoBench" crashed on iOS

The problem seems to be that a lot of autoreleased objects fill up the
memory waiting to be released. So a solution is to add autorelease pool
scope to collect autoreleased objects and release them sooner.

FYI:http://stackoverflow.com/questions/13396560/cant-allocate-region-mal
loc-error-when-running-millions-of-iterations-of-loop

                
> Run test mobile-spec "Benchmarks" ->"AutoBench", and it crashed on iOS!
> -----------------------------------------------------------------------
>
>                 Key: CB-4567
>                 URL: https://issues.apache.org/jira/browse/CB-4567
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS, mobile-spec
>    Affects Versions: 3.0.0
>         Environment: Xcode Version 4.6.3 (4H1503)
> iPhone 6.1 simulator
>            Reporter: lmnbeyond
>            Assignee: Shazron Abdullah
>            Priority: Critical
>         Attachments: mobilespec_crash.png
>
>
> Output:
>     mobilespec(7767,0xacd64a28) malloc: mmap(size=16777216) failed (error code=12)
>     error: can't allocate region
>     set a breakpoint in malloc_error_break to debug

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message