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

cargo prove install-toolchain segfaults #1895

Closed
1 of 2 tasks
jimpo-ulvt opened this issue Dec 24, 2024 · 6 comments
Closed
1 of 2 tasks

cargo prove install-toolchain segfaults #1895

jimpo-ulvt opened this issue Dec 24, 2024 · 6 comments

Comments

@jimpo-ulvt
Copy link

Component

cargo prove CLI/sp1up

Have you ensured that all of these are up to date?

  • SP1 SDK
  • cargo prove CLI/sp1up

What version of SP1 SDK are you on?

No response

What version of the cargo prove CLI are you on?

cargo-prove sp1 (3917e90 2024-12-04T00:40:40.640074686Z)

Operating System

Linux (Ubuntu)

Describe the bug

% cargo prove install-toolchain
Successfully cleaned up ~/.sp1 directory.
Successfully created ~/.sp1 directory.
[1]    36035 segmentation fault (core dumped)  cargo prove install-toolchain

I removed $HOME/.sp1 and reran sp1up with the latest cargo prove version. It crashes with a segfault. :-(

@jtguibas
Copy link
Contributor

jtguibas commented Dec 25, 2024

Could you share what Ubuntu version you are on and your CPU architecture? I think the issue is likely related to cross-compilation issues or glibc version mismatches.

@jimpo-ulvt
Copy link
Author

OS: Ubuntu 24.04 on a Dell Precision Mobile Workstation
Kernel version: 6.8.0-1019-oem, see linux-image-oem-24.04
Processor: 13th Gen Intel(R) Core(TM) i9-13900H

@themighty1
Copy link

Im also getting the segfault on OpenSuse TW:

sp1up: installed - cargo-prove sp1 (3917e90 2024-12-04T00:40:40.640074686Z)
sp1up: installing rust toolchain
Successfully cleaned up ~/.sp1 directory.
Successfully created ~/.sp1 directory.
/home/default2/.sp1/bin/sp1up: line 411: 366475 Segmentation fault      (core dumped) "$@"
sp1up: command failed: /home/default2/.sp1/bin/cargo-prove prove install-toolchain

@hey-ewan
Copy link

@jimpo-ulvt, @themighty1 they've shipped a fix but haven't pushed it to the main release, so you'll have to use the pre-release. here's the issue they mentioned that.

the command will have to be:

SP1UP_VERSION=v3.0.1-alpha-b976ea6e sp1up

@themighty1
Copy link

Thank you, I just ran SP1UP_VERSION=v4.0.1 sp1up
and everything works as expected

@nhtyy
Copy link
Collaborator

nhtyy commented Jan 23, 2025

Closing this as it seems the issue is fixed, feel free to follow up if thats not true.

@nhtyy nhtyy closed this as completed Jan 23, 2025
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

Successfully merging a pull request may close this issue.

5 participants