Qt app crashed after upgrading Qt5 libraries to 5.15.10+dfsg-5build1 in noble-proposed

Bug #2047023 reported by Xu Zhen
28
This bug affects 3 people
Affects Status Importance Assigned to Milestone
qtbase-opensource-src (Ubuntu)
Fix Released
Medium
Rik Mills

Bug Description

After upgrading Qt5 libraries to 5.15.10+dfsg-5build1, several Qt5 applications (including lxqt-panel and goldendict) crashed, leaving a "*** buffer overflow detected ***: terminated" message in console.

It seems that the crashed applications all used the QSettings. The following sample code will crash with 5.15.10+dfsg-5build1, but not with 5.15.10+dfsg-5

#include <QSettings>
int main(int argc, char *argv[])
{
    QSettings s("/tmp/a.ini", QSettings::IniFormat);
    s.setValue("a", 123);
    s.sync();
    return 0;
}

Xu Zhen (xuzhen666)
description: updated
Revision history for this message
Rik Mills (rikmills) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in qtbase-opensource-src (Ubuntu):
status: New → Confirmed
Revision history for this message
Rik Mills (rikmills) wrote :

Note that 5.15.10+dfsg-5build1 is from the noble-propose pocket, which should not normally be installed on a machine you expect to be relatively stable.

summary: - Qt app crashed after upgrading Qt5 libraries to 5.15.10+dfsg-5build1
+ Qt app crashed after upgrading Qt5 libraries to 5.15.10+dfsg-5build1 in
+ noble-proposed
Changed in qtbase-opensource-src (Ubuntu):
importance: Undecided → Medium
Rik Mills (rikmills)
Changed in qtbase-opensource-src (Ubuntu):
assignee: nobody → Rik Mills (rikmills)
Revision history for this message
Xu Zhen (xuzhen666) wrote :

Upgraded to 5.15.10+dfsg-5ubuntu1, no crash anymore

Rik Mills (rikmills)
Changed in qtbase-opensource-src (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.