# Crashpad executable not found in Magic shell environment

**URL:** <https://forum.modular.com/t/crashpad-executable-not-found-in-magic-shell-environment/1001>\
**Category:** Installation & Packaging\
**Tags:** discussion\
**Created:** [March 17, 2025, 7:05am UTC](https://forum.modular.com/t/crashpad-executable-not-found-in-magic-shell-environment/1001 "2025-03-17T07:05:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rcmpge](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.modular.com/rcmpge/32/849_2.png) [@rcmpge](https://forum.modular.com/u/rcmpge)\
**Post date:** [March 17, 2025, 7:05am UTC](https://forum.modular.com/t/crashpad-executable-not-found-in-magic-shell-environment/1001/1 "2025-03-17T07:05:42Z")

</div>

Hey group, my Magic shell environment is not picking up the `crashpad_handler` executable to initialize and run Crashpad. Is there a workaround in Magic to add the executable? I ended up building Crashpad from source and have the executable, but when I test it in my Magic shell environment, no dice. I also tried to see if Conda had a `crashpad` or `crashpad_handler` package via `magic add crashpad` and `magic add crashpad_handler`, no lucks. I have the latest version of WSL2. I then went to add my `crashpad_handler` executable to my path via `~/.bashrc` but my machine doesn’t like it. Looked into Pixi and Magic docs as well. Interesting looking into the stack though ngl.

 ![Screenshot (3)](https://us1.discourse-cdn.com/flex001/uploads/modular/original/1X/012981508bb38d21c8d2e8fa5b092557951d2ada.png)

---

<div class="post-metadata">

**Author:** ![rcmpge](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.modular.com/rcmpge/32/849_2.png) [@rcmpge](https://forum.modular.com/u/rcmpge)\
**Post date:** [March 17, 2025, 7:10am UTC](https://forum.modular.com/t/crashpad-executable-not-found-in-magic-shell-environment/1001/2 "2025-03-17T07:10:09Z")

</div>

this is Ubuntu 24.04.2 btw on WSL2

---

<div class="post-metadata">

**Author:** ![rcmpge](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.modular.com/rcmpge/32/849_2.png) [@rcmpge](https://forum.modular.com/u/rcmpge)\
**Post date:** [March 17, 2025, 8:47am UTC](https://forum.modular.com/t/crashpad-executable-not-found-in-magic-shell-environment/1001/3 "2025-03-17T08:47:25Z")

</div>

I fixed it! I reinstalled Ubuntu.

 ![Screenshot (5)](https://us1.discourse-cdn.com/flex001/uploads/modular/original/1X/f53b249bc214d00ba4e2a5a8c81dbcef679381f0.jpeg)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex001/uploads/modular/original/1X/2751e0fbdc595a99718b216730957e9db4448cfd.jpeg) [@system](https://forum.modular.com/u/system)\
**Post date:** [March 24, 2025, 8:48am UTC](https://forum.modular.com/t/crashpad-executable-not-found-in-magic-shell-environment/1001/4 "2025-03-24T08:48:19Z")

</div>

Closed on March 24, 2025, 8:48am UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
