|
[Sponsors] |
September 6, 2011, 13:14 |
segmentation fault
|
#1 |
New Member
huxiaoxia
Join Date: Oct 2010
Posts: 18
Rep Power: 15 |
Hello,
I run cases for liquid film recently using interDyMFoam. There's no problem when I run the cases, but when I try to reconstruct fields, it shows the following error: #0 Foam::error:rintStack(Foam::Ostream&) in "/home/huxiaoxi/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libOpenFOAM.so" #1 Foam::sigSegv::sigSegvHandler(int) in "/home/huxiaoxi/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libOpenFOAM.so" #2 __restore_rt at sigaction.c:0 #3 Foam:bjectRegistry::checkOut(Foam::regIOobject&) const in "/home/huxiaoxi/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libOpenFOAM.so" #4 Foam::regIOobject::~regIOobject() in "/home/huxiaoxi/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libOpenFOAM.so" #5 Foam::IOList<int>::~IOList() in "/home/huxiaoxi/OpenFOAM/OpenFOAM-1.7.1/applications/bin/linux64GccDPOpt/reconstructPar" #6 Foam:rocessorMeshes::read() in "/home/huxiaoxi/OpenFOAM/OpenFOAM-1.7.1/applications/bin/linux64GccDPOpt/reconstructPar" #7 Foam:rocessorMeshes::readUpdate() in "/home/huxiaoxi/OpenFOAM/OpenFOAM-1.7.1/applications/bin/linux64GccDPOpt/reconstructPar" #8 main in "/home/huxiaoxi/OpenFOAM/OpenFOAM-1.7.1/applications/bin/linux64GccDPOpt/reconstructPar" #9 __libc_start_main in "/lib64/libc.so.6" #10 Foam::regIOobject::writeObject(Foam::IOstream::str eamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType) const in "/home/huxiaoxi/OpenFOAM/OpenFOAM-1.7.1/applications/bin/linux64GccDPOpt/reconstructPar" Segmentation fault Can anyone help me? Thanks. Xiaoxia |
|
September 6, 2011, 14:04 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
|
||
September 6, 2011, 14:05 |
segmentation fault
|
#3 |
New Member
huxiaoxia
Join Date: Oct 2010
Posts: 18
Rep Power: 15 |
yes, I did.
|
|
September 6, 2011, 14:20 |
|
#4 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
That kind of information would have been nice in the first place as it is a common pitfall.
Next question: are you reconstructing all time-steps at once (that is another thing that doesn't work as far as I remember). Can't tell from whatyou posted if the problem occured during the reconstruction of the first time-step or later If its not that I can only tell you what I tell all people that have a segfault: Compile a Debug-version of OF. Then the dump will also show line numbers and things get interesting |
|
September 10, 2011, 12:02 |
|
#5 |
New Member
huxiaoxia
Join Date: Oct 2010
Posts: 18
Rep Power: 15 |
How can I compile a debug-version of OF? By the way, I am using the version 1.7.1? Is it possible to have the bug for this version?
|
|
September 10, 2011, 13:17 |
|
#6 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
|
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Segmentation fault when running dieselFoam or dieselEngineFoam in parallel | francesco | OpenFOAM Bugs | 4 | May 2, 2017 21:59 |
Debugging a segmentation fault? | hansel | OpenFOAM Bugs | 3 | July 31, 2010 13:13 |
ParaView segmentation fault only for multiphase | gwierink | OpenFOAM | 9 | March 25, 2010 07:23 |
segmentation fault | usker | Siemens | 5 | March 5, 2007 23:14 |
KIVA and Segmentation Fault | Felix | Main CFD Forum | 2 | January 18, 2006 01:24 |