[Webkit-unassigned] [Bug 64802] Custom cursors cause the WebProcess to crash

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 31 22:37:13 PDT 2011


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





--- Comment #12 from Amruth Raj <amruthraj at motorola.com>  2011-07-31 22:37:13 PST ---
Like I mentioned in comment #9, QT port needs to handle this case at the UI process. In case a null image is passed to GTK, it displays the cursor of parent window.
(In reply to comment #11)
> Qt port crash with this patch:
> #0  0xb2e4d8c4 in operator! (this=0x0) at ../../include/QtCore/../../src/corelib/tools/qshareddata.h:198
> #1  QPixmap::isNull (this=0x0) at image/qpixmap.cpp:545
> #2  0xb2e4d90a in QPixmap::toImage (this=0x0) at image/qpixmap.cpp:484
> #3  0xb2d78784 in QCursor::QCursor (this=0x82f1870, pixmap=..., hotX=0, hotY=0) at kernel/qcursor.cpp:313
> #4  0xb5d22e2e in WebCore::createCustomCursor (image=0x82f1a08, hotSpot=...)
>     at ../../../Source/WebCore/platform/qt/CursorQt.cpp:79
> #5  0xb5d238de in WebCore::Cursor::ensurePlatformCursor (this=0xbfc484bc)
>     at ../../../Source/WebCore/platform/qt/CursorQt.cpp:199
> #6  0xb5d1ccf3 in WebCore::Cursor::platformCursor (this=0xbfc484bc)
>     at ../../../Source/WebCore/platform/Cursor.cpp:263
> #7  0xb54ae51f in QtWebPageProxy::setCursor (this=0x8283ec0, cursor=...)
>     at ../../../Source/WebKit2/UIProcess/qt/QtWebPageProxy.cpp:239
> #8  0xb546f945 in WebKit::WebPageProxy::setCursor (this=0xaf702068, cursor=...)
>     at ../../../Source/WebKit2/UIProcess/WebPageProxy.cpp:2666
> #9  0xb5505535 in CoreIPC::callMemberFunction<WebKit::WebPageProxy, void (WebKit::WebPageProxy::*)(WebCore::Cursor const&), WebCore::Cursor> (args=..., object=0xaf702068, function=
>     (void (WebKit::WebPageProxy::*)(WebKit::WebPageProxy *, const WebCore::Cursor &)) 0xb546f920 <WebKit::WebPageProxy::setCursor(WebCore::Cursor const&)>) at ../../../Source/WebKit2/Platform/CoreIPC/HandleMessage.h:19
> #10 0xb55010e8 in CoreIPC::handleMessage<Messages::WebPageProxy::SetCursor, WebKit::WebPageProxy, void (WebKit::WebPageProxy::*)(WebCore::Cursor const&)> (argumentDecoder=0xaf7034c0, object=0xaf702068, function=
>     (void (WebKit::WebPageProxy::*)(WebKit::WebPageProxy *, const WebCore::Cursor &)) 0xb546f920 <WebKit::WebPageProxy::setCursor(WebCore::Cursor const&)>) at ../../../Source/WebKit2/Platform/CoreIPC/HandleMessage.h:277
> #11 0xb54fee14 in WebKit::WebPageProxy::didReceiveWebPageProxyMessage (this=0xaf702068, messageID=...,

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