Crash in "canvas" qml example during startup

Johnny Jazeix jazeix at gmail.com
Mon Mar 14 15:38:41 GMT 2022


hi,
for the logs, in GCompris, we use "normal" qDebug() and they are well
printed in the logcat.

Regarding the last SIGSEGV, sometimes, I had to run it multiple times to
have a stacktrace. Laybe it can help having more info.

Sorry I don't have more clues.

Cheers,

Johnny

Le lun. 14 mars 2022 à 13:57, Alexander Neundorf <neundorf at kde.org> a
écrit :

> Hi,
>
> so maybe I need a 64bit build ?
>
> Tab8:/ $ file /bin/toybox
>
> /bin/toybox: ELF shared object, 64-bit LSB arm64, dynamic
> (/system/bin/linker64)
> Tab8:/ $ uname -a
> Linux localhost 4.14.133 #1 SMP PREEMPT Wed Feb 23 16:31:05 CST 2022
> aarch64
> Tab8:/ $
>
>
>
>
>
> So I tried a 64bit build now:
>
> cmake -DANDROID_API_LEVEL=27 -DANDROID_ABI=arm64-v8a
> -DCMAKE_TOOLCHAIN_FILE=~/docker_dev/extra-cmake-modules/toolchain/Android.cmake
> -DCMAKE_P
> REFIX_PATH=/opt/Qt/ -DQTANDROID_EXPORTED_TARGET=qmlcanvas .
>
> Running the installed apk still crashes, with a different error message,
> but (to me) not more useful:
>
>
> D         : Gralloc Free  w:1920, h:1200, f:0x1101, usage:0x900,
> ui64Stamp:136579 line = 2376
> D         : Gralloc Register  w:1920, h:1200, f:0x1101, usage:0x900,
> ui64Stamp:136579, sSize:9236480, line = 2270
> I hwservicemanager: getTransport: Cannot find entry
> android.hardware.graphics.mapper at 3.0::IMapper/default in either framework
> or device manifest.
> W Gralloc3: mapper 3.x is not supported
> D         : Gralloc Register  w:1200, h:1920, f:0x1101, usage:0xb00,
> ui64Stamp:136575, sSize:9236480, line = 2270
> I ActivityTaskManager: Displayed
> org.qtproject.example/org.qtproject.qt5.android.bindings.QtActivity: +675ms
> D         : Gralloc Free  w:1920, h:1200, f:0x1, usage:0x966,
> ui64Stamp:136528 line = 2376
> I GoogleInputMethodService: GoogleInputMethodService.onFinishInput():3210
> I GoogleInputMethodService:
> GoogleInputMethodService.updateDeviceLockedStatus():2099 checkRepeatedly =
> false, unlocked = true
> I GoogleInputMethodService: GoogleInputMethodService.onStartInput():1907
> onStartInput(EditorInfo{inputType=0x0(NULL) imeOptions=0x0
> privateImeOptions=null actionName=UNSPECIFIED ac
> 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)
> I GoogleInputMethodService:
> GoogleInputMethodService.updateDeviceLockedStatus():2099 checkRepeatedly =
> true, unlocked = true
> D         : Gralloc Free  w:1920, h:1200, f:0x1101, usage:0x900,
> ui64Stamp:136579 line = 2376
> D         : GBuffer--------------(*format)=1
> D         : Gralloc alloc start  w:1200, h:1920, f:0x1, usage:0xb00, line
> = 1621
> D         : Gralloc Alloc end  w:1200, h:1920, f:0x1101, usage:0xb00,
> handle:0xdfa46500, ui64Stamp:136607, sSize:9236480, line = 2021
> D         : Gralloc Free  w:1200, h:1920, f:0x1101, usage:0xb00,
> ui64Stamp:136607 line = 2376
> D         : Gralloc Register  w:1200, h:1920, f:0x1101, usage:0xb00,
> ui64Stamp:136607, sSize:9236480, line = 2270
> D         : Gralloc Register  w:1200, h:1920, f:0x1101, usage:0xb00,
> ui64Stamp:136607, sSize:9236480, line = 2270
> D         : Gralloc Register  w:1200, h:1920, f:0x1101, usage:0xb00,
> ui64Stamp:136607, sSize:9236480, line = 2270
> F libc    : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr
> 0x7802bfd000 in tid 1889 (qtMainLoopThrea), pid 1864 (project.example)
> D         : Gralloc Free  w:1200, h:1920, f:0x1101, usage:0xb00,
> ui64Stamp:136518 line = 2376
> I crash_dump64: obtaining output fd from tombstoned, type:
> kDebuggerdTombstone
> I /system/bin/tombstoned: received crash request for pid 1889
>
>
>
> Alex
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-android/attachments/20220314/cdab1f7f/attachment-0001.htm>


More information about the KDE-Android mailing list