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
Touch seeded packages, 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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to