Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-125716

QWebEngineView double free memory corruption

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.7.1
    • WebEngine
    • None
    • Gentoo Linux with default/linux/amd64/23.0/desktop/plasma/systemd profile.
      KDE Plasma 6.
    • Linux/Wayland

    Description

      IIRC it worked fine with 6.7.0 but with 6.7.1 and memalloc check enabled my app crashes on exit every time.

      The code I tested with is below:

        QApplication a(argc, argv);
        auto v = new QWebEngineView();
        v->setAttribute(Qt::WA_DeleteOnClose); // unnecessary but just in case
        v->setMinimumSize(100, 100);
        v->show();
      

      And startup environment variables:

      MALLOC_CHECK_=3
      LD_PRELOAD=/usr/lib64/libc_malloc_debug.so.0
      

      App output

      Path override failed for key base::DIR_APP_DICTIONARIES and path '/home/rion/projects/build-qtbug-Qt6-Debug/qtwebengine_dictionaries'
      Path override failed for key base::DIR_APP_DICTIONARIES and path '/usr/lib64/qt6/libexec/qtwebengine_dictionaries'
      Path override failed for key base::DIR_APP_DICTIONARIES and path '/usr/lib64/qt6/libexec/qtwebengine_dictionaries'
      double free or corruption (out)
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            rion Rion
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes