View Issue Details

IDProjectCategoryView StatusLast Update
0001303OpenFOAMBugpublic2014-05-22 16:47
Reporteroliveroxtoby Assigned Touser4 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSFedoraOS Version20
Summary0001303: Segfault in snappyHexMesh
DescriptionsnappyHexMesh segfaults for the use case in the attached simple test problem.

The problem originates in
src/mesh/autoMesh/autoHexMesh/meshRefinement/meshRefinementProblemCells.C,
line 425 (in function meshRefinement::nearestPatch(...) ).
On line 425, adaptPatchIDs[0] is used to initialise default values in a list (also used on line 438); however, in this use case adaptPatchIDs is empty and a segfault occurs. I suspect this has something to do with the fact that this test case does not include any stl surface.

Many thanks
Oliver
Steps To ReproduceThe attached test case demonstrates the problem. Please run Allrun to reproduce.
TagsNo tags attached.

Activities

oliveroxtoby

2014-05-22 10:00

reporter  

snappySegfault.tgz (6,044 bytes)

user4

2014-05-22 16:46

  ~0003077

Fixed in 96332633f2564b5d29e00bb5bd6f4055acf95025.

Thanks for reporting.

Issue History

Date Modified Username Field Change
2014-05-22 10:00 oliveroxtoby New Issue
2014-05-22 10:00 oliveroxtoby File Added: snappySegfault.tgz
2014-05-22 16:46 user4 Note Added: 0003077
2014-05-22 16:46 user4 Status new => resolved
2014-05-22 16:46 user4 Fixed in Version => 2.3.x
2014-05-22 16:46 user4 Resolution open => fixed
2014-05-22 16:46 user4 Assigned To => user4