Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SIGSEGV(SEGV_MAPERR) #186

Closed
nearchan opened this issue Nov 28, 2017 · 2 comments
Closed

SIGSEGV(SEGV_MAPERR) #186

nearchan opened this issue Nov 28, 2017 · 2 comments

Comments

@nearchan
Copy link

nearchan commented Nov 28, 2017

对应的 WCDB 语言 ( The language of WCDB )

Java

WCDB 的版本号 ( The version of WCDB )

v1.0.5

WCDB 的平台 ( The platform of WCDB )

Android

WCDB 的安装方式 ( The installation of WCDB )

Gradle Maven

遇到的问题 ( What's the issue? )

Only armeabi-v7a has this problem.
device info:

  1. 长虹 X9 (Android 6.1)
  2. KT-101-A(Android 6.0)
  3. MAICHAI(Android 6.1)

SIGSEGV(SEGV_MAPERR)
#00 pc 00026398 /system/lib/libc.so (__memcpy_base+44) [armeabi-v7a]
#1 pc 000314c3 /data/app-lib/***********************-1/libwcdb.so (sqlcipher_page_cipher+82) [armeabi-v7a]
#2 pc 00042efd /data/app-lib/
-1/libwcdb.so [armeabi-v7a]
#3 pc 00023e01 /data/app-lib/
-1/libwcdb.so [armeabi-v7a]
#4 pc 0004d741 /data/app-lib/
-1/libwcdb.so [armeabi-v7a]
#5 pc 0004d88b /data/app-lib/
-1/libwcdb.so [armeabi-v7a]
#6 pc 0004eb67 /data/app-lib/
-1/libwcdb.so [armeabi-v7a]
#7 pc 0006f4cd /data/app-lib/
-1/libwcdb.so [armeabi-v7a]
#8 pc 0006f6f7 /data/app-lib/
-1/libwcdb.so [armeabi-v7a]
#9 pc 0006f763 /data/app-lib/
-1/libwcdb.so [armeabi-v7a]
#10 pc 00063725 /data/app-lib/
-1/libwcdb.so [armeabi-v7a]
#11 pc 0006741b /data/app-lib/
-1/libwcdb.so [armeabi-v7a]
#12 pc 00068961 /data/app-lib/
-1/libwcdb.so [armeabi-v7a]
#13 pc 00068b7f /data/app-lib/
-1/libwcdb.so [armeabi-v7a]
#14 pc 00081617 /data/app-lib/
-1/libwcdb.so [armeabi-v7a]
#15 pc 000816ab /data/app-lib/
-1/libwcdb.so (sqlite3_prepare16_v2+10) [armeabi-v7a]
#16 pc 00014181 /data/app-lib/
*********************-1/libwcdb.so [armeabi-v7a]
#17 pc 0001e74c /system/lib/libdvm.so (dvmPlatformInvoke+112) [armeabi-v7a]
#18 pc 0004f9fd /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+484) [armeabi-v7a]
#19 pc 00027b28 /system/lib/libdvm.so [armeabi-v7a]
#20 pc 0002f130 /system/lib/libdvm.so (dvmMterpStd(Thread*)+76) [armeabi-v7a]
#21 pc 0002c614 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+188) [armeabi-v7a]
#22 pc 00063075 /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+400) [armeabi-v7a]
#23 pc 0006b5ef /system/lib/libdvm.so [armeabi-v7a]
#24 pc 00027b28 /system/lib/libdvm.so [armeabi-v7a]
#25 pc 0002f130 /system/lib/libdvm.so (dvmMterpStd(Thread*)+76) [armeabi-v7a]
#26 pc 0002c614 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+188) [armeabi-v7a]
#27 pc 00062d39 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+340) [armeabi-v7a]
#28 pc 0004b261 /system/lib/libdvm.so [armeabi-v7a]
#29 pc 0004f177 /system/lib/libandroid_runtime.so [armeabi-v7a]
#30 pc 0004ff17 /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+370) [armeabi-v7a]
#31 pc 0000105b /system/bin/app_process [armeabi-v7a]
#32 pc 0000f31c /system/lib/libc.so (__libc_init+100) [armeabi-v7a]
#33 pc 00000d7c /system/bin/app_process [armeabi-v7a]
java:
com.tencent.wcdb.database.SQLiteConnection.nativePrepareStatement(Native Method)
com.tencent.wcdb.database.SQLiteConnection.acquirePreparedStatement(SourceFile:962)
com.tencent.wcdb.database.SQLiteConnection.executeForString(SourceFile:741)
com.tencent.wcdb.database.SQLiteConnection.setJournalMode(SourceFile:386)
com.tencent.wcdb.database.SQLiteConnection.setWalModeFromConfiguration(SourceFile:376)
com.tencent.wcdb.database.SQLiteConnection.open(SourceFile:267)
com.tencent.wcdb.database.SQLiteConnection.open(SourceFile:233)
com.tencent.wcdb.database.SQLiteConnectionPool.openConnectionLocked(SourceFile:497)
com.tencent.wcdb.database.SQLiteConnectionPool.open(SourceFile:211)
com.tencent.wcdb.database.SQLiteConnectionPool.open(SourceFile:203)
com.tencent.wcdb.database.SQLiteDatabase.openInner(SourceFile:1008)
com.tencent.wcdb.database.SQLiteDatabase.open(SourceFile:989)
com.tencent.wcdb.database.SQLiteDatabase.openDatabase(SourceFile:721)
com.tencent.wcdb.database.SQLiteDatabase.openOrCreateDatabase(SourceFile:882)
com.tencent.wcdb.database.SQLiteDatabase.openOrCreateDatabase(SourceFile:910)
*****************.c.a.y(SourceFile:217)
*****************.a.e.gR(SourceFile:247)
*****************.a.e.gM(SourceFile:137)
*****************.a.e.onCreate(SourceFile:125)
*****************.pospal_pos_android_new.app.PospalApp.onCreate(SourceFile:24)
android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1007)
android.app.ActivityThread.handleBindApplication(ActivityThread.java:4541)
android.app.ActivityThread.access$1500(ActivityThread.java:151)
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1381)
android.os.Handler.dispatchMessage(Handler.java:110)
android.os.Looper.loop(Looper.java:193)
android.app.ActivityThread.main(ActivityThread.java:5292)
java.lang.reflect.Method.invokeNative(Native Method)
java.lang.reflect.Method.invoke(Method.java:515)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:824)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:640)
dalvik.system.NativeStart.main(Native Method)

@John-He-928
Copy link
Collaborator

这个比较像是特定机器系统库的问题,目前我们手上的设备无法复现

@stale
Copy link

stale bot commented Sep 20, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Sep 20, 2018
@stale stale bot closed this as completed Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants