Crash in "canvas" qml example during startup

Alexander Neundorf neundorf at kde.org
Sun Mar 13 22:39:47 GMT 2022


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





More information about the KDE-Android mailing list