ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #08166
[Bug 2047023] [NEW] Qt app crashed after upgrading Qt5 libraries to 5.15.10+dfsg-5build1
Public bug reported:
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;
}
** Affects: qtbase-opensource-src (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
- After upgrading Qt libraries to 5.15.10+dfsg-5build1, several Qt
+ 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;
+ QSettings s("/tmp/a.ini", QSettings::IniFormat);
+ s.setValue("a", 123);
+ s.sync();
+ return 0;
}
--
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtbase-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/2047023
Title:
Qt app crashed after upgrading Qt5 libraries to 5.15.10+dfsg-5build1
Status in qtbase-opensource-src package in Ubuntu:
New
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;
}
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/2047023/+subscriptions
Follow ups