Giter Club home page Giter Club logo

Comments (3)

JoeLoser avatar JoeLoser commented on May 27, 2024

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.

mortax avatar mortax commented on May 27, 2024

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.

mortax avatar mortax commented on May 27, 2024

@JoeLoser i guess that doesn't help.

from mojo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.