我正在尝试使用Phonegap brodysoft Sqlite插件在数据库中插入大约900个base64图像。它正在工作,但100个数据后,我的应用程序崩溃。请给我任何解决方案。由于这个原因,我真的非常沮丧。
Android App的控制台日志
10-08 14:11:17.351: I/v8(10288): <--- JS stacktrace --->
10-08 14:11:17.351: I/v8(10288): ==== JS stack trace =========================================
10-08 14:11:17.351: I/v8(10288): Security context: 0x3480e829 <String[7]: file://>
10-08 14:11:17.351: I/v8(10288): 1: Join(aka Join) [native array.js:133] [pc=0x26f6fe3c] (this=0x41d080dd <undefined>,o=0x948fff29 <JS Array[600581]>,v=600581,C=0x41d08159 <String[0]: >,B=0x41d6d335 <JS Function ConvertToString (SharedFunctionInfo 0x41d37dbd)>)
10-08 14:11:17.351: I/v8(10288): 2: InnerArrayJoin(aka InnerArrayJoin) [native array.js:331] [pc=0x26f4b298] (this=0x41d080dd <undefined>,C=0x41d08159 <String[0]: >,o=0x948fff29 <JS Array[...
10-08 14:11:17.746: W/google-breakpad(10288): ### ### ### ### ### ### ### ### ### ### ### ### ###
10-08 14:11:17.746: W/google-breakpad(10288): Chrome build fingerprint:
10-08 14:11:17.746: W/google-breakpad(10288): 0.0.1
10-08 14:11:17.746: W/google-breakpad(10288): 1
10-08 14:11:17.746: W/google-breakpad(10288): 3287cb47-323f-452a-9071-08e954855982
10-08 14:11:17.746: W/google-breakpad(10288): ### ### ### ### ### ### ### ### ### ### ### ### ###
10-08 14:11:17.746: A/libc(10288): Fatal signal 11 (SIGSEGV), code 1, fault addr 0xfbadbeef in tid 10338 (Thread-5515)
答案 0 :(得分:0)
@Krishna,
你得到的错误fault addr 0xfbadbeef
对我来说似乎很奇怪。所以我查了一下。 According to Wikipedia
0xFBADBEEF(“bad beef”)在WebKit和Blink布局引擎中用于指示已知的,不可恢复的错误,例如内存不足
这表明你:
最好的运气