Open fellmk opened 6 years ago
Hey Mike! It's been a while!
Looks like this is technically a panic, not a segfault, since a segfault would print something like exited due to signal 11 (SIGSEGV, core dumped)
or similar. So I'm not sure if the specific crossbeam issue you linked is a likely culprit here, but I definitely believe that upgrading crossbeam fixes the issue. There's been a ton of work on the library since I wrote cue.
I'd be happy to merge a PR bumping the crossbeam version, but I'll need to rename the crate as I transferred the crates.io name to someone else (see https://github.com/anp/cue/issues/3#issuecomment-394437348 for details) since the crate has only had one or two users aside from NAU and I haven't been working on it. So once that's done you'll have to rename it in Cargo.toml
and lib.rs
etc., but that shouldn't be too bad I think.
If it's easier for you, the code here is quite small and you could easily copy/paste it into your project and make the update there if you prefer.
Hi Adam,
I had already pasted the code into the project and updated its dependencies when I posted. I just wanted to make sure you were aware of the issue since I saw one other person post an issue recently.
The original error did indicate SIGSEGV: Thread 22 "mtsv-signature" received signal SIGSEGV, Segmentation fault.
I didn’t know I could use Cargo to get backtraces until recently. Working on your code has motivated me to start learning Rust and in the process I found out how to get the trace I posted. Now I wish I had started learning Rust when you told me about it a few years ago.
Hopefully everything is going well in California. I visited San Francisco and the surrounding area recently and it looks like a nice place to live.
-Mike
From: Adam Perry notifications@github.com Sent: Thursday, July 19, 2018 11:57 AM To: anp/cue cue@noreply.github.com Cc: Michael Kenneth Fell Michael.Fell@nau.edu; Author author@noreply.github.com Subject: Re: [anp/cue] Crossbeam panic (#4)
Hey Mike! It's been a while!
Looks like this is technically a panic, not a segfault, since a segfault would print something like exited due to signal 11 (SIGSEGV, core dumped) or similar. So I'm not sure if the specific crossbeam issue you linked is a likely culprit here, but I definitely believe that upgrading crossbeam fixes the issue. There's been a ton of work on the library since I wrote cue.
I'd be happy to merge a PR bumping the crossbeam version, but I'll need to rename the crate as I transferred the crates.io name to someone else (see #3 (comment)https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fanp%2Fcue%2Fissues%2F3%23issuecomment-394437348&data=02%7C01%7Cmichael.fell%40nau.edu%7C6f30a65473c44725c92208d5eda97035%7C27d49e9f89e14aa099a3d35b57b2ba03%7C0%7C0%7C636676234349656660&sdata=X0UjmOUBNY7nHtP23KUCqyw6OkC%2F13w%2BwZYbvHKxUio%3D&reserved=0 for details) since the crate has only had one or two users aside from NAU and I haven't been working on it. So once that's done you'll have to rename it in Cargo.toml and lib.rs etc., but that shouldn't be too bad I think.
If it's easier for you, the code here is quite small and you could easily copy/paste it into your project and make the update there if you prefer.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fanp%2Fcue%2Fissues%2F4%23issuecomment-406379828&data=02%7C01%7Cmichael.fell%40nau.edu%7C6f30a65473c44725c92208d5eda97035%7C27d49e9f89e14aa099a3d35b57b2ba03%7C0%7C0%7C636676234349656660&sdata=FGFw5HdmiPRI3GvDX9rAqRl%2BdBkkUCIJ2qTpFraR3io%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAIZq2CzBHobRIsoEBXD1JaJhcHhnmsblks5uINaHgaJpZM4VTstt&data=02%7C01%7Cmichael.fell%40nau.edu%7C6f30a65473c44725c92208d5eda97035%7C27d49e9f89e14aa099a3d35b57b2ba03%7C0%7C0%7C636676234349656660&sdata=%2FejaymjF0VayCv5ocMPKwoWlM6FkKsjbqDbJFvT03Ho%3D&reserved=0.
Oh, awesome! Glad to know you're unblocked. Thank you so much for the heads up!
And yeah, things are going really well in CA! Hope things are great in the lab!
The version of crossbeam used here can lead to a difficult to replicate segfault. The reason is documented on the crossbeam git repository (https://github.com/crossbeam-rs/crossbeam/issues/107). Updating to the latest version of crossbeam (0.3.2) appears to solve the issue. If you are interested in the backtrace: