[Webkit-unassigned] [Bug 29432] New: [Qt] Printing a webview segfaults when dpi is to low and the path to the executable contains a dot

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 18 07:45:37 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=29432

           Summary: [Qt] Printing a webview segfaults when dpi is to low
                    and the path to the executable contains a dot
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: Mac OS X 10.5
            Status: NEW
          Keywords: Qt
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: vestbo at webkit.org


This bug report originated from issue QTBUG-3444
<http://bugreports.qt.nokia.com/browse/QTBUG-3444>

--- Description ---

When printing a QWebView, if the path to the executable contain a dot, and the
printer is configured with low dpi, QWebCore causes a segmentation fault.

Here is an example to reproduce the issue, it have to be launched from a
directory with a dot in the path...:


class Object : public QObject{
  Q_OBJECT

public:
  Object(){
    connect(&view, SIGNAL(loadFinished(bool)), this, SLOT(print(bool)));
    view.load(QUrl());
  }
public slots:
  void print(bool /* ok */){
    QPrinter printer;
    printer.setResolution(80);    
    view.print(&printer);    
    qDebug() << "it works";
  }
private:
  QWebView view;
};

int main(int argc, char **argv){
  QApplication app(argc, argv);
  Object o;
  return app.exec();
}

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list