<div dir="ltr">hi,<div>for the logs, in GCompris, we use "normal" qDebug() and they are well printed in the logcat.</div><div><br></div><div>Regarding the last SIGSEGV, sometimes, I had to run it multiple times to have a stacktrace. Laybe it can help having more info.</div><div><br></div><div>Sorry I don't have more clues.</div><div><br></div><div>Cheers,</div><div><br></div><div>Johnny</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 14 mars 2022 à 13:57, Alexander Neundorf <<a href="mailto:neundorf@kde.org">neundorf@kde.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div><p style="margin:0px">Hi,</p>
<br><p style="margin:0px">so maybe I need a 64bit build ?</p>
<p style="margin:0px"><span style="color:rgb(0,0,0)"><span style="background-color:rgb(255,255,255)"><span style="font-family:monospace">Tab8:/ $ file /bin/toybox</span></span></span></p>
<p style="margin:0px">/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>
<p style="margin:0px">So I tried a 64bit build now:</p>
<br><p style="margin:0px"><span style="color:rgb(0,0,0)"><span style="background-color:rgb(255,255,255)">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:0px">Running the installed apk still crashes, with a different error message, but (to me) not more useful:</p>
<br><br><p style="margin:0px"><span style="color:rgb(0,0,0)"><span style="background-color:rgb(255,255,255)">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:0px">Alex</p>
<br><p></p></div>
</blockquote></div>