Everyone:
I have been continuously running into a memory error (cfree) which causes opencfe to crash. It seems to affect almost every process that has a "filebox" chooser in the gui screen. The error occurs when "pathchoose_update" is called, and this calls "filebox" and one of the routines in "filebox" (perhaps "filebox_load_file") is causing a "free" when apparently an "alloc" has not yet occurred. I have limited time to track this error down, but if someone can help locate it, it will fix a dozen or so errors that have been lurking around in cpseis for a while.
To see the error, try something like a simple cfe job here:
project_data
job_data
trin (just read in any data file)
abra
trot
Then in abra, select "VELOPT"=velocity file and type in a file name in the box that says NONE to the right of "Select VELNAM". Don't use a wildcard and don't leave it "NONE". Then push Select VELNAM and it will crash.
It seems to be crashing just after the last line in "pathchoose_update" and before the next line in the abra code. See my * in the picture. I have *.vel in the screen shot, but that will not crash the code. Type in a file name (existing or not) and it will crash.
Any help is greatly appreciated.
image.png
Thank you,
Bill Menger
Bill,
have you looked at bug number 7? I have patched awindow.f90 as described therein, and I can select velocity files in ABRA and various other modules.