<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Hi,</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">so maybe I need a 64bit build ?</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><span style="color:#000000;"><span style="background-color:#ffffff;"><span style="font-family:monospace;">Tab8:/ $ file /bin/toybox</span></span></span></p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">/bin/toybox: ELF shared object, 64-bit LSB arm64, dynamic (/system/bin/linker64) <br />Tab8:/ $ uname -a <br />Linux localhost 4.14.133 #1 SMP PREEMPT Wed Feb 23 16:31:05 CST 2022 aarch64 <br />Tab8:/ $ </p>
<p> <p> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">So I tried a 64bit build now:</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><span style="color:#000000;"><span style="background-color:#ffffff;">cmake -DANDROID_API_LEVEL=27 -DANDROID_ABI=arm64-v8a -DCMAKE_TOOLCHAIN_FILE=~/docker_dev/extra-cmake-modules/toolchain/Android.cmake -DCMAKE_P</span></span><br />REFIX_PATH=/opt/Qt/ -DQTANDROID_EXPORTED_TARGET=qmlcanvas .</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Running the installed apk still crashes, with a different error message, but (to me) not more useful:</p>
<br /><br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><span style="color:#000000;"><span style="background-color:#ffffff;">D         : Gralloc Free  w:1920, h:1200, f:0x1101, usage:0x900, ui64Stamp:136579 line = 2376 </span></span><br />D         : Gralloc Register  w:1920, h:1200, f:0x1101, usage:0x900, ui64Stamp:136579, sSize:9236480, line = 2270 <br />I hwservicemanager: getTransport: Cannot find entry android.hardware.graphics.mapper@3.0::IMapper/default in either framework or device manifest. <br />W Gralloc3: mapper 3.x is not supported <br />D         : Gralloc Register  w:1200, h:1920, f:0x1101, usage:0xb00, ui64Stamp:136575, sSize:9236480, line = 2270 <br />I ActivityTaskManager: Displayed org.qtproject.example/org.qtproject.qt5.android.bindings.QtActivity: +675ms <br />D         : Gralloc Free  w:1920, h:1200, f:0x1, usage:0x966, ui64Stamp:136528 line = 2376 <br />I GoogleInputMethodService: GoogleInputMethodService.onFinishInput():3210  <br />I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2099 checkRepeatedly = false, unlocked = true <br />I GoogleInputMethodService: GoogleInputMethodService.onStartInput():1907 onStartInput(EditorInfo{inputType=0x0(NULL) imeOptions=0x0 privateImeOptions=null actionName=UNSPECIFIED ac<br />tionLabel=null actionId=0 initialSelStart=-1 initialSelEnd=-1 initialCapsMode=0x0 hintText=null label=null packageName=org.qtproject.example fieldId=-1 fieldName=null extras=null}, false) <br />I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2099 checkRepeatedly = true, unlocked = true <br />D         : Gralloc Free  w:1920, h:1200, f:0x1101, usage:0x900, ui64Stamp:136579 line = 2376 <br />D         : GBuffer--------------(*format)=1 <br />D         : Gralloc alloc start  w:1200, h:1920, f:0x1, usage:0xb00, line = 1621 <br />D         : Gralloc Alloc end  w:1200, h:1920, f:0x1101, usage:0xb00, handle:0xdfa46500, ui64Stamp:136607, sSize:9236480, line = 2021 <br />D         : Gralloc Free  w:1200, h:1920, f:0x1101, usage:0xb00, ui64Stamp:136607 line = 2376 <br />D         : Gralloc Register  w:1200, h:1920, f:0x1101, usage:0xb00, ui64Stamp:136607, sSize:9236480, line = 2270 <br />D         : Gralloc Register  w:1200, h:1920, f:0x1101, usage:0xb00, ui64Stamp:136607, sSize:9236480, line = 2270 <br />D         : Gralloc Register  w:1200, h:1920, f:0x1101, usage:0xb00, ui64Stamp:136607, sSize:9236480, line = 2270 <br />F libc    : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x7802bfd000 in tid 1889 (qtMainLoopThrea), pid 1864 (project.example) <br />D         : Gralloc Free  w:1200, h:1920, f:0x1101, usage:0xb00, ui64Stamp:136518 line = 2376 <br />I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone <br />I /system/bin/tombstoned: received crash request for pid 1889<br /></p>
<br /><br /><br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Alex</p>
<br /></body>
</html>