CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   FATAL ERROR hanging pointer cannot dereference (http://www.cfd-online.com/Forums/openfoam-solving/60009-fatal-error-hanging-pointer-cannot-dereference.html)

tsencic September 18, 2006 07:16

When I tried to run dieselEngi
 
When I tried to run dieselEngineFoam on a simulation that run perfectly before I obtained this:

--> FOAM FATAL ERROR : hanging pointer, cannot dereference

From function PtrList::operator[]
in file /home/tom/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude/PtrListI.H at line 92.
FOAM aborting

What is the reason? How can I solve the problem?

stefanke September 18, 2006 07:45

Well, this information is not
 
Well, this information is not enough to say what is going wrong here. Is there no backtrace information available?

Check your dictionary files carefully!

tsencic September 18, 2006 09:00

This is the complete message:
 
This is the complete message:

Executing: /home/tom/OpenFOAM/OpenFOAM-1.3/applications/bin/linuxGcc4DPOpt/dieselEngineFoam /home/tom/OpenFOAM/tom-1.3/run/. EMD8-spray > /home/tom/OpenFOAM/tom-1.3/run/./EMD8-spray/log &
tom@snjofko:~/OpenFOAM/tom-1.3/run>

--> FOAM FATAL ERROR : hanging pointer, cannot dereference

From function PtrList::operator[]
in file /home/tom/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude/PtrListI.H at line 92.

FOAM aborting

Foam::error::printStack(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&)
Foam::error::abort()
/home/tom/OpenFOAM/OpenFOAM-1.3/applications/bin/linuxGcc4DPOpt/dieselEngineFoam [0x806fd9a]
/home/tom/OpenFOAM/OpenFOAM-1.3/applications/bin/linuxGcc4DPOpt/dieselEngineFoam [0x805ead2]
__libc_start_main
__gxx_personality_v0

The dictionary files are coppied from a previous, succesfull simulation.

zqlhzx December 12, 2013 05:18

Quote:

Originally Posted by tsencic (Post 185556)
When I tried to run dieselEngineFoam on a simulation that run perfectly before I obtained this:

--> FOAM FATAL ERROR : hanging pointer, cannot dereference

From function PtrList::operator[]
in file /home/tom/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude/PtrListI.H at line 92.
FOAM aborting

What is the reason? How can I solve the problem?

I have the same problem with you,Do you have solver it?


All times are GMT -4. The time now is 22:21.