View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002492 | OpenFOAM | Bug | public | 2017-03-10 10:38 | 2017-03-13 19:38 |
Reporter | nsf | Assigned To | henry | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | linux | OS | fedora | OS Version | 24 |
Product Version | dev | ||||
Fixed in Version | dev | ||||
Summary | 0002492: laplacianFoam doesn't link to libfvOptions.so | ||||
Description | Support for fvOptions in laplacianFoam was added in commit 6230ca2689d0c10b35ccbac5325d30818c2e940d but libfvOptions is not linked in Make/Options. A workaround is to include: libs ("libfvOptions.so"); to the controlDict. The main issue is easily solved by adding libfvOptions to Make/options but I wonder if there isn't an additional bug. Should we expect a sigSegv when a runTimeSelection table is empty or missing? Maybe there is an easy fix to handle this situation gracefully. | ||||
Steps To Reproduce | Add any fvOptions to a case with laplacianFoam and run. Error message is Selecting finite volume options model type scalarSemiImplicitSource #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::sigSegv::sigHandler(int) at ??:? #2 ? in "/lib64/libc.so.6" #3 Foam::fv::option::New(Foam::word const&, Foam::dictionary const&, Foam::fvMesh const&) at ??:? #4 Foam::fv::optionList::reset(Foam::dictionary const&) at ??:? #5 Foam::fv::optionList::optionList(Foam::fvMesh const&, Foam::dictionary const&) at ??:? #6 Foam::fv::options::options(Foam::fvMesh const&) at ??:? #7 Foam::fv::options::New(Foam::fvMesh const&) at ??:? #8 ? at ??:? #9 __libc_start_main in "/lib64/libc.so.6" #10 ? at ??:? Segmentation fault (core dumped) | ||||
Tags | fvOptions, laplacianFoam, sigsegv | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2017-03-10 10:38 | nsf | New Issue | |
2017-03-10 10:38 | nsf | Tag Attached: fvOptions | |
2017-03-10 10:38 | nsf | Tag Attached: laplacianFoam | |
2017-03-10 10:38 | nsf | Tag Attached: sigsegv | |
2017-03-13 08:57 | henry | Assigned To | => henry |
2017-03-13 08:57 | henry | Status | new => resolved |
2017-03-13 08:57 | henry | Resolution | open => fixed |
2017-03-13 08:57 | henry | Fixed in Version | => dev |
2017-03-13 08:57 | henry | Note Added: 0007918 |