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

Crash when running matmul.mojo sample program #686

Closed
softwarelifecycle opened this issue Sep 9, 2023 · 1 comment
Closed

Crash when running matmul.mojo sample program #686

softwarelifecycle opened this issue Sep 9, 2023 · 1 comment
Labels
bug Something isn't working duplicate This issue or pull request already exists mojo Issues that are related to mojo mojo-examples Updates to the examples mojo-repo Tag all issues with this label

Comments

@softwarelifecycle
Copy link

softwarelifecycle commented Sep 9, 2023

Bug description

Upon running the mojo example program matmul.mojo, it threw the error described below:
62d5be9a-8bc3-4871-a125-9c13b8184dc6.zip
Attached here is the dmp and meta files produced by the crash.

Other mojo programs ran fine.

Steps to reproduce

I installed mojo along with Python 3.10
i made sure the MOJO_PYTHON_LIBRARY environment variable was pointing to the correct so file.
I ran the program matmul.mojo in the examples directory from the mojo repo
From the terminal, using "mojo matmul.mojo"
and received:
Stack dump:
0. Program arguments: mojo matmul.mojo
[2072011:2072012:20230909,140243.609335:ERROR directory_reader_posix.cc:42] opendir /home/hchattaway/.modular/crashdb/attachments/62d5be9a-8bc3-4871-a125-9c13b8184dc6: No such file or directory (2)
[2072011:2072012:20230909,140243.810471:ERROR http_transport_libcurl.cc:483] HTTP status 404
#0 0x000055ff08866717 (/home/hchattaway/.modular/pkg/packages.modular.com_mojo/bin/mojo+0x5bb717)
#1 0x000055ff088642ee (/home/hchattaway/.modular/pkg/packages.modular.com_mojo/bin/mojo+0x5b92ee)
#2 0x000055ff08866def (/home/hchattaway/.modular/pkg/packages.modular.com_mojo/bin/mojo+0x5bbdef)
#3 0x00007f0a1343c4b0 (/lib/x86_64-linux-gnu/libc.so.6+0x3c4b0)
Segmentation fault (core dumped)

System information

- What OS did you do install Mojo on ?
Ubuntu 22.04
- Provide version information for Mojo by pasting the output of `mojo -v`
mojo 0.2.1 (64d14e85)
- Provide Modular CLI version by pasting the output of `modular -v`
modular 0.1.4 (6b54d308)
@softwarelifecycle softwarelifecycle added bug Something isn't working mojo Issues that are related to mojo labels Sep 9, 2023
@softwarelifecycle softwarelifecycle changed the title [BUG]: Crash when running matmul.mojo sample program Sep 9, 2023
@ematejska ematejska added mojo-examples Updates to the examples duplicate This issue or pull request already exists labels Sep 11, 2023
@ematejska
Copy link
Collaborator

Duplicate of #586

@ematejska ematejska marked this as a duplicate of #586 Sep 11, 2023
@ematejska ematejska added the mojo-repo Tag all issues with this label label May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists mojo Issues that are related to mojo mojo-examples Updates to the examples mojo-repo Tag all issues with this label
Projects
None yet
Development

No branches or pull requests

2 participants