Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-134623

QtQuickView applications crash when configuration (like orientation or anything) changes if a QQuickItem has focus

    XMLWordPrintable

Details

    • Android

    Description

      Steps:

      1. Run any QtQuickView application that hosts a QML view that has some control that takes focus. e.g. qtquickview_java example.
      2. Rotate your device/emulator
      3. Rotate your device/emulator to previous position
      4. Touch the QML view, press a button for example
      5. Rotate your device/emulator

      Result

      2025-03-11 14:24:23.875 16168-16191 libc                    com.example.qtquickview_java         A  Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x8 in tid 16191 (qtMainLoopThrea), pid 16168 (tquickview_java)
      2025-03-11 14:24:23.897 16168-16187 OpenGLRenderer          com.example.qtquickview_java         E  Unable to match the desired swap behavior.
      2025-03-11 14:24:23.898 16168-16168 AutofillManager         com.example.qtquickview_java         D  notifyViewEnteredForFillDialog:1073741824
      2025-03-11 14:24:23.996 16234-16234 DEBUG                   pid-16234                            A  Cmdline: com.example.qtquickview_java
      2025-03-11 14:24:23.996 16234-16234 DEBUG                   pid-16234                            A  pid: 16168, tid: 16191, name: qtMainLoopThrea  >>> com.example.qtquickview_java <<<
      2025-03-11 14:24:23.996 16234-16234 DEBUG                   pid-16234                            A        #00 pc 0000000000606f88  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Gui_arm64-v8a.so (offset 0x238c000) (BuildId: f4af1998a60ae7ffdf22d1b33e2889105039cb89)
      2025-03-11 14:24:23.996 16234-16234 DEBUG                   pid-16234                            A        #01 pc 00000000006fb878  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Gui_arm64-v8a.so (offset 0x238c000) (BuildId: f4af1998a60ae7ffdf22d1b33e2889105039cb89)
      2025-03-11 14:24:23.996 16234-16234 DEBUG                   pid-16234                            A        #02 pc 00000000007ecd20  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Gui_arm64-v8a.so (offset 0x238c000) (BuildId: f4af1998a60ae7ffdf22d1b33e2889105039cb89)
      2025-03-11 14:24:23.996 16234-16234 DEBUG                   pid-16234                            A        #03 pc 00000000007ed69c  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Gui_arm64-v8a.so (offset 0x238c000) (QWindow::handle() const+28) (BuildId: f4af1998a60ae7ffdf22d1b33e2889105039cb89)
      2025-03-11 14:24:23.996 16234-16234 DEBUG                   pid-16234                            A        #04 pc 0000000000103150  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk (offset 0x604000) (BuildId: 456dc98adb2d2da9f9fda1c0b4313500cf821992)
      2025-03-11 14:24:23.996 16234-16234 DEBUG                   pid-16234                            A        #05 pc 0000000000107554  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk (offset 0x604000) (BuildId: 456dc98adb2d2da9f9fda1c0b4313500cf821992)
      2025-03-11 14:24:23.996 16234-16234 DEBUG                   pid-16234                            A        #06 pc 0000000000713dcc  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Gui_arm64-v8a.so (offset 0x238c000) (QGuiApplicationPrivate::_q_updateFocusObject(QObject*)+188) (BuildId: f4af1998a60ae7ffdf22d1b33e2889105039cb89)
      2025-03-11 14:24:23.996 16234-16234 DEBUG                   pid-16234                            A        #07 pc 00000000007182ac  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Gui_arm64-v8a.so (offset 0x238c000) (BuildId: f4af1998a60ae7ffdf22d1b33e2889105039cb89)
      2025-03-11 14:24:23.996 16234-16234 DEBUG                   pid-16234                            A        #08 pc 00000000006ca91c  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Core_arm64-v8a.so (offset 0x45c0000) (BuildId: edc3b6615e33cb09f49fab522f5c3e7f6cdc1a9a)
      2025-03-11 14:24:23.996 16234-16234 DEBUG                   pid-16234                            A        #09 pc 00000000006c9478  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Core_arm64-v8a.so (offset 0x45c0000) (QMetaObject::activate(QObject*, QMetaObject const*, int, void**)+124) (BuildId: edc3b6615e33cb09f49fab522f5c3e7f6cdc1a9a)
      2025-03-11 14:24:23.996 16234-16234 DEBUG                   pid-16234                            A        #10 pc 00000000007194bc  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Gui_arm64-v8a.so (offset 0x238c000) (BuildId: f4af1998a60ae7ffdf22d1b33e2889105039cb89)
      2025-03-11 14:24:23.996 16234-16234 DEBUG                   pid-16234                            A        #11 pc 00000000007f7550  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Gui_arm64-v8a.so (offset 0x238c000) (QWindow::focusObjectChanged(QObject*)+60) (BuildId: f4af1998a60ae7ffdf22d1b33e2889105039cb89)
      2025-03-11 14:24:23.996 16234-16234 DEBUG                   pid-16234                            A        #12 pc 00000000009efdd0  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Quick_arm64-v8a.so (offset 0x5745000) (QQuickDeliveryAgentPrivate::clearFocusInScope(QQuickItem*, QQuickItem*, Qt::FocusReason, QFlags<QQuickDeliveryAgentPrivate::FocusOption>)+1760) (BuildId: 00bdfeb85536e58c2fbc77c3aa91d822856e6159)
      2025-03-11 14:24:23.996 16234-16234 DEBUG                   pid-16234                            A        #13 pc 000000000064a0b0  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Quick_arm64-v8a.so (offset 0x5745000) (QQuickItem::setParentItem(QQuickItem*)+892) (BuildId: 00bdfeb85536e58c2fbc77c3aa91d822856e6159)
      2025-03-11 14:24:23.996 16234-16234 DEBUG                   pid-16234                            A        #14 pc 00000000006499b8  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Quick_arm64-v8a.so (offset 0x5745000) (QQuickItem::~QQuickItem()+160) (BuildId: 00bdfeb85536e58c2fbc77c3aa91d822856e6159)
      2025-03-11 14:24:23.996 16234-16234 DEBUG                   pid-16234                            A        #15 pc 00000000006f6cac  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Quick_arm64-v8a.so (offset 0x5745000) (BuildId: 00bdfeb85536e58c2fbc77c3aa91d822856e6159)
      2025-03-11 14:24:23.996 16234-16234 DEBUG                   pid-16234                            A        #16 pc 0000000000bb7af4  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Quick_arm64-v8a.so (offset 0x5745000) (BuildId: 00bdfeb85536e58c2fbc77c3aa91d822856e6159)
      2025-03-11 14:24:23.996 16234-16234 DEBUG                   pid-16234                            A        #17 pc 0000000000bb7b1c  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Quick_arm64-v8a.so (offset 0x5745000) (BuildId: 00bdfeb85536e58c2fbc77c3aa91d822856e6159)
      2025-03-11 14:24:23.996 16234-16234 DEBUG                   pid-16234                            A        #18 pc 00000000007cdd44  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Quick_arm64-v8a.so (offset 0x5745000) (QQuickView::~QQuickView()+108) (BuildId: 00bdfeb85536e58c2fbc77c3aa91d822856e6159)
      2025-03-11 14:24:23.996 16234-16234 DEBUG                   pid-16234                            A        #19 pc 00000000005b7148  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Quick_arm64-v8a.so (offset 0x5745000) (BuildId: 00bdfeb85536e58c2fbc77c3aa91d822856e6159)
      2025-03-11 14:24:23.996 16234-16234 DEBUG                   pid-16234                            A        #20 pc 00000000005b7170  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Quick_arm64-v8a.so (offset 0x5745000) (BuildId: 00bdfeb85536e58c2fbc77c3aa91d822856e6159)
      2025-03-11 14:24:23.996 16234-16234 DEBUG                   pid-16234                            A        #21 pc 00000000006bd6e8  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Core_arm64-v8a.so (offset 0x45c0000) (QObjectPrivate::deleteChildren()+244) (BuildId: edc3b6615e33cb09f49fab522f5c3e7f6cdc1a9a)
      2025-03-11 14:24:23.996 16234-16234 DEBUG                   pid-16234                            A        #22 pc 00000000006bcf40  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Core_arm64-v8a.so (offset 0x45c0000) (QObject::~QObject()+2048) (BuildId: edc3b6615e33cb09f49fab522f5c3e7f6cdc1a9a)
      2025-03-11 14:24:23.996 16234-16234 DEBUG                   pid-16234                            A        #23 pc 00000000007ec028  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Gui_arm64-v8a.so (offset 0x238c000) (QWindow::~QWindow()+376) (BuildId: f4af1998a60ae7ffdf22d1b33e2889105039cb89)
      2025-03-11 14:24:23.996 16234-16234 DEBUG                   pid-16234                            A        #24 pc 00000000007ec828  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Gui_arm64-v8a.so (offset 0x238c000) (QWindow::~QWindow()+32) (BuildId: f4af1998a60ae7ffdf22d1b33e2889105039cb89)
      2025-03-11 14:24:23.996 16234-16234 DEBUG                   pid-16234                            A        #25 pc 00000000006be800  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Core_arm64-v8a.so (offset 0x45c0000) (QObject::event(QEvent*)+236) (BuildId: edc3b6615e33cb09f49fab522f5c3e7f6cdc1a9a)
      2025-03-11 14:24:23.996 16234-16234 DEBUG                   pid-16234                            A        #26 pc 00000000007f4bb0  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Gui_arm64-v8a.so (offset 0x238c000) (QWindow::event(QEvent*)+1200) (BuildId: f4af1998a60ae7ffdf22d1b33e2889105039cb89)
      2025-03-11 14:24:23.996 16234-16234 DEBUG                   pid-16234                            A        #27 pc 0000000000609298  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Core_arm64-v8a.so (offset 0x45c0000) (QCoreApplicationPrivate::notify_helper(QObject*, QEvent*)+208) (BuildId: edc3b6615e33cb09f49fab522f5c3e7f6cdc1a9a)
      2025-03-11 14:24:23.996 16234-16234 DEBUG                   pid-16234                            A        #28 pc 0000000000608bec  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Core_arm64-v8a.so (offset 0x45c0000) (BuildId: edc3b6615e33cb09f49fab522f5c3e7f6cdc1a9a)
      2025-03-11 14:24:23.996 16234-16234 DEBUG                   pid-16234                            A        #29 pc 0000000000608d5c  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Core_arm64-v8a.so (offset 0x45c0000) (QCoreApplication::notify(QObject*, QEvent*)+168) (BuildId: edc3b6615e33cb09f49fab522f5c3e7f6cdc1a9a)
      2025-03-11 14:24:23.997 16234-16234 DEBUG                   pid-16234                            A        #30 pc 000000000070c690  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Gui_arm64-v8a.so (offset 0x238c000) (QGuiApplication::notify(QObject*, QEvent*)+188) (BuildId: f4af1998a60ae7ffdf22d1b33e2889105039cb89)
      2025-03-11 14:24:23.997 16234-16234 DEBUG                   pid-16234                            A        #31 pc 0000000000608aa0  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Core_arm64-v8a.so (offset 0x45c0000) (QCoreApplication::notifyInternal2(QObject*, QEvent*)+372) (BuildId: edc3b6615e33cb09f49fab522f5c3e7f6cdc1a9a)
      2025-03-11 14:24:23.997 16234-16234 DEBUG                   pid-16234                            A        #32 pc 0000000000609bf8  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Core_arm64-v8a.so (offset 0x45c0000) (QCoreApplication::sendEvent(QObject*, QEvent*)+148) (BuildId: edc3b6615e33cb09f49fab522f5c3e7f6cdc1a9a)
      2025-03-11 14:24:23.997 16234-16234 DEBUG                   pid-16234                            A        #33 pc 000000000060af68  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Core_arm64-v8a.so (offset 0x45c0000) (QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)+1456) (BuildId: edc3b6615e33cb09f49fab522f5c3e7f6cdc1a9a)
      2025-03-11 14:24:23.997 16234-16234 DEBUG                   pid-16234                            A        #34 pc 000000000096de44  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Core_arm64-v8a.so (offset 0x45c0000) (QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)+152) (BuildId: edc3b6615e33cb09f49fab522f5c3e7f6cdc1a9a)
      2025-03-11 14:24:23.997 16234-16234 DEBUG                   pid-16234                            A        #35 pc 0000000000f79888  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Gui_arm64-v8a.so (offset 0x238c000) (QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)+64) (BuildId: f4af1998a60ae7ffdf22d1b33e2889105039cb89)
      2025-03-11 14:24:23.997 16234-16234 DEBUG                   pid-16234                            A        #36 pc 00000000000fe720  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk (offset 0x604000) (BuildId: 456dc98adb2d2da9f9fda1c0b4313500cf821992)
      2025-03-11 14:24:23.997 16234-16234 DEBUG                   pid-16234                            A        #37 pc 000000000062444c  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Core_arm64-v8a.so (offset 0x45c0000) (QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)+148) (BuildId: edc3b6615e33cb09f49fab522f5c3e7f6cdc1a9a)
      2025-03-11 14:24:23.997 16234-16234 DEBUG                   pid-16234                            A        #38 pc 000000000062469c  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Core_arm64-v8a.so (offset 0x45c0000) (QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)+520) (BuildId: edc3b6615e33cb09f49fab522f5c3e7f6cdc1a9a)
      2025-03-11 14:24:23.997 16234-16234 DEBUG                   pid-16234                            A        #39 pc 0000000000609780  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Core_arm64-v8a.so (offset 0x45c0000) (QCoreApplication::exec()+416) (BuildId: edc3b6615e33cb09f49fab522f5c3e7f6cdc1a9a)
      2025-03-11 14:24:23.997 16234-16234 DEBUG                   pid-16234                            A        #40 pc 000000000070c37c  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk!libQt6Gui_arm64-v8a.so (offset 0x238c000) (QGuiApplication::exec()+16) (BuildId: f4af1998a60ae7ffdf22d1b33e2889105039cb89)
      2025-03-11 14:24:23.997 16234-16234 DEBUG                   pid-16234                            A        #41 pc 0000000000011130  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk (offset 0x6ba8000) (main+64) (BuildId: 9931e3d18b92288f520b2badce26f26616f63626)
      2025-03-11 14:24:23.997 16234-16234 DEBUG                   pid-16234                            A        #42 pc 00000000000e1c24  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk (offset 0x604000) (BuildId: 456dc98adb2d2da9f9fda1c0b4313500cf821992)
      2025-03-11 14:24:23.997 16234-16234 DEBUG                   pid-16234                            A        #48 pc 00000000004664a4  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk (org.qtproject.qt.android.QtNative$$ExternalSyntheticLambda2.run+0)
      2025-03-11 14:24:23.997 16234-16234 DEBUG                   pid-16234                            A        #53 pc 0000000000468218  /data/app/~~tdyvrs41xe8oAJaAMuoYsg==/com.example.qtquickview_java-V23YQjkjLKfFZi1_QPFhZw==/base.apk (org.qtproject.qt.android.QtThread$1.run+0)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            pevirkku Petri Virkkunen
            pevirkku Petri Virkkunen
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes