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

Segfault in node 0.10.31 #27

Closed
creationix opened this issue Aug 22, 2014 · 3 comments
Closed

Segfault in node 0.10.31 #27

creationix opened this issue Aug 22, 2014 · 3 comments

Comments

@creationix
Copy link

With the following JS file, I get a segfault using latest stable node and pako@0.2.5 from npm.

var inflate = require('pako').inflate;

var input = "eJy9VU1vGzcQve+vGDiH2Khk3XoIUh/ipomKpIc4rVEEBUQtR1paXA5Lcq3o3/cNKclqf0B9MFbkfLx582ZY2LoyNzF2P53+uu6rHpLLZGiLj7XJbMnyM3uJI4dCHJ5dkqDft0SPAwdaUjaHC/MljWwCHWTqrITX8NGYG+c5kwSyLu/g+qdM7UIdrSlGnTNuE/fFH2Dxh8uT8f5AMPAiu9yNUz+QdzsGvJIMvJ0E42scSdTLGD0Xpr0rQ00IK4ZxsCeTaAIj9O/BcurKwDSI2JliJZOY1kn22YUt6dUlMNomE4caqU9sitoE3lMQC9B63E3RtnP1TSKFEm84cegBCDyBxFQTjaYW0A8mbPkWnMM+TikK0siGzi0o0nKp8WULojdlI2lEIlNqtEwxCRCOI/J3v5pn89AnF8G8yYeKbhRUZ/qeczZrrxQsgW8KGYUhhfblfkgy8jslurpkkaAUJeXTe1orjkFyQYv3vCaUk0F/Q1FD4ccoa6W98oh7PSqasGQUugy5oKEEe+WoJaRvjwj2gObwX9dDKTG/WSz6enW7FdkCLPq6QMasNgvLxTi/KFW9F7TMj8pciPDOuqd1WK+f7OZJeuM2Pjwh1hDWfru56bpXr+ij6XfaLACshHfdg9TuWO6dRYn6vTegG20Y2EeImtaT8xbYdT72nBV9EfFg8ytIeH0kE5X+4lIuM7qYpsx+M1f2NKkKFTQlWpx0uTh3tQaDi85QrkMUGHBaKGBpGOpPmH4Q2nKjs3FGlaVzc9ymFjKYZ8YkdsYDoD0AYRsuVOh3BY7TdnhDb8/0e5nsFCvx/f3n3z4+2fv9j3/fdR3NadlCttHWwG1XDNMa8HbYB9C1PcxetKtzIoG17ecMzaEmyFyUlLyo3nkB8zvN88lMAeOupX2LiedaeDkXdhqU/0kzdSKm82roJRT+juHjMNF1ctuhzHvv+t0NOZ0I7oiIx1gOdeNo39TN8waqgBSw4ujqkwN3n2WCxj40/r5wlCut/T3CJ1q1VSPBfT9ix7Ze0bXUPZIIctmdOlyluk+unMb8hAR7EFrEf4ZstIpoMMItQOvX0c7j/FaTf6nl3Gs5dX5xt2rktvwb8dieJzft7nnL/qu099+jpKrZn7Hyr2rsh2ZggCLpLjvGul6C3LbsLcw574rERjr0YyBr1FrTFZNU8HCo78Cq8rK6qcEfTTkKJqssHbpEOQLnftClhPnhCikfedEHCejqg1T99TWDrnlGEvm0EdXkbasfKkPXIVL0JN/N8BjqbjstZ9Qx4jmYNdjW1iwtIwb4WKnR5UpTiNg/OD2Hu/2P5Ld4MJJRxwvFl+PUL/G0QOBQn23PyIsuPXhSS10hGUbhJUCT7+oe2k3if3i3qrJkLGS4jmTQEt1dXfcPivzbTg==";
inflate(new Uint8Array(new Buffer(input, "base64")));
tim@localhost:~/Downloads/test$ node -v
v0.10.31
tim@localhost:~/Downloads/test$ node problem.js 
Segmentation fault (core dumped)
@creationix
Copy link
Author

I narrowed the issue down to just this exact version of node. The segfault doesn't happen much in v0.10.30.

It's most likely a bug in v8 that you happen to be triggering, but I thought you should know.

@creationix
Copy link
Author

I get the segfualt on linux, but OSX is also having segfaults on some other similar sample data.

@creationix
Copy link
Author

Sorry, wrong project

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