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
GitHub
Issues · modularml/mojo
The Mojo Programming Language. Contribute to modularml/mojo development by creating an account on GitHub.
Hi @michau this crashpad bug was fixed this morning.
Try running:
Again to get the latest
modular
cli.
For the bug itself causing the crash, make sure you're using WSL2 as @Heyitsmeguys mentioned thoughThanks it helped, but it was earlier occuring even though I was on wsl2
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?
I think it'll be similar to Rust: https://docs.modular.com/mojo/manual/values/ownership.html
Modular Docs - Ownership and borrowing
How Mojo shares references through function arguments.
Similar, but (probably) easier to use in practice
Considering that the new Reference type is parametric over mutability, it's already easier to use in some ways.