Bug 26073 - Browser crashes when trying to draw Pie Chart using a js library (Something not implemented in qt?)
Summary: Browser crashes when trying to draw Pie Chart using a js library (Something n...
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P1 Critical
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-28 17:11 PDT by Haso Keric
Modified: 2009-09-07 08:59 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Haso Keric 2009-05-28 17:11:43 PDT
Can someone verify a Qt Webkit bug - (no demo browser allowed, no arora) you will have to build your own little dummy browser using Qt Creator: launch http://www.jscharts.com/examples and open a Pie Graph - see if it crashes your application. - This is tested by me on Windows XP SP3 - Qt 4.5.1 - dynamic and static builds - clean source copies.

Tested on: ffox, ie, safari, arora = works!

Problem: when building my own browser = crash!

Tested on multiple pcs.
Comment 1 Haso Keric 2009-05-28 17:12:27 PDT
I have not tested it on other operating systems; but Windows XP by me is confirmed can someone else verify and assure i am not wrong..

Win Xp SP3
Comment 2 Haso Keric 2009-05-28 17:13:08 PDT
[20:12] <marcusU> vector_xyz: Does it kind of lock up that application when select the pie chart?
[20:12] <vector_xyz> yes
[20:12] <vector_xyz> it just locks it up
[20:12] <marcusU> It does for me, too.
Comment 3 Haso Keric 2009-05-28 19:36:45 PDT
I was told to do a backtrace by bdash and others in #webkit
first time doing it - idk if its any useful but i copied evertyhing i got when my Application froze

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

Thread 16 (thread 7080.0x1a90):
#0  0x7c8106e9 in KERNEL32!CreateThread ()
   from C:\WINDOWS\system32\kernel32.dll

Thread 12 (thread 7080.0x1928):
#0  0x7c90e4f4 in ntdll!LdrAccessResource ()
   from C:\WINDOWS\system32\ntdll.dll
#1  0x7c90df2c in ntdll!ZwWaitForMultipleObjects ()
   from C:\WINDOWS\system32\ntdll.dll
#2  0x7c809574 in KERNEL32!CreateFileMappingA ()
   from C:\WINDOWS\system32\kernel32.dll
#3  0x77df8601 in WmiFreeBuffer () from C:\WINDOWS\system32\advapi32.dll
#4  0x7c80b713 in KERNEL32!GetModuleFileNameA ()
   from C:\WINDOWS\system32\kernel32.dll
#5  0x00000000 in ?? ()

Thread 11 (thread 7080.0x1044):
#0  0x7c90e4f4 in ntdll!LdrAccessResource ()
   from C:\WINDOWS\system32\ntdll.dll
#1  0x7c90df3c in ntdll!ZwWaitForSingleObject ()
   from C:\WINDOWS\system32\ntdll.dll
#2  0x7c8025db in WaitForSingleObjectEx ()
   from C:\WINDOWS\system32\kernel32.dll
#3  0x00000670 in ?? ()
#4  0x00000000 in ?? ()

Thread 9 (thread 7080.0x1be8):
#0  0x7c90e4f4 in ntdll!LdrAccessResource ()
   from C:\WINDOWS\system32\ntdll.dll
#1  0x7c90df2c in ntdll!ZwWaitForMultipleObjects ()
   from C:\WINDOWS\system32\ntdll.dll
#2  0x76b5aee9 in timeGetTime () from C:\WINDOWS\system32\winmm.dll
#3  0x7c80b713 in KERNEL32!GetModuleFileNameA ()
   from C:\WINDOWS\system32\kernel32.dll
#4  0x00000000 in ?? ()

Thread 3 (thread 7080.0x3e0):
#0  0x7c90e4f4 in ntdll!LdrAccessResource ()
   from C:\WINDOWS\system32\ntdll.dll
#1  0x7c90df3c in ntdll!ZwWaitForSingleObject ()
   from C:\WINDOWS\system32\ntdll.dll
#2  0x7c8025db in WaitForSingleObjectEx ()
   from C:\WINDOWS\system32\kernel32.dll
#3  0x00000698 in ?? ()
#4  0x00000000 in ?? ()

Thread 2 (thread 7080.0x1b44):
#0  0x7c90e4f4 in ntdll!LdrAccessResource ()
   from C:\WINDOWS\system32\ntdll.dll
#1  0x7c90da8c in ntdll!ZwReplyWaitReceivePortEx ()
   from C:\WINDOWS\system32\ntdll.dll
#2  0x77e765e3 in UuidCreate () from C:\WINDOWS\system32\rpcrt4.dll
#3  0x77e76caf in RPCRT4!I_RpcBindingCopy ()
   from C:\WINDOWS\system32\rpcrt4.dll
#4  0x77e76ad1 in RPCRT4!I_RpcBindingCopy ()
   from C:\WINDOWS\system32\rpcrt4.dll
#5  0x77e76c97 in RPCRT4!I_RpcBindingCopy ()
   from C:\WINDOWS\system32\rpcrt4.dll
#6  0x7c80b713 in KERNEL32!GetModuleFileNameA ()
   from C:\WINDOWS\system32\kernel32.dll
#7  0x00000000 in ?? ()



Thread 1 (thread 7080.0x7e4):
#0  0x01a8a269 in JSC::JSValue::isObject ()
#1  0x004281de in JSC::Structure::getEnumerablePropertyNames ()
#2  0x00425427 in JSC::JSObject::getPropertyNames ()
#3  0x0079ab61 in JSC::JSArray::getPropertyNames ()
#4  0x016986d5 in JSC::JSPropertyNameIterator::create ()
#5  0x00864da4 in JSC::Interpreter::privateExecute ()
#6  0x00857ba2 in JSC::Interpreter::execute ()
#7  0x00854b71 in JSC::Interpreter::callEval ()
#8  0x00863773 in JSC::Interpreter::privateExecute ()
#9  0x00857464 in JSC::Interpreter::execute ()
#10 0x007a0e44 in JSC::JSFunction::call ()
#11 0x00562b7d in JSC::call ()
#12 0x007b3672 in WebCore::JSAbstractEventListener::handleEvent ()
#13 0x005b5f1f in WebCore::EventTargetNode::handleLocalEvents ()
#14 0x005b6920 in WebCore::EventTargetNode::dispatchGenericEvent ()
#15 0x005b6134 in WebCore::EventTargetNode::dispatchEvent ()
#16 0x005b8a84 in WebCore::EventTargetNode::dispatchMouseEvent ()
#17 0x005b7f87 in WebCore::EventTargetNode::dispatchMouseEvent ()
#18 0x0045072a in WebCore::EventHandler::dispatchMouseEvent ()
#19 0x0044f188 in WebCore::EventHandler::handleMouseReleaseEvent ()
#20 0x0040a8cf in QWebPagePrivate::mouseReleaseEvent ()
#21 0x0041283f in QWebPage::event ()
#22 0x0040668d in QWebView::mouseReleaseEvent ()
#23 0x00cfcc5b in QWidget::event (this=0x68d29e8, event=0x22c11c)
    at kernel/qwidget.cpp:7521
#24 0x004062ad in QWebView::event ()
#25 0x00ce19dd in QApplicationPrivate::notify_helper (this=0x67050d0,
    receiver=0x68d29e8, e=0x22c11c) at kernel/qapplication.cpp:4057
