Crash in "canvas" qml example during startup

Johnny Jazeix jazeix at gmail.com
Mon Mar 14 07:23:20 GMT 2022


Hi,

usually, crashes happened to me when the images size was not set or there
was a division by 0.
Maybe it's something equivalent here.

Cheers,

Johnny

Le dim. 13 mars 2022 à 23:39, Alexander Neundorf <neundorf at kde.org> a
écrit :

> Hi,
>
> I'm tyring to run the "canvas" qml example, building it using the KDE
> Android
> support. It crashes during startup, it seems it tries to allocate 4GB of
> memory and that fails.
> I guess it's something very basic that's going wrong. Any pointers ?
>
> I ActivityTaskManager: Displayed org.qtproject.example/
> org.qtproject.qt5.android.bindings.QtActivity: +665ms
> D         : Gralloc Free  w:1920, h:1200, f:0x1, usage:0x966,
> ui64Stamp:109833
> 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 actionLabel=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:
> 109888 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:
> 0xe181c8c0, ui64Stamp:109916, sSize:9236480, line = 2021
>  D         : Gralloc Free  w:1200, h:1920, f:0x1101, usage:0xb00,
> ui64Stamp:
> 109916 line = 2376
>  D         : Gralloc Register  w:1200, h:1920, f:0x1101, usage:0xb00,
> ui64Stamp:109916, sSize:9236480, line = 2270
>  D         : Gralloc Register  w:1200, h:1920, f:0x1101, usage:0xb00,
> ui64Stamp:109916, sSize:9236480, line = 2270
>  D         : Gralloc Register  w:1200, h:1920, f:0x1101, usage:0xb00,
> ui64Stamp:109916, sSize:9236480, line = 2270
>  D         : Gralloc Free  w:1200, h:1920, f:0x1101, usage:0xb00,
> ui64Stamp:
> 109786 line = 2376
> W libc    : malloc(4294967295) failed: returning null pointer
>
> Thanks
> Alex
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-android/attachments/20220314/f5ec9d22/attachment.htm>


More information about the KDE-Android mailing list