[FLASH-USERS] Segmentation fault after file modification

Peter Manzella peter.manzella at maine.edu
Tue Oct 31 10:15:52 EDT 2023


I can share that, and the debug message I get after I have added the
"-debug" flag as well. Here is the debug message,

At line 119 of file IO_writeIntegralQuantities.F90
Fortran runtime error: Index '1997467855' of dimension 1 of array 'xcenter'
above upper bound of 24

Error termination. Backtrace:
At line 119 of file IO_writeIntegralQuantities.F90
Fortran runtime error: Index '0' of dimension 1 of array 'xcenter' below
lower bound of 1

Error termination. Backtrace:
Fortran runtime error: Index '0' of dimension 1 of array 'xcenter' below
lower bound of 1

Error termination. Backtrace:
At line 119 of file IO_writeIntegralQuantities.F90
Fortran runtime error: Index '50696040' of dimension 1 of array 'xcenter'
above upper bound of 24

And attached is the modified file.

On Tue, Oct 31, 2023 at 10:05 AM Hansen, Eddie <ehansen at pas.rochester.edu>
wrote:

> Hello,
>
>
>
> It depends on how you modified it. If you share your modified routine,
> someone might be able to find the bug.
>
>
>
> --
>
> Eddie Hansen
>
> Applications Group Leader
>
> Flash Center for Computational Science
>
>
>
>
>
> *From: *flash-users <flash-users-bounces at flash.rochester.edu> on behalf
> of Peter Manzella <peter.manzella at maine.edu>
> *Date: *Monday, October 30, 2023 at 3:01 PM
> *To: *flash-users at flash.rochester.edu <flash-users at flash.rochester.edu>
> *Subject: *[FLASH-USERS] Segmentation fault after file modification
>
> Hello,
>
>
>
> I recently modified IO_writeIntegralQuantities.F90, and in doing so, I've
> gotten a segmentation fault issue. I am trying to track it down, but am
> having some trouble, are there some ways I can go about doing this?
> Any suggestions? Help is appreciated!
>
>
>
> --
>
> Peter Manzella
>
> PhD Candidate, Department of Physics and Astronomy
>
> 309 Bennett Hall
>
> University of Maine
>
> peter.manzella at maine.edu
>
>
>
> “If you run out of ideas follow the road; you'll get there.” – Edgar Allan
> Poe
>


-- 
Peter Manzella
PhD Candidate, Department of Physics and Astronomy
309 Bennett Hall
University of Maine
peter.manzella at maine.edu

“If you run out of ideas follow the road; you'll get there.” – Edgar Allan
Poe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20231031/6485011a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: IO_writeIntegralQuantities.F90
Type: application/octet-stream
Size: 9359 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20231031/6485011a/attachment.obj>


More information about the flash-users mailing list