Quantcast
Viewing latest article 1
Browse Latest Browse All 4

evalJS crashing on Android with SIGSEGV

I have an application working (almost) perfectly on iOS, but it's crashing on Android with SIGSEGV.

The main part of the app is a webview, and I communicate with it view evalJS() from the Titanium code and Ti.App.fireEvent() from the webview-side JS. The display and initialization of the webview with a call to evalJS("initScript([args]") is pretty straightforward.

However, evalJS() on Android causes the app to force-close, and the trace log shows this around the crash: http://pastie.org/1754641

I've noticed other people talking on here about evalJS() causing a crash/force-close on Android, but they don't give any information about their stack trace to see if it's potentially the same sort of thing.

Does anyone with any better technical knowledge of the internals of things have any suggestions as to where to look for the problem?


Viewing latest article 1
Browse Latest Browse All 4

Trending Articles