[FLASH-USERS] Segmentation fault - invalid memory reference.

amar at aries.res.in amar at aries.res.in
Tue Dec 5 12:34:15 EST 2023


Dear FLASH users, 

I installed FLASH4.7.1 on two of my systems (both with Ubuntu 20.04). In one of the systems, FLASH is running fine, while the other system shows the following Segmentation fault error at the end of the simulation: 


Program received signal SIGSEGV: Segmentation fault - invalid memory reference. 

Backtrace for this error: 
#0 0x7f5668eaa08f in ??? 
at /build/glibc-BHL3KM/glibc-2.31/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0 
#1 0x7f5669d71737 in ??? 
#2 0x442348 in tmr_broadcastroottimers_ 
at /home/brics/Downloads/FLASH4.7.1/object/Timers_getSummary.F90:382 
#3 0x442553 in tmr_allprocssametimers_ 
at /home/brics/Downloads/FLASH4.7.1/object/Timers_getSummary.F90:258 
#4 0x4430cd in timers_getsummary_ 
at /home/brics/Downloads/FLASH4.7.1/object/Timers_getSummary.F90:179 
#5 0x409b86 in driver_evolveflash_ 
at /home/brics/Downloads/FLASH4.7.1/object/Driver_evolveFlash.F90:497 
#6 0x404ab6 in flash 
at /home/brics/Downloads/FLASH4.7.1/object/Flash.F90:51 
#7 0x404ab6 in main 
at /home/brics/Downloads/FLASH4.7.1/object/Flash.F90:43 

=================================================================================== 
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES 
= PID 77619 RUNNING AT aries 
= EXIT CODE: 139 
= CLEANING UP REMAINING PROCESSES 
= YOU CAN IGNORE THE BELOW CLEANUP MESSAGES 
=================================================================================== 
YOUR APPLICATION TERMINATED WITH THE EXIT STRING: Segmentation fault (signal 11) 
This typically refers to a problem with your application. 
Please see the FAQ page for debugging suggestions 



While installing FLASH on the system showing the Segmentation fault error, I was required to change "MPI_Type_extent" to "MPI_Type_get_extent" in the Timers_getSummary.F90 file. Without this modification, the "make" command would not proceed successfully. 

Please provide your valuable suggestions regarding this error. Also please let me know if I need to provide more information. 

With best regards, 
Amar 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20231205/787c015a/attachment.htm>


More information about the flash-users mailing list