Skip to content

Instantly share code, notes, and snippets.

@azbesthu
Created February 22, 2013 17:18
Show Gist options
  • Save azbesthu/5015087 to your computer and use it in GitHub Desktop.
Save azbesthu/5015087 to your computer and use it in GitHub Desktop.
fast/js/dfg-value-to-int32-with-side-effect.html
(32bit)azbest@cute4:~/32bit/WebKit$ ../run-in-xvfb.sh gdb WebKitBuild/Debug/bin/DumpRenderTree
GNU gdb (Ubuntu/Linaro 7.4-2012.02-0ubuntu2) 7.4-2012.02
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /home/azbest/32bit/WebKit/WebKitBuild/Debug/bin/DumpRenderTree...done.
(gdb) run fast/js/dfg-value-to-int32-with-side-effect.html
Starting program: /home/azbest/32bit/WebKit/WebKitBuild/Debug/bin/DumpRenderTree fast/js/dfg-value-to-int32-with-side-effect.html
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[New Thread 0xf01b9b40 (LWP 22275)]
[New Thread 0xef7ffb40 (LWP 22277)]
[Thread 0xef7ffb40 (LWP 22277) exited]
[New Thread 0xef7ffb40 (LWP 22278)]
[New Thread 0xee945b40 (LWP 22279)]
SHOULD NEVER BE REACHED
/home/azbest/32bit/WebKit/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp(2291) : void JSC::DFG::SpeculativeJIT::compileValueToInt32(JSC::DFG::Node*)
1 0xf60a040b /home/azbest/32bit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(+0x1b6b40b) [0xf60a040b]
2 0xf60c914a /home/azbest/32bit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(+0x1b9414a) [0xf60c914a]
3 0xf609dbbf /home/azbest/32bit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(+0x1b68bbf) [0xf609dbbf]
4 0xf609e2a2 /home/azbest/32bit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(+0x1b692a2) [0xf609e2a2]
5 0xf6069be3 /home/azbest/32bit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(+0x1b34be3) [0xf6069be3]
6 0xf606adb2 /home/azbest/32bit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(+0x1b35db2) [0xf606adb2]
7 0xf605b6b6 /home/azbest/32bit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(+0x1b266b6) [0xf605b6b6]
8 0xf605aeed /home/azbest/32bit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(+0x1b25eed) [0xf605aeed]
9 0xf61edba0 /home/azbest/32bit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(+0x1cb8ba0) [0xf61edba0]
10 0xf61ede5c /home/azbest/32bit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(+0x1cb8e5c) [0xf61ede5c]
11 0xf61ec1cc /home/azbest/32bit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(+0x1cb71cc) [0xf61ec1cc]
12 0xf61eb9dd /home/azbest/32bit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(+0x1cb69dd) [0xf61eb9dd]
13 0xf5f60fbc /home/azbest/32bit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(+0x1a2bfbc) [0xf5f60fbc]
14 0xf5f5bca1 /home/azbest/32bit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(+0x1a26ca1) [0xf5f5bca1]
15 0xf6140bc2 /home/azbest/32bit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(+0x1c0bbc2) [0xf6140bc2]
16 0xf613da2a /home/azbest/32bit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(+0x1c08a2a) [0xf613da2a]
17 0xeea00058 [0xeea00058]
18 0xf61088b5 /home/azbest/32bit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(+0x1bd38b5) [0xf61088b5]
19 0xf6106139 /home/azbest/32bit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(+0x1bd1139) [0xf6106139]
20 0xf61e1a74 /home/azbest/32bit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(_ZN3JSC8evaluateEPNS_9ExecStateERKNS_10SourceCodeENS_7JSValueEPS5_+0x213) [0xf61e1a74]
21 0xf4b23a8a /home/azbest/32bit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(+0x5eea8a) [0xf4b23a8a]
22 0xf4b411f1 /home/azbest/32bit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(+0x60c1f1) [0xf4b411f1]
23 0xf4b41302 /home/azbest/32bit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(+0x60c302) [0xf4b41302]
24 0xf4e42304 /home/azbest/32bit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(+0x90d304) [0xf4e42304]
25 0xf4fe410e /home/azbest/32bit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(+0xaaf10e) [0xf4fe410e]
26 0xf4fe3f6c /home/azbest/32bit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(+0xaaef6c) [0xf4fe3f6c]
27 0xf4fe4479 /home/azbest/32bit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(+0xaaf479) [0xf4fe4479]
28 0xf4fe4638 /home/azbest/32bit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(+0xaaf638) [0xf4fe4638]
29 0xf4fd59cd /home/azbest/32bit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(+0xaa09cd) [0xf4fd59cd]
30 0xf513f683 /home/azbest/32bit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(+0xc0a683) [0xf513f683]
31 0xf514a465 /home/azbest/32bit/WebKit/WebKitBuild/Debug/lib/libQt5WebKit.so.5(+0xc15465) [0xf514a465]
Program received signal SIGSEGV, Segmentation fault.
0xf60a0415 in JSC::DFG::SpeculativeJIT::compileValueToInt32 (this=0xffffa170, node=0xedee0370)
at /home/azbest/32bit/WebKit/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp:2291
2291 RELEASE_ASSERT_NOT_REACHED();
(gdb) bt
#0 0xf60a0415 in JSC::DFG::SpeculativeJIT::compileValueToInt32 (this=0xffffa170, node=0xedee0370)
at /home/azbest/32bit/WebKit/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp:2291
#1 0xf60c914a in JSC::DFG::SpeculativeJIT::compile(JSC::DFG::Node*) ()
at /home/azbest/32bit/WebKit/Source/JavaScriptCore/dfg/DFGSpeculativeJIT32_64.cpp:2171
#2 0xf609dbbf in JSC::DFG::SpeculativeJIT::compile (this=0xffffa170, block=0x81b3a28)
at /home/azbest/32bit/WebKit/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp:1767
#3 0xf609e2a2 in JSC::DFG::SpeculativeJIT::compile (this=0xffffa170)
at /home/azbest/32bit/WebKit/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp:1881
#4 0xf6069be3 in JSC::DFG::JITCompiler::compileBody (this=0xffffb3bc, speculative=0xffffa170)
at /home/azbest/32bit/WebKit/Source/JavaScriptCore/dfg/DFGJITCompiler.cpp:108
#5 0xf606adb2 in JSC::DFG::JITCompiler::compileFunction(JSC::JITCode&, JSC::MacroAssemblerCodePtr&) ()
at /home/azbest/32bit/WebKit/Source/JavaScriptCore/dfg/DFGJITCompiler.cpp:302
#6 0xf605b6b6 in JSC::DFG::compile(JSC::DFG::CompileMode, JSC::ExecState*, JSC::CodeBlock*, JSC::JITCode&, JSC::MacroAssemblerCodePtr*, unsigned int) () at /home/azbest/32bit/WebKit/Source/WTF/wtf/PrintStream.h:58
#7 0xf605aeed in JSC::DFG::tryCompileFunction(JSC::ExecState*, JSC::CodeBlock*, JSC::JITCode&, JSC::MacroAssemblerCodePtr&, unsigned int) () at /home/azbest/32bit/WebKit/Source/JavaScriptCore/dfg/DFGDriver.cpp:189
#8 0xf61edba0 in JSC::jitCompileFunctionIfAppropriate(JSC::ExecState*, WTF::OwnPtr<JSC::FunctionCodeBlock>&, JSC::JITCode&, JSC::MacroAssemblerCodePtr&, JSC::JITCode::JITType, unsigned int, JSC::JITCompilationEffort) ()
at /home/azbest/32bit/WebKit/Source/JavaScriptCore/bytecode/SpeculatedType.h:260
#9 0xf61ede5c in JSC::prepareFunctionForExecution(JSC::ExecState*, WTF::OwnPtr<JSC::FunctionCodeBlock>&, JSC::JITCode&, JSC::MacroAssemblerCodePtr&, JSC::JITCode::JITType, unsigned int, JSC::CodeSpecializationKind) ()
at /home/azbest/32bit/WebKit/Source/JavaScriptCore/bytecode/SpeculatedType.h:260
#10 0xf61ec1cc in JSC::FunctionExecutable::compileForCallInternal (this=0xedfaebf8, exec=0xeea000b8, scope=0xeef3f838, jitType=DFGJIT,
bytecodeIndex=<unknown type>) at /home/azbest/32bit/WebKit/Source/JavaScriptCore/runtime/Executable.cpp:538
#11 0xf61eb9dd in JSC::FunctionExecutable::compileOptimizedForCall (this=0xedfaebf8, exec=0xeea000b8, scope=0xeef3f838,
bytecodeIndex=<unknown type>) at /home/azbest/32bit/WebKit/Source/JavaScriptCore/runtime/Executable.cpp:463
#12 0xf5f60fbc in JSC::FunctionExecutable::compileOptimizedFor(JSC::ExecState*, JSC::JSScope*, unsigned int, JSC::CodeSpecializationKind) () at /home/azbest/32bit/WebKit/Source/WTF/wtf/PrintStream.h:58
#13 0xf5f5bca1 in JSC::FunctionCodeBlock::compileOptimized (this=0x8173f10, exec=0xeea000b8, scope=0xeef3f838,
bytecodeIndex=<unknown type>) at /home/azbest/32bit/WebKit/Source/JavaScriptCore/bytecode/CodeBlock.cpp:2846
#14 0xf6140bc2 in cti_optimize (args=0xffffb980) at /home/azbest/32bit/WebKit/Source/JavaScriptCore/jit/JITStubs.cpp:1892
#15 0xf613da2a in JSC::tryCacheGetByID (callFrame=0xf0277300, codeBlock=0x81079e0, returnAddress=..., baseValue=...,
propertyName=0x80fe250, slot=0xffffba08, stubInfo=0xf6108be9)
at /home/azbest/32bit/WebKit/Source/JavaScriptCore/jit/JITStubs.cpp:989
#16 0xeea00058 in ?? ()
#17 0xf61088b5 in JSC::JITCode::execute(JSC::JSStack*, JSC::ExecState*, JSC::JSGlobalData*) ()
at /home/azbest/32bit/WebKit/Source/WTF/wtf/PrintStream.h:58
#18 0xf6106139 in JSC::Interpreter::execute (this=0x81079d8, program=0xedfaec58, callFrame=0xeef3f994, thisObj=0xeef7ffd8)
at /home/azbest/32bit/WebKit/Source/JavaScriptCore/interpreter/Interpreter.cpp:987
#19 0xf61e1a74 in JSC::evaluate(JSC::ExecState*, JSC::SourceCode const&, JSC::JSValue, JSC::JSValue*) ()
at /home/azbest/32bit/WebKit/Source/JavaScriptCore/runtime/Completion.cpp:75
#20 0xf4b23a8a in WebCore::JSMainThreadExecState::evaluate(JSC::ExecState*, JSC::SourceCode const&, JSC::JSValue, JSC::JSValue*) ()
at /home/azbest/32bit/WebKit/Source/WTF/wtf/PassOwnArrayPtr.h:83
#21 0xf4b411f1 in WebCore::ScriptController::evaluateInWorld(WebCore::ScriptSourceCode const&, WebCore::DOMWrapperWorld*) ()
at /home/azbest/32bit/WebKit/Source/WTF/wtf/PassOwnArrayPtr.h:83
#22 0xf4b41302 in WebCore::ScriptController::evaluate(WebCore::ScriptSourceCode const&) ()
at /home/azbest/32bit/WebKit/Source/WTF/wtf/PassOwnArrayPtr.h:83
#23 0xf4e42304 in WebCore::ScriptElement::executeScript(WebCore::ScriptSourceCode const&) ()
at /home/azbest/32bit/WebKit/Source/WTF/wtf/PassOwnArrayPtr.h:83
#24 0xf4fe410e in WebCore::HTMLScriptRunner::executePendingScriptAndDispatchEvent(WebCore::PendingScript&) ()
at /home/azbest/32bit/WebKit/Source/WTF/wtf/PassOwnArrayPtr.h:83
#25 0xf4fe3f6c in WebCore::HTMLScriptRunner::executeParsingBlockingScript() ()
at /home/azbest/32bit/WebKit/Source/WTF/wtf/PassOwnArrayPtr.h:83
#26 0xf4fe4479 in WebCore::HTMLScriptRunner::executeParsingBlockingScripts() ()
---Type <return> to continue, or q <return> to quit---
at /home/azbest/32bit/WebKit/Source/WTF/wtf/PassOwnArrayPtr.h:83
#27 0xf4fe4638 in WebCore::HTMLScriptRunner::executeScriptsWaitingForLoad(WebCore::CachedResource*) ()
at /home/azbest/32bit/WebKit/Source/WTF/wtf/PassOwnArrayPtr.h:83
#28 0xf4fd59cd in WebCore::HTMLDocumentParser::notifyFinished(WebCore::CachedResource*) ()
at /home/azbest/32bit/WebKit/Source/WTF/wtf/PassOwnArrayPtr.h:83
#29 0xf513f683 in WebCore::CachedResource::checkNotify (this=0x8147fc8)
at /home/azbest/32bit/WebKit/Source/WebCore/loader/cache/CachedResource.cpp:378
#30 0xf514a465 in WebCore::CachedScript::data(WTF::PassRefPtr<WebCore::ResourceBuffer>, bool) ()
at /home/azbest/32bit/WebKit/Source/WTF/wtf/PageBlock.h:72
#31 0xf51a5a1f in WebCore::SubresourceLoader::didFinishLoading (this=0x81483b0, finishTime=0)
at /home/azbest/32bit/WebKit/Source/WebCore/loader/SubresourceLoader.cpp:278
#32 0xf519c149 in WebCore::ResourceLoader::didFinishLoading(WebCore::ResourceHandle*, double) ()
at /home/azbest/32bit/WebKit/Source/WTF/wtf/PageBlock.h:72
#33 0xf560a96f in WebCore::QNetworkReplyHandler::finish() () at /usr/include/c++/4.6/bits/stl_algobase.h:218
#34 0xf5609694 in WebCore::QNetworkReplyHandlerCallQueue::flush() () at /usr/include/c++/4.6/bits/stl_algobase.h:218
#35 0xf56093e0 in WebCore::QNetworkReplyHandlerCallQueue::push(void (WebCore::QNetworkReplyHandler::*)()) ()
at /usr/include/c++/4.6/bits/stl_algobase.h:218
#36 0xf560a22e in WebCore::QNetworkReplyWrapper::didReceiveFinished() () at /usr/include/c++/4.6/bits/stl_algobase.h:218
#37 0xf560c9e0 in WebCore::QNetworkReplyWrapper::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) ()
at /usr/include/c++/4.6/bits/stl_algobase.h:218
#38 0xf37dc9ad in QMetaObject::activate(QObject*, int, int, void**) () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#39 0xf37dd3cb in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) ()
from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#40 0xf3ecafd5 in QNetworkReply::finished() () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Network.so.5
#41 0xf3ecb250 in ?? () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Network.so.5
#42 0xf37dab53 in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#43 0xf37de062 in QObject::event(QEvent*) () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#44 0xf4011e34 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Widgets.so.5
#45 0xf4015844 in QApplication::notify(QObject*, QEvent*) () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Widgets.so.5
#46 0xf37b3eee in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#47 0xf37b60b4 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#48 0xf37b660c in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#49 0xf38012c4 in ?? () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#50 0xf2a9ccda in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#51 0xf2a9d0e5 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#52 0xf2a9d1c1 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#53 0xf38016d8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#54 0xf02c0036 in ?? () from /usr/local/Trolltech/Qt5/Qt-5.0.1/plugins/platforms/libqxcb.so
#55 0xf37b2726 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#56 0xf37b2b64 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#57 0xf37b66b2 in QCoreApplication::exec() () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#58 0xf3a69984 in QGuiApplication::exec() () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Gui.so.5
#59 0xf400cfe4 in QApplication::exec() () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Widgets.so.5
#60 0x0806e409 in main () at /usr/include/c++/4.6/bits/move.h:130
#61 0xf32cf4d3 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
#62 0x08056de1 in _start ()
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment