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

firing invalid probe causes abort with nodejs v0.12 #59

Open
pfmooney opened this issue Feb 18, 2015 · 0 comments
Open

firing invalid probe causes abort with nodejs v0.12 #59

pfmooney opened this issue Feb 18, 2015 · 0 comments

Comments

@pfmooney
Copy link

When attempting to fire a probe which has not been defined, nodejs 0.12.0 will abort with this error:

FATAL ERROR: v8::Object::GetAlignedPointerFromInternalField() Not a Smi
Abort (core dumped)

I've replicated it on OSX and SmartOS:

var dtrace = require('dtrace-provider');
var provider = dtrace.createDTraceProvider('test');
provider.addProbe('present', 'int');
provider.enable();
provider.fire('present', function () {
  return 5;
});
provider.fire('absent', function () {
  return 5;
});

Node v0.10.36 does not suffer from this problem using when dtrace-provider 0.2.8 or 0.4.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

1 participant