Details
-
Bug
-
Resolution: Incomplete
-
P1: Critical
-
6.1.3
Description
I am getting a crash when using the Qt debug library and testing in iOS devices. It does not happen in simulators, it does not happen on the release Qt library.
Essentially, my application segfaults while executing my Javascript code. I was not able to create a minimum case scenario for this as I don't really understand which code path is triggering it. However, I can reproduce it 100% of the time in the sample app I created for the library I work on, the code is available here. If you execute the linked sample on an iOS device and click the "Submit ping" button on the app, you will be able to see the crash. It happens immediatelly.
I am currently using Qt 5.15.2, but I checked and the same crash occurs in Qt 6.3.
From the investigation I have done, the crash seems to be caused by a null reference created on this line. I am eager to hear your assesment on this though, and curious to know if there is any workaround I can apply on the Javascript code temporarily so as not to hit this crash.
Attachments
For Gerrit Dashboard: QTBUG-96788 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
405172,1 | Increase stack size on Android to 8 MB | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |
405180,4 | Adapt qv4engine to stack size on Android | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
406058,1 | Adapt qv4engine to stack size on Android | 6.2 | qt/qtdeclarative | Status: ABANDONED | -1 | 0 |
406059,2 | Adapt qv4engine to stack size on Android | 6.3 | qt/qtdeclarative | Status: MERGED | +2 | 0 |