autopsy icon indicating copy to clipboard operation
autopsy copied to clipboard

autopsy core hangs at `waiting for token to indicate ready state`

Open dnwe opened this issue 10 years ago • 8 comments

mdb.js is expecting to see C++ symbol demangling enabled as the last line of output from ::load v8 , but this doesn't appear to be output anymore on recent versions of smartos, and so autopsy just hangs as it never sees the matching output

lib/mdb.js#L91-L93

Current output from smartos

> ::load v8
mdb_v8 version: 1.1.2 (dev)
V8 version: 4.5.103.35
Autoconfigured V8 support from target
> ::jsstack

(output from older version of smartos)

mdb_v8 version: 1.0.0 (dev)
V8 version: 4.5.103.30
Autoconfigured V8 support from target
C++ symbol demangling enabled

dnwe avatar Apr 19 '16 12:04 dnwe

I am getting the same behavior.

kjohnstoncbt avatar May 06 '16 18:05 kjohnstoncbt

Me too.

missyjcat avatar Aug 26 '16 23:08 missyjcat

That was always going to be a brittle approach, i'll take a PR for this but short on time to fix,

In the meantime, you can start the vm with virtualbox, ssh to localhost port 2222 and go to /root and you'll find the node and core file that autopsy will have uploaded (via scp). Then then in the vm run mdb node core then ::load v8

davidmarkclements avatar Aug 27 '16 10:08 davidmarkclements

Same issue still. Then, doing ::load v8 with node 6.9.x flags a bunch of errors. How are you building the assets?

pascalopitz avatar Dec 12 '16 02:12 pascalopitz

Any updates for this issue? Doing ::load v8 results in 'v8' not found

OS: Mac OS X node: 7.4.0 via homebrew

> ::load v8
mdb: no module 'v8' could be found

phye avatar Apr 13 '17 09:04 phye

Same here... autopsy hangs, and get the same error trying the workaround :-/

appdlh avatar May 22 '17 20:05 appdlh

OSX

same. waiting for token to indicate ready state.

 autopsy:mdb opening connection +0ms
  autopsy:connect creating connection to ssh root@localhost:2222 +2ms
  autopsy:mdb setting stdio to raw mode +7ms
  autopsy:mdb ssh is ready +84ms
  autopsy:mdb cleaning up previous files +0ms
  autopsy:mdb successfully cleaned up +173ms
  autopsy:mdb opening session +0ms
  autopsy:mdb copying node binary and core dump files +8ms
  autopsy:mdb copying node +1ms
  autopsy:connect scp copying node into vm at /root +0ms
  autopsy:mdb copying 1st.core.3385 +1ms
  autopsy:connect scp copying 1st.core.3385 into vm at /root +0ms
node [=========================================>] 100.0% of 598 B

  autopsy:mdb files successfully copied +2ms
  autopsy:mdb entering mdb shell +0ms
  autopsy:mdb loading v8 mdb debug module +1ms
  autopsy:mdb waiting for token to indicate ready state +0ms

ischyron avatar Nov 17 '17 20:11 ischyron

same exact.

txbm avatar Feb 08 '18 05:02 txbm