If I take the STL file here: (UNZIP ME!!)
[FB.zip](https://github.com/cnr-isti-vclab/meshlab/files/1880877/FB.zip
...and import it into meshlab - then apply the Uniform Mesh Resampling filter - MeshLab crashes, reliably, 100% of the time. Same thing happens with Meshlabserver. It doesn't matter whether I check the "UnifyDuplicatedVertices" box or not when I import the STL - and it doesn't seem to matter what properties I check in the filter - although I haven't done an exhaustive test.
The result is always the same (SEE BELOW). There is no useful debug produced (at least not useful to me!).
This is MeshLab version 1.3.2_64bit and it's running on Ubuntu. It's clearly not running out of either memory or disk space.
Out of about 200 miscellaneous STL files - I get this crash on about 10 of them - and it may well be that there is something wrong with them (holes, T-edges, degenerates, etc) - but it's hard to fix without some kind of error report.
Looking back in your old bug tracker - it seems like this bug was reported about 8 years ago - and separately confirmed by a couple of other people in 2010 and 2012 - but it seems that it was not carried over to the GitHub "issues" tracker.
MESHLAB SAYS:
Shader directory found '/usr/share/meshlab/shaders', and it contains 19 gdp files
Shader directory found '/usr/share/meshlab/shaders/shadersrm', and it contains 5 rfx files
LOG: 0 Opened mesh /home/steve/Work/OLC/Data/srcData/FB-ORG-v7.0.stl in 65 msec
LOG: 0 All files opened in 5051 msec
QLayout: Attempting to add QLayout "" to StdParFrame "", which already has a layout
QLayout: Attempting to add QLayout "" to StdParFrame "", which already has a layout
LOG: 2 Resampling mesh using a volume of 45 x 45 x 13
LOG: 2 VoxelSize is 1.801520, offset is 0.000000
LOG: 2 Mesh Box is 63.501678 63.499817 7.000026
meshlab: ../../../../vcglib/vcg/complex/algorithms/create/resampler.h:175: vcg::tri::Resampler<OLD_MESH_TYPE, NEW_MESH_TYPE, FLT, DISTFUNCTOR>::Walker::field_value vcg::tri::Resampler<OLD_MESH_TYPE, NEW_MESH_TYPE, FLT, DISTFUNCTOR>::Walker::DistanceFromMesh(vcg::Point3f&, vcg::tri::Resampler<OLD_MESH_TYPE, NEW_MESH_TYPE, FLT, DISTFUNCTOR>::Walker::Old_Mesh*) [with OLD_MESH_TYPE = CMeshO; NEW_MESH_TYPE = CMeshO; FLT = float; DISTFUNCTOR = vcg::face::PointDistanceBaseFunctor; vcg::tri::Resampler<OLD_MESH_TYPE, NEW_MESH_TYPE, FLT, DISTFUNCTOR>::Walker::field_value = std::pair<bool, float>; vcg::Point3f = vcg::Point3; vcg::tri::Resampler<OLD_MESH_TYPE, NEW_MESH_TYPE, FLT, DISTFUNCTOR>::Walker::Old_Mesh = CMeshO]: Assertion `retIP' failed.
Aborted (core dumped)
MESHLABSERVER SAYS:
Input mesh /home/steve/Work/OLC/Data/cleanData/FB-OLC-v7.0.stl
script /home/steve/Work/OLC/Data/SliceNDice.mlx
output mesh /home/steve/Work/OLC/Data/mlsData/FB-OLC-v7.0.stl
Loading Plugins:
Current Plugins Dir is: /usr/lib/meshlab/plugins
Error in XMLFile: filter_measure.xml - line: -1, column: -1 -
Error in XMLFile: filter_mutualinfo.xml - line: -1, column: -1 -
Total 227 filtering actions
Total 13 io plugins
Opening a file with extention stl
Mesh FB-OLC-v7.0.stl loaded has 7038 vn 2346 fn
Apply FilterScript: '/home/steve/Work/OLC/Data/SliceNDice.mlx'
FilterScript
Reading filter with name Uniform Mesh Resampling
Reading Param with name CellSize : RichAbsPerc
Reading Param with name Offset : RichAbsPerc
Reading Param with name mergeCloseVert : RichBool
Reading Param with name discretize : RichBool
Reading Param with name multisample : RichBool
Reading Param with name absDist : RichBool
Starting Script of 1 actionsfilter: Uniform Mesh Resampling
LOG: 2 Resampling mesh using a volume of 407 x 407 x 125
LOG: 2 VoxelSize is 0.200000, offset is 0.000000
LOG: 2 Mesh Box is 63.500000 63.500000 7.000000
meshlabserver: ../../../../vcglib/vcg/complex/algorithms/create/resampler.h:175: vcg::tri::Resampler<OLD_MESH_TYPE, NEW_MESH_TYPE, FLT, DISTFUNCTOR>::Walker::field_value vcg::tri::Resampler<OLD_MESH_TYPE, NEW_MESH_TYPE, FLT, DISTFUNCTOR>::Walker::DistanceFromMesh(vcg::Point3f&, vcg::tri::Resampler<OLD_MESH_TYPE, NEW_MESH_TYPE, FLT, DISTFUNCTOR>::Walker::Old_Mesh*) [with OLD_MESH_TYPE = CMeshO; NEW_MESH_TYPE = CMeshO; FLT = float; DISTFUNCTOR = vcg::face::PointDistanceBaseFunctor; vcg::tri::Resampler<OLD_MESH_TYPE, NEW_MESH_TYPE, FLT, DISTFUNCTOR>::Walker::field_value = std::pair<bool, float>; vcg::Point3f = vcg::Point3; vcg::tri::Resampler<OLD_MESH_TYPE, NEW_MESH_TYPE, FLT, DISTFUNCTOR>::Walker::Old_Mesh = CMeshO]: Assertion `retIP' failed.
Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Aborted (core dumped)
If I take the STL file here: (UNZIP ME!!) [FB.zip](https://github.com/cnr-isti-vclab/meshlab/files/1880877/FB.zip ...and import it into meshlab - then apply the Uniform Mesh Resampling filter - MeshLab crashes, reliably, 100% of the time. Same thing happens with Meshlabserver. It doesn't matter whether I check the "UnifyDuplicatedVertices" box or not when I import the STL - and it doesn't seem to matter what properties I check in the filter - although I haven't done an exhaustive test.
The result is always the same (SEE BELOW). There is no useful debug produced (at least not useful to me!).
This is MeshLab version 1.3.2_64bit and it's running on Ubuntu. It's clearly not running out of either memory or disk space.
Out of about 200 miscellaneous STL files - I get this crash on about 10 of them - and it may well be that there is something wrong with them (holes, T-edges, degenerates, etc) - but it's hard to fix without some kind of error report.
Looking back in your old bug tracker - it seems like this bug was reported about 8 years ago - and separately confirmed by a couple of other people in 2010 and 2012 - but it seems that it was not carried over to the GitHub "issues" tracker.
MESHLAB SAYS:
Shader directory found '/usr/share/meshlab/shaders', and it contains 19 gdp files Shader directory found '/usr/share/meshlab/shaders/shadersrm', and it contains 5 rfx files LOG: 0 Opened mesh /home/steve/Work/OLC/Data/srcData/FB-ORG-v7.0.stl in 65 msec LOG: 0 All files opened in 5051 msec QLayout: Attempting to add QLayout "" to StdParFrame "", which already has a layout QLayout: Attempting to add QLayout "" to StdParFrame "", which already has a layout LOG: 2 Resampling mesh using a volume of 45 x 45 x 13 LOG: 2 VoxelSize is 1.801520, offset is 0.000000 LOG: 2 Mesh Box is 63.501678 63.499817 7.000026 meshlab: ../../../../vcglib/vcg/complex/algorithms/create/resampler.h:175: vcg::tri::Resampler<OLD_MESH_TYPE, NEW_MESH_TYPE, FLT, DISTFUNCTOR>::Walker::field_value vcg::tri::Resampler<OLD_MESH_TYPE, NEW_MESH_TYPE, FLT, DISTFUNCTOR>::Walker::DistanceFromMesh(vcg::Point3f&, vcg::tri::Resampler<OLD_MESH_TYPE, NEW_MESH_TYPE, FLT, DISTFUNCTOR>::Walker::Old_Mesh*) [with OLD_MESH_TYPE = CMeshO; NEW_MESH_TYPE = CMeshO; FLT = float; DISTFUNCTOR = vcg::face::PointDistanceBaseFunctor; vcg::tri::Resampler<OLD_MESH_TYPE, NEW_MESH_TYPE, FLT, DISTFUNCTOR>::Walker::field_value = std::pair<bool, float>; vcg::Point3f = vcg::Point3; vcg::tri::Resampler<OLD_MESH_TYPE, NEW_MESH_TYPE, FLT, DISTFUNCTOR>::Walker::Old_Mesh = CMeshO]: Assertion `retIP' failed.
Aborted (core dumped)
MESHLABSERVER SAYS:
Input mesh /home/steve/Work/OLC/Data/cleanData/FB-OLC-v7.0.stl script /home/steve/Work/OLC/Data/SliceNDice.mlx output mesh /home/steve/Work/OLC/Data/mlsData/FB-OLC-v7.0.stl Loading Plugins: Current Plugins Dir is: /usr/lib/meshlab/plugins Error in XMLFile: filter_measure.xml - line: -1, column: -1 - Error in XMLFile: filter_mutualinfo.xml - line: -1, column: -1 - Total 227 filtering actions Total 13 io plugins Opening a file with extention stl Mesh FB-OLC-v7.0.stl loaded has 7038 vn 2346 fn Apply FilterScript: '/home/steve/Work/OLC/Data/SliceNDice.mlx' FilterScript Reading filter with name Uniform Mesh Resampling Reading Param with name CellSize : RichAbsPerc Reading Param with name Offset : RichAbsPerc Reading Param with name mergeCloseVert : RichBool Reading Param with name discretize : RichBool Reading Param with name multisample : RichBool Reading Param with name absDist : RichBool Starting Script of 1 actionsfilter: Uniform Mesh Resampling LOG: 2 Resampling mesh using a volume of 407 x 407 x 125 LOG: 2 VoxelSize is 0.200000, offset is 0.000000 LOG: 2 Mesh Box is 63.500000 63.500000 7.000000 meshlabserver: ../../../../vcglib/vcg/complex/algorithms/create/resampler.h:175: vcg::tri::Resampler<OLD_MESH_TYPE, NEW_MESH_TYPE, FLT, DISTFUNCTOR>::Walker::field_value vcg::tri::Resampler<OLD_MESH_TYPE, NEW_MESH_TYPE, FLT, DISTFUNCTOR>::Walker::DistanceFromMesh(vcg::Point3f&, vcg::tri::Resampler<OLD_MESH_TYPE, NEW_MESH_TYPE, FLT, DISTFUNCTOR>::Walker::Old_Mesh*) [with OLD_MESH_TYPE = CMeshO; NEW_MESH_TYPE = CMeshO; FLT = float; DISTFUNCTOR = vcg::face::PointDistanceBaseFunctor; vcg::tri::Resampler<OLD_MESH_TYPE, NEW_MESH_TYPE, FLT, DISTFUNCTOR>::Walker::field_value = std::pair<bool, float>; vcg::Point3f = vcg::Point3; vcg::tri::Resampler<OLD_MESH_TYPE, NEW_MESH_TYPE, FLT, DISTFUNCTOR>::Walker::Old_Mesh = CMeshO]: Assertion `retIP' failed.
Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Marching Aborted (core dumped)