#26 0x00ce0449 in QApplication::notify (this=0x22fdf0, receiver=0x68d29e8,
    e=0x22c11c) at kernel/qapplication.cpp:3759
#27 0x01479288 in QCoreApplication::notifyInternal (this=0x22fdf0,
    receiver=0x68d29e8, event=0x22c11c) at kernel/qcoreapplication.cpp:610
#28 0x0160f4d3 in QCoreApplication::sendSpontaneousEvent (receiver=0x68d29e8,
    event=0x22c11c)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#29 0x00cde799 in QApplicationPrivate::sendMouseEvent (receiver=0x68d29e8,
    event=0x22c11c, alienWidget=0x68d29e8, nativeWidget=0x22fdb0,
    buttonDown=0x1fdfe0c, lastMouseReceiver=@0x1fdfe10)
    at kernel/qapplication.cpp:2925
#30 0x00dbb0a3 in QETWidget::translateMouseEvent (this=0x22fdb0,
    msg=@0x22d99c) at kernel/qapplication_win.cpp:3250
#31 0x00db5099 in QtWndProc (hwnd=0x470620, message=514, wParam=0,
    lParam=37355728) at kernel/qapplication_win.cpp:1674
#32 0x7e418734 in USER32!GetDC () from C:\WINDOWS\system32\user32.dll
#33 0x00470620 in WebCore::FrameLoader::isLoading ()
#34 0x7e418816 in USER32!GetDC () from C:\WINDOWS\system32\user32.dll
#35 0x00db4446 in qt_is_translatable_mouse_event (message=0)
    at kernel/qapplication_win.cpp:1446
#36 0x7e4189cd in USER32!GetWindowLongW () from C:\WINDOWS\system32\user32.dll
#37 0x00000000 in ?? ()
#0  0x7c8106e9 in KERNEL32!CreateThread ()
   from C:\WINDOWS\system32\kernel32.dll
Current language:  auto; currently c++

--------------------------------------------------
Comment 4 Tor Arne Vestbø 2009-09-07 08:59:17 PDT
Can't reproduce in WebKit trunk, r48110, against Qt 4.6, 77fd77d6, nor Qt 4.5.3, on Mac OSX 10.5.

Please reopen if still valid.