-
Notifications
You must be signed in to change notification settings - Fork 618
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
Update tar
, flate2
, and libflate
#1774
Conversation
Can we not get the core file? Or get the trace from it somehow? |
@Mark-Simulacrum I'm not aware of any easy way to get a core dump out of Heroku because the dyno is torn down and any temporary files deleted after the process exits. It might be possible with a custom buildpack to detect a crash and upload the core file somewhere else, but I haven't really looked into that in depth. Running the I've done some stress testing against the |
Ah, okay. I was hoping heroku had some native tooling to deal with this. We can probably do it via a small wrapper binary written in Rust that spawns the real crates.io and waits for it to segfault. I'm not sure we can bump If this doesn't work out I might be able to spend some time this weekend figuring the wrapper binary out for you, if you'd like -- just let me know. |
I can ask if there's a way to get a core dump |
Instead of writing a wrapper binary, it's probably easier to update the command in |
For what it's worth, I poked around a bit on a free dyno, and it appears there is no way to generate a core dump, at least no obvious one.
I doubt that a custom buildpack will help, but it is possible that paid dynos have other limits than free ones. |
I've added a commit to update I've updated the title and description to reflect that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks fine, but I'm going to hold off on merging until I'm about to deploy, as I'd like to deploy this on its own
☔ The latest upstream changes (presumably #1783) made this pull request unmergeable. Please resolve the merge conflicts. |
Begin bisecting the segfault caused by a bulk `cargo update` by only bumping a few dependencies. `cargo update -p flate2:0.2.20 -p flate2:1.0.7 -p tar --aggressive`
In addition to our dependency on `flate2`, `libflate` is pulled in via `reqwest`. `cargo update -p libflate --aggressive`
d2c9cfc
to
95121b9
Compare
@bors: r+ |
📌 Commit 95121b9 has been approved by |
Update `tar`, `flate2`, and `libflate` Begin bisecting the segfault caused by a bulk `cargo update` by only bumping a few dependencies. `cargo update -p flate2:0.2.20 -p flate2:1.0.7 -p libflate -p tar --aggressive`
☀️ Test successful - checks-travis |
Begin bisecting the segfault caused by a bulk
cargo update
by onlybumping a few dependencies.
cargo update -p flate2:0.2.20 -p flate2:1.0.7 -p libflate -p tar --aggressive