Bug 30161

Summary: [GTK] Segfault while testing media/video-document-types.html
Product: WebKit Reporter: Philippe Normand <pnormand>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: gustavo
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   

Philippe Normand
Reported 2009-10-07 03:14:45 PDT
Happens with Debug build: Starting program: /home/pnormand/gst/jhbuild/build/WebKit/WebKitBuild/Debug/Programs/DumpRenderTree /tmp/LayoutTests/media/video-document-types.html warning: Lowest section in /usr/lib/libicudata.so.38 is .hash at 000000d4 [Thread debugging using libthread_db enabled] [New Thread 0xb4831750 (LWP 7797)] Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory ** Message: NP_Initialize ** Message: NP_Initialize succeeded ** Message: NP_Initialize ** Message: NP_Initialize succeeded ** Message: NP_Initialize ** Message: NP_Initialize succeeded ** Message: NP_Initialize ** Message: NP_Initialize succeeded [New Thread 0xb28bcb90 (LWP 8120)] ASSERTION FAILED: m_frame->document()->parsing() (../../WebCore/loader/FrameLoader.cpp:1559 void WebCore::FrameLoader::addData(const char*, int)) Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb4831750 (LWP 7797)] 0xb6e5f12a in WebCore::FrameLoader::addData (this=0x87799a4, bytes=0x87841b0 "��\"��#�!:Ȣf#Q\223\001\032p+j@\036\003�px\b\017D0\f\a\200�58C\036� �\036\003�\220x\b!�� [", length=8192) at ../../WebCore/loader/FrameLoader.cpp:1559 1559 ASSERT(m_frame->document()->parsing()); (gdb) bt full #0 0xb6e5f12a in WebCore::FrameLoader::addData (this=0x87799a4, bytes=0x87841b0 "��\"��#�!:Ȣf#Q\223\001\032p+j@\036\003�px\b\017D0\f\a\200�58C\036� �\036\003�\220x\b!�� [", length=8192) at ../../WebCore/loader/FrameLoader.cpp:1559 __PRETTY_FUNCTION__ = "void WebCore::FrameLoader::addData(const char*, int)" #1 0xb692d3b7 in WebKit::FrameLoaderClient::committedLoad (this=0x87798b0, loader=0x877fd28, data=0x87841b0 "��\"��#�!:Ȣf#Q\223\001\032p+j@\036\003�px\b\017D0\f\a\200�58C\036� �\036\003�\220x\b!�� [", length=8192) at ../../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:150 encoding = {m_impl = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x0}} userChosen = false frameLoader = (WebCore::FrameLoader *) 0x87799a4 __PRETTY_FUNCTION__ = "virtual void WebKit::FrameLoaderClient::committedLoad(WebCore::DocumentLoader*, const char*, int)" #2 0xb6e55f94 in WebCore::FrameLoader::committedLoad (this=0x87799a4, loader=0x877fd28, data=0x87841b0 "��\"��#�!:Ȣf#Q\223\001\032p+j@\036\003�px\b\017D0\f\a\200�58C\036� �\036\003�\220x\b!�� [", length=8192) at ../../WebCore/loader/FrameLoader.cpp:3360 No locals. #3 0xb6e40781 in WebCore::DocumentLoader::commitLoad (this=0x877fd28, data=0x87841b0 "��\"��#�!:Ȣf#Q\223\001\032p+j@\036\003�px\b\017D0\f\a\200�58C\036� �\036\003�\220x\b!�� [", length=8192) at ../../WebCore/loader/DocumentLoader.cpp:342 frameLoader = (WebCore::FrameLoader *) 0x87799a4 protect = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x877fd28} #4 0xb6e407ea in WebCore::DocumentLoader::receivedData (this=0x877fd28, data=0x87841b0 "��\"��#�!:Ȣf#Q\223\001\032p+j@\036\003�px\b\017D0\f\a\200�58C\036� �\036\003�\220x\b!�� [", length=8192) at ../../WebCore/loader/DocumentLoader.cpp:354 No locals. #5 0xb6e5b2f5 in WebCore::FrameLoader::receivedData (this=0x87799a4, data=0x87841b0 "��\"��#�!:Ȣf#Q\223\001\032p+j@\036\003�px\b\017D0\f\a\200�58C\036� �\036\003�\220x\b!�� [", length=8192) at ../../WebCore/loader/FrameLoader.cpp:2147 No locals. #6 0xb6e6fc0e in WebCore::MainResourceLoader::addData (this=0x877ba00, data=0x87841b0 "��\"��#�!:Ȣf#Q\223\001\032p+j@\036\003�px\b\017D0\f\a\200�58C\036� �\036\003�\220x\b!�� [", length=8192, allAtOnce=false) at ../../WebCore/loader/MainResourceLoader.cpp:143 No locals. #7 0xb6e79a69 in WebCore::ResourceLoader::didReceiveData (this=0x877ba00, data=0x87841b0 "��\"��#�!:Ȣf#Q\223\001\032p+j@\036\003�px\b\017D0\f\a\200�58C\036� �\036\003�\220x\b!�� [", length=8192, lengthReceived=16384, allAtOnce=false) at ../../WebCore/loader/ResourceLoader.cpp:248 protector = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x877ba00} #8 0xb6e6ef4a in WebCore::MainResourceLoader::didReceiveData (this=0x877ba00, data=0x87841b0 "��\"��#�!:Ȣf#Q\223\001\032p+j@\036\003�px\b\017D0\f\a\200�58C\036� �\036\003�\220x\b!�� [", length=8192, lengthReceived=16384, allAtOnce=false) at ../../WebCore/loader/MainResourceLoader.cpp:356 protect = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x877ba00} __PRETTY_FUNCTION__ = "virtual void WebCore::MainResourceLoader::didReceiveData(const char*, int, long long int, bool)" #9 0xb6e78dd6 in WebCore::ResourceLoader::didReceiveData (this=0x877ba00, data=0x87841b0 "��\"��#�!:Ȣf#Q\223\001\032p+j@\036\003�px\b\017D0\f\a\200�58C\036� �\036\003�\220x\b!�� [", length=8192, lengthReceived=16384) at ../../WebCore/loader/ResourceLoader.cpp:398 No locals. #10 0xb729eb3c in readCallback (source=0x8426cf0, res=0x873cf88) at ../../WebCore/platform/network/soup/ResourceHandleSoup.cpp:729 handle = {<WTF::FastAllocBase> = {<No data fields>}, m_ptr = 0x877ae30} d = (class WebCore::ResourceHandleInternal *) 0x877c710 client = (class WebCore::ResourceHandleClient *) 0x877ba00 error = (GError *) 0x0 bytesRead = 8192 #11 0xb4c9154f in async_ready_callback_wrapper (source_object=0x8426cf0, res=0x873cf88, user_data=0x0) at ginputstream.c:471 ---Type <return> to continue, or q <return> to quit--- No locals. #12 0xb4c9fef9 in IA__g_simple_async_result_complete (simple=0x873cf88) at gsimpleasyncresult.c:588 current_source = <value optimized out> current_context = (GMainContext *) 0x83dbc90 __PRETTY_FUNCTION__ = "IA__g_simple_async_result_complete" #13 0xb4ca022e in complete_in_idle_cb_for_thread (_data=0x88a4318) at gsimpleasyncresult.c:650 simple = (GSimpleAsyncResult *) 0x873cf88 #14 0xb4b3c531 in g_idle_dispatch (source=0x88a29a8, callback=0xbbadbeef, user_data=0x88a4318) at gmain.c:4065 No locals. #15 0xb4b3e368 in IA__g_main_context_dispatch (context=0x83dbc90) at gmain.c:1960 No locals. #16 0xb4b41bc3 in g_main_context_iterate (context=0x83dbc90, block=1, dispatch=1, self=0x83ad408) at gmain.c:2591 max_priority = 0 timeout = 0 some_ready = 1 nfds = 2 allocated_nfds = <value optimized out> fds = (GPollFD *) 0x840df90 __PRETTY_FUNCTION__ = "g_main_context_iterate" #17 0xb4b41d48 in IA__g_main_context_iteration (context=0x83dbc90, may_block=1) at gmain.c:2654 retval = <value optimized out> #18 0x08056123 in runTest (testPathOrURL=@0xbf9d3b24) at ../../WebKitTools/DumpRenderTree/gtk/DumpRenderTree.cpp:484 pathOrURL = {static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x8739384 "/tmp/LayoutTests/media/video-document-types.html"}} expectedPixelHash = {static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xb4afe6d4 ""}} separatorPos = 4294967295 url = (gchar *) 0x0 testURL = {static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x83e03ec "file:///tmp/LayoutTests/media/video-document-types.html"}} isSVGW3CTest = false size = {x = 0, y = 0, width = 800, height = 600} bfList = (WebKitWebBackForwardList *) 0x83ae708 __PRETTY_FUNCTION__ = "void runTest(const std::string&)" #19 0x080566ab in main (argc=2, argv=0xbf9d43e4) at ../../WebKitTools/DumpRenderTree/gtk/DumpRenderTree.cpp:807 i = 1 options = {{name = 0x805c67c "notree", has_arg = 0, flag = 0x805fcc0, val = 0}, {name = 0x805c683 "pixel-tests", has_arg = 0, flag = 0x8060e94, val = 1}, { name = 0x805c68f "tree", has_arg = 0, flag = 0x805fcc0, val = 1}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}} option = -1 (gdb)
Attachments
Philippe Normand
Comment 1 2009-12-09 05:19:02 PST
Can we give this test another chance? I tested on the 32bit debug bot and it doesn't segfault anymore
Gustavo Noronha (kov)
Comment 2 2009-12-14 02:34:17 PST
We fixed this one already! =)
Gustavo Noronha (kov)
Comment 3 2010-10-28 09:56:25 PDT
*** This bug has been marked as a duplicate of bug 31352 ***
Note You need to log in before you can comment on or make changes to this bug.