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

Seg Fault in Valgrind using QtWebKit

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • 4.8.1
    • Image formats, WebKit
    • None
    • Ubuntu 12.04, Qt 4.8.1

    Description

      Depending on the machine, I get a segfault running the following code in or sometimes out of valgrind. The backtrace points to QImage::read(), the same as issue 27032, although I can't get a valid backtrace on my current machine, as it only segfaults in valgrind. It seems to happen in jpeg_CreateDecompress(). Tough to find where it is causing problems without being able to use valgrind and gdb.

      #include <QApplication>
      #include <QMainWindow>
      #include <QtWebKit>

      int main(int argc, char *argv[])
      {
      QApplication app(argc, argv);
      QWebView *view = new QWebView();
      view->load(QUrl("http://maps.google.com"));
      view->show();

      return app.exec();
      }

      Attachments

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

        Activity

          People

            rodal Samuel Rødal
            ksshannon Kyle Shannon
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes