Menu

#92 Uniform Mesh Resampling & assertion failed

open
nobody
Filters (71)
5
2014-11-08
2009-02-04
No

Uniform Mesh Resampling on some meshes produces assertion failed.

Operative System: Windows Media Center Edition sp2

Last update:

  • vcglib revision 3238
  • meshlab revison 3069

To repeat the bug on screwdriver.ply:

  1. Open Meshlab in debug;
  2. Open screwdriver.ply;
  3. Select Filters->Remeshing, Simplification and Reconstruction-> Uniform Mesh Resampling
  4. Apply filter with default parameters-> Assertion failed

look at the attached file for assertion screenshot (screenshot1.jpg)

Discussion

  • Michele Sottile

    Michele Sottile - 2009-02-04

    Assertion Screenshot

     
  • Christophe de Dinechin

    I have the same assertion on MacOSX trying a uniform resampling with default parameters of a mesh representing a brain.

    Stack trace:

    Exception Type: EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000

    Application Specific Information:
    Assertion failed: (retIP), function DistanceFromMesh, file ../../../../vcglib/vcg/complex/algorithms/create/resampler.h, line 175.

    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0 libsystem_kernel.dylib 0x00007fff93225282 pthread_kill + 10
    1 libsystem_c.dylib 0x00007fff854cbb73 abort + 129
    2 libsystem_c.dylib 0x00007fff85493c59
    assert_rtn + 321
    3 libfilter_sampling.dylib 0x000000010ec79f97 vcg::tri::Resampler<CMeshO, CMeshO,="" float,="" vcg::face::PointDistanceBaseFunctor<float=""> >::Walker::DistanceFromMesh(vcg::Point3<float>&, CMeshO) + 855
    4 libfilter_sampling.dylib 0x000000010ec799fe vcg::tri::Resampler<CMeshO, CMeshO,="" float,="" vcg::face::PointDistanceBaseFunctor<float=""> >::Walker::ComputeSliceValues(int, std::pair<bool, float="">
    ) + 174
    5 libfilter_sampling.dylib 0x000000010ec78f5e void vcg::tri::Resampler<CMeshO, CMeshO,="" float,="" vcg::face::PointDistanceBaseFunctor<float=""> >::Walker::BuildMesh<vcg::tri::MarchingCubes<CMeshO, vcg::tri::Resampler<CMeshO,="" CMeshO,="" float,="" vcg::face::PointDistanceBaseFunctor<float=""> >::Walker> >(CMeshO&, CMeshO&, vcg::tri::MarchingCubes<CMeshO, vcg::tri::Resampler<CMeshO,="" CMeshO,="" float,="" vcg::face::PointDistanceBaseFunctor<float=""> >::Walker>&, bool ()(int, char const)) + 702
    6 libfilter_sampling.dylib 0x000000010ec5cfc8 vcg::tri::Resampler<CMeshO, CMeshO,="" float,="" vcg::face::PointDistanceBaseFunctor<float=""> >::Resample(CMeshO&, CMeshO&, vcg::Box3<float>, vcg::Point3<int>, float, float, bool, bool, bool, bool ()(int, char const)) + 216
    7 libfilter_sampling.dylib 0x000000010ec53f61 FilterDocSampling::applyFilter(QAction, MeshDocument&, RichParameterSet&, bool ()(int, char const)) + 8833
    8 MeshLab 0x0000000100022947 MainWindow::executeFilter(QAction
    , RichParameterSet&, bool) + 871
    9 MeshLab 0x000000010007775c MeshlabStdDialog::applyClick() + 140
    10 QtCore 0x00000001007a709e QMetaObject::activate(QObject, QMetaObject const, int, void) + 1566
    11 QtGui 0x0000000101a2def1 QAbstractButton::clicked(bool) + 49
    12 QtGui 0x0000000101750d50 QAbstractButtonPrivate::emitClicked() + 64
    13 QtGui 0x0000000101751f8a QAbstractButtonPrivate::click() + 154
    14 QtGui 0x00000001017521e1 QAbstractButton::mouseReleaseEvent(QMouseEvent) + 113
    15 QtGui 0x0000000101407467 QWidget::event(QEvent
    ) + 2423
    16 QtGui 0x0000000101750fd8 QAbstractButton::event(QEvent) + 40
    17 QtGui 0x00000001017ed0a5 QPushButton::event(QEvent
    ) + 69
    18 QtGui 0x00000001013ac5ed QApplicationPrivate::notify_helper(QObject, QEvent) + 189
    19 QtGui 0x00000001013b3190 QApplication::notify(QObject, QEvent) + 2384
    20 libcommon.1.dylib 0x000000010023faab MeshLabApplication::notify(QObject, QEvent) + 11
    21 QtCore 0x000000010078ebdc QCoreApplication::notifyInternal(QObject, QEvent) + 124
    22 QtGui 0x00000001013b0bdd QApplicationPrivate::sendMouseEvent(QWidget, QMouseEvent, QWidget, QWidget, QWidget
    , QPointer<QWidget>&, bool) + 333
    23 QtGui 0x00000001013606cb qt_mac_handleMouseEvent(NSEvent, QEvent::Type, Qt::MouseButton, QWidget, bool) + 763
    24 com.apple.AppKit 0x00007fff8c5240cb -[NSWindow _reallySendEvent:] + 759
    25 com.apple.AppKit 0x00007fff8bfb165c -[NSWindow sendEvent:] + 368
    26 QtGui 0x000000010134d2d7 -[QCocoaPanel sendEvent:] + 87
    27 com.apple.AppKit 0x00007fff8bf631e6 -[NSApplication sendEvent:] + 2238
    28 QtGui 0x000000010135a814 -[QNSApplication sendEvent:] + 84
    29 com.apple.AppKit 0x00007fff8bdeffe8 -[NSApplication run] + 711
    30 QtGui 0x0000000101365680 QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1824
    31 QtCore 0x000000010078daf4 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 68
    32 QtCore 0x000000010078dea4 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 324
    33 QtCore 0x000000010079058c QCoreApplication::exec() + 188
    34 MeshLab 0x0000000100004517 main + 1335
    35 MeshLab 0x0000000100003fb4 start + 52

     

Log in to post a comment.