Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
clone module causes NodeJS to crash with some objects #60
Comments
|
This happens way too often. It seems the master branch of clone has a fix from this PR but no release cut yet |
|
I'm wondering if cloning is even needed in this case, it's basically cloning an object already modified by winston and changing 3 properties, it might be easier to simply restore the properties to the origininal state after the message is sent I'm not sure who's managing this repo (trying with @alestrunda @michal-bures) but this issue is pretty serious and preventing us from using Loggly right now so it would be nice to know if there's an intention to fix it or not, thanks :) |
|
Make a PR and you could test it in your system by using your GitHub version |
|
@devotox I will if it's not fixed in the coming days but given that this repository is under loggly's organization, that it's a product we're paying for and that the bug is pretty serious (IMO) and makes the use of this module quite dangerous in production I wanted to first see if there was any interest in fixing this directly from Loggly |
|
Thanks for pointing that out, this library hasn't been updated for some time, we are currently reviewing what changes should be made. |
|
fixed in 644466d |
|
@alestrunda thanks for fixing this! We'll re-enable Loggly at the end of the week, I'll let you know if there's any problem but it shouldn't |
We're using Loggly and this module at our company and we started to have issues with NodeJS crashing, after some investigation we were able to determine that they were caused by the
clonemodule this library is using when passed some arguments it's not able to clone, in our case it was errors from the quite popular superagent module https://github.com/visionmedia/superagentMore info:
Reproduction
Given the type of crash and the fact that the maintainer of the clone module doesn't seem interested in fixing it, I would suggest to change it to a different implementation because right now it's making it quite difficult for us to use this module knowing that any error that includes a stream or some other properties will result in the nodejs process to crash
thanks!
The text was updated successfully, but these errors were encountered: