Bug 112691

Summary: [EFL][WK2] WebProcess crash on exiting from fullscreen
Product: WebKit Reporter: Sudarsana Nagineni (babu) <naginenis>
Component: WebKit EFLAssignee: Sudarsana Nagineni (babu) <naginenis>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: cdumez, lucas.de.marchi
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Sudarsana Nagineni (babu)
Reported 2013-03-19 06:28:15 PDT
Noticed WebProcess crash when I press 'Escape' to exit from fullscreen. #0 0x00007f446cb52c20 in WebKit::WebFullScreenManager::requestExitFullScreen (this=0xbddad0) at WebKit/Source/WebKit2/WebProcess/FullScreen/WebFullScreenManager.cpp:143 143 ASSERT(m_element); (gdb) bt #0 0x00007f446cb52c20 in WebKit::WebFullScreenManager::requestExitFullScreen (this=0xbddad0) at WebKit/Source/WebKit2/WebProcess/FullScreen/WebFullScreenManager.cpp:143 #1 0x00007f446ccbd516 in CoreIPC::callMemberFunction<WebKit::WebFullScreenManager, void (WebKit::WebFullScreenManager::*)()> (object=0xbddad0, function= (void (WebKit::WebFullScreenManager::*)(WebKit::WebFullScreenManager * const)) 0x7f446cb52bd2 <WebKit::WebFullScreenManager::requestExitFullScreen()>) at WebKit/Source/WebKit2/Platform/CoreIPC/HandleMessage.h:15 #2 0x00007f446ccbd319 in CoreIPC::handleMessage<Messages::WebFullScreenManager::RequestExitFullScreen, WebKit::WebFullScreenManager, void (WebKit::WebFullScreenManager::*)()> (decoder=..., object= 0xbddad0, function=(void (WebKit::WebFullScreenManager::*)(WebKit::WebFullScreenManager * const)) 0x7f446cb52bd2 <WebKit::WebFullScreenManager::requestExitFullScreen()>) at WebKit/Source/WebKit2/Platform/CoreIPC/HandleMessage.h:340 #3 0x00007f446ccbcebe in WebKit::WebFullScreenManager::didReceiveWebFullScreenManagerMessage (this=0xbddad0, decoder=...) at WebKit/WebKitBuild/Debug/DerivedSources/WebKit2/WebFullScreenManagerMessageReceiver.cpp:40 #4 0x00007f446cb525eb in WebKit::WebFullScreenManager::didReceiveMessage (this=0xbddad0, connection=0x913b20, decoder=...) at WebKit/Source/WebKit2/WebProcess/FullScreen/WebFullScreenManager.cpp:81 #5 0x00007f446cc0aed4 in WebKit::WebPage::didReceiveMessage (this=0x917510, connection=0x913b20, decoder=...) at WebKit/Source/WebKit2/WebProcess/WebPage/WebPage.cpp:2999 #6 0x00007f446c9cd26a in CoreIPC::MessageReceiverMap::dispatchMessage (this=0x90fc68, connection=0x913b20, decoder=...) at WebKit/Source/WebKit2/Platform/CoreIPC/MessageReceiverMap.cpp:86 #7 0x00007f446cb379f1 in WebKit::WebProcess::didReceiveMessage (this=0x90fc10, connection=0x913b20, decoder=...) at WebKit/Source/WebKit2/WebProcess/WebProcess.cpp:598 #8 0x00007f446c9bb0c7 in CoreIPC::Connection::dispatchMessage (this=0x913b20, decoder=...) at WebKit/Source/WebKit2/Platform/CoreIPC/Connection.cpp:757 #9 0x00007f446c9bb1a2 in CoreIPC::Connection::dispatchMessage (this=0x913b20, incomingMessage=...) at WebKit/Source/WebKit2/Platform/CoreIPC/Connection.cpp:780 #10 0x00007f446c9bb3ab in CoreIPC::Connection::dispatchOneMessage (this=0x913b20) at WebKit/Source/WebKit2/Platform/CoreIPC/Connection.cpp:806 #11 0x00007f446c9cc536 in WTF::FunctionWrapper<void (CoreIPC::Connection::*)()>::operator() (this=0x7f440c000ae0, c=0x913b20) at WebKit/Source/WTF/wtf/Functional.h:218 #12 0x00007f446c9cc158 in WTF::BoundFunctionImpl<WTF::FunctionWrapper<void (CoreIPC::Connection::*)()>, void (CoreIPC::Connection*)>::operator()() (this=0x7f440c000ad0) at WebKit/Source/WTF/wtf/Functional.h:496 #13 0x00007f446cbe8690 in WTF::Function<void ()>::operator()() const (this=0x7fffb72351b0) at WebKit/Source/WTF/wtf/Functional.h:704 #14 0x00007f446871dfdb in WebCore::RunLoop::performWork (this=0x863f70) at WebKit/Source/WebCore/platform/RunLoop.cpp:91 #15 0x00007f44692c8972 in WebCore::RunLoop::wakeUpEvent (data=0x863f70) at WebKit/Source/WebCore/platform/efl/RunLoopEfl.cpp:70 #16 0x00007f446d1ac801 in _ecore_pipe_read (data=0x814ab0, fd_handler=<optimized out>) at ecore_pipe.c:632 #17 0x00007f446d1ab741 in _ecore_call_fd_cb (data=<optimized out>, func=<optimized out>, fd_handler=0x815140) at ecore_private.h:345 #18 _ecore_main_fd_handlers_call () at ecore_main.c:1670 #19 _ecore_main_loop_iterate_internal (once_only=0) at ecore_main.c:1917 #20 0x00007f446d1abc87 in ecore_main_loop_begin () at ecore_main.c:956 #21 0x00007f44692c8903 in WebCore::RunLoop::run () at WebKit/Source/WebCore/platform/efl/RunLoopEfl.cpp:53 #22 0x00007f446cc8a911 in WebKit::WebProcessMainEfl (argc=2, argv=0x7fffb72354d8) at WebKit/Source/WebKit2/WebProcess/efl/WebProcessMainEfl.cpp:145 #23 0x00000000004007b4 in main (argc=2, argv=0x7fffb72354d8) at WebKit/Source/WebKit2/efl/MainEfl.cpp:30
Attachments
Sudarsana Nagineni (babu)
Comment 1 2013-03-19 09:30:29 PDT
We should not call ewk_view_fullscreen_exit(), if the view is not in fullscreen.
Chris Dumez
Comment 2 2013-03-19 09:42:56 PDT
(In reply to comment #1) > We should not call ewk_view_fullscreen_exit(), if the view is not in fullscreen. Even if the client calls ewk_view_fullscreen_exit() and we are not fullscreen, it should NOT crash. BTW, I believe this is a duplicate of Bug 108201.
Sudarsana Nagineni (babu)
Comment 3 2013-03-20 05:55:47 PDT
(In reply to comment #2) > Even if the client calls ewk_view_fullscreen_exit() and we are not fullscreen, it should NOT crash. BTW, I believe this is a duplicate of Bug 108201. Alright, it's a duplicate :) *** This bug has been marked as a duplicate of bug 108201 ***
Note You need to log in before you can comment on or make changes to this bug.