[Webkit-unassigned] [Bug 102394] [Soup] Null-checking is required in cookiesEnabled
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Nov 15 08:47:02 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=102394
--- Comment #4 from ChangSeok Oh <kevin.cs.oh at gmail.com> 2012-11-15 08:48:50 PST ---
@mrobinson. yes the crash is gone with this change.
The callstack is..
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff46efab3 in WebCore::cookieJarForContext (context=0x0)
at ../../Source/WebCore/platform/network/soup/CookieJarSoup.cpp:37
37 return SOUP_COOKIE_JAR(soup_session_get_feature(context->soupSession(), SOUP_TYPE_COOKIE_JAR));
(gdb) bt
#0 0x00007ffff46efab3 in WebCore::cookieJarForContext (context=0x0)
at ../../Source/WebCore/platform/network/soup/CookieJarSoup.cpp:37
#1 0x00007ffff46efede in WebCore::cookiesEnabled (context=0x0)
at ../../Source/WebCore/platform/network/soup/CookieJarSoup.cpp:141
#2 0x00007ffff44aabc6 in WebCore::cookiesEnabled (document=0x27c61f0)
at ../../Source/WebCore/loader/CookieJar.cpp:64
#3 0x00007ffff45b5c1f in WebCore::Navigator::cookieEnabled (this=0x28c24b0)
at ../../Source/WebCore/page/Navigator.cpp:121
#4 0x00007ffff4e6121e in WebCore::jsNavigatorCookieEnabled (exec=0x7fff9eb87528,
slotBase=...) at DerivedSources/WebCore/JSNavigator.cpp:295
#5 0x00007ffff3d70e53 in JSC::PropertySlot::getValue (this=0x7fffffffbfc0,
exec=0x7fff9eb87528, propertyName=...)
at ../../Source/JavaScriptCore/runtime/PropertySlot.h:76
#6 0x00007ffff3dbb9e5 in JSC::JSValue::get (this=0x7fffffffc010,
exec=0x7fff9eb87528, propertyName=..., slot=...)
at ../../Source/JavaScriptCore/runtime/JSObject.h:1465
#7 0x00007ffff533ce8d in JSC::LLInt::llint_slow_path_get_by_id (
exec=0x7fff9eb87528, pc=0x3959678)
at ../../Source/JavaScriptCore/llint/LLIntSlowPaths.cpp:917
#8 0x00007ffff534675c in llint_op_get_by_id ()
from /home/shivamidow/Projects/webkit-clutter/WebKitBuild/Debug/.libs/libwebkit_clutter-0.so.0
#9 0x00007fff9eb87058 in ?? ()
#10 0x000000000148f1f0 in ?? ()
#11 0x00007fffffffc100 in ?? ()
#12 0x00007ffff52f2eb1 in JSC::JSStack::installTrapsAfterFrame (this=0x0,
frame=0x0) at ../../Source/JavaScriptCore/interpreter/JSStackInlines.h:213
#13 0x00007ffff52f1c74 in JSC::JITCode::execute (this=0x7fff940440c0,
stack=0x148f1f0, callFrame=0x7fff9eb87058, globalData=0x1487620)
at ../../Source/JavaScriptCore/jit/JITCode.h:134
#14 0x00007ffff52ef25e in JSC::Interpreter::execute (this=0x148f1e0,
program=0x7fff940440a0, callFrame=0x7fffa402f388, thisObj=0x7ffff7e2ffc0)
at ../../Source/JavaScriptCore/interpreter/Interpreter.cpp:979
#15 0x00007ffff53c6bf0 in JSC::evaluate (exec=0x7fffa402f388, source=...,
thisValue=..., returnedException=0x7fffffffd780)
at ../../Source/JavaScriptCore/runtime/Completion.cpp:75
#16 0x00007ffff3db10ed in WebCore::JSMainThreadExecState::evaluate (
exec=0x7fffa402f388, source=..., thisValue=..., exception=0x7fffffffd780)
at ../../Source/WebCore/bindings/js/JSMainThreadExecState.h:77
#17 0x00007ffff3de4460 in WebCore::ScriptController::evaluateInWorld (
this=0x14544f0, sourceCode=..., world=0x14a0f00)
at ../../Source/WebCore/bindings/js/ScriptController.cpp:141
#18 0x00007ffff3de4562 in WebCore::ScriptController::evaluate (this=0x14544f0,
sourceCode=...) at ../../Source/WebCore/bindings/js/ScriptController.cpp:158
---Type <return> to continue, or q <return> to quit---k
#19 0x00007ffff40f64eb in WebCore::ScriptElement::executeScript (this=0x2f48100,
sourceCode=...) at ../../Source/WebCore/dom/ScriptElement.cpp:303
q
#20 0x00007ffff42f9262 in WebCore::HTMLScriptRunner::executePendingScriptAndDispatchEvent (this=0x14a10e0, pendingScript=...)
at ../../Source/WebCore/html/parser/HTMLScriptRunner.cpp:139
#21 0x00007ffff42f90b5 in WebCore::HTMLScriptRunner::executeParsingBlockingScript (
this=0x14a10e0) at ../../Source/WebCore/html/parser/HTMLScriptRunner.cpp:118
#22 0x00007ffff42f95e0 in WebCore::HTMLScriptRunner::executeParsingBlockingScripts
(this=0x14a10e0) at ../../Source/WebCore/html/parser/HTMLScriptRunner.cpp:190
^C/build/buildd/gdb-7.4-2012.04/gdb/frame.c:2374: internal-error: frame_cleanup_after_sniffer: Assertion `frame->prologue_cache == NULL' failed.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list