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

signal 11 (SIGSEGV), code 2 (SEGV_ACCERR) split_config.arm64_v8a.apk!libsmart_cropper.so #129

Open
ahmadbajwa8282 opened this issue Jul 1, 2022 · 2 comments

Comments

@ahmadbajwa8282
Copy link


pid: 0, tid: 0 >>> com.markcon.scanner.pdf.scan.document <<<

backtrace:
#00 pc 000000000017e328 /data/app/~~sbjGtIw3zY3fcIYymTJQ3g==/com.markcon.scanner.pdf.scan.document-0Q336A1CdNn2cgGahsbn9g==/split_config.arm64_v8a.apk!libsmart_cropper.so
#00 pc 000000000017f428 /data/app/~~sbjGtIw3zY3fcIYymTJQ3g==/com.markcon.scanner.pdf.scan.document-0Q336A1CdNn2cgGahsbn9g==/split_config.arm64_v8a.apk!libsmart_cropper.so (cvBoundingRect+252)
#00 pc 00000000000ea5e8 /data/app/~~sbjGtIw3zY3fcIYymTJQ3g==/com.markcon.scanner.pdf.scan.document-0Q336A1CdNn2cgGahsbn9g==/split_config.arm64_v8a.apk!libsmart_cropper.so (cvFindNextContour+2148)
#00 pc 00000000000eb73c /data/app/~~sbjGtIw3zY3fcIYymTJQ3g==/com.markcon.scanner.pdf.scan.document-0Q336A1CdNn2cgGahsbn9g==/split_config.arm64_v8a.apk!libsmart_cropper.so
#00 pc 00000000000ec7a8 /data/app/~~sbjGtIw3zY3fcIYymTJQ3g==/com.markcon.scanner.pdf.scan.document-0Q336A1CdNn2cgGahsbn9g==/split_config.arm64_v8a.apk!libsmart_cropper.so (cv::findContours(cv::_InputArray const&, cv::_OutputArray const&, cv::OutputArray const&, int, int, cv::Point)+984)
#00 pc 00000000000ed164 /data/app/~~sbjGtIw3zY3fcIYymTJQ3g==/com.markcon.scanner.pdf.scan.document-0Q336A1CdNn2cgGahsbn9g==/split_config.arm64_v8a.apk!libsmart_cropper.so (cv::findContours(cv::_InputArray const&, cv::OutputArray const&, int, int, cv::Point)+108)
#00 pc 00000000000a6f3c /data/app/~~sbjGtIw3zY3fcIYymTJQ3g==/com.markcon.scanner.pdf.scan.document-0Q336A1CdNn2cgGahsbn9g==/split_config.arm64_v8a.apk!libsmart_cropper.so (scanner::Scanner::scanPoint()+316)
#00 pc 00000000000a7a18 /data/app/~~sbjGtIw3zY3fcIYymTJQ3g==/com.markcon.scanner.pdf.scan.document-0Q336A1CdNn2cgGahsbn9g==/split_config.arm64_v8a.apk!libsmart_cropper.so (scanner::Scanner::scanPoint()+3096)
#00 pc 00000000000ad300 /data/app/~~sbjGtIw3zY3fcIYymTJQ3g==/com.markcon.scanner.pdf.scan.document-0Q336A1CdNn2cgGahsbn9g==/split_config.arm64_v8a.apk!libsmart_cropper.so
#00 pc 000000000009fdd8 /data/app/~~sbjGtIw3zY3fcIYymTJQ3g==/com.markcon.scanner.pdf.scan.document-0Q336A1CdNn2cgGahsbn9g==/oat/arm64/base.odex (art_jni_trampoline+136)
#00 pc 0000000000209188 /apex/com.android.art/lib64/libart.so (nterp_helper+152)
#00 pc 00000000003e7000 /data/app/~~sbjGtIw3zY3fcIYymTJQ3g==/com.markcon.scanner.pdf.scan.document-0Q336A1CdNn2cgGahsbn9g==/oat/arm64/base.vdex
#00 pc 000000000020a044 /apex/com.android.art/lib64/libart.so (nterp_helper+3924)
#00 pc 00000000005c9704 /data/app/~~sbjGtIw3zY3fcIYymTJQ3g==/com.markcon.scanner.pdf.scan.document-0Q336A1CdNn2cgGahsbn9g==/oat/arm64/base.vdex
#00 pc 000000000020a044 /apex/com.android.art/lib64/libart.so (nterp_helper+3924)
#00 pc 00000000002a42fc /data/app/~~sbjGtIw3zY3fcIYymTJQ3g==/com.markcon.scanner.pdf.scan.document-0Q336A1CdNn2cgGahsbn9g==/oat/arm64/base.vdex
#00 pc 000000000020a044 /apex/com.android.art/lib64/libart.so (nterp_helper+3924)
#00 pc 00000000002a6134 /data/app/~~sbjGtIw3zY3fcIYymTJQ3g==/com.markcon.scanner.pdf.scan.document-0Q336A1CdNn2cgGahsbn9g==/oat/arm64/base.vdex
#00 pc 000000000020a044 /apex/com.android.art/lib64/libart.so (nterp_helper+3924)
#00 pc 00000000002a5e50 /data/app/~~sbjGtIw3zY3fcIYymTJQ3g==/com.markcon.scanner.pdf.scan.document-0Q336A1CdNn2cgGahsbn9g==/oat/arm64/base.vdex
#00 pc 0000000000761ab0 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.view.View.measure+1264)
#00 pc 0000000000858cc0 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.widget.RelativeLayout.measureChildHorizontal+368)
#00 pc 0000000000859fa4 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.widget.RelativeLayout.onMeasure+772)
#00 pc 0000000000761ab0 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.view.View.measure+1264)
#00 pc 00000000007f2e20 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.view.ViewGroup.measureChildWithMargins+624)
#00 pc 000000000084ebf4 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.widget.FrameLayout.onMeasure+340)
#00 pc 00000000001fe8b8 /data/app/~~sbjGtIw3zY3fcIYymTJQ3g==/com.markcon.scanner.pdf.scan.document-0Q336A1CdNn2cgGahsbn9g==/oat/arm64/base.odex (com.google.android.material.card.MaterialCardView.onMeasure+56)
#00 pc 0000000000761ab0 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.view.View.measure+1264)
#00 pc 0000000000858cc0 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.widget.RelativeLayout.measureChildHorizontal+368)
#00 pc 0000000000859fa4 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.widget.RelativeLayout.onMeasure+772)
#00 pc 0000000000761ab0 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.view.View.measure+1264)
#00 pc 00000000007f2e20 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.view.ViewGroup.measureChildWithMargins+624)
#00 pc 000000000084ebf4 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.widget.FrameLayout.onMeasure+340)
#00 pc 00000000000d4e50 /data/app/~~sbjGtIw3zY3fcIYymTJQ3g==/com.markcon.scanner.pdf.scan.document-0Q336A1CdNn2cgGahsbn9g==/oat/arm64/base.odex (androidx.appcompat.widget.ContentFrameLayout.onMeasure+736)
#00 pc 0000000000761ab0 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.view.View.measure+1264)
#00 pc 00000000007f2e20 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.view.ViewGroup.measureChildWithMargins+624)
#00 pc 0000000000854450 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.widget.LinearLayout.measureChildBeforeLayout+64)
#00 pc 0000000000855e04 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.widget.LinearLayout.measureVertical+852)
#00 pc 0000000000856be4 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.widget.LinearLayout.onMeasure+52)
#00 pc 0000000000761ab0 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.view.View.measure+1264)
#00 pc 00000000007f2e20 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.view.ViewGroup.measureChildWithMargins+624)
#00 pc 000000000084ebf4 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.widget.FrameLayout.onMeasure+340)
#00 pc 0000000000761ab0 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.view.View.measure+1264)
#00 pc 00000000007f2e20 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.view.ViewGroup.measureChildWithMargins+624)
#00 pc 0000000000854450 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.widget.LinearLayout.measureChildBeforeLayout+64)
#00 pc 0000000000855e04 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.widget.LinearLayout.measureVertical+852)
#00 pc 0000000000856be4 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.widget.LinearLayout.onMeasure+52)
#00 pc 0000000000761ab0 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.view.View.measure+1264)
#00 pc 00000000007f2e20 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.view.ViewGroup.measureChildWithMargins+624)
#00 pc 000000000020a7c8 /apex/com.android.art/lib64/libart.so (nterp_helper+5848)
#00 pc 0000000000342320 /system/framework/framework.jar
#00 pc 000000000084ebf4 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.widget.FrameLayout.onMeasure+340)
#00 pc 0000000000906da0 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (com.android.internal.policy.DecorView.onMeasure+1376)
#00 pc 0000000000761ab0 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.view.View.measure+1264)
#00 pc 00000000007893fc /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.view.ViewRootImpl.performMeasure+156)
#00 pc 0000000000786cac /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.view.ViewRootImpl.measureHierarchy+3116)
#00 pc 0000000000789f74 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.view.ViewRootImpl.performTraversals+2772)
#00 pc 0000000000791fc0 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.view.ViewRootImpl.doTraversal+160)
#00 pc 0000000000699420 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.view.ViewRootImpl$TraversalRunnable.run+64)
#00 pc 000000000067a354 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.view.Choreographer.doCallbacks+772)
#00 pc 000000000067ac38 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.view.Choreographer.doFrame+1688)
#00 pc 000000000072023c /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.view.Choreographer$FrameDisplayEventReceiver.run+92)
#00 pc 0000000000548d20 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.os.Handler.dispatchMessage+80)
#00 pc 000000000054bc60 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.os.Looper.loopOnce+1072)
#00 pc 000000000054b794 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.os.Looper.loop+516)
#00 pc 000000000031b0a4 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (android.app.ActivityThread.main+948)
#00 pc 00000000002ca9e8 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+568)
#00 pc 000000000035b5d0 /apex/com.android.art/lib64/libart.so (_jobject* art::InvokeMethod<(art::PointerSize)8>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned long)+608)
#00 pc 000000000035b348 /apex/com.android.art/lib64/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*)+52)
#00 pc 00000000000b2f74 /apex/com.android.art/javalib/arm64/boot.oat (art_jni_trampoline+132)
#00 pc 000000000088cc9c /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+140)
#00 pc 00000000008950ec /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot-framework.oat (com.android.internal.os.ZygoteInit.main+2588)
#00 pc 00000000002ca9e8 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+568)
#00 pc 000000000044ca04 /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+464)
#00 pc 000000000062cf30 /apex/com.android.art/lib64/libart.so (art::JNI::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+268)
#00 pc 00000000000b1bf8 /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+124)
#00 pc 00000000000bd720 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vectorandroid::String8 const&, bool)+996)
#00 pc 0000000000002594 /system/bin/app_process64 (main+1340)
#00 pc 0000000000049ec0 /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+100)

@chsring
Copy link

chsring commented Jun 7, 2023

同样遇到了,求解

@chensuyu
Copy link

// 如果使用机器学习代替 Canny 算子,请初始化 ImageDetector
SmartCropper.buildImageDetector(this);

我使用机器学习裁剪,解决了这个问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants