Saw a couple of messages of the form could not determine startline/endline
below:
> ::jsstack -v
native: libc.so.1`_lwp_kill+0xa
native: libc.so.1`raise+0x20
native: libc.so.1`abort+0x98
(1 internal frame elided)
native: _ZN2v88internalL21Builtin_HandleApiCallENS0_12_GLOBAL__N_116Buil...
(1 internal frame elided)
js: <anonymous> (as <anon>)
file: [eval]
posn: position 16390
this: 7a13e29573a1 (<unknown>)
mdb: for script 7a13e2973939, could not determine startline/endline (start 16390, end 3, nlines 5): no symbol corresponds to address
(1 internal frame elided)
(1 internal frame elided)
native: _ZN2v88internalL6InvokeEbNS0_6HandleINS0_10JSFunctionEEENS1_INS0...
native: v8::internal::Execution::Call+0xc8
native: v8::Script::Run+0x155
native: _ZN4node13WrappedScript11EvalMachineILNS0_14EvalInputFlagsE0ELNS...
native: node::WrappedScript::CompileRunInThisContext+9
native: _ZN2v88internalL21Builtin_HandleApiCallENS0_12_GLOBAL__N_116Buil...
(1 internal frame elided)
js: <anonymous> (as <anon>)
file: [eval]-wrapper
posn: position 81926
this: 679940f47c39 (JSObject: Object)
arg1: 679940f47c39 (JSObject: Object)
arg2: 679940f49401 (JSFunction)
arg3: 679940f47b41 (JSObject: Module)
arg4: 679940f49271 (ConsString)
arg5: 73ba7610a2b1 (SeqAsciiString)
mdb: for script 7a13e2972e71, could not determine startline/endline (start 81926, end 41, nlines 5): no symbol corresponds to address
(1 internal frame elided)
js: <anonymous> (as Module._compile)
file: module.js
posn: position 344066
this: 679940f47b41 (JSObject: Module)
arg1: 679940f49551 (SeqAsciiString)
arg2: 679940f49271 (ConsString)
js: evalScript
file: <external string (failed to read ExternalString data)>
posn: position 65538
this: 7a13e29573a1 (<unknown>)
arg1: 73ba76116719 (SeqAsciiString)
js: startup
file: <external string (failed to read ExternalString data)>
posn: position 327682
this: 7a13e29573a1 (<unknown>)
js: <anonymous> (as <anon>)
file: <external string (failed to read ExternalString data)>
posn: position 344070
this: 7a13e29573a1 (<unknown>)
arg1: 679940f057e1 (JSObject: process)
(1 internal frame elided)
(1 internal frame elided)
native: _ZN2v88internalL6InvokeEbNS0_6HandleINS0_10JSFunctionEEENS1_INS0...
native: v8::internal::Execution::Call+0xc8
native: v8::Function::Call+0x14a
native: node::Load+0xf5
native: node::Start+0x163
native: _start+0x6c
>
Same issue for ::jsstack -vn0
I noticed that some functions' position have the value (2^31)-1. Here's an extract from ::jsfunctions
' output.
fe93f929 1 <anonymous> (as <anon>) util.js position 2147483647
fe93e60d 1 <anonymous> (as <anon>) assert.js position 2147483647
fe93c4e5 1 <anonymous> (as <anon>) buffer.js position 2147483647
So far, all the functions I've seen with a position of (2^31)-1 are anonymous functions.