not working in 0.8? #11

Closed
kesla opened this Issue Aug 1, 2012 · 4 comments

Projects

None yet

2 participants

@kesla

Hi!

I ran the webkit-agent in node 0.6.19 (mac os X) without any problems but when I then upgraded node to 0.8.4 it didnt' work anymore.
It's when I'm stopping a CPU Profile that I get an error in the process that I'm profiling.

The error that I'm seeing is this:

yld: lazy symbol binding failed: Symbol not found: __ZN2v814ObjectTemplate11SetAccessorENS_6HandleINS_6StringEEEPFNS1_INS_5ValueEEENS_5LocalIS2_EERKNS_12AccessorInfoEEPFvS7_NS6_IS4_EESA_ES5_NS_13AccessControlENS_17PropertyAttributeE
Referenced from: /Users/davidbjorklund/Dropbox/projects/uniqad/node_modules/webkit-devtools-agent/node_modules/v8-profiler/build/Release/profiler.node
Expected in: dynamic lookup

dyld: Symbol not found: __ZN2v814ObjectTemplate11SetAccessorENS_6HandleINS_6StringEEEPFNS1_INS_5ValueEEENS_5LocalIS2_EERKNS_12AccessorInfoEEPFvS7_NS6_IS4_EESA_ES5_NS_13AccessControlENS_17PropertyAttributeE
Referenced from: /Users/davidbjorklund/Dropbox/projects/uniqad/node_modules/webkit-devtools-agent/node_modules/v8-profiler/build/Release/profiler.node
Expected in: dynamic lookup

@c4milo
Owner
@c4milo
Owner

I just tried with 0.8.5 and I'm not getting this error, make sure you don't have v8-profiler installed and try again. node-webkit-agent includes its own patched v8-profiler version.

@c4milo
Owner

The issue I'm actually having is that devtools frontend v19.0.1084.46 is not able to parse the heap dump. I'm in the process of updating it to a newer version right now.

@c4milo
Owner

Alright, I just replicated the issue and it's that there is no ABI compatibility between nodejs v0.6.x and v0.8.x, so you would need to re-install webkit-devtools-agent every time you switch nodejs versions.

I uploaded also a new version of frontend devtools that works only with nodejs 0.8.x. The link is http://c4milo.github.com/node-webkit-agent/21.0.1180.57/inspector.html?host=localhost:1337&page=0

The link for devtools frontend that works with nodejs 0.6.x continue being: http://c4milo.github.com/node-webkit-agent/19.0.1084.46/inspector.html?host=localhost:1337&page=0

@c4milo c4milo added a commit that closed this issue Aug 4, 2012
@c4milo Update README.md
Closes #11
2b5650b
@c4milo c4milo closed this in 2b5650b Aug 4, 2012
@c4milo c4milo added a commit that referenced this issue Jul 27, 2014
@c4milo Links issue #11 to README fc3d9e4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment