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

Remove memory corruption error #5

Open
acuoci opened this issue May 31, 2016 · 1 comment
Open

Remove memory corruption error #5

acuoci opened this issue May 31, 2016 · 1 comment
Assignees

Comments

@acuoci
Copy link
Owner

acuoci commented May 31, 2016

After the introduction of the customized radiation library, in case of wrong input data from the user, the solvers report the error message but an additional, annoying, error message about memory corruption.
This is not a big issue, because in any case the solver would abort, but it is better to remove it.

FOAM exiting

*** glibc detected *** laminarBuoyantPimpleSMOKE: double free or corruption (!prev): 0x0000000001bcde60 ***
======= Backtrace: =========
/lib64/libc.so.6[0x3b71276166]
/lib64/libc.so.6[0x3b71278c93]
/lib64/libc.so.6(__cxa_finalize+0x9d)[0x3b712361bd]
/software/OpenFOAM/OpenFOAM-2.4.x/platforms/linux64GccDPOpt/lib/libradiationModels.so(+0x4ca06)[0x7fac8b997a06]
======= Memory map: ========
00400000-00ec0000 r-xp 00000000 00:13 17218158037 /home/chimica2/cuoci/OpenFOAM/cuoci-2.4.x/platforms/linux64GccDPOpt/bin/laminarBuoyantPimpleSMOKE
010c0000-010e2000 rw-p 00ac0000 00:13 17218158037 /home/chimica2/cuoci/OpenFOAM/cuoci-2.4.x/platforms/linux64GccDPOpt/bin/laminarBuoyantPimpleSMOKE
010e2000-01126000 rw-p 00000000 00:00 0
01a21000-021b2000 rw-p 00000000 00:00 0 [heap]

@acuoci acuoci added this to the Release of laminarSMOKE 0.5 milestone May 31, 2016
@acuoci acuoci self-assigned this May 31, 2016
@pshar15
Copy link

pshar15 commented Sep 20, 2017

Dear Prof. Cuoci,

I am also getting the same error about memory corruption at the end of my simulation. Could you please tell me how to remove it? Is it because of the OpenFOAM version?
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants