Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not working in 0.8? #11

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

not working in 0.8? #11

kesla opened this issue Aug 1, 2012 · 4 comments

Comments

@kesla
Copy link

kesla commented Aug 1, 2012

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
Copy link
Owner

c4milo commented Aug 1, 2012

Hey David, thanks for the report. Most likely the profiler API changed in V8. I'll take a look at it as soon as I can.

Camilo Aguilar
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

On Wednesday, August 1, 2012 at 12:57 PM, David Björklund wrote:

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


Reply to this email directly or view it on GitHub:
#11

@c4milo
Copy link
Owner

c4milo commented Aug 4, 2012

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
Copy link
Owner

c4milo commented Aug 4, 2012

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
Copy link
Owner

c4milo commented Aug 4, 2012

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants