-
Bug
-
Resolution: Incomplete
-
P1: Critical
-
None
-
5.15.2
-
None
Application crashes on intensive changing Loader.source = url under Android. On Linux works fine.
I have a ListView with list<QtObject> model like the following:
property list<QtObject> items: [
QtObject {
property url iconSource: "/qmlimages/....svg"
property string name: qsTr("MENU ITEM")
property url page: "qrc:/qml/page_url.qml"
},
...
]
Each ListView has and item with mouse area inside:
MouseArea {
anchors.fill: parent
onClicked: {
listView.currentIndex = index
Qt.inputMethod.hide()
// Load pages dynamicaly
if (modelData.page) {
loader.source = modelData.page
}
}
}
All pages are `Rectangle`s with various items within:
- flickable
- buttons
- images
- inputs
- lables
- list views
- etc etc
While intensive clicking on the items on Android app crashes. If I comment out loader.source = modelData.page line - all works fine. Debugger does not show where the crash is - exists immediately:
F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xe00000018 in tid 2496 (QtThread), pid 483 (.airmap.airboss) I ViewRootImpl@1f668a3[QGCActivity]: ViewPostIme pointer 0 I ViewRootImpl@1f668a3[QGCActivity]: ViewPostIme pointer 1 D InputMethodManager: HSIFW - flag : 0 I InputMethodManager: hideSoftInputFromWindow ignore mServedView == null or mServedView.getWindowToken() != windowToken, mServedView :DecorView@55e6c5[QGCActivity] I ViewRootImpl@1f668a3[QGCActivity]: ViewPostIme pointer 0 I ViewRootImpl@1f668a3[QGCActivity]: ViewPostIme pointer 1 D InputMethodManager: HSIFW - flag : 0 I InputMethodManager: hideSoftInputFromWindow ignore mServedView == null or mServedView.getWindowToken() != windowToken, mServedView :DecorView@55e6c5[QGCActivity] I ViewRootImpl@1f668a3[QGCActivity]: ViewPostIme pointer 0 I ViewRootImpl@1f668a3[QGCActivity]: ViewPostIme pointer 1 D InputMethodManager: HSIFW - flag : 0 I InputMethodManager: hideSoftInputFromWindow ignore mServedView == null or mServedView.getWindowToken() != windowToken, mServedView :DecorView@55e6c5[QGCActivity] 14:40:34: Debugging of -qmljsdebugger=port:39723,block,services:DebugMessages,QmlDebugger,V8Debugger,QmlInspector,DebugTranslation has finished.