M
Modular8mo ago
michau

Failed to initialize crashpad

Every time I try to install mojo I get: Failed to initialize Crashpad. Crash reporting will not be available. Cause: while locating crashpad handler: unable to locate crashpad handler executable How to resolve it? I'm on wsl with ubuntu 22.04. Tried on multiple pcs and every time same error.
7 Replies
Heyitsmeguys
Heyitsmeguys8mo ago
Look at https://github.com/modularml/mojo/issues/1662. I think you have to upgrade to WSL2.
GitHub
Issues · modularml/mojo
The Mojo Programming Language. Contribute to modularml/mojo development by creating an account on GitHub.
Jack Clayton
Jack Clayton8mo ago
Hi @michau this crashpad bug was fixed this morning. Try running:
curl https://get.modular.com | sh -
curl https://get.modular.com | sh -
Again to get the latest modular cli. For the bug itself causing the crash, make sure you're using WSL2 as @Heyitsmeguys mentioned though
michau
michau8mo ago
Thanks it helped, but it was earlier occuring even though I was on wsl2
happycamper7101
happycamper71018mo ago
Hi Can anyone please direct me to a link or post regarding memory management in mojo. I know it uses a different approach than Rust and C, that it doesn’t use malloc or lifetime rather a unique approach of value ownership. So does that mean it obfuscates the allocation and deallocation part, or do will still have fine control over the process?
Heyitsmeguys
Heyitsmeguys8mo ago
Modular Docs - Ownership and borrowing
How Mojo shares references through function arguments.
gryznar
gryznar8mo ago
Similar, but (probably) easier to use in practice
Heyitsmeguys
Heyitsmeguys8mo ago
Considering that the new Reference type is parametric over mutability, it's already easier to use in some ways.
Want results from more Discord servers?
Add your server