I am currently trying to run a code from a previous master student, in which he simulates a detector. I want to build upon his work for my own research, however there are some problems.
I can compile the program and run it, IF I cancel all the lines that are connected to the visualization. If I don’t cancel these lines, it gives me following error in the terminal:
free(): invalid next size (fast)
Aborted (core dumped)
If I debug it with data display debugger (ddd), it gives me following error, at the line: ui->SessionStart();
I tried to google these errors but couldn’t find anything helpful. The visualization program I use is QT. It’s hard for me to pinpoint down the problem, as the error occurs at almost the end of the whole program, only followed by delete visManager; and delete runManager;.
Does anyone have any advice on how to approach this error?