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

Web Inspector crashes at QWebInspector::setPage with the debug build of browser.exe

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 4.6.2
    • 3.x
    • None
    • None
    • 2761e6f57ecd00c3435dbb8a6cf5f40653195d5d

    Description

      1. Build demos.sln with the debug configuration with MSVC2005 SP1
      2. put browser/debug/browser.exe in the QT bin directory
      3. Run browser.exe and enable the web inspector
      4. Open a web page and open the web inspector
      5. Close browser.exe

      Expected result: browser.exe exits without an error

      Actual result: browser.exe crashes

      void QWebInspector::setPage(QWebPage* page)
      {
      if (d->page)

      { // Break currentPage-->this d->page->d->setInspector(0); }

      if (page && page->d->inspector && page->d->inspector != this)

      { // Break newPage<->newPageCurrentInspector page->d->inspector->setPage(0); }

      d->page = page; // crash

      if (page)

      { // Setup the reciprocal association page->d->setInspector(this); }

      }

      Attachments

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

        Activity

          People

            akling Andreas Kling (closed Nokia identity) (Inactive)
            ryuk Ryuichi KUBUKI
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes