Bug 48554 - [Soup] g_error_new_literal: assertion `message != NULL' failed while loading Lufthansa page
Summary: [Soup] g_error_new_literal: assertion `message != NULL' failed while loading ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P3 Normal
Assignee: Nobody
URL: http://www.lufthansa.com/online/porta...
Keywords: Gtk
: 48737 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-28 13:15 PDT by Martin Robinson
Modified: 2011-04-07 12:38 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Robinson 2010-10-28 13:15:58 PDT
While loading http://www.lufthansa.com/online/portal/lh/de/booking/affinity?l=en I get a GLib critical warning. The map at the center of the page never finishes loading. I confirmed that this work in Chromium Linux. It seems that the page is using synchronous XMLHttpRequests.

Program received signal SIGABRT, Aborted.
0x00007ffff17c9ba5 in raise () from /lib/libc.so.6
(gdb) where
#0  0x00007ffff17c9ba5 in raise () from /lib/libc.so.6
#1  0x00007ffff17cd6b0 in abort () from /lib/libc.so.6
#2  0x00007ffff1d80f0a in g_logv () from /lib/libglib-2.0.so.0
#3  0x00007ffff1d80fa3 in g_log () from /lib/libglib-2.0.so.0
#4  0x00007ffff1d655fd in g_error_new_literal () from /lib/libglib-2.0.so.0
#5  0x00007ffff1d65615 in g_set_error_literal () from /lib/libglib-2.0.so.0
#6  0x00007ffff5f08bae in set_error_if_http_failed (msg=0x174fe10, error=0x7fffffffc3a8) at ../../WebCore/platform/network/soup/cache/soup-http-input-stream.c:377
#7  0x00007ffff5f09319 in send_async_finished (stream=0x174fee0) at ../../WebCore/platform/network/soup/cache/soup-http-input-stream.c:586
#8  0x00007ffff5f0895b in webkit_soup_http_input_stream_finished (msg=0x174fe10, stream=0x174fee0) at ../../WebCore/platform/network/soup/cache/soup-http-input-stream.c:311
#9  0x00007ffff2433a6e in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#10 0x00007ffff24494d7 in ?? () from /usr/lib/libgobject-2.0.so.0
#11 0x00007ffff244a996 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#12 0x00007ffff244af53 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#13 0x00007fffefb7fbc3 in ?? () from /usr/lib/libsoup-2.4.so.1
#14 0x00007fffefb7ff21 in ?? () from /usr/lib/libsoup-2.4.so.1
#15 0x00007fffefb7ffd3 in ?? () from /usr/lib/libsoup-2.4.so.1
#16 0x00007ffff1d76342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#17 0x00007ffff1d7a2a8 in ?? () from /lib/libglib-2.0.so.0
#18 0x00007ffff1d7a7b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#19 0x00007ffff5efff5d in WebCore::WebCoreSynchronousLoader::run (this=0x7fffffffca70) at ../../WebCore/platform/network/soup/ResourceHandleSoup.cpp:122
#20 0x00007ffff5f0344d in WebCore::ResourceHandle::loadResourceSynchronously (context=0xc85f10, request=..., error=..., response=..., data=WTF::Vector of length 0, capacity 0)
    at ../../WebCore/platform/network/soup/ResourceHandleSoup.cpp:758
#21 0x00007ffff5a07eb0 in WebCore::FrameLoader::loadResourceSynchronously (this=0x108bc40, request=..., storedCredentials=WebCore::AllowStoredCredentials, error=..., response=..., 
    data=WTF::Vector of length 0, capacity 0) at ../../WebCore/loader/FrameLoader.cpp:2778
#22 0x00007ffff59f71f8 in WebCore::DocumentThreadableLoader::loadRequest (this=0x17a6330, request=..., securityCheck=WebCore::DoSecurityCheck)
    at ../../WebCore/loader/DocumentThreadableLoader.cpp:334
#23 0x00007ffff59f540b in WebCore::DocumentThreadableLoader::DocumentThreadableLoader (this=0x17a6330, document=0xcdd760, client=0x15eb690, 
    blockingBehavior=WebCore::DocumentThreadableLoader::LoadSynchronously, request=..., options=...) at ../../WebCore/loader/DocumentThreadableLoader.cpp:75
#24 0x00007ffff59f4b18 in WebCore::DocumentThreadableLoader::loadResourceSynchronously (document=0xcdd760, request=..., client=..., options=...)
    at ../../WebCore/loader/DocumentThreadableLoader.cpp:52
#25 0x00007ffff5a5256d in WebCore::ThreadableLoader::loadResourceSynchronously (context=0xcdd7c8, request=..., client=..., options=...)
    at ../../WebCore/loader/ThreadableLoader.cpp:69
#26 0x00007ffff5e816de in WebCore::XMLHttpRequest::createRequest (this=0x15eb680, ec=@0x7fffffffd4bc) at ../../WebCore/xml/XMLHttpRequest.cpp:613
#27 0x00007ffff5e80c97 in WebCore::XMLHttpRequest::send (this=0x15eb680, body="(null)", ec=@0x7fffffffd4bc) at ../../WebCore/xml/XMLHttpRequest.cpp:491
#28 0x00007ffff5e806c1 in WebCore::XMLHttpRequest::send (this=0x15eb680, ec=@0x7fffffffd4bc) at ../../WebCore/xml/XMLHttpRequest.cpp:431
#29 0x00007ffff5589317 in WebCore::JSXMLHttpRequest::send (this=0x7fffdda2d100, exec=0x7fff5cca01b8) at ../../WebCore/bindings/js/JSXMLHttpRequestCustom.cpp:105
#30 0x00007ffff6107ff2 in WebCore::jsXMLHttpRequestPrototypeFunctionSend (exec=0x7fff5cca01b8) at DerivedSources/WebCore/JSXMLHttpRequest.cpp:459
#31 0x00007fff5d0a01b8 in ?? ()
#32 0x00007fffffffd5d0 in ?? ()
#33 0x00007fff5d22d8ab in ?? ()
#34 0x00007fffffffd550 in ?? ()
#35 0x00007fff5cb934c0 in ?? ()
#36 0x00007fff5cb98cc0 in ?? ()
#37 0xffff000000000002 in ?? ()
#38 0x00007fffffffd580 in ?? ()
---Type <return> to continue, or q <return> to quit---c
#39 0x00007ffff554d6bd in JSC::Register::Register (this=0x7ffff2016610) at ../../JavaScriptCore/interpreter/Register.h:106
#40 0x00007ffff6331131 in JSC::JITCode::execute (this=0x15c6c18, registerFile=0xc56128, callFrame=0x7fff5cca0038, globalData=0xc53b60) at ../../JavaScriptCore/jit/JITCode.h:77
#41 0x00007ffff632da35 in JSC::Interpreter::execute (this=0xc56110, program=0x15c6c00, callFrame=0xf5af28, scopeChain=0xf382e0, thisObj=0x7fff5cbbe600)
    at ../../JavaScriptCore/interpreter/Interpreter.cpp:759
#42 0x00007ffff63c7443 in JSC::evaluate (exec=0xf5af28, scopeChain=..., source=..., thisValue=...) at ../../JavaScriptCore/runtime/Completion.cpp:62
#43 0x00007ffff556c1ef in WebCore::JSMainThreadExecState::evaluate (exec=0xf5af28, chain=..., source=..., thisValue=...) at ../../WebCore/bindings/js/JSMainThreadExecState.h:54
#44 0x00007ffff5591190 in WebCore::ScriptController::evaluateInWorld (this=0x108c0b0, sourceCode=..., world=0xc574a0, shouldAllowXSS=WebCore::DoNotAllowXSS)
    at ../../WebCore/bindings/js/ScriptController.cpp:148
#45 0x00007ffff5591369 in WebCore::ScriptController::evaluate (this=0x108c0b0, sourceCode=..., shouldAllowXSS=WebCore::DoNotAllowXSS)
    at ../../WebCore/bindings/js/ScriptController.cpp:171
#46 0x00007ffff55bdf51 in WebCore::ScriptController::executeScript (this=0x108c0b0, sourceCode=..., shouldAllowXSS=WebCore::DoNotAllowXSS)
    at ../../WebCore/bindings/ScriptControllerBase.cpp:60
#47 0x00007ffff58e0751 in WebCore::HTMLScriptRunner::executeScript (this=0xce0230, sourceCode=...) at ../../WebCore/html/parser/HTMLScriptRunner.cpp:156
#48 0x00007ffff58e05b5 in WebCore::HTMLScriptRunner::executePendingScriptAndDispatchEvent (this=0xce0230, pendingScript=...) at ../../WebCore/html/parser/HTMLScriptRunner.cpp:143
#49 0x00007ffff58e0447 in WebCore::HTMLScriptRunner::executeParsingBlockingScript (this=0xce0230) at ../../WebCore/html/parser/HTMLScriptRunner.cpp:123
#50 0x00007ffff58e09bd in WebCore::HTMLScriptRunner::executeParsingBlockingScripts (this=0xce0230) at ../../WebCore/html/parser/HTMLScriptRunner.cpp:203
#51 0x00007ffff58e0b0c in WebCore::HTMLScriptRunner::executeScriptsWaitingForLoad (this=0xce0230, cachedScript=0x15c24e0) at ../../WebCore/html/parser/HTMLScriptRunner.cpp:214
#52 0x00007ffff58d7295 in WebCore::HTMLDocumentParser::notifyFinished (this=0x63a820, cachedResource=0x15c24e0) at ../../WebCore/html/parser/HTMLDocumentParser.cpp:457
#53 0x00007ffff59e834a in WebCore::CachedScript::checkNotify (this=0x15c24e0) at ../../WebCore/loader/CachedScript.cpp:100
#54 0x00007ffff59e82cf in WebCore::CachedScript::data (this=0x15c24e0, data=..., allDataReceived=true) at ../../WebCore/loader/CachedScript.cpp:90
#55 0x00007ffff5a354d3 in WebCore::Loader::Host::didFinishLoading (this=0xf63210, loader=0xf9ff30) at ../../WebCore/loader/loader.cpp:421
#56 0x00007ffff5a4e9e2 in WebCore::SubresourceLoader::didFinishLoading (this=0xf9ff30, finishTime=0) at ../../WebCore/loader/SubresourceLoader.cpp:181
#57 0x00007ffff5a4b2f7 in WebCore::ResourceLoader::didFinishLoading (this=0xf9ff30, finishTime=0) at ../../WebCore/loader/ResourceLoader.cpp:421
#58 0x00007ffff5f0356f in WebCore::closeCallback (source=0x15f5b50, res=0xfe9b00) at ../../WebCore/platform/network/soup/ResourceHandleSoup.cpp:779
#59 0x00007ffff3d7f240 in ?? () from /usr/lib/libgio-2.0.so.0
#60 0x00007ffff3d8ea19 in ?? () from /usr/lib/libgio-2.0.so.0
#61 0x00007ffff1d76342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#62 0x00007ffff1d7a2a8 in ?? () from /lib/libglib-2.0.so.0
#63 0x00007ffff1d7a7b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#64 0x00007ffff463e3e7 in IA__gtk_main () at /build/buildd/gtk+2.0-2.22.0/gtk/gtkmain.c:1237
#65 0x00000000004025e8 in main (argc=2, argv=0x7fffffffe1e8) at ../../WebKitTools/GtkLauncher/main.c:224
(gdb) c
Continuing.
Comment 1 Sergio Villar Senin 2010-11-04 08:38:12 PDT
BTW I've been working on this. Fixing the critical is trivial, but I'm investigating the source of that error.

It does work fine with debian testing packages. It seems that if I replace debian's libsoup with master the bug appears. More news soon
Comment 2 Sergio Villar Senin 2010-11-10 11:13:33 PST
Found that the bug is in libsoup, and that it was previously reported.

https://bugzilla.gnome.org/show_bug.cgi?id=631525

Attached a patch to that bug, let's see if it gets in
Comment 3 Sergio Villar Senin 2010-11-11 00:59:14 PST
Bug was fixed in libsoup Martin. We can safely close this as well
Comment 4 Sergio Villar Senin 2011-04-07 12:38:26 PDT
*** Bug 48737 has been marked as a duplicate of this bug. ***