Package: meshlab
Version: 1.3.0a+dfsg1-2+b1
Severity: normal

Hi,
on import of the (possible defektive) stl file exported from openscad,
meshlab crashes and presents a stacktrace:

Current Plugins Dir is: /usr/lib/meshlab/plugins 
Code:
 Plugins = { };
Plugins.FilterCreate = { };
Plugins.FilterCreate.box = function (size)
{
        var tmpRichPar = new IRichParameterSet();
        if (!_initParameterSet("Box",tmpRichPar)) return false;
        tmpRichPar.setFloat("size",arguments[0]);
        return _applyFilter("Box",tmpRichPar);
};

Plugins.FilterCreate.sphere = function ()
{
        var tmpRichPar = new IRichParameterSet();
        if (!_initParameterSet("Sphere",tmpRichPar)) return false;
        return _applyFilter("Sphere",tmpRichPar);
};

Plugins.FilterCreate.icosahedron = function ()
{
        var tmpRichPar = new IRichParameterSet();
        if (!_initParameterSet("Icosahedron",tmpRichPar)) return false;
        return _applyFilter("Icosahedron",tmpRichPar);
};

Plugins.FilterCreate.dodecahedron = function ()
{
        var tmpRichPar = new IRichParameterSet();
        if (!_initParameterSet("Dodecahedron",tmpRichPar)) return false;
        return _applyFilter("Dodecahedron",tmpRichPar);
};

Plugins.FilterCreate.tetrahedron = function ()
{
        var tmpRichPar = new IRichParameterSet();
        if (!_initParameterSet("Tetrahedron",tmpRichPar)) return false;
        return _applyFilter("Tetrahedron",tmpRichPar);
};

Plugins.FilterCreate.octahedron = function ()
{
        var tmpRichPar = new IRichParameterSet();
        if (!_initParameterSet("Octahedron",tmpRichPar)) return false;
        return _applyFilter("Octahedron",tmpRichPar);
};

Plugins.FilterCreate.cone = function (r0, r1, h, subdiv)
{
        var tmpRichPar = new IRichParameterSet();
        if (!_initParameterSet("Cone",tmpRichPar)) return false;
        tmpRichPar.setFloat("r0",arguments[0]);
        tmpRichPar.setFloat("r1",arguments[1]);
        tmpRichPar.setFloat("h",arguments[2]);
        tmpRichPar.setInt("subdiv",arguments[3]);
        return _applyFilter("Cone",tmpRichPar);
};

Plugins.PhotosynthImporterPlugin = { };
Plugins.PhotosynthImporterPlugin.importPhotosynth = function (synthURL, 
clusterID, saveImages, savePath, addCameraLayer)
{
        var tmpRichPar = new IRichParameterSet();
        if (!_initParameterSet("Import Photosynth data",tmpRichPar)) return 
false;
        tmpRichPar.setString("synthURL",arguments[0]);
        tmpRichPar.setInt("clusterID",arguments[1]);
        tmpRichPar.setBool("saveImages",arguments[2]);
        tmpRichPar.setString("savePath",arguments[3]);
        tmpRichPar.setBool("addCameraLayer",arguments[4]);
        return _applyFilter("Import Photosynth data",tmpRichPar);
};

Plugins.ExtraSamplePlugin = { };
Plugins.ExtraSamplePlugin.randomVerticesDisplacement = function (UpdateNormals, 
Displacement)
{
        var tmpRichPar = new IRichParameterSet();
        if (!_initParameterSet("Random vertex displacement",tmpRichPar)) return 
false;
        tmpRichPar.setBool("UpdateNormals",arguments[0]);
        tmpRichPar.setAbsPerc("Displacement",arguments[1]);
        return _applyFilter("Random vertex displacement",tmpRichPar);
};


    Reading Param with name MeshLab::Appearance::backgroundBotColor : RichColor
    Reading Param with name MeshLab::Appearance::backgroundTopColor : RichColor
    Reading Param with name MeshLab::Appearance::baseLightAmbientColor : 
RichColor
    Reading Param with name MeshLab::Appearance::baseLightDiffuseColor : 
RichColor
    Reading Param with name MeshLab::Appearance::baseLightSpecularColor : 
RichColor
    Reading Param with name MeshLab::Appearance::fancyBLightDiffuseColor : 
RichColor
    Reading Param with name MeshLab::Appearance::fancyFLightDiffuseColor : 
RichColor
    Reading Param with name MeshLab::Appearance::logAreaColor : RichColor
    Reading Param with name MeshLab::Appearance::pointDistanceAttenuation : 
RichBool
    Reading Param with name MeshLab::Appearance::pointSize : RichFloat
    Reading Param with name MeshLab::Appearance::pointSmooth : RichBool
    Reading Param with name MeshLab::Appearance::textureMagFilter : RichEnum
    Reading Param with name MeshLab::Appearance::textureMinFilter : RichEnum
    Reading Param with name MeshLab::Decoration::AreaHistParam : RichBool
    Reading Param with name MeshLab::Decoration::BoxRatio : RichFloat
    Reading Param with name MeshLab::Decoration::CameraInfoType : RichEnum
    Reading Param with name MeshLab::Decoration::CameraShowFrustum : RichBool
    Reading Param with name MeshLab::Decoration::CubeMapPath : RichString
    Reading Param with name MeshLab::Decoration::FixedHistMaxParam : RichFloat
    Reading Param with name MeshLab::Decoration::FixedHistMinParam : RichFloat
    Reading Param with name MeshLab::Decoration::FixedHistWidthParam : RichFloat
    Reading Param with name MeshLab::Decoration::GridMajor : RichFloat
    Reading Param with name MeshLab::Decoration::GridMinor : RichFloat
    Reading Param with name MeshLab::Decoration::HistBinNumParam : RichInt
    Reading Param with name MeshLab::Decoration::NormalLength : RichFloat
    Reading Param with name MeshLab::Decoration::SSAORadius : RichFloat
    Reading Param with name MeshLab::Decoration::ShadowIntensityVal : 
RichDynamicFloat
    Reading Param with name MeshLab::Decoration::ShadowMethod : RichEnum
    Reading Param with name MeshLab::Decoration::TextureStyle : RichBool
    Reading Param with name MeshLab::Decoration::UseFixedHistParam : RichBool
    Reading Param with name MeshLab::Decoration::VertDotSize : RichDynamicFloat
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
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc

thx
albert

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-rc7 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages meshlab depends on:
ii  lib3ds-1-3                1.3.0-6   
ii  libbz2-1.0                1.0.5-7   
ii  libc6                     2.13-21   
ii  libgcc1                   1:4.6.1-13
ii  libgl1-mesa-glx [libgl1]  7.11-6    
ii  libglew1.6                1.6.0-4   
ii  libglu1-mesa [libglu1]    7.11-6    
ii  libmuparser0debian1       1.34-2    
ii  libqhull5                 2009.1-2  
ii  libqt4-network            4:4.7.3-8 
ii  libqt4-opengl             4:4.7.3-8 
ii  libqt4-script             4:4.7.3-8 
ii  libqt4-xml                4:4.7.3-8 
ii  libqt4-xmlpatterns        4:4.7.3-8 
ii  libqtcore4                4:4.7.3-8 
ii  libqtgui4                 4:4.7.3-8 
ii  libstdc++6                4.6.1-13  

meshlab recommends no packages.

meshlab suggests no packages.

-- no debconf information
  0
SECTION
  2
BLOCKS
  0
ENDSEC
  0
SECTION
  2
ENTITIES
  0
ENDSEC
  0
SECTION
  2
OBJECTS
  0
DICTIONARY
  0
ENDSEC
  0
EOF

Reply via email to