View Issue Details

IDProjectCategoryView StatusLast Update
0003632OpenFOAMBugpublic2021-02-21 21:40
Reporterpeksa Assigned Tohenry  
PrioritylowSeveritycrashReproducibilityalways
Status closedResolutionno change required 
PlatformlinuxOSCentosOS Version7
Fixed in Versiondev 
Summary0003632: Overriding DimensionedConstants from controlDict yields a segmentation fault
DescriptionHey, I noticed that when trying to override DimensionedConstants from controlDict similar to entry in "OpenFOAM-8/etc/controlDict" leads to crash:

----------------------------------------------------------------------------------------
Overriding DimensionedConstants according to controlDict
#0 Foam::error::printStack(Foam::Ostream&) at ??:?
#1 Foam::sigSegv::sigHandler(int) at ??:?
#2 ? in "/lib64/libc.so.6"
#3 Foam::Hasher(void const*, unsigned long, unsigned int) at ??:?
#4 Foam::dictionary::lookupEntryPtr(Foam::word const&, bool, bool) at ??:?
#5 Foam::dictionary::subDict(Foam::word const&) at ??:?
#6 Foam::registerDimensionedConstant::lookup() at ??:?
#7 Foam::Time::readDict() at ??:?
#8 Foam::Time::setControls() at ??:?
#9 Foam::Time::Time(Foam::word const&, Foam::argList const&, Foam::word const&, Foam::word const&) at ??:?
#10 ? at ??:?
#11 __libc_start_main in "/lib64/libc.so.6"
#12 ? at ??:?
Segmentation fault
----------------------------------------------------------------------------------------

Steps To ReproduceCopy the DimensionedConstants sub-dictionary entry from "OpenFOAM-8/etc/controlDict" to any controlDict and try to run solver. Tested with IcoFoam and chemFoam solvers.

TagsNo tags attached.

Activities

henry

2021-02-19 21:25

manager   ~0011891

Try OpenFOAM-dev

Issue History

Date Modified Username Field Change
2021-02-19 20:31 peksa New Issue
2021-02-19 21:25 henry Note Added: 0011891
2021-02-21 21:40 henry Assigned To => henry
2021-02-21 21:40 henry Status new => closed
2021-02-21 21:40 henry Resolution open => no change required
2021-02-21 21:40 henry Fixed in Version => dev