<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: segfault at libjavascriptcoregtk-1.0.so.0 stepping into a script"
href="https://bugs.webkit.org/show_bug.cgi?id=160849">160849</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Web Inspector: segfault at libjavascriptcoregtk-1.0.so.0 stepping into a script
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>WebKit Local Build
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>Web Inspector
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>potuz@potuz.net
</td>
</tr>
<tr>
<th>CC</th>
<td>bburg@apple.com, joepeck@webkit.org, mattbaker@apple.com, nvasilyev@apple.com, timothy@apple.com, webkit-bug-importer@group.apple.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=286052" name="attach_286052" title="JRE error log">attachment 286052</a> <a href="attachment.cgi?id=286052&action=edit" title="JRE error log">[details]</a></span>
JRE error log
Hello,
Dear all, I am getting a segfault when running surf-0.7 with the web inspector open trying to debug a page with a java script. Attached is the JRE error log. I The segfault happens either when stepping into or stepping over.
Steps to reproduce
1) surf <a href="https://www2.bancobrasil.com.br/aapf/login.jsp">https://www2.bancobrasil.com.br/aapf/login.jsp</a>
2) open the web inspector
3) reload the page with the breakpoints enabled
4) step into
Actual result: SIGSEGV
Expected result: continue debugging the program.
The backtrace is (I could recompile without stripping to get a more meaningful core dump)
#0 0x00007ffff2c7acaf in Inspector::InjectedScript::wrapCallFrames(Deprecated::ScriptValue const&) ()
from /usr/lib64/libjavascriptcoregtk-1.0.so.0
#1 0x00007ffff2c9de27 in Inspector::InspectorDebuggerAgent::currentCallFrames() ()
from /usr/lib64/libjavascriptcoregtk-1.0.so.0
#2 0x00007ffff2c9df1d in Inspector::InspectorDebuggerAgent::didPause(JSC::ExecState*, Deprecated::ScriptValue const&, Deprecated::ScriptValue const&) ()
from /usr/lib64/libjavascriptcoregtk-1.0.so.0
#3 0x00007ffff2c92a3f in Inspector::ScriptDebugServer::dispatchDidPause(Inspector::ScriptDebugListener*) () from /usr/lib64/libjavascriptcoregtk-1.0.so.0
#4 0x00007ffff2c93feb in Inspector::ScriptDebugServer::dispatchFunctionToListeners(WTF::HashSet<Inspector::ScriptDebugListener*, WTF::PtrHash<Inspector::ScriptDebugListener*>,
WTF::HashTraits<Inspector::ScriptDebugListener*> > const&, void (Inspector::ScriptDebugServer::*)(Inspector::ScriptDebugListener*)) ()
from /usr/lib64/libjavascriptcoregtk-1.0.so.0
#5 0x00007ffff2c94173 in Inspector::ScriptDebugServer::dispatchFunctionToListeners(void (Inspector::ScriptDebugServer::*)(Inspector::ScriptDebugListener*), JSC::JSGlobalObject*) () from
/usr/lib64/libjavascriptcoregtk-1.0.so.0
#6 0x00007ffff2c9419d in Inspector::ScriptDebugServer::handlePause(JSC::Debugger::ReasonForPause, JSC::JSGlobalObject*) () from /usr/lib64/libjavascriptcoregtk-1.0.so.0
#7 0x00007ffff2c744ac in JSC::Debugger::pauseIfNeeded(JSC::ExecState*) ()
from /usr/lib64/libjavascriptcoregtk-1.0.so.0
#8 0x00007ffff2c745ec in JSC::Debugger::updateCallFrameAndPauseIfNeeded(JSC::ExecState*) () from /usr/lib64/libjavascriptcoregtk-1.0.so.0
#9 0x00007ffff2c74710 in JSC::Debugger::returnEvent(JSC::ExecState*) ()
from /usr/lib64/libjavascriptcoregtk-1.0.so.0
#10 0x00007ffff2ca5501 in JSC::Interpreter::unwind(JSC::ExecState*&, JSC::JSValue&) ()
from /usr/lib64/libjavascriptcoregtk-1.0.so.0
#11 0x00007ffff2ccf50f in JSC::genericUnwind(JSC::VM*, JSC::ExecState*, JSC::JSValue)
() from /usr/lib64/libjavascriptcoregtk-1.0.so.0
#12 0x00007ffff2ce7808 in ?? () from /usr/lib64/libjavascriptcoregtk-1.0.so.0
#13 0x00007fffa60ea12a in ?? ()
#14 0x00007fff5de73240 in ?? ()
#15 0x00007fff5e18c800 in ?? ()
#16 0x00007fff9c16ef70 in ?? ()
#17 0x00007fff5e18c800 in ?? ()
#18 0x00007fff5e18c808 in ?? ()
#19 0x00007fffe615d2d0 in ?? ()
#20 0x00007fffe6153000 in ?? ()
#21 0x00007ffff2cc46c9 in JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*, JSC::Register*) () from /usr/lib64/libjavascriptcoregtk-1.0.so.0
#22 0x00007ffff2caa366 in JSC::Interpreter::execute(JSC::ProgramExecutable*, JSC::ExecState*, JSC::JSObject*) () from /usr/lib64/libjavascriptcoregtk-1.0.so.0
Value, JSC::JSValue*) () from /usr/lib64/libjavascriptcoregtk-1.0.so.0
#24 0x00007ffff5cfc800 in ?? () from /usr/lib64/libwebkitgtk-1.0.so.0
#25 0x00007ffff5cfcad3 in ?? () from /usr/lib64/libwebkitgtk-1.0.so.0
#26 0x00007ffff5eb76a4 in ?? () from /usr/lib64/libwebkitgtk-1.0.so.0
#27 0x00007ffff607c9eb in ?? () from /usr/lib64/libwebkitgtk-1.0.so.0
#28 0x00007ffff607cdad in ?? () from /usr/lib64/libwebkitgtk-1.0.so.0
#29 0x00007ffff607d11f in ?? () from /usr/lib64/libwebkitgtk-1.0.so.0
#30 0x00007ffff606b24a in ?? () from /usr/lib64/libwebkitgtk-1.0.so.0
#31 0x00007ffff61acf00 in ?? () from /usr/lib64/libwebkitgtk-1.0.so.0
#32 0x00007ffff61ada19 in ?? () from /usr/lib64/libwebkitgtk-1.0.so.0
#33 0x00007ffff619d7dd in ?? () from /usr/lib64/libwebkitgtk-1.0.so.0
#34 0x00007ffff620f80a in ?? () from /usr/lib64/libwebkitgtk-1.0.so.0
#35 0x00007ffff69f29b5 in ?? () from /usr/lib64/libwebkitgtk-1.0.so.0
#36 0x00007ffff3552733 in ?? () from /usr/lib64/libgio-2.0.so.0
#37 0x00007ffff3552dde in ?? () from /usr/lib64/libgio-2.0.so.0
#38 0x00007ffff38bb0fe in ?? () from /usr/lib64/libsoup-2.4.so.1
#39 0x00007ffff3552733 in ?? () from /usr/lib64/libgio-2.0.so.0
#40 0x00007ffff3552dde in ?? () from /usr/lib64/libgio-2.0.so.0
#41 0x00007ffff38bfdd2 in ?? () from /usr/lib64/libsoup-2.4.so.1
#42 0x00007ffff38c4c0d in ?? () from /usr/lib64/libsoup-2.4.so.1
#43 0x00007ffff38c5a52 in ?? () from /usr/lib64/libsoup-2.4.so.1
#44 0x00007ffff2678bbd in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#45 0x00007ffff2678f90 in ?? () from /usr/lib64/libglib-2.0.so.0
#46 0x00007ffff26792b2 in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
#47 0x00007ffff51ca007 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0
#48 0x0000000000409490 in ?? ()
#49 0x00007ffff2096620 in __libc_start_main () from /lib64/libc.so.6
#50 0x0000000000404a89 in ?? ()</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>