Bug 51104

Summary: [GTK] HTTP tests failing/crashing in the bots
Product: WebKit Reporter: Sergio Villar Senin <svillar>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: mrobinson, zan
Priority: P3 Keywords: Gtk, LayoutTestFailure
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   

Description Sergio Villar Senin 2010-12-15 05:12:32 PST
These two tests are failing in release bots and crashing in debug bots

http/tests/cache/subresource-fragment-identifier.html (only in 64bit bot)
http/tests/misc/authentication-sent-to-redirect.html
Comment 1 Sergio Villar Senin 2010-12-15 05:40:00 PST
Committed r74112: <http://trac.webkit.org/changeset/74112>
Comment 2 Sergio Villar Senin 2010-12-15 05:42:17 PST
Stacktrace of the crashes

warning: Can't read pathname for load map: Input/output error.
Core was generated by `/home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/Programs/DumpR'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007fd9d09fd568 in WebCore::MainResourceLoader::didReceiveData (this=0x1fb3000, data=0x5ba400 "", length=0, lengthReceived=1, allAtOnce=false) at ../../WebCore/loader/MainResourceLoader.cpp:407
407	    ASSERT(length != 0);

Thread 3 (Thread 19752):
#0  0x00007fd9cd1364d9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd9d2cec362 in g_cond_timed_wait_posix_impl (cond=0x7fd9c00234b4, entered_mutex=0x189, abs_time=<value optimized out>) at /home/kov/debian/tmp/glib2.0-2.27.5.2010128/gthread/gthread-posix.c:242
#2  0x00007fd9ce247c41 in g_async_queue_pop_intern_unlocked (queue=0x7fd9c0000e10, try=0, end_time=0x7fd93f2fed70) at /home/kov/debian/tmp/glib2.0-2.27.5.2010128/glib/gasyncqueue.c:423
#3  0x00007fd9ce247d87 in g_async_queue_timed_pop (queue=0x7fd9c0000e10, end_time=0x7fd93f2fed70) at /home/kov/debian/tmp/glib2.0-2.27.5.2010128/glib/gasyncqueue.c:549
#4  0x00007fd9ce29bb38 in g_thread_pool_wait_for_new_pool (data=<value optimized out>) at /home/kov/debian/tmp/glib2.0-2.27.5.2010128/glib/gthreadpool.c:175
#5  g_thread_pool_thread_proxy (data=<value optimized out>) at /home/kov/debian/tmp/glib2.0-2.27.5.2010128/glib/gthreadpool.c:378
#6  0x00007fd9ce299d04 in g_thread_create_proxy (data=0x1b2d650) at /home/kov/debian/tmp/glib2.0-2.27.5.2010128/glib/gthread.c:1897
#7  0x00007fd9cd1318ba in start_thread () from /lib/libpthread.so.0
#8  0x00007fd9cce9902d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 19660):
#0  0x00007fd9cd13616c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd9d1422f42 in WTF::ThreadCondition::wait (this=0x54dcd0, mutex=...) at ../../JavaScriptCore/wtf/ThreadingPthreads.cpp:351
#2  0x00007fd9d09e68cb in WebCore::IconDatabase::syncThreadMainLoop (this=0x54dc00) at ../../WebCore/loader/icon/IconDatabase.cpp:1420
#3  0x00007fd9d09e4df4 in WebCore::IconDatabase::iconDatabaseSyncThread (this=0x54dc00) at ../../WebCore/loader/icon/IconDatabase.cpp:1044
#4  0x00007fd9d09e493a in WebCore::IconDatabase::iconDatabaseSyncThreadStart (vIconDatabase=0x54dc00) at ../../WebCore/loader/icon/IconDatabase.cpp:947
#5  0x00007fd9d14221ed in WTF::threadEntryPoint (contextData=0x53a5a0) at ../../JavaScriptCore/wtf/Threading.cpp:65
#6  0x00007fd9cd1318ba in start_thread () from /lib/libpthread.so.0
#7  0x00007fd9cce9902d in clone () from /lib/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 1 (Thread 19647):
#0  0x00007fd9d09fd568 in WebCore::MainResourceLoader::didReceiveData (this=0x1fb3000, data=0x5ba400 "", length=0, lengthReceived=1, allAtOnce=false) at ../../WebCore/loader/MainResourceLoader.cpp:407
#1  0x00007fd9d0a09860 in WebCore::ResourceLoader::didReceiveData (this=0x1fb3000, data=0x5ba400 "", length=0, lengthReceived=1) at ../../WebCore/loader/ResourceLoader.cpp:429
#2  0x00007fd9d0ee0ae7 in WebCore::sendRequestCallback (source=0x12ef050, res=0x7fd9c00b79e0, userData=0x0) at ../../WebCore/platform/network/soup/ResourceHandleSoup.cpp:513
#3  0x00007fd9d0eeb5b9 in sent_async (source=0x1e23d00, result=0x7fd9c01e62a0, user_data=0x7fd9c00b79e0) at ../../WebCore/platform/network/soup/cache/soup-request-http.c:119
#4  0x00007fd9d0ee928e in wrapper_callback (source_object=0x1e23d00, res=0x7fd9c01e62a0, user_data=0x7fd9c00b79e0) at ../../WebCore/platform/network/soup/cache/soup-http-input-stream.c:540
#5  0x00007fd9d0ee949e in send_async_finished (stream=0x1e23d00) at ../../WebCore/platform/network/soup/cache/soup-http-input-stream.c:600
#6  0x00007fd9d0ee8a4f in webkit_soup_http_input_stream_finished (msg=0x1cf1aa0, stream=0x1e23d00) at ../../WebCore/platform/network/soup/cache/soup-http-input-stream.c:311
#7  0x00007fd9d2d02d1e in g_closure_invoke (closure=0x226dfa0, return_value=0x0, n_param_values=1, param_values=0x21000e0, invocation_hint=0x7fff26911d50) at /home/kov/debian/tmp/glib2.0-2.27.5.2010128/gobject/gclosure.c:766
#8  0x00007fd9d2d1bd99 in signal_emit_unlocked_R (node=0xb8cd60, detail=<value optimized out>, instance=<value optimized out>, emission_return=<value optimized out>, instance_and_params=<value optimized out>) at /home/kov/debian/tmp/glib2.0-2.27.5.2010128/gobject/gsignal.c:3252
#9  0x00007fd9d2d1d516 in g_signal_emit_valist (instance=0x1cf1aa0, signal_id=<value optimized out>, detail=0, var_args=0x7fff26911f40) at /home/kov/debian/tmp/glib2.0-2.27.5.2010128/gobject/gsignal.c:2983
#10 0x00007fd9d2d1dd43 in g_signal_emit (instance=0x7fff26911090, signal_id=0, detail=3440537088) at /home/kov/debian/tmp/glib2.0-2.27.5.2010128/gobject/gsignal.c:3040
#11 0x00007fd9ce54c42f in soup_message_io_finished (msg=0x1cf1aa0) at soup-message-io.c:177
#12 0x00007fd9ce5561fe in run_queue (sa=<value optimized out>) at soup-session-async.c:364
#13 0x00007fd9ce5562c3 in idle_run_queue (sa=0x561030) at soup-session-async.c:417
#14 0x00007fd9ce2700b2 in g_main_dispatch (context=0x508000) at /home/kov/debian/tmp/glib2.0-2.27.5.2010128/glib/gmain.c:2440
#15 g_main_context_dispatch (context=0x508000) at /home/kov/debian/tmp/glib2.0-2.27.5.2010128/glib/gmain.c:3013
#16 0x00007fd9ce274778 in g_main_context_iterate (context=0x508000, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /home/kov/debian/tmp/glib2.0-2.27.5.2010128/glib/gmain.c:3091
#17 0x00007fd9ce274c85 in g_main_loop_run (loop=0x1c18320) at /home/kov/debian/tmp/glib2.0-2.27.5.2010128/glib/gmain.c:3299
#18 0x00007fd9cf61a657 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#19 0x000000000041afb5 in runTest (testPathOrURL=...) at ../../WebKitTools/DumpRenderTree/gtk/DumpRenderTree.cpp:655
#20 0x000000000041a68a in runTestingServerLoop () at ../../WebKitTools/DumpRenderTree/gtk/DumpRenderTree.cpp:469
#21 0x000000000041c58b in main (argc=2, argv=0x7fff26912c88) at ../../WebKitTools/DumpRenderTree/gtk/DumpRenderTree.cpp:1096
Comment 3 Sergio Villar Senin 2010-12-15 10:25:03 PST
Related bug that added the crashing test.

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

In order to properly fix this we should implement authentication challenge for the DRT
Comment 4 Martin Robinson 2015-05-07 17:21:27 PDT
These seem to be passing now.