[Webkit-unassigned] [Bug 98248] New: [Qt] QApplication with QWebView crashes on execution when compiled with VS2012 RC (Visual Studio 2012 release candidate)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 3 02:53:19 PDT 2012


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

           Summary: [Qt] QApplication with QWebView crashes on execution
                    when compiled with VS2012 RC (Visual Studio 2012
                    release candidate)
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Critical
          Priority: P3
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: crisbi at gmx.net


Created an attachment (id=166839)
 --> (https://bugs.webkit.org/attachment.cgi?id=166839&action=review)
VS project file to reproduce the bug

I already reported this bug to the QT bugtracker (https://bugreports.qt-project.org/browse/QTBUG-27303), but it was flagged "out of scope" there and I was told to report it here.
I'll copy the information, to make sure its all in one place:

This very simple test program does compile, but crashes with "..exe has stopped working" directly after starting it,
 iff the "view->..." line is activated.

-------------------------------------------
 #include <QtGui/QApplication>
 #include <Qt/qwebview.h>

int main(int argc, char* args[])
{
  QApplication app(argc, args);
  QWebView *view = new QWebView(0); 
  // view->load(QUrl("http://qt.nokia.com/")); // <-- crash
  view->show();
  return app.exec();
} 
------------------------

Environment:
Visual Studio 2012 RC (VS 11) x64
Windows 7 x64, all updates

I used a fresh VS project and added a main.cpp, linking against
 QtWebKit4.lib;QtGui4.lib;QtCore4.lib;QtOpenGL4.lib;

I'll attach the solution file and the resulting executable.

---------------------

Backtrace:

Not Flagged > 3036 0 Main Thread Main Thread QtWebKit4.dll!000007fee4d59a28 Normal
 Not Flagged 1784 0 Worker Thread msvcr110.dll!_threadstartex QtCore4.dll!000000005429d736 Normal
 Not Flagged 7832 0 Worker Thread ntdll.dll!TppWaiterpThread() ntdll.dll!NtWaitForMultipleObjects Normal
 Not Flagged 6172 0 Worker Thread wlanapi.dll!NotificationApcThreadProc() wlanapi.dll!NotificationApcThreadProc Normal
 Not Flagged 7620 0 Worker Thread ntdll.dll!TppWorkerThread() ntdll.dll!ZwWaitForWorkViaWorkerFactory Normal

and Pop-up Window with:
 Unhandled exception at 0x000007FEE4D59A28 (QtWebKit4.dll) in QT_test.exe: 0xC0000005: Access violation reading location 0x0000000000000000.

– detailed trace:

 QtWebKitd4.dll!WTF::RefCountedBase::ref(void) C++
 QtWebKitd4.dll!WebCore::QualifiedName::init(class WTF::AtomicString const &,class WTF::AtomicString const &,class WTF::AtomicString const &) C++
 QtWebKitd4.dll!WebCore::QualifiedName::QualifiedName(class WTF::AtomicString const &,char const *,class WTF::AtomicString const &) C++
 QtWebKitd4.dll!WebCore::HTMLNames::init(void) C++
 QtWebKitd4.dll!WebCore::Frame::Frame(class WebCore::Page *,class WebCore::HTMLFrameOwnerElement *,class WebCore::FrameLoaderClient *) C++
 QtWebKitd4.dll!WebCore::Frame::create(class WebCore::Page *,class WebCore::HTMLFrameOwnerElement *,class WebCore::FrameLoaderClient *) C++
 QtWebKitd4.dll!QWebFrameData::QWebFrameData(class WebCore::Page *,class WebCore::Frame *,class WebCore::HTMLFrameOwnerElement *,class WTF::String const &) C++
 QtWebKitd4.dll!QWebPagePrivate::createMainFrame(void) C++
 QtWebKitd4.dll!QWebPage::mainFrame(void) C++
 QtWebKitd4.dll!QWebPage::setViewportSize(class QSize const &) C++
 QtWebKitd4.dll!QWebPage::setView(class QWidget *) C++
 QtWebKitd4.dll!QWebPage::QWebPage(class QObject *) C++
 QtWebKitd4.dll!QWebView::page(void) C++
 QtWebKitd4.dll!QWebView::load(class QUrl const &) C++
 > QT_test.exe!main(int argc, char * * args) Line 10 C++
 QT_test.exe!__tmainCRTStartup() Line 536 C
 QT_test.exe!mainCRTStartup() Line 377 C
 kernel32.dll!BaseThreadInitThunk() Unknown
 ntdll.dll!RtlUserThreadStart() Unknown

-- 
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