Comments (3)
Can you provide the source code by chance? That'll be the easiest to figure out what the problem is and a solution.
from mojo.
thanks @JoeLoser. i should probably note that the crashing program performs a fairly large recursive calculation. i'm investigating whether i can provide some version of the source code. if so, i would only be comfortable doing that privately.
in the meantime, i tried using a Playground and it only indicates that the program failed. i also found that running the program using mojo run
provides slightly more information:
[2950:31950374:20240505,123447.014769:WARNING in_range_cast.h:38] value -634136515 out of range
[2950:31950377:20240505,123447.041191:ERROR directory_reader_posix.cc:42] opendir /Users/jrd/.modular/crashdb/attachments/d8457116-9460-4fec-8387-c5b9c232eaeb: No such file or directory (2)
[2950:31950374:20240505,123447.041235:WARNING crash_report_exception_handler.cc:257] UniversalExceptionRaise: (os/kern) failure (5)
zsh: illegal hardware instruction source/recursive/program.mojo 1 3999999
{132} [univac]$
the crash above happens at/during the next recursive all. let me know is that helps at all.
i am also happy to provide one (or more) of these:
[univac]$ ls -lt /Users/jrd/.modular/crashdb/completed/* | head -1
-rw-------@ 1 jrd staff 176557824 May 5 12:44 /Users/jrd/.modular/crashdb/completed/dca35d71-fa5e-497b-8b7e-a37bd0b312f0.dmp
[univac]$ file /Users/jrd/.modular/crashdb/completed/dca35d71-fa5e-497b-8b7e-a37bd0b312f0.dmp
/Users/jrd/.modular/crashdb/completed/dca35d71-fa5e-497b-8b7e-a37bd0b312f0.dmp: Mini DuMP crash report, 8 streams, Sun May 5 19:44:10 2024, 0 type
aside - i find this amusing:
[2950:31950377:20240505,123447.041191:ERROR directory_reader_posix.cc:42] opendir /Users/jrd/.modular/crashdb/attachments/d8457116-9460-4fec-8387-c5b9c232eaeb: No such file or directory (2)
because mkdir -p /Users/jrd/.modular/crashdb/attachments
fixed it:
[3766:31966598:20240505,124410.952548:WARNING in_range_cast.h:38] value -634136515 out of range
[3766:31966598:20240505,124411.031207:WARNING crash_report_exception_handler.cc:257] UniversalExceptionRaise: (os/kern) failure (5)
zsh: illegal hardware instruction (core dumped) source/recursive/program.mojo 1 3999999
from mojo.
@JoeLoser i guess that doesn't help.
from mojo.
Related Issues (20)
- [BUG] Segfault when using FFI
- [BUG] `DTypePointer[bool]` packs bits inconsistently HOT 1
- [BUG] Reinitializing mlvalue with itself introduces leaks HOT 1
- [BUG] address not mapped to object (fault address: 0x0).
- [BUG] Compiler bug in while loop HOT 2
- [Feature Request] returning values in `__del__` overload HOT 1
- [BUG] [mojo] Lazy evaluation of default parameters leads to fn Self signatures not matching HOT 4
- After run modular install max , I can not run max CLI
- [BUG] Reassign dict in a closure results in "Double free of object"
- [BUG] Copying null `String`/`List` introduces bugs
- [BUG] [LSP] stderr logs have invalid encoding
- [BUG] "use of unknown declaration" on misuse of `@nonmaterializable`
- [Feature Request] Detect unconditional infinite recursion in parameters
- [Docs] Typo in K-Means Clustering Guide Posted May 20, 2024
- [BUG] using walrus operator needs variable declaration
- [BUG] [stdlib] Unicode escape sequences are interpreted as utf8 and misrepresented.
- [BUG] [stdlib] String's `UnsafePointer` does not give correct UInt8 values HOT 1
- [BUG] Inferred parameter bug when nesting parameters
- [BUG] Compiler and language server crash on the last use of a bytes slice
- [Feature Request] Add Type-checking when initializing Tensor/TensorShape with Tuple
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mojo.