randomasiandude
MModular
•Created by randomasiandude on 9/19/2024 in #questions
Segmentation Fault Core dumped
Very True, especially for new comers from python.
25 replies
MModular
•Created by randomasiandude on 9/19/2024 in #questions
Segmentation Fault Core dumped
As a dude from python took me a while to figure out. And still reading the variables scope thing
25 replies
MModular
•Created by randomasiandude on 9/19/2024 in #questions
Segmentation Fault Core dumped
The issue was about defining global variables/constants as var vs. as alias . In my case it needs to be defined as alias for the binary to work
25 replies
MModular
•Created by randomasiandude on 9/19/2024 in #questions
Segmentation Fault Core dumped
Thank you for the gdb knowledge which I didn’t know 🙂
25 replies
MModular
•Created by randomasiandude on 9/19/2024 in #questions
Segmentation Fault Core dumped
I discovered that if a variable is outside of the fn it should be defined as alias not var in order to make the binary work. If its defined as var the script can still run with mojo run
25 replies
MModular
•Created by randomasiandude on 9/19/2024 in #questions
Segmentation Fault Core dumped
I somehow fixed it by putting var ECL_V5 from outside of the fn into inside of the fn…. Still don’t know what’s the actual reason behind
25 replies
MModular
•Created by randomasiandude on 9/19/2024 in #questions
Segmentation Fault Core dumped
25 replies
MModular
•Created by randomasiandude on 9/19/2024 in #questions
Segmentation Fault Core dumped
I’ll provide result in few mins
25 replies
MModular
•Created by randomasiandude on 9/19/2024 in #questions
Segmentation Fault Core dumped
Not VM not WSL Ubuntu OS
25 replies
MModular
•Created by randomasiandude on 9/19/2024 in #questions
Segmentation Fault Core dumped
I’ll try right now
25 replies
MModular
•Created by randomasiandude on 9/19/2024 in #questions
Segmentation Fault Core dumped
Like ./test
25 replies
MModular
•Created by randomasiandude on 9/19/2024 in #questions
Segmentation Fault Core dumped
I can run the fn without any issue I couldn’t run it in binary execution form
25 replies
MModular
•Created by randomasiandude on 9/19/2024 in #questions
Segmentation Fault Core dumped
I’ve only tested in Ubuntu terminal and vscode
25 replies
MModular
•Created by randomasiandude on 9/19/2024 in #questions
Segmentation Fault Core dumped
output value is correct . A list of 64 elements values from 0-929
25 replies