Closed kesla closed 12 years ago
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: https://github.com/c4milo/node-webkit-agent/issues/11
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.
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.
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
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