gnutls crash on Android Q: "FORTIFY: %n not allowed on Android"
It seems related here https://gitlab.com/gnutls/gnutls/issues/653
the guntls team already fixed this.
maybe update cerbero to use the newer version of gnutls will fix the crash.
crash log
--------- beginning of crash
2019-04-20 08:58:28.415 25276-25325/fm.moon.app A/libc: FORTIFY: %n not allowed on Android
2019-04-20 08:58:28.415 25276-25325/fm.moon.app A/libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 25325 (create_react_co), pid 25276 (fm.moon.app)
2019-04-20 08:58:28.472 25342-25342/? I/crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
2019-04-20 08:58:28.473 815-815/? I//system/bin/tombstoned: received crash request for pid 25325
2019-04-20 08:58:28.476 25342-25342/? I/crash_dump64: performing dump of process 25276 (target tid = 25325)
2019-04-20 08:58:28.486 25342-25342/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2019-04-20 08:58:28.486 25342-25342/? A/DEBUG: Build fingerprint: 'google/sailfish/sailfish:Q/QPP2.190228.023/5433927:user/release-keys'
2019-04-20 08:58:28.486 25342-25342/? A/DEBUG: Revision: '0'
2019-04-20 08:58:28.486 25342-25342/? A/DEBUG: ABI: 'arm64'
2019-04-20 08:58:28.486 25342-25342/? A/DEBUG: Timestamp: 2019-04-20 08:58:28+0800
2019-04-20 08:58:28.486 25342-25342/? A/DEBUG: pid: 25276, tid: 25325, name: create_react_co >>> fm.moon.app <<<
2019-04-20 08:58:28.486 25342-25342/? A/DEBUG: signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
2019-04-20 08:58:28.486 25342-25342/? A/DEBUG: Abort message: 'FORTIFY: %n not allowed on Android'
2019-04-20 08:58:28.486 25342-25342/? A/DEBUG: x0 0000000000000000 x1 00000000000062ed x2 0000000000000006 x3 0000006f1d9db190
2019-04-20 08:58:28.486 25342-25342/? A/DEBUG: x4 0000000000000000 x5 0000000000000000 x6 0000000000000000 x7 0000000000000018
2019-04-20 08:58:28.486 25342-25342/? A/DEBUG: x8 00000000000000f0 x9 1a618eb8530590c6 x10 fffffff8fffffbdf x11 0000000000000000
2019-04-20 08:58:28.487 25342-25342/? A/DEBUG: x12 0000000000000010 x13 64696f72646e4120 x14 0000006ffa8984b4 x15 0000006f1d9dc510
2019-04-20 08:58:28.487 25342-25342/? A/DEBUG: x16 0000006ffa9617e8 x17 0000006ffa93ef00 x18 199999999999999a x19 00000000000000ac
2019-04-20 08:58:28.487 25342-25342/? A/DEBUG: x20 00000000000062bc x21 00000000000000b2 x22 00000000000062ed x23 00000000ffffffff
2019-04-20 08:58:28.487 25342-25342/? A/DEBUG: x24 0000006f1d9db570 x25 00000000ffffffff x26 000000000000006e x27 0000000000000019
2019-04-20 08:58:28.487 25342-25342/? A/DEBUG: x28 0000006f1d9dbd54 x29 0000006f1d9db240
2019-04-20 08:58:28.487 25342-25342/? A/DEBUG: sp 0000006f1d9db170 lr 0000006ffa8f1c78 pc 0000006ffa8f1c98
2019-04-20 08:58:28.505 25236-25255/? I/ya.android:pus: Waiting for a blocking GC ProfileSaver
2019-04-20 08:58:28.567 25342-25342/? A/DEBUG: backtrace:
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #00 pc 0000000000081c98 /bionic/lib64/libc.so (abort+160)
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #01 pc 00000000000c2e18 /bionic/lib64/libc.so (__fortify_fatal(char const*, ...)+116)
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #02 pc 00000000000c248c /bionic/lib64/libc.so (__vfprintf+10476)
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #03 pc 00000000000ddd84 /bionic/lib64/libc.so (snprintf+220)
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #04 pc 0000000000f31c44 /data/app/fm.moon.app-xxnFRBtZqTyKyJdHeaijXg==/lib/arm64/libgstreamer_android.so
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #05 pc 0000000000f30ffc /data/app/fm.moon.app-xxnFRBtZqTyKyJdHeaijXg==/lib/arm64/libgstreamer_android.so
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #06 pc 0000000000f3eebc /data/app/fm.moon.app-xxnFRBtZqTyKyJdHeaijXg==/lib/arm64/libgstreamer_android.so
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #07 pc 0000000000f5f9b4 /data/app/fm.moon.app-xxnFRBtZqTyKyJdHeaijXg==/lib/arm64/libgstreamer_android.so
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #08 pc 0000000000f644e8 /data/app/fm.moon.app-xxnFRBtZqTyKyJdHeaijXg==/lib/arm64/libgstreamer_android.so
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #09 pc 0000000000f642ec /data/app/fm.moon.app-xxnFRBtZqTyKyJdHeaijXg==/lib/arm64/libgstreamer_android.so
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #10 pc 0000000000f5b0a4 /data/app/fm.moon.app-xxnFRBtZqTyKyJdHeaijXg==/lib/arm64/libgstreamer_android.so
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #11 pc 0000000000f5b468 /data/app/fm.moon.app-xxnFRBtZqTyKyJdHeaijXg==/lib/arm64/libgstreamer_android.so
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #12 pc 0000000001f6c07c /data/app/fm.moon.app-xxnFRBtZqTyKyJdHeaijXg==/lib/arm64/libgstreamer_android.so
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #13 pc 0000000001f6b738 /data/app/fm.moon.app-xxnFRBtZqTyKyJdHeaijXg==/lib/arm64/libgstreamer_android.so
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #14 pc 0000000001f6b494 /data/app/fm.moon.app-xxnFRBtZqTyKyJdHeaijXg==/lib/arm64/libgstreamer_android.so (g_object_new_valist+780)
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #15 pc 0000000001d49040 /data/app/fm.moon.app-xxnFRBtZqTyKyJdHeaijXg==/lib/arm64/libgstreamer_android.so (g_initable_new_valist+112)
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #16 pc 0000000001d48fa8 /data/app/fm.moon.app-xxnFRBtZqTyKyJdHeaijXg==/lib/arm64/libgstreamer_android.so (g_initable_new+128)
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #17 pc 0000000001d7fe14 /data/app/fm.moon.app-xxnFRBtZqTyKyJdHeaijXg==/lib/arm64/libgstreamer_android.so (g_tls_file_database_new+52)
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #18 pc 000000000028d108 /data/app/fm.moon.app-xxnFRBtZqTyKyJdHeaijXg==/lib/arm64/libgstreamer_android.so (gst_android_load_gio_modules+92)
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #19 pc 000000000028d650 /data/app/fm.moon.app-xxnFRBtZqTyKyJdHeaijXg==/lib/arm64/libgstreamer_android.so (gst_android_init+1144)
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #20 pc 000000000028ef58 /data/app/fm.moon.app-xxnFRBtZqTyKyJdHeaijXg==/lib/arm64/libgstreamer_android.so
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #21 pc 000000000013c330 /apex/com.android.runtime/lib64/libart.so (art_quick_generic_jni_trampoline+144)
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #22 pc 00000000001335b8 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_static_stub+568)
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #23 pc 0000000000142374 /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+236)
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #24 pc 00000000002faac4 /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384)
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #25 pc 00000000002f5130 /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+928)
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #26 pc 00000000005caf5c /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+368)
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #27 pc 000000000012d994 /apex/com.android.runtime/lib64/libart.so (Mterp_op_invoke_static+20)
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #28 pc 0000000000086880 [anon:dalvik-classes14.dex extracted in memory from /data/app/fm.moon.app-xxnFRBtZqTyKyJdHeaijXg==/base.apk!classes14.dex] (org.freedesktop.gstreamer.GStreamer.init)
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #29 pc 00000000002ccad4 /apex/com.android.runtime/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.6312508945476093651+420)
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #30 pc 00000000002d313c /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+204)
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #31 pc 00000000002f5110 /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+896)
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #32 pc 00000000005caf5c /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+368)
2019-04-20 08:58:28.568 25342-25342/? A/DEBUG: #33 pc 000000000012d994 /apex/com.android.runtime/lib64/libart.so (Mterp_op_invoke_static+20)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #34 pc 00000000000792e4 [anon:dalvik-classes14.dex extracted in memory from /data/app/fm.moon.app-xxnFRBtZqTyKyJdHeaijXg==/base.apk!classes14.dex] (com.icyarrow.haloradio.AudioPlayerModule.<init>+72)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #35 pc 00000000005caa44 /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1192)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #36 pc 000000000012d914 /apex/com.android.runtime/lib64/libart.so (Mterp_op_invoke_direct+20)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #37 pc 000000000007a7ae [anon:dalvik-classes14.dex extracted in memory from /data/app/fm.moon.app-xxnFRBtZqTyKyJdHeaijXg==/base.apk!classes14.dex] (com.icyarrow.haloradio.MyReactPackage.createNativeModules+14)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #38 pc 00000000005c9e78 /apex/com.android.runtime/lib64/libart.so (MterpInvokeInterface+1764)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #39 pc 000000000012da14 /apex/com.android.runtime/lib64/libart.so (Mterp_op_invoke_interface+20)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #40 pc 00000000002d9966 [anon:dalvik-classes26.dex extracted in memory from /data/app/fm.moon.app-xxnFRBtZqTyKyJdHeaijXg==/base.apk!classes26.dex] (com.facebook.react.ReactPackageHelper.getNativeModuleIterator+86)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #41 pc 00000000005cb274 /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1160)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #42 pc 000000000012d994 /apex/com.android.runtime/lib64/libart.so (Mterp_op_invoke_static+20)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #43 pc 00000000002d6790 [anon:dalvik-classes26.dex extracted in memory from /data/app/fm.moon.app-xxnFRBtZqTyKyJdHeaijXg==/base.apk!classes26.dex] (com.facebook.react.NativeModuleRegistryBuilder.processPackage+64)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #44 pc 00000000005c8448 /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtual+1456)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #45 pc 000000000012d814 /apex/com.android.runtime/lib64/libart.so (Mterp_op_invoke_virtual+20)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #46 pc 00000000002d9042 [anon:dalvik-classes26.dex extracted in memory from /data/app/fm.moon.app-xxnFRBtZqTyKyJdHeaijXg==/base.apk!classes26.dex] (com.facebook.react.ReactInstanceManager.processPackage+74)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #47 pc 00000000005caa44 /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1192)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #48 pc 000000000012d914 /apex/com.android.runtime/lib64/libart.so (Mterp_op_invoke_direct+20)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #49 pc 00000000002d7e96 [anon:dalvik-classes26.dex extracted in memory from /data/app/fm.moon.app-xxnFRBtZqTyKyJdHeaijXg==/base.apk!classes26.dex] (com.facebook.react.ReactInstanceManager.processPackages+114)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #50 pc 00000000005caa44 /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1192)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #51 pc 000000000012d914 /apex/com.android.runtime/lib64/libart.so (Mterp_op_invoke_direct+20)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #52 pc 00000000002d7fb0 [anon:dalvik-classes26.dex extracted in memory from /data/app/fm.moon.app-xxnFRBtZqTyKyJdHeaijXg==/base.apk!classes26.dex] (com.facebook.react.ReactInstanceManager.createReactContext+72)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #53 pc 00000000005caa44 /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1192)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #54 pc 000000000012d914 /apex/com.android.runtime/lib64/libart.so (Mterp_op_invoke_direct+20)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #55 pc 00000000002d7f4c [anon:dalvik-classes26.dex extracted in memory from /data/app/fm.moon.app-xxnFRBtZqTyKyJdHeaijXg==/base.apk!classes26.dex] (com.facebook.react.ReactInstanceManager.access$900)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #56 pc 00000000005cb274 /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1160)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #57 pc 000000000012d994 /apex/com.android.runtime/lib64/libart.so (Mterp_op_invoke_static+20)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #58 pc 00000000002d7730 [anon:dalvik-classes26.dex extracted in memory from /data/app/fm.moon.app-xxnFRBtZqTyKyJdHeaijXg==/base.apk!classes26.dex] (com.facebook.react.ReactInstanceManager$5.run+140)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #59 pc 00000000005c9e78 /apex/com.android.runtime/lib64/libart.so (MterpInvokeInterface+1764)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #60 pc 000000000012da14 /apex/com.android.runtime/lib64/libart.so (Mterp_op_invoke_interface+20)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #61 pc 00000000000ea740 /apex/com.android.runtime/javalib/core-oj.jar (java.lang.Thread.run+8)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #62 pc 00000000002ccad4 /apex/com.android.runtime/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.6312508945476093651+420)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #63 pc 00000000005b8830 /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+968)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #64 pc 000000000013c448 /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #65 pc 0000000000133334 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #66 pc 0000000000142358 /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+208)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #67 pc 00000000004df8fc /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #68 pc 00000000004e0a2c /apex/com.android.runtime/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+416)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #69 pc 000000000051f180 /apex/com.android.runtime/lib64/libart.so (art::Thread::CreateCallback(void*)+1420)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #70 pc 00000000000e2cb4 /bionic/lib64/libc.so (__pthread_start(void*)+36)
2019-04-20 08:58:28.569 25342-25342/? A/DEBUG: #71 pc 000000000008380c /bionic/lib64/libc.so (__start_thread+64)
Edited by Tim-Philipp Müller