Ajit Aranha created CB-1320:
-------------------------------
Summary: Cordova application crashes on android 2.3
Key: CB-1320
URL: https://issues.apache.org/jira/browse/CB-1320
Project: Apache Cordova
Issue Type: Bug
Components: Android
Affects Versions: 1.9.0
Environment: kobian mercury mtab running android 2.3
Reporter: Ajit Aranha
Assignee: Joe Bowser
Priority: Critical
Application is functionally similar cordova storage example at :
http://docs.phonegap.com/en/2.0.0/cordova_storage_storage.md.html#Storage
It is tested and works on android 2.2/4.0.4
On 2.3 application crashes following is the flow:
1. Application launches and initial html page is shown.
2. cordova storage api is used to create a database.
3. db.transaction(setupschema_applicationmethod, errorfunction,successfunction)
is called.
4. setupschema_applicationmethod completes and exits.
5. neither error or success callback is called, and application crashes.
08-31 16:37:15.116: D/V8GC(2513): browser total mem: 48MB
08-31 16:37:15.116: D/V8GC(2513): browser total mem: 48MB
08-31 16:37:15.126: I/DEBUG(1666): *** *** *** *** *** *** *** *** *** *** ***
*** *** *** *** ***
08-31 16:37:15.126: I/DEBUG(1666): Build fingerprint:
'rockchip/rk29sdk/rk29sdk:2.3.1/GINGERBREAD/eng.zjiawen.20111211.143032:eng/test-keys'
08-31 16:37:15.126: I/DEBUG(1666): pid: 2513, tid: 2541 >>>
com.giantslogik.helloandroid <<<
08-31 16:37:15.126: I/DEBUG(1666): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR),
fault addr 00000738
--
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