-
Notifications
You must be signed in to change notification settings - Fork 70
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
Segmentation fault: #161
Comments
Segfaults are really hard to debug. I wonder if you're running out of memory. |
Update: I set up FLOWUnsteady on WSL and I'm still getting the same error. Please find the attached error with a bigger message. julia> import FLOWUnsteady as uns julia> include(joinpath(uns.examples_path, "tetheredwing.jl")) Folder tetheredwing-example already exists. Remove? (y/n) y
START tetheredwing-example/tetheredwing-example_pfield
signal (11): Segmentation fault Is it possible to tell me if this is a hardware issue or a code issue? I have an I9-14900k 24-core machine. |
Your workstation's specs should be fine for these cases to run fine. Since the simple wing case works fine, I would try running it for a longer time and see if it throws a segfault when there's close to the number of particles in this simulation. Or simplify this case and see if it runs for longer timesteps. I'm still inclined to think some sort of memory limit is being hit by these simulations. Not sure why/how though. We're in the process of phasing out the FMM package (FLOWExaFMM) for a native Julia one because it has given us a lot of trouble. So hopefully this issue will also be resolved with that switch. |
Really odd. The stack trace points out that the error is on the C++ part of FLOWExaFMM. As @cibinjoseph mentions, my guess is that there is an issue with the amount of memory that the process is allow to use. |
(@v1.8) pkg> test CxxWrap Displaying mutable matrix Running tests from cxxdereference.jl... @cibinjoseph The memory consumption does not shoot up at any point. Thanks. PS: Strange that I'm still able to run simulations with this error. |
Hey, every time I run an example apart from the simple wing I get the following error:
signal (11): Segmentation fault
in expression starting at /home/nish/.julia/packages/FLOWUnsteady/MpOG2/examples/vahana/vahana.jl:376
unknown function (ip: 0x7fffed0735da)
Allocations: 6767744745 (Pool: 6767383817; Big: 360928); GC: 179
Segmentation fault (core dumped)
Sometimes, the system even crashes.
I have dual-booted Windows and Ubuntu 22 and I'm running flowunsteady on Ubuntu. I have a 24-core machine.
Is this a hardware issue? How do I fix this?
Thanks.
The text was updated successfully, but these errors were encountered: