cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Suescun (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-1934) Fatal signal 11 (SIGSEGV) at 0x00000024 (code=1) after running test App
Date Tue, 27 Nov 2012 16:03:58 GMT

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

David Suescun resolved CB-1934.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.0

After building a different app by changing only the HTML files, i realized the problem might
have been there.

I had to put my HTML through http://jsbeautifier.org/ and then in http://fixmyhtml.com/ (on
that order). I built a new app with that output and voila! it worked.

Thanks!
                
> Fatal signal 11 (SIGSEGV) at 0x00000024 (code=1) after running test App
> -----------------------------------------------------------------------
>
>                 Key: CB-1934
>                 URL: https://issues.apache.org/jira/browse/CB-1934
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, CordovaJS
>    Affects Versions: 2.2.0
>         Environment: Win 7, Eclipse, phonegap built
>            Reporter: David Suescun
>            Assignee: Filip Maj
>              Labels: crash, field, input, spreadsheetconverter,
>             Fix For: 2.2.0
>
>
> Hi everybody!!!
> I'm a noob using phonegap, and Eclipse... so lot's of room from improvement.
> I'm using SpreadSheetConverter to create an HTML5/Javascript website that I'm trying
to turn into an App...
> When i click on any input textbox the App automatically crashes and closes...
> My logCat log is the following:
> 11-13 23:23:00.820: I/webclipboard(10672): clipservice: android.sec.clipboard.ClipboardExManager@41619aa8
> 11-13 23:23:00.922: I/CordovaLog(10672): Changing log level to DEBUG(3)
> 11-13 23:23:00.929: I/CordovaLog(10672): Found preference for useBrowserHistory=true
> 11-13 23:23:00.929: D/CordovaLog(10672): Found preference for useBrowserHistory=true
> 11-13 23:23:00.929: I/CordovaLog(10672): Found preference for exit-on-suspend=false
> 11-13 23:23:00.929: D/CordovaLog(10672): Found preference for exit-on-suspend=false
> 11-13 23:23:00.968: D/JsMessageQueue(10672): Set native->JS mode to 2
> 11-13 23:23:00.976: D/DroidGap(10672): DroidGap.init()
> 11-13 23:23:01.132: D/CordovaWebView(10672): >>> loadUrl(file:///android_asset/www/index.html)
> 11-13 23:23:01.132: D/PluginManager(10672): init()
> 11-13 23:23:01.289: D/CordovaWebView(10672): >>> loadUrlNow()
> 11-13 23:23:01.289: D/DroidGap(10672): Resuming the App
> 11-13 23:23:01.406: D/DroidGap(10672): Paused the application!
> 11-13 23:23:01.406: D/CordovaWebView(10672): Handle the pause
> 11-13 23:23:01.406: D/WML_SISO(10672): InitPasteboardJni
> 11-13 23:23:01.414: D/SoftKeyboardDetect(10672): Ignore this event
> 11-13 23:23:01.437: D/SoftKeyboardDetect(10672): Ignore this event
> 11-13 23:23:01.836: W/webcore(10672): java.lang.Throwable: EventHub.removeMessages(int
what = 107) is not supported before the WebViewCore is set up.
> 11-13 23:23:01.836: W/webcore(10672): 	at android.webkit.WebViewCore$EventHub.removeMessages(WebViewCore.java:2473)
> 11-13 23:23:01.836: W/webcore(10672): 	at android.webkit.WebViewCore$EventHub.access$12700(WebViewCore.java:1211)
> 11-13 23:23:01.836: W/webcore(10672): 	at android.webkit.WebViewCore.removeMessages(WebViewCore.java:2585)
> 11-13 23:23:01.836: W/webcore(10672): 	at android.webkit.WebView.sendOurVisibleRect(WebView.java:3400)
> 11-13 23:23:01.836: W/webcore(10672): 	at android.webkit.ZoomManager.setZoomScale(ZoomManager.java:953)
> 11-13 23:23:01.836: W/webcore(10672): 	at android.webkit.ZoomManager.access$2100(ZoomManager.java:57)
> 11-13 23:23:01.836: W/webcore(10672): 	at android.webkit.ZoomManager$PostScale.run(ZoomManager.java:1447)
> 11-13 23:23:01.836: W/webcore(10672): 	at android.os.Handler.handleCallback(Handler.java:605)
> 11-13 23:23:01.836: W/webcore(10672): 	at android.os.Handler.dispatchMessage(Handler.java:92)
> 11-13 23:23:01.836: W/webcore(10672): 	at android.os.Looper.loop(Looper.java:137)
> 11-13 23:23:01.836: W/webcore(10672): 	at android.app.ActivityThread.main(ActivityThread.java:4512)
> 11-13 23:23:01.836: W/webcore(10672): 	at java.lang.reflect.Method.invokeNative(Native
Method)
> 11-13 23:23:01.836: W/webcore(10672): 	at java.lang.reflect.Method.invoke(Method.java:511)
> 11-13 23:23:01.836: W/webcore(10672): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:982)
> 11-13 23:23:01.836: W/webcore(10672): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:749)
> 11-13 23:23:01.836: W/webcore(10672): 	at dalvik.system.NativeStart.main(Native Method)
> 11-13 23:23:01.836: D/SoftKeyboardDetect(10672): Ignore this event
> 11-13 23:23:02.265: W/IInputConnectionWrapper(10672): showStatusIcon on inactive InputConnection
> 11-13 23:23:02.265: D/CLIPBOARD(10672): Hide Clipboard dialog at Starting input: finished
by someone else... !
> 11-13 23:23:02.281: W/IInputConnectionWrapper(10672): getExtractedText on inactive InputConnection
> 11-13 23:23:02.375: D/DroidGap(10672): onMessage(onPageStarted,file:///android_asset/www/index.html)
> 11-13 23:23:02.531: D/CordovaLog(10672): exception firing pause event from native
> 11-13 23:23:02.531: D/CordovaLog(10672): null: Line 1 : exception firing pause event
from native
> 11-13 23:23:02.656: D/dalvikvm(10672): GC_CONCURRENT freed 238K, 12% free 9323K/10503K,
paused 10ms+3ms
> 11-13 23:23:07.320: D/DroidGap(10672): Resuming the App
> 11-13 23:23:07.507: I/GATE(10672): <GATE-M>DEV_ACTION_COMPLETED</GATE-M>
> 11-13 23:23:07.507: D/Cordova(10672): onPageFinished(file:///android_asset/www/index.html)
> 11-13 23:23:07.515: D/DroidGap(10672): onMessage(onNativeReady,null)
> 11-13 23:23:07.515: D/DroidGap(10672): onMessage(onPageFinished,file:///android_asset/www/index.html)
> 11-13 23:23:07.851: I/SqliteDatabaseCpp(10672): sqlite returned: error code = 14, msg
= cannot open file at line 27827 of [ed759d5a9e], db=/data/data/com.example.logging.assistant/databases/webview.db
> 11-13 23:23:07.851: I/SqliteDatabaseCpp(10672): sqlite returned: error code = 14, msg
= os_unix.c: open() at line 27827 - "" errno=2 path=/CachedGeoposition.db, db=/data/data/com.example.logging.assistant/databases/webview.db
> 11-13 23:23:07.906: D/DroidGap(10672): onMessage(networkconnection,4g)
> 11-13 23:23:07.929: D/DroidGap(10672): onMessage(spinner,stop)
> 11-13 23:23:09.312: V/webview(10672):  singleCursorHandlerTouchEvent -getEditableSupport
 FASLE 
> 11-13 23:23:09.586: D/DroidGap(10672): onMessage(spinner,stop)
> 11-13 23:23:10.945: I/GATE(10672): <GATE-M>DEV_ACTION_COMPLETED</GATE-M>
> 11-13 23:23:10.945: D/Cordova(10672): onPageFinished(file:///android_asset/www/index.html#Sheet3)
> 11-13 23:23:11.000: D/DroidGap(10672): onMessage(onNativeReady,null)
> 11-13 23:23:11.000: D/DroidGap(10672): onMessage(onPageFinished,file:///android_asset/www/index.html#Sheet3)
> 11-13 23:23:13.765: V/webview(10672):  singleCursorHandlerTouchEvent -getEditableSupport
 FASLE 
> 11-13 23:23:13.937: A/libc(10672): Fatal signal 11 (SIGSEGV) at 0x00000024 (code=1)
> 11-13 23:23:23.336: D/dalvikvm(10672): GC_CONCURRENT freed 297K, 13% free 9432K/10759K,
paused 5ms+2ms
> 11-13 23:23:23.484: V/webview(10672):  singleCursorHandlerTouchEvent -getEditableSupport
 FASLE 
> 11-13 23:23:33.289: I/GATE(11015): <GATE-M>DEV_ACTION_COMPLETED</GATE-M>
> 11-13 23:23:33.289: D/Cordova(11015): onPageFinished(file:///android_asset/www/index.html)
> 11-13 23:23:33.289: D/DroidGap(11015): onMessage(onNativeReady,null)
> 11-13 23:23:33.289: D/DroidGap(11015): onMessage(onPageFinished,file:///android_asset/www/index.html)
> 11-13 23:23:33.336: I/SqliteDatabaseCpp(11015): sqlite returned: error code = 14, msg
= cannot open file at line 27827 of [ed759d5a9e], db=/data/data/com.example.logging.assistant/databases/webview.db
> 11-13 23:23:33.336: I/SqliteDatabaseCpp(11015): sqlite returned: error code = 14, msg
= os_unix.c: open() at line 27827 - "" errno=2 path=/CachedGeoposition.db, db=/data/data/com.example.logging.assistant/databases/webview.db
> 11-13 23:23:33.359: D/DroidGap(11015): onMessage(networkconnection,4g)
> 11-13 23:23:33.375: D/DroidGap(11015): onMessage(spinner,stop)
> 11-13 23:23:35.297: D/DroidGap(11015): onMessage(spinner,stop)
> 11-13 23:23:36.976: V/webview(11015):  singleCursorHandlerTouchEvent -getEditableSupport
 FASLE 
> 11-13 23:23:37.312: I/GATE(11015): <GATE-M>DEV_ACTION_COMPLETED</GATE-M>
> 11-13 23:23:37.312: D/Cordova(11015): onPageFinished(file:///android_asset/www/index.html#Sheet6)
> 11-13 23:23:37.312: D/DroidGap(11015): onMessage(onNativeReady,null)
> 11-13 23:23:37.312: D/DroidGap(11015): onMessage(onPageFinished,file:///android_asset/www/index.html#Sheet6)
> 11-13 23:23:38.750: V/webview(11015):  singleCursorHandlerTouchEvent -getEditableSupport
 FASLE 
> 11-13 23:23:38.820: A/libc(11015): Fatal signal 11 (SIGSEGV) at 0x00000024 (code=1)
> 11-13 23:34:22.882: I/webclipboard(11488): clipservice: android.sec.clipboard.ClipboardExManager@4161c520
> 11-13 23:34:23.000: I/CordovaLog(11488): Changing log level to DEBUG(3)
> 11-13 23:34:23.000: I/CordovaLog(11488): Found preference for useBrowserHistory=true
> 11-13 23:34:23.000: D/CordovaLog(11488): Found preference for useBrowserHistory=true
> 11-13 23:34:23.000: I/CordovaLog(11488): Found preference for exit-on-suspend=false
> 11-13 23:34:23.000: D/CordovaLog(11488): Found preference for exit-on-suspend=false
> 11-13 23:34:23.015: D/JsMessageQueue(11488): Set native->JS mode to 2
> 11-13 23:34:23.015: D/DroidGap(11488): DroidGap.init()
> 11-13 23:34:23.023: D/CordovaWebView(11488): >>> loadUrl(file:///android_asset/www/index.html)
> 11-13 23:34:23.023: D/PluginManager(11488): init()
> 11-13 23:34:23.031: D/CordovaWebView(11488): >>> loadUrlNow()
> 11-13 23:34:23.031: D/DroidGap(11488): Resuming the App
> 11-13 23:34:23.039: D/DroidGap(11488): Paused the application!
> 11-13 23:34:23.039: D/CordovaWebView(11488): Handle the pause
> 11-13 23:34:23.047: D/WML_SISO(11488): InitPasteboardJni
> 11-13 23:34:23.047: D/SoftKeyboardDetect(11488): Ignore this event
> 11-13 23:34:23.070: D/SoftKeyboardDetect(11488): Ignore this event
> 11-13 23:34:23.086: D/DroidGap(11488): onMessage(onPageStarted,file:///android_asset/www/index.html)
> 11-13 23:34:23.218: D/CordovaLog(11488): exception firing pause event from native
> 11-13 23:34:23.218: D/CordovaLog(11488): null: Line 1 : exception firing pause event
from native
> 11-13 23:34:23.320: D/dalvikvm(11488): GC_CONCURRENT freed 222K, 11% free 9353K/10503K,
paused 7ms+2ms
> 11-13 23:34:25.945: I/GATE(11488): <GATE-M>DEV_ACTION_COMPLETED</GATE-M>
> 11-13 23:34:25.945: D/Cordova(11488): onPageFinished(file:///android_asset/www/index.html)
> 11-13 23:34:25.953: D/DroidGap(11488): onMessage(onNativeReady,null)
> 11-13 23:34:25.953: D/DroidGap(11488): onMessage(onPageFinished,file:///android_asset/www/index.html)
> 11-13 23:34:26.015: I/SqliteDatabaseCpp(11488): sqlite returned: error code = 14, msg
= cannot open file at line 27827 of [ed759d5a9e], db=/data/data/com.example.logging.assistant/databases/webview.db
> 11-13 23:34:26.015: I/SqliteDatabaseCpp(11488): sqlite returned: error code = 14, msg
= os_unix.c: open() at line 27827 - "" errno=2 path=/CachedGeoposition.db, db=/data/data/com.example.logging.assistant/databases/webview.db
> 11-13 23:34:26.047: D/DroidGap(11488): onMessage(networkconnection,4g)
> 11-13 23:34:26.070: D/DroidGap(11488): onMessage(spinner,stop)
> 11-13 23:34:27.961: D/DroidGap(11488): onMessage(spinner,stop)
> 11-13 23:34:51.367: D/SoftKeyboardDetect(11488): Ignore this event
> 11-13 23:34:51.429: D/DroidGap(11488): Resuming the App
> 11-13 23:34:53.109: D/CLIPBOARD(11488): Hide Clipboard dialog at Starting input: finished
by someone else... !
> 11-13 23:34:56.859: V/webview(11488):  singleCursorHandlerTouchEvent -getEditableSupport
 FASLE 
> 11-13 23:34:57.187: I/GATE(11488): <GATE-M>DEV_ACTION_COMPLETED</GATE-M>
> 11-13 23:34:57.187: D/Cordova(11488): onPageFinished(file:///android_asset/www/index.html#Sheet6)
> 11-13 23:34:57.187: D/DroidGap(11488): onMessage(onNativeReady,null)
> 11-13 23:34:57.187: D/DroidGap(11488): onMessage(onPageFinished,file:///android_asset/www/index.html#Sheet6)
> 11-13 23:35:01.078: V/webview(11488):  singleCursorHandlerTouchEvent -getEditableSupport
 FASLE 
> 11-13 23:35:01.140: A/libc(11488): Fatal signal 11 (SIGSEGV) at 0x00000024 (code=1)
> Any idea why is this happening and how can i fix it?
> Thanks!!!!

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