Bug 45392

Summary: [Qt] QWebView::event gives seg fault while handling ContextMenu event
Product: WebKit Reporter: Priyaranjan <priyaranjan.2.singh>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: benjamin, cmarcelo, kling
Priority: P5 Keywords: Qt, QtTriaged
Version: 528+ (Nightly build)   
Hardware: All   
OS: Linux   

Priyaranjan
Reported 2010-09-08 07:43:47 PDT
Doing like this is giving crash/segmentation fault: --------------------------------- QPoint qpoint (1,2); QContextMenuEvent contextMenuEvent(QContextMenuEvent::Mouse, QPoint(1, 2)); QCoreApplication::sendEvent(controller->webWidget(), &contextMenuEvent); ------------------------------------ default handler i.e. QWebView::event is used for handling the event. Seg Fault is happening with this call: QWebView::event(event) Also reproduced on Symbian 10.1 platform.
Attachments
Benjamin Poulain
Comment 1 2011-01-14 11:06:06 PST
Please follow this to report bugs on QtWebKit: http://trac.webkit.org/wiki/QtWebKitBugs Could you please attach a test case? Closing as invalid. I would not be surprised if the view does not even have a page yet. I will reopen when you attach the test case.
Andreas Kling
Comment 2 2011-03-13 08:22:08 PDT
Can't reproduce any crash on ToT (r80345), please re-open with a valid, self-contained test-case.
Note You need to log in before you can comment on or make changes to this bug.