A binary program which runs on Android 6.0 crashes when calling QSslSocket connect to the host.
-
Hi;
Development environment: Fedora 14, QT5.3.2;
Running environment: Android 6.0, borningssl;A binary program compiled with QT5.3.2, which runs on Android 6.0, crashes when calling QSslSocket connect to the host. Since Android 6.0 uses borningssl, not openssl.
But the same binary program runs successfully on Android 5.1, while Android 5.1 uses openssl.My questiong:
How to make the binary program that calls QSslSocket run on Android 6.0 ? -
@jsulm thanks,
android6.0 logcat as follows; crash at the point "backtrace:/system/lib/libc.so"11-03 16:07:57.870 554 712 I DEBUG : checkComponentPermission pid = 0 , pr = null 11-03 16:07:57.910 554 566 I DEBUG : checkComponentPermission pid = 0 , pr = null 11-03 16:07:58.869 554 711 I DEBUG : checkComponentPermission pid = 0 , pr = null 11-03 16:07:58.909 554 568 I DEBUG : checkComponentPermission pid = 0 , pr = null 11-03 16:07:59.869 554 847 I DEBUG : checkComponentPermission pid = 0 , pr = null 11-03 16:07:59.909 554 565 I DEBUG : checkComponentPermission pid = 0 , pr = null 11-03 16:08:00.002 554 554 I DEBUG : checkComponentPermission pid = 657 , pr = ProcessRecord{cd369a2 657:com.android.systemui/1000} 11-03 16:08:00.012 554 713 I DEBUG : checkComponentPermission pid = 657 , pr = ProcessRecord{cd369a2 657:com.android.systemui/1000} 11-03 16:08:00.012 554 566 I DEBUG : checkComponentPermission pid = 657 , pr = ProcessRecord{cd369a2 657:com.android.systemui/1000} 11-03 16:08:00.031 554 711 I DEBUG : checkComponentPermission pid = 657 , pr = ProcessRecord{cd369a2 657:com.android.systemui/1000} 11-03 16:08:00.041 554 568 I DEBUG : checkComponentPermission pid = 657 , pr = ProcessRecord{cd369a2 657:com.android.systemui/1000} 11-03 16:08:00.051 554 847 I DEBUG : checkComponentPermission pid = 657 , pr = ProcessRecord{cd369a2 657:com.android.systemui/1000} 11-03 16:08:00.055 554 562 E StrictMode: A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks. 11-03 16:08:00.055 554 562 E StrictMode: java.lang.Throwable: Explicit termination method 'end' not called 11-03 16:08:00.055 554 562 E StrictMode: at dalvik.system.CloseGuard.open(CloseGuard.java:180) 11-03 16:08:00.055 554 562 E StrictMode: at java.util.zip.Inflater.<init>(Inflater.java:82) 11-03 16:08:00.055 554 562 E StrictMode: at java.util.zip.ZipFile.getInputStream(ZipFile.java:343) 11-03 16:08:00.055 554 562 E StrictMode: at com.android.server.DropBoxManagerService.add(DropBoxManagerService.java:298) 11-03 16:08:00.055 554 562 E StrictMode: at com.android.server.DropBoxManagerService$3.handleMessage(DropBoxManagerService.java:171) 11-03 16:08:00.055 554 562 E StrictMode: at android.os.Handler.dispatchMessage(Handler.java:102) 11-03 16:08:00.055 554 562 E StrictMode: at android.os.Looper.loop(Looper.java:148) 11-03 16:08:00.055 554 562 E StrictMode: at com.android.server.SystemServer.run(SystemServer.java:295) 11-03 16:08:00.055 554 562 E StrictMode: at com.android.server.SystemServer.main(SystemServer.java:174) 11-03 16:08:00.055 554 562 E StrictMode: at java.lang.reflect.Method.invoke(Native Method) 11-03 16:08:00.055 554 562 E StrictMode: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:772) 11-03 16:08:00.055 554 562 E StrictMode: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:662) 11-03 16:08:00.060 554 562 E StrictMode: A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks. 11-03 16:08:00.060 554 562 E StrictMode: java.lang.Throwable: Explicit termination method 'close' not called 11-03 16:08:00.060 554 562 E StrictMode: at dalvik.system.CloseGuard.open(CloseGuard.java:180) 11-03 16:08:00.060 554 562 E StrictMode: at java.io.RandomAccessFile.<init>(RandomAccessFile.java:127) 11-03 16:08:00.060 554 562 E StrictMode: at java.io.RandomAccessFile.<init>(RandomAccessFile.java:149) 11-03 16:08:00.060 554 562 E StrictMode: at java.util.zip.ZipFile.<init>(ZipFile.java:170) 11-03 16:08:00.060 554 562 E StrictMode: at java.util.zip.ZipFile.<init>(ZipFile.java:131) 11-03 16:08:00.060 554 562 E StrictMode: at com.android.server.DropBoxManagerService.add(DropBoxManagerService.java:290) 11-03 16:08:00.060 554 562 E StrictMode: at com.android.server.DropBoxManagerService$3.handleMessage(DropBoxManagerService.java:171) 11-03 16:08:00.060 554 562 E StrictMode: at android.os.Handler.dispatchMessage(Handler.java:102) 11-03 16:08:00.060 554 562 E StrictMode: at android.os.Looper.loop(Looper.java:148) 11-03 16:08:00.060 554 562 E StrictMode: at com.android.server.SystemServer.run(SystemServer.java:295) 11-03 16:08:00.060 554 562 E StrictMode: at com.android.server.SystemServer.main(SystemServer.java:174) 11-03 16:08:00.060 554 562 E StrictMode: at java.lang.reflect.Method.invoke(Native Method) 11-03 16:08:00.060 554 562 E StrictMode: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:772) 11-03 16:08:00.060 554 562 E StrictMode: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:662) 11-03 16:08:00.060 554 565 I DEBUG : checkComponentPermission pid = 657 , pr = ProcessRecord{cd369a2 657:com.android.systemui/1000} 11-03 16:08:00.064 554 562 E StrictMode: A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks. 11-03 16:08:00.064 554 562 E StrictMode: java.lang.Throwable: Explicit termination method 'close' not called 11-03 16:08:00.064 554 562 E StrictMode: at dalvik.system.CloseGuard.open(CloseGuard.java:180) 11-03 16:08:00.064 554 562 E StrictMode: at java.util.zip.ZipFile.<init>(ZipFile.java:185) 11-03 16:08:00.064 554 562 E StrictMode: at java.util.zip.ZipFile.<init>(ZipFile.java:131) 11-03 16:08:00.064 554 562 E StrictMode: at com.android.server.DropBoxManagerService.add(DropBoxManagerService.java:290) 11-03 16:08:00.064 554 562 E StrictMode: at com.android.server.DropBoxManagerService$3.handleMessage(DropBoxManagerService.java:171) 11-03 16:08:00.064 554 562 E StrictMode: at android.os.Handler.dispatchMessage(Handler.java:102) 11-03 16:08:00.064 554 562 E StrictMode: at android.os.Looper.loop(Looper.java:148) 11-03 16:08:00.064 554 562 E StrictMode: at com.android.server.SystemServer.run(SystemServer.java:295) 11-03 16:08:00.064 554 562 E StrictMode: at com.android.server.SystemServer.main(SystemServer.java:174) 11-03 16:08:00.064 554 562 E StrictMode: at java.lang.reflect.Method.invoke(Native Method) 11-03 16:08:00.064 554 562 E StrictMode: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:772) 11-03 16:08:00.064 554 562 E StrictMode: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:662) 11-03 16:08:00.068 554 712 I DEBUG : checkComponentPermission pid = 657 , pr = ProcessRecord{cd369a2 657:com.android.systemui/1000} 11-03 16:08:00.077 554 566 I DEBUG : checkComponentPermission pid = 0 , pr = null 11-03 16:08:00.077 554 713 I DEBUG : checkComponentPermission pid = 657 , pr = ProcessRecord{cd369a2 657:com.android.systemui/1000} 11-03 16:08:00.083 554 568 I DEBUG : checkComponentPermission pid = 657 , pr = ProcessRecord{cd369a2 657:com.android.systemui/1000} 11-03 16:08:00.093 554 568 I WindowManagerService: performLayoutLockedInner->displayContent:Display 0 info=DisplayInfo{"Built-in screen", uniqueId "local:0", app 1366 x 768, real 1366 x 768, largest app 1366 x 1365, smallest app 768 x 767, mode 1, defaultMode 1, modes [{id=1, width=1366, height=768, fps=60.000004}], colorTransformId 1, defaultColorTransformId 1, supportedColorTransforms [{id=1, colorTransform=0}], rotation 0, density 160 (159.891 x 159.895) dpi, layerStack 0, appVsyncOff 0, presDeadline 17666666, type BUILT_IN, state ON, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS} stacks=[{stackId=0 tasks=[{taskId=91 appTokens=[AppWindowToken{23d5b1a token=Token{31775c5 ActivityRecord{f31f43c u0 com.cslc.easypos/com.cslc.box.BoxActivity t91}}}] mdr=false}]}] 11-03 16:08:00.095 554 568 I WindowManagerService: performLayoutLockedInner->displayContent:Display 1 info=DisplayInfo{"HDMI screen", uniqueId "local:1", app 1366 x 768, real 1366 x 768, largest app 1366 x 768, smallest app 1366 x 768, mode 2, defaultMode 2, modes [{id=2, width=1366, height=768, fps=59651.633}], colorTransformId 2, defaultColorTransformId 2, supportedColorTransforms [{id=2, colorTransform=0}], rotation 0, density 227 (227.0 x 227.0) dpi, layerStack 1, appVsyncOff 0, presDeadline 1016764, type HDMI, state ON, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS, FLAG_PRESENTATION} stacks=[] 11-03 16:08:00.096 554 568 V WindowManagerService: Relayout of Window{1be78bb u0 StatusBar}: focusMayChange=false 11-03 16:08:00.098 554 847 I DEBUG : checkComponentPermission pid = 657 , pr = ProcessRecord{cd369a2 657:com.android.systemui/1000} 11-03 16:08:00.107 554 847 I DEBUG : checkComponentPermission pid = 657 , pr = ProcessRecord{cd369a2 657:com.android.systemui/1000} 11-03 16:08:00.116 554 847 I DEBUG : checkComponentPermission pid = 657 , pr = ProcessRecord{cd369a2 657:com.android.systemui/1000} 11-03 16:08:00.124 554 847 I DEBUG : checkComponentPermission pid = 657 , pr = ProcessRecord{cd369a2 657:com.android.systemui/1000} 11-03 16:08:00.133 554 847 I DEBUG : checkComponentPermission pid = 657 , pr = ProcessRecord{cd369a2 657:com.android.systemui/1000} 11-03 16:08:00.150 554 565 I DEBUG : checkComponentPermission pid = 657 , pr = ProcessRecord{cd369a2 657:com.android.systemui/1000} 11-03 16:08:00.159 554 565 I WindowManagerService: performLayoutLockedInner->displayContent:Display 0 info=DisplayInfo{"Built-in screen", uniqueId "local:0", app 1366 x 768, real 1366 x 768, largest app 1366 x 1365, smallest app 768 x 767, mode 1, defaultMode 1, modes [{id=1, width=1366, height=768, fps=60.000004}], colorTransformId 1, defaultColorTransformId 1, supportedColorTransforms [{id=1, colorTransform=0}], rotation 0, density 160 (159.891 x 159.895) dpi, layerStack 0, appVsyncOff 0, presDeadline 17666666, type BUILT_IN, state ON, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS} stacks=[{stackId=0 tasks=[{taskId=91 appTokens=[AppWindowToken{23d5b1a token=Token{31775c5 ActivityRecord{f31f43c u0 com.cslc.easypos/com.cslc.box.BoxActivity t91}}}] mdr=false}]}] 11-03 16:08:00.161 554 565 I WindowManagerService: performLayoutLockedInner->displayContent:Display 1 info=DisplayInfo{"HDMI screen", uniqueId "local:1", app 1366 x 768, real 1366 x 768, largest app 1366 x 768, smallest app 1366 x 768, mode 2, defaultMode 2, modes [{id=2, width=1366, height=768, fps=59651.633}], colorTransformId 2, defaultColorTransformId 2, supportedColorTransforms [{id=2, colorTransform=0}], rotation 0, density 227 (227.0 x 227.0) dpi, layerStack 1, appVsyncOff 0, presDeadline 1016764, type HDMI, state ON, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS, FLAG_PRESENTATION} stacks=[] 11-03 16:08:00.162 554 565 V WindowManagerService: Relayout of Window{1be78bb u0 StatusBar}: focusMayChange=false 11-03 16:08:00.167 554 711 I DEBUG : checkComponentPermission pid = 657 , pr = ProcessRecord{cd369a2 657:com.android.systemui/1000} 11-03 16:08:00.177 554 711 I WindowManagerService: performLayoutLockedInner->displayContent:Display 0 info=DisplayInfo{"Built-in screen", uniqueId "local:0", app 1366 x 768, real 1366 x 768, largest app 1366 x 1365, smallest app 768 x 767, mode 1, defaultMode 1, modes [{id=1, width=1366, height=768, fps=60.000004}], colorTransformId 1, defaultColorTransformId 1, supportedColorTransforms [{id=1, colorTransform=0}], rotation 0, density 160 (159.891 x 159.895) dpi, layerStack 0, appVsyncOff 0, presDeadline 17666666, type BUILT_IN, state ON, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS} stacks=[{stackId=0 tasks=[{taskId=91 appTokens=[AppWindowToken{23d5b1a token=Token{31775c5 ActivityRecord{f31f43c u0 com.cslc.easypos/com.cslc.box.BoxActivity t91}}}] mdr=false}]}] 11-03 16:08:00.179 554 711 I WindowManagerService: performLayoutLockedInner->displayContent:Display 1 info=DisplayInfo{"HDMI screen", uniqueId "local:1", app 1366 x 768, real 1366 x 768, largest app 1366 x 768, smallest app 1366 x 768, mode 2, defaultMode 2, modes [{id=2, width=1366, height=768, fps=59651.633}], colorTransformId 2, defaultColorTransformId 2, supportedColorTransforms [{id=2, colorTransform=0}], rotation 0, density 227 (227.0 x 227.0) dpi, layerStack 1, appVsyncOff 0, presDeadline 1016764, type HDMI, state ON, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS, FLAG_PRESENTATION} stacks=[] 11-03 16:08:00.181 554 711 V WindowManagerService: Relayout of Window{1be78bb u0 StatusBar}: focusMayChange=false 11-03 16:08:00.221 554 566 I DEBUG : checkComponentPermission pid = 0 , pr = null 11-03 16:08:00.751 554 608 E DisplaydConnector: Communications error: java.io.IOException: No such file or directory 11-03 16:08:00.752 554 608 E DisplaydConnector: Error in NativeDaemonConnector: java.io.IOException: No such file or directory 11-03 16:08:00.869 554 713 I DEBUG : checkComponentPermission pid = 0 , pr = null 11-03 16:08:00.910 554 568 I DEBUG : checkComponentPermission pid = 0 , pr = null 11-03 16:08:01.053 716 717 D sdcard : [0] GETATTR flags=0 fh=0 @ 1 (/data/media) 11-03 16:08:01.053 716 717 D sdcard : handle_getattr 11-03 16:08:01.053 716 717 D sdcard : check_caller_access_to_node 11-03 16:08:01.053 716 717 D sdcard : handle_getattr 2 11-03 16:08:01.053 716 717 D sdcard : [0] LOOKUP legacy @ 1 (/data/media) 11-03 16:08:01.053 716 717 E sdcard : find_file_within /data/media/legacy, /data/media legacy 11-03 16:08:01.053 716 717 E sdcard : find_file_within 2 legacy 11-03 16:08:01.053 716 717 D sdcard : ACQUIRE 0xb7b1b8d8 (legacy) rc=400 11-03 16:08:01.100 716 717 D sdcard : [0] STATFS 11-03 16:08:01.100 716 717 D sdcard : [0] STATFS 11-03 16:08:01.100 716 718 D sdcard : [1] STATFS 11-03 16:08:01.100 716 719 D sdcard : [2] STATFS 11-03 16:08:01.101 26566 26566 F libc : Fatal signal 13 (SIGPIPE), code 0 in tid 26566 (grep) 11-03 16:08:01.152 229 229 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 11-03 16:08:01.152 229 229 F DEBUG : Build fingerprint: 'Android/LOT/LOT:6.0.1/MXC89K/anos10160932:eng/test-keys' 11-03 16:08:01.152 229 229 F DEBUG : Revision: '0' 11-03 16:08:01.152 229 229 F DEBUG : ABI: 'arm' 11-03 16:08:01.152 229 229 F DEBUG : pid: 26566, tid: 26566, name: grep >>> grep <<< 11-03 16:08:01.152 554 715 W NativeCrashListener: Couldn't find ProcessRecord for pid 26566 11-03 16:08:01.152 229 229 F DEBUG : signal 13 (SIGPIPE), code 0 (SI_USER), fault addr -------- 11-03 16:08:01.153 229 229 F DEBUG : r0 ffffffe0 r1 b8599640 r2 00000037 r3 00000888 11-03 16:08:01.153 229 229 E DEBUG : AM write failed: Broken pipe 11-03 16:08:01.153 229 229 F DEBUG : r4 b6e38478 r5 00000037 r6 b8599640 r7 00000004 11-03 16:08:01.153 229 229 F DEBUG : r8 b6debc8d r9 00000001 sl 00000000 fp 0000000c 11-03 16:08:01.153 229 229 F DEBUG : ip 00000037 sp bea868a8 lr b6e1ffd1 pc b6e1a4cc cpsr 000f0010 11-03 16:08:01.164 229 229 F DEBUG : 11-03 16:08:01.164 229 229 F DEBUG : backtrace: 11-03 16:08:01.164 229 229 F DEBUG : #00 pc 000444cc /system/lib/libc.so (write+12) 11-03 16:08:01.164 229 229 F DEBUG : #01 pc 00049fcd /system/lib/libc.so (__swrite+70) 11-03 16:08:01.164 229 229 F DEBUG : #02 pc 00039b0d /system/lib/libc.so (__sflush+48) 11-03 16:08:01.164 229 229 F DEBUG : #03 pc 00039963 /system/lib/libc.so (fclose+58) 11-03 16:08:01.164 229 229 F DEBUG : #04 pc 00015ca3 /system/lib/libc.so (_ZL16malloc_fini_implv+22) 11-03 16:08:01.164 229 229 F DEBUG : #05 pc 000423d9 /system/lib/libc.so (pthread_once+54) 11-03 16:08:01.164 229 229 F DEBUG : #06 pc 000165d7 /system/lib/libc.so (malloc_debug_fini+10) 11-03 16:08:01.164 229 229 F DEBUG : #07 pc 0004a197 /system/lib/libc.so (__cxa_finalize+138) 11-03 16:08:01.165 229 229 F DEBUG : #08 pc 00015b0f /system/lib/libc.so (exit+10) 11-03 16:08:01.165 229 229 F DEBUG : #09 pc 00002555 /system/bin/grep 11-03 16:08:01.165 229 229 F DEBUG : #10 pc 00016631 /system/lib/libc.so (__libc_init+44) 11-03 16:08:01.165 229 229 F DEBUG : #11 pc 00002690 /system/bin/grep 11-03 16:08:01.190 229 229 F DEBUG : 11-03 16:08:01.190 229 229 F DEBUG : Tombstone written to: /data/tombstones/tombstone_grep 11-03 16:08:01.192 554 574 I BootReceiver: Copying /data/tombstones/tombstone_grep to DropBox (tombstone@grep) 11-03 16:08:01.202 716 717 D sdcard : [0] STATFS 11-03 16:08:01.203 716 717 D sdcard : [0] STATFS 11-03 16:08:01.203 716 718 D sdcard : [1] STATFS 11-03 16:08:01.203 716 719 D sdcard : [2] STATFS 11-03 16:08:01.207 26573 26573 F libc : Fatal signal 13 (SIGPIPE), code 0 in tid 26573 (grep) 11-03 16:08:01.258 229 229 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 11-03 16:08:01.258 229 229 F DEBUG : Build fingerprint: 'Android/LOT/LOT:6.0.1/MXC89K/anos10160932:eng/test-keys' 11-03 16:08:01.258 229 229 F DEBUG : Revision: '0' 11-03 16:08:01.258 229 229 F DEBUG : ABI: 'arm' 11-03 16:08:01.258 229 229 F DEBUG : pid: 26573, tid: 26573, name: grep >>> grep <<< 11-03 16:08:01.258 554 715 W NativeCrashListener: Couldn't find ProcessRecord for pid 26573 11-03 16:08:01.258 229 229 F DEBUG : signal 13 (SIGPIPE), code 0 (SI_USER), fault addr -------- 11-03 16:08:01.259 229 229 F DEBUG : r0 ffffffe0 r1 b7aea640 r2 00000037 r3 00000888 11-03 16:08:01.259 229 229 E DEBUG : AM write failed: Broken pipe 11-03 16:08:01.259 229 229 F DEBUG : r4 b6f02478 r5 00000037 r6 b7aea640 r7 00000004 11-03 16:08:01.259 229 229 F DEBUG : r8 b6eb5c8d r9 00000001 sl 00000000 fp 0000000c 11-03 16:08:01.259 229 229 F DEBUG : ip 00000037 sp beb1e8a8 lr b6ee9fd1 pc b6ee44cc cpsr 000f0010 11-03 16:08:01.270 229 229 F DEBUG : 11-03 16:08:01.270 229 229 F DEBUG : backtrace: 11-03 16:08:01.270 229 229 F DEBUG : #00 pc 000444cc /system/lib/libc.so (write+12) 11-03 16:08:01.270 229 229 F DEBUG : #01 pc 00049fcd /system/lib/libc.so (__swrite+70) 11-03 16:08:01.270 229 229 F DEBUG : #02 pc 00039b0d /system/lib/libc.so (__sflush+48) 11-03 16:08:01.270 229 229 F DEBUG : #03 pc 00039963 /system/lib/libc.so (fclose+58) 11-03 16:08:01.270 229 229 F DEBUG : #04 pc 00015ca3 /system/lib/libc.so (_ZL16malloc_fini_implv+22) 11-03 16:08:01.270 229 229 F DEBUG : #05 pc 000423d9 /system/lib/libc.so (pthread_once+54) 11-03 16:08:01.270 229 229 F DEBUG : #06 pc 000165d7 /system/lib/libc.so (malloc_debug_fini+10) 11-03 16:08:01.270 229 229 F DEBUG : #07 pc 0004a197 /system/lib/libc.so (__cxa_finalize+138) 11-03 16:08:01.271 229 229 F DEBUG : #08 pc 00015b0f /system/lib/libc.so (exit+10) 11-03 16:08:01.271 229 229 F DEBUG : #09 pc 00002555 /system/bin/grep 11-03 16:08:01.271 229 229 F DEBUG : #10 pc 00016631 /system/lib/libc.so (__libc_init+44) 11-03 16:08:01.271 229 229 F DEBUG : #11 pc 00002690 /system/bin/grep 11-03 16:08:01.295 229 229 F DEBUG : 11-03 16:08:01.295 229 229 F DEBUG : Tombstone written to: /data/tombstones/tombstone_grep 11-03 16:08:01.307 716 717 D sdcard : [0] STATFS 11-03 16:08:01.307 716 717 D sdcard : [0] STATFS 11-03 16:08:01.307 716 718 D sdcard : [1] STATFS 11-03 16:08:01.307 716 719 D sdcard : [2] STATFS 11-03 16:08:01.307 26580 26580 F libc : Fatal signal 13 (SIGPIPE), code 0 in tid 26580 (grep) 11-03 16:08:01.358 229 229 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 11-03 16:08:01.358 229 229 F DEBUG : Build fingerprint: 'Android/LOT/LOT:6.0.1/MXC89K/anos10160932:eng/test-keys' 11-03 16:08:01.358 229 229 F DEBUG : Revision: '0' 11-03 16:08:01.358 229 229 F DEBUG : ABI: 'arm' 11-03 16:08:01.358 554 715 W NativeCrashListener: Couldn't find ProcessRecord for pid 26580 11-03 16:08:01.358 229 229 F DEBUG : pid: 26580, tid: 26580, name: grep >>> grep <<< 11-03 16:08:01.359 229 229 F DEBUG : signal 13 (SIGPIPE), code 0 (SI_USER), fault addr -------- 11-03 16:08:01.360 229 229 F DEBUG : r0 ffffffe0 r1 b7b09640 r2 00000037 r3 00000888 11-03 16:08:01.360 229 229 E DEBUG : AM write failed: Broken pipe 11-03 16:08:01.360 229 229 F DEBUG : r4 b6e17478 r5 00000037 r6 b7b09640 r7 00000004 11-03 16:08:01.360 229 229 F DEBUG : r8 b6dcac8d r9 00000001 sl 00000000 fp 0000000c 11-03 16:08:01.360 229 229 F DEBUG : ip 00000037 sp beaad8a8 lr b6dfefd1 pc b6df94cc cpsr 000f0010 11-03 16:08:01.371 229 229 F DEBUG : 11-03 16:08:01.371 229 229 F DEBUG : backtrace: 11-03 16:08:01.371 229 229 F DEBUG : #00 pc 000444cc /system/lib/libc.so (write+12) 11-03 16:08:01.371 229 229 F DEBUG : #01 pc 00049fcd /system/lib/libc.so (__swrite+70) 11-03 16:08:01.371 229 229 F DEBUG : #02 pc 00039b0d /system/lib/libc.so (__sflush+48) 11-03 16:08:01.371 229 229 F DEBUG : #03 pc 00039963 /system/lib/libc.so (fclose+58) 11-03 16:08:01.371 229 229 F DEBUG : #04 pc 00015ca3 /system/lib/libc.so (_ZL16malloc_fini_implv+22) 11-03 16:08:01.371 229 229 F DEBUG : #05 pc 000423d9 /system/lib/libc.so (pthread_once+54) 11-03 16:08:01.371 229 229 F DEBUG : #06 pc 000165d7 /system/lib/libc.so (malloc_debug_fini+10) 11-03 16:08:01.371 229 229 F DEBUG : #07 pc 0004a197 /system/lib/libc.so (__cxa_finalize+138) 11-03 16:08:01.371 229 229 F DEBUG : #08 pc 00015b0f /system/lib/libc.so (exit+10) 11-03 16:08:01.371 229 229 F DEBUG : #09 pc 00002555 /system/bin/grep 11-03 16:08:01.371 229 229 F DEBUG : #10 pc 00016631 /system/lib/libc.so (__libc_init+44) 11-03 16:08:01.371 229 229 F DEBUG : #11 pc 00002690 /system/bin/grep 11-03 16:08:01.396 229 229 F DEBUG : 11-03 16:08:01.396 229 229 F DEBUG : Tombstone written to: /data/tombstones/tombstone_grep 11-03 16:08:01.405 26587 26587 F libc : Fatal signal 13 (SIGPIPE), code 0 in tid 26587 (grep) 11-03 16:08:01.455 229 229 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 11-03 16:08:01.455 229 229 F DEBUG : Build fingerprint: 'Android/LOT/LOT:6.0.1/MXC89K/anos10160932:eng/test-keys' 11-03 16:08:01.456 229 229 F DEBUG : Revision: '0' 11-03 16:08:01.456 229 229 F DEBUG : ABI: 'arm' 11-03 16:08:01.456 554 715 W NativeCrashListener: Couldn't find ProcessRecord for pid 26587 11-03 16:08:01.456 229 229 F DEBUG : pid: 26587, tid: 26587, name: grep >>> grep <<< 11-03 16:08:01.456 229 229 F DEBUG : signal 13 (SIGPIPE), code 0 (SI_USER), fault addr -------- 11-03 16:08:01.457 229 229 F DEBUG : r0 ffffffe0 r1 b84b6630 r2 00000047 r3 00000888 11-03 16:08:01.457 229 229 E DEBUG : AM write failed: Broken pipe 11-03 16:08:01.457 229 229 F DEBUG : r4 b6e9e478 r5 00000047 r6 b84b6630 r7 00000004 11-03 16:08:01.457 229 229 F DEBUG : r8 b6e51c8d r9 00000001 sl 00000000 fp 0000000c 11-03 16:08:01.457 229 229 F DEBUG : ip 00000047 sp bedb28a8 lr b6e85fd1 pc b6e804cc cpsr 00070010 11-03 16:08:01.468 229 229 F DEBUG : 11-03 16:08:01.468 229 229 F DEBUG : backtrace: 11-03 16:08:01.468 229 229 F DEBUG : #00 pc 000444cc /system/lib/libc.so (write+12) 11-03 16:08:01.468 229 229 F DEBUG : #01 pc 00049fcd /system/lib/libc.so (__swrite+70) 11-03 16:08:01.468 229 229 F DEBUG : #02 pc 00039b0d /system/lib/libc.so (__sflush+48) 11-03 16:08:01.468 229 229 F DEBUG : #03 pc 00039963 /system/lib/libc.so (fclose+58) 11-03 16:08:01.468 229 229 F DEBUG : #04 pc 00015ca3 /system/lib/libc.so (_ZL16malloc_fini_implv+22) 11-03 16:08:01.468 229 229 F DEBUG : #05 pc 000423d9 /system/lib/libc.so (pthread_once+54) 11-03 16:08:01.468 229 229 F DEBUG : #06 pc 000165d7 /system/lib/libc.so (malloc_debug_fini+10) 11-03 16:08:01.468 229 229 F DEBUG : #07 pc 0004a197 /system/lib/libc.so (__cxa_finalize+138) 11-03 16:08:01.469 229 229 F DEBUG : #08 pc 00015b0f /system/lib/libc.so (exit+10) 11-03 16:08:01.469 229 229 F DEBUG : #09 pc 00002555 /system/bin/grep 11-03 16:08:01.469 229 229 F DEBUG : #10 pc 00016631 /system/lib/libc.so (__libc_init+44) 11-03 16:08:01.469 229 229 F DEBUG : #11 pc 00002690 /system/bin/grep 11-03 16:08:01.494 229 229 F DEBUG : 11-03 16:08:01.494 229 229 F DEBUG : Tombstone written to: /data/tombstones/tombstone_grep 11-03 16:08:01.503 26594 26594 F libc : Fatal signal 13 (SIGPIPE), code 0 in tid 26594 (grep) 11-03 16:08:01.553 229 229 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 11-03 16:08:01.554 229 229 F DEBUG : Build fingerprint: 'Android/LOT/LOT:6.0.1/MXC89K/anos10160932:eng/test-keys' 11-03 16:08:01.554 229 229 F DEBUG : Revision: '0' 11-03 16:08:01.554 229 229 F DEBUG : ABI: 'arm' 11-03 16:08:01.554 554 715 W NativeCrashListener: Couldn't find ProcessRecord for pid 26594 11-03 16:08:01.554 229 229 F DEBUG : pid: 26594, tid: 26594, name: grep >>> grep <<< 11-03 16:08:01.554 229 229 F DEBUG : signal 13 (SIGPIPE), code 0 (SI_USER), fault addr -------- 11-03 16:08:01.554 229 229 E DEBUG : AM write failed: Broken pipe 11-03 16:08:01.555 229 229 F DEBUG : r0 ffffffe0 r1 b7e83630 r2 00000047 r3 00000888 11-03 16:08:01.555 229 229 F DEBUG : r4 b6e1b478 r5 00000047 r6 b7e83630 r7 00000004 11-03 16:08:01.555 229 229 F DEBUG : r8 b6dcec8d r9 00000001 sl 00000000 fp 0000000c 11-03 16:08:01.555 229 229 F DEBUG : ip 00000047 sp beb908a8 lr b6e02fd1 pc b6dfd4cc cpsr 00070010 11-03 16:08:01.566 229 229 F DEBUG : 11-03 16:08:01.566 229 229 F DEBUG : backtrace: 11-03 16:08:01.566 229 229 F DEBUG : #00 pc 000444cc /system/lib/libc.so (write+12) 11-03 16:08:01.566 229 229 F DEBUG : #01 pc 00049fcd /system/lib/libc.so (__swrite+70) 11-03 16:08:01.566 229 229 F DEBUG : #02 pc 00039b0d /system/lib/libc.so (__sflush+48) 11-03 16:08:01.566 229 229 F DEBUG : #03 pc 00039963 /system/lib/libc.so (fclose+58) 11-03 16:08:01.566 229 229 F DEBUG : #04 pc 00015ca3 /system/lib/libc.so (_ZL16malloc_fini_implv+22) 11-03 16:08:01.566 229 229 F DEBUG : #05 pc 000423d9 /system/lib/libc.so (pthread_once+54) 11-03 16:08:01.566 229 229 F DEBUG : #06 pc 000165d7 /system/lib/libc.so (malloc_debug_fini+10) 11-03 16:08:01.566 229 229 F DEBUG : #07 pc 0004a197 /system/lib/libc.so (__cxa_finalize+138) 11-03 16:08:01.566 229 229 F DEBUG : #08 pc 00015b0f /system/lib/libc.so (exit+10) 11-03 16:08:01.566 229 229 F DEBUG : #09 pc 00002555 /system/bin/grep 11-03 16:08:01.566 229 229 F DEBUG : #10 pc 00016631 /system/lib/libc.so (__libc_init+44) 11-03 16:08:01.566 229 229 F DEBUG : #11 pc 00002690 /system/bin/grep 11-03 16:08:01.592 229 229 F DEBUG : 11-03 16:08:01.592 229 229 F DEBUG : Tombstone written to: /data/tombstones/tombstone_grep 11-03 16:08:01.601 26601 26601 F libc : Fatal signal 13 (SIGPIPE), code 0 in tid 26601 (grep) 11-03 16:08:01.652 229 229 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 11-03 16:08:01.652 229 229 F DEBUG : Build fingerprint: 'Android/LOT/LOT:6.0.1/MXC89K/anos10160932:eng/test-keys' 11-03 16:08:01.652 229 229 F DEBUG : Revision: '0' 11-03 16:08:01.652 229 229 F DEBUG : ABI: 'arm' 11-03 16:08:01.652 554 715 W NativeCrashListener: Couldn't find ProcessRecord for pid 26601 11-03 16:08:01.652 229 229 F DEBUG : pid: 26601, tid: 26601, name: grep >>> grep <<< 11-03 16:08:01.652 229 229 F DEBUG : signal 13 (SIGPIPE), code 0 (SI_USER), fault addr -------- 11-03 16:08:01.653 229 229 F DEBUG : r0 ffffffe0 r1 b72ab630 r2 00000047 r3 00000888 11-03 16:08:01.653 229 229 E DEBUG : AM write failed: Broken pipe 11-03 16:08:01.653 229 229 F DEBUG : r4 b6e5c478 r5 00000047 r6 b72ab630 r7 00000004 11-03 16:08:01.653 229 229 F DEBUG : r8 b6e0fc8d r9 00000001 sl 00000000 fp 0000000c 11-03 16:08:01.653 229 229 F DEBUG : ip 00000047 sp bed2e8a8 lr b6e43fd1 pc b6e3e4cc cpsr 00070010 11-03 16:08:01.664 229 229 F DEBUG : 11-03 16:08:01.664 229 229 F DEBUG : backtrace: 11-03 16:08:01.664 229 229 F DEBUG : #00 pc 000444cc /system/lib/libc.so (write+12) 11-03 16:08:01.664 229 229 F DEBUG : #01 pc 00049fcd /system/lib/libc.so (__swrite+70) 11-03 16:08:01.664 229 229 F DEBUG : #02 pc 00039b0d /system/lib/libc.so (__sflush+48) 11-03 16:08:01.664 229 229 F DEBUG : #03 pc 00039963 /system/lib/libc.so (fclose+58) 11-03 16:08:01.664 229 229 F DEBUG : #04 pc 00015ca3 /system/lib/libc.so (_ZL16malloc_fini_implv+22) 11-03 16:08:01.664 229 229 F DEBUG : #05 pc 000423d9 /system/lib/libc.so (pthread_once+54) 11-03 16:08:01.664 229 229 F DEBUG : #06 pc 000165d7 /system/lib/libc.so (malloc_debug_fini+10) 11-03 16:08:01.664 229 229 F DEBUG : #07 pc 0004a197 /system/lib/libc.so (__cxa_finalize+138) 11-03 16:08:01.664 229 229 F DEBUG : #08 pc 00015b0f /system/lib/libc.so (exit+10) 11-03 16:08:01.664 229 229 F DEBUG : #09 pc 00002555 /system/bin/grep 11-03 16:08:01.664 229 229 F DEBUG : #10 pc 00016631 /system/lib/libc.so (__libc_init+44) 11-03 16:08:01.664 229 229 F DEBUG : #11 pc 00002690 /system/bin/grep 11-03 16:08:01.690 229 229 F DEBUG : 11-03 16:08:01.690 229 229 F DEBUG : Tombstone written to: /data/tombstones/tombstone_grep 11-03 16:08:01.869 554 847 I DEBUG : checkComponentPermission pid = 0 , pr = null 11-03 16:08:01.909 554 565 I DEBUG : checkComponentPermission pid = 0 , pr = null
-
@duan said in A binary program which runs on Android 6.0 crashes when calling QSslSocket connect to the host.:
11-03 16:08:00.751 554 608 E DisplaydConnector: Communications error: java.io.IOException: No such file or directory
11-03 16:08:00.752 554 608 E DisplaydConnector: Error in NativeDaemonConnector: java.io.IOException: No such file or directory
11-03 16:08:00.869 554 713 I DEBUG : checkComponentPermission pid = 0 , pr = null
11-03 16:08:00.910 554 568 I DEBUG : checkComponentPermission pid = 0 , pr = null
11-03 16:08:01.053 716 717 D sdcard : [0] GETATTR flags=0 fh=0 @ 1 (/data/media)Does your app try to access media files?
-
@jsulm
thanks.On Android 6.0, I run the binary program with root privileges, but crash at the point "backtrace:/system/lib/libc.so".
But the same binary program runs successfully on Android 5.1, while Android 5.1 uses openssl. Android 6.0 uses borningssl, not openssl.