Important: Please read the Qt Code of Conduct -

QML AppCrash on BackButton Press (Android, Qt5.2 Beta)

  • I was trying to handle the back button in QML application to Quit the app like so:
    @ Keys.onReleased: {
    if (event.key == Qt.Key_Back) {
    console.log("Back button captured - wunderbar !");
    event.accepted = true
    But it crashes with the following log:

    @D/Qt (21700): assets:/qml/QuickFirst/main.qml:42 (onReleased): Back button captured - wunderbar !
    W/Adreno-EGL(21700): <qeglDrvAPI_eglMakeCurrent:2918>: EGL_BAD_MATCH
    E/libEGL (21700): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
    W/Qt (21700): eglconvenience/qeglplatformcontext.cpp:119 (virtual bool QEGLPlatformContext::makeCurrent(QPlatformSurface*)): QEGLPlatformContext::makeCurrent: eglError: 3009, this: 0x74fb1b90
    W/Qt (21700):
    E/libEGL (21700): call to OpenGL ES API with no current context (logged once per thread)@

    Any idea why this might be happening?..

  • Hi guys is anybody else seeing this problem on QML android?

  • I have another message when pressing back button

    @E/IMGSRV (16495): kickresource.c:1130: Debug assertion failed!
    F/libc (16495): Fatal signal 6 (SIGABRT) at 0x0000406f (code=-6), thread 16781 (QSGRenderThread)@

  • Have you found a solution? I'm seeing a similar error when the back key is pressed even though I do not handle the back key explicitly:

    E/IMGSRV (21013): kickresource.c:1142: Debug assertion failed!
    F/libc (21013): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 21075 (QSGRenderThread)

Log in to reply