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

Segmentation fault during tracking #1413

Closed
mrooding opened this issue Feb 25, 2015 · 8 comments
Closed

Segmentation fault during tracking #1413

mrooding opened this issue Feb 25, 2015 · 8 comments

Comments

@mrooding
Copy link

Hi guys

First of all: thanks for accepting my alpha request. I've already enjoyed using the service so far but ran into a problem trying to track my brother (whom I've invited) using the command line utility on OS X.

For some reason I'm getting a segmentation fault without any more information:

➜ ~ keybase track rrooding
info: ...checking identity proofs
✔ public key fingerprint: 3FE9 4CE4 E55A 8F04 95C7 53B3 7586 46CA 8091 0CB3
✔ "rrooding" on twitter: https://twitter.com/rrooding/status/570679590093512709
✔ "rrooding" on github: https://gist.github.com/ed2bc05aebdc09f21166
[1] 20154 segmentation fault keybase track rrooding

I checked the github issues list but I only noticed users reporting segmentation problems while logging in. Is anyone aware of this issue? I was in the end able to track him using the web UI.

Kind regards

Marc

@maxtaco
Copy link
Contributor

maxtaco commented Feb 25, 2015

On broken versions of node. Which one are you using?

@mrooding
Copy link
Author

Should be the latest:

➜ ~ npm -v
2.5.1

@maxtaco
Copy link
Contributor

maxtaco commented Feb 25, 2015

And what does node --version show?

@mrooding
Copy link
Author

Oops my apologies, I recently updated everything using brew so node is at 0.12.0:

➜ ~ node --version
v0.12.0

@maxtaco
Copy link
Contributor

maxtaco commented Feb 25, 2015

Yeah, I can repro that. Looks like a Bug in Node's DNS resolver. Sigh. Thanks for pointing this out. I'll report it to the node folks. Here's the script to break it. Looks like your brother(?)'s DNS server is replying with some data Node can't parse. A bad thing for sure.

var dns = require('dns');

dns.resolveTxt('www.ralphrooding.com', function(err, res) {
   console.log(err);
   console.log(res);
});

@mrooding
Copy link
Author

I'll give your script a try tomorrow. Feels like time for bed. Glad I could be of help!

@maxtaco
Copy link
Contributor

maxtaco commented Feb 25, 2015

No reason to run the script, all it does is crashes node! It's just an isolated way to reproduce the bug you found. I reported it to Node, I didn't see it open already.

@mrooding
Copy link
Author

That's the fun part right? ;) I've seen your bug report, I'll also keep an eye on it

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