Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

Crashpad failed to start handler #984

Closed
Fahad-Hey opened this issue Oct 3, 2023 · 13 comments
Closed

Crashpad failed to start handler #984

Fahad-Hey opened this issue Oct 3, 2023 · 13 comments
Labels
bug Something isn't working modular-cli modular tool issues mojo-repo Tag all issues with this label

Comments

@Fahad-Hey
Copy link

Where is the problem?

Crashpad

What can we do better?

suggest to us how to solve this type of error :
[11386:11386:20231003,212317.111937:ERROR exception_handler_server.cc:361] getsockopt: Invalid argument (22)
[11384:11384:20231003,212317.112988:ERROR socket.cc:153] unhandled cmsg 0, 0
Failed to initialize Crashpad. Crash reporting will not be available. Cause: crashpad failed to start handler (how to fix this error)

Anything else?

No response

@Fahad-Hey Fahad-Hey added the documentation Improvements or additions to documentation label Oct 3, 2023
@scottamain scottamain added bug Something isn't working and removed documentation Improvements or additions to documentation labels Oct 3, 2023
@scottamain scottamain changed the title [Docs] Crashpad failed to start handler Oct 3, 2023
@ematejska ematejska added the modular-cli modular tool issues label Oct 6, 2023
@shilisi
Copy link

shilisi commented Oct 10, 2023

I also have the same problem, I did not find a solution in the community, do you know how to solve it?

@zbowling
Copy link
Contributor

Are you perhaps running on WSL1? can you check to see if you are running under WSL1 or WSL2? Also can list the distro and version in WSL you are using? There are known issues with WSL1.

@attiouimehdi
Copy link

attiouimehdi commented Oct 19, 2023

I have the same issue for installing mojo on windows 10 ( i use ubuntu 22.04 lts with wsl).
i use a wsl v0.81.8 on visual studio code.
the error returned after the command " modular install mojo" is
[31:31:20231019,221912.385083:ERROR exception_handler_server.cc:361] getsockopt: Invalid argument (22)
[29:29:20231019,221912.386116:ERROR socket.cc:153] unhandled cmsg 0, 0
Failed to initialize Crashpad. Crash reporting will not be available. Cause: crashpad failed to start handler
modular: error: invalid manifest: targets manifest was not an object
modular version is 0.2.1.

@wangwendong1024
Copy link

wsl --update
my wsl verison :
Administrator@DESKTOP C:\Users\Administrator

wsl -v

WSL 版本: 1.2.5.0
内核版本: 5.15.90.1
WSLg 版本: 1.0.51
MSRDC 版本: 1.2.3770
Direct3D 版本: 1.608.2-61064218
DXCore 版本: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows 版本: 10.0.19045.3570

After upgrading wsl to the latest version, run ubuntu20.04 of wsl to reinstall the modular

@smuniraj2018
Copy link

Please update to WSL2. That should hopefully resolve the issue

@mohan-676
Copy link

You can either Update your wsl or just try to install it by using "sudo apt install wsl"
My issue was resolved by this and installed mojo sucessfully

@sohaha
Copy link

sohaha commented Nov 18, 2023

Mine is WSL2 but it doesn't work. supplement, not related to the network

@HasCodingSpace
Copy link

@attiouimehdi @shilisi @Fahad-Hey did u find any fix to the errors?

@realnihal
Copy link

I am running this on an m1, still getting the same issue. Any suggestions?

@realnihal
Copy link

Running it with Sudo Privilege seemed to solved the issue

@Swag-With-Jal
Copy link

same error for me also:
Failed to initialize Crashpad. Crash reporting will not be available. Cause: while locating crashpad handler: unable to locate crashpad handler executable

@Swag-With-Jal
Copy link

There are few things like giving path which he missed.....while installing mojo you have to give this(export MODULAR_HOME="$HOME/.modular"
export PATH="$MODULAR_HOME/pkg/packages.modular.com_mojo/bin:$PATH") path and while using jupyter lab use this (export PATH="$HOME/.local/bin:$PATH") path in vscode teminal...without it jupter lab will not work.

@ematejska
Copy link
Collaborator

Thank you for trying out Mojo. The installation experience has significantly changed and we're closing out all the old issues with the old installer. To try out our new installation experience using "magic", please see: https://docs.modular.com/mojo/manual/get-started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working modular-cli modular tool issues mojo-repo Tag all issues with this label
Projects
None yet
Development

No branches or pull requests