Skip to content

Instantly share code, notes, and snippets.

@tjfontaine
Last active December 28, 2015 09:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tjfontaine/7478081 to your computer and use it in GitHub Desktop.
Save tjfontaine/7478081 to your computer and use it in GitHub Desktop.
[root@4f606023-3cc2-417f-ae8e-a798962b63e9 ~]# mdb a.out linux-core.3
mdb: warning: librtld_db failed to initialize; shared library information will not be available
> ::load /root/x64_v8.so
V8 version: 3.20.17.14
Autoconfigured V8 support from target
C++ symbol demangling enabled
> ::findjsobjects -p hackathon | ::jsprint
{
hackathon: "I win",
}
>
[root@4f606023-3cc2-417f-ae8e-a798962b63e9 ~]# mdb a.out linux-core.3
mdb: warning: librtld_db failed to initialize; shared library information will not be available
> ::walk thread
1
2
3
4
5
6
> ::load /root/x64_v8.so
V8 version: 3.20.17.14
Autoconfigured V8 support from target
C++ symbol demangling enabled
> ::jsstack
7fffe7269f60 0x7f8414cf7b25
7fffe726a000 v8::internal::FunctionCallbackArguments::Call+0xd8
7fffe726a120 _ZN2v88internalL21Builtin_HandleApiCallEiPPNS0_6ObjectEPNS0_7IsolateE+0x168
7fffe726a148 0x1f65e58072ae internal (Code: 1f65e5807201)
7fffe726a180 0x1f65e58753b9 <anonymous> (as <anon>) (1267abf74c71)
7fffe726a1e8 0x1f65e582e9db <InternalFrame>
7fffe726a258 0x1f65e5874b71 <anonymous> (as Module._compile) (c1ec9f7afc1)
7fffe726a298 0x1f65e586f7a5 <anonymous> (as Module._extensions..js) (c1ec9f7b059)
7fffe726a2e0 0x1f65e586bc93 <anonymous> (as Module.load) (c1ec9f7af31)
7fffe726a360 0x1f65e585cc82 <anonymous> (as Module._load) (c1ec9f7aea1)
7fffe726a3a0 0x1f65e585c64b <anonymous> (as Module.runMain) (c1ec9f7b0e9)
7fffe726a408 0x1f65e583973e startup (1267abf0a781)
7fffe726a438 0x1f65e583886b <anonymous> (as <anon>) (1267abf0a801)
7fffe726a478 0x1f65e582ad04 <InternalFrame>
7fffe726a500 0x1f65e5817e17 <EntryFrame>
7fffe726a590 _ZN2v88internalL6InvokeEbNS0_6HandleINS0_10JSFunctionEEENS1_INS0_6ObjectEEEiPS5_Pb+0xe1
7fffe726a5e0 v8::internal::Execution::Call+0x79
7fffe726a660 v8::Function::Call+0xf7
7fffe726a750 node::Load+0x179
7fffe726a810 node::CreateEnvironment+0x3ae
7fffe726a8a0 node::Start+0x77
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment