Public bug reported:

I'm trying to run CODESYS control software that uses Qt5 QML to render
the UI on Ubuntu 24.04.3, which has Qt5 5.15.13 installed. The app calls
mlockall to lock memory and causes libQt5Qml.so.5 to crash (see the
related gdb snippet attached, note calling madvise MADV_DONTNEED on
locked memory gives the EINVAL error, errno = 22).

Note the bug was introduced by
https://github.com/qt/qtdeclarative/commit/f4a55f7633d5ee2534363fc45129c86a5fae5d6b
and fixed by
https://github.com/qt/qtdeclarative/commit/f1d0468a0c9ccf16d115aaca925468ffcddff568,
it affects 5.15.9 to 5.15.16 so it affects Ubuntu 24.04.3 which is on
5.15.13.

Backport the fix commit to 5.15.13 should fix the issue.

** Affects: qtdeclarative-opensource-src (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "gdb snippit"
   https://bugs.launchpad.net/bugs/2131070/+attachment/5926173/+files/gdb.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2131070

Title:
  QML apps crash if they lock memory with mlockall

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/2131070/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to