Bug 160849 - [GTK] Web Inspector: segfault at libjavascriptcoregtk-1.0.so.0 stepping into a script
Summary: [GTK] Web Inspector: segfault at libjavascriptcoregtk-1.0.so.0 stepping into ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Local Build
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords: DoNotImportToRadar
Depends on:
Blocks:
 
Reported: 2016-08-15 05:17 PDT by potuz
Modified: 2017-03-11 10:59 PST (History)
2 users (show)

See Also:


Attachments
JRE error log (188.12 KB, text/plain)
2016-08-15 05:17 PDT, potuz
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description potuz 2016-08-15 05:17:50 PDT
Created attachment 286052 [details]
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 https://www2.bancobrasil.com.br/aapf/login.jsp
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 ?? ()
Comment 1 Radar WebKit Bug Importer 2016-08-15 05:18:09 PDT
<rdar://problem/27845351>