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

Issue running ww3_shel in v6.07 #171

Closed
iman-j opened this issue Feb 25, 2020 · 3 comments
Closed

Issue running ww3_shel in v6.07 #171

iman-j opened this issue Feb 25, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@iman-j
Copy link

iman-j commented Feb 25, 2020

Hi all,

When running ww3_shel I hit the following error (almost instantly when ww3_shel is run):

free(): invalid pointer

Program received signal SIGABRT: Process abort signal.

Backtrace for this error:
#0 0x7fd2fc78e31a
#1 0x7fd2fc78d503
#2 0x7fd2fbbdbf1f
#3 0x7fd2fbbdbe97
#4 0x7fd2fbbdd800
#5 0x7fd2fbc26896
#6 0x7fd2fbc2d909
#7 0x7fd2fbc34e1b
#8 0x560f667e8102
#9 0x560f667a8e97
#10 0x560f667a3108
#11 0x7fd2fbbbeb96
#12 0x560f667a3139
#13 0xffffffffffffffff

Here are the switch and ww3_shel.inp files for reference

switch.txt
ww3_shel.inp.txt

Also just noting that I am using the latest version and can confirm that as suggested by Issue #13, line 1300 (READ (NDSI,*,END=2001,ERR=2002) IPRT, PRTFRM) is removed from ww3_shel.ftn before building the binaries.

Any help you can provide is much appreciated!

@iman-j
Copy link
Author

iman-j commented Mar 4, 2020

For anyone else having this issue, it appears that the point outputs was responsible for this error.
When I removed my original points, the ww3_shel proceeded to evaluate the model as expected.

@ajhenrique ajhenrique added the bug Something isn't working label May 4, 2020
@aliabdolali
Copy link
Contributor

@iman-j It seems it has been resolved. Please reopen a new issue if it hasn't.

@iman-j
Copy link
Author

iman-j commented Oct 11, 2023

Please re-open this issue. This is a bug in WW3 and the only way to circumvent the issue is to reduce the number of output points. The points are valid but somehow a unknown number of points causes this error. The limit seem to be arbitrary, or at least to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants