[Ubuntu] Decimate mesh causing crash

Report crashes, strange behaviour, or apparent bugs
Post Reply
alex.cani
Posts: 6
Joined: 28 Feb 2018, 12:53

[Ubuntu] Decimate mesh causing crash

Post by alex.cani »

Greetings!

I am using V-REP PRO EDU Version 3.5 (64 bits) in a Ubuntu 16.04 LTS through a GeForce 920M (via optirun).

Attempting to perform a 'Decimate selected shape' operation in any mesh crashes the application. The console windows contains the following messages:
Error: signal 11:
/home/hexagon/Desktop/V-REP_PRO_EDU_V3_5_0_Linux/libv_rep.so(_Z11_segHandleri+0x28)[0x7fa5ad1c3c58]
/lib/x86_64-linux-gnu/libc.so.6(+0x354b0)[0x7fa5b122f4b0]
/home/hexagon/Desktop/V-REP_PRO_EDU_V3_5_0_Linux/libOpenMeshCore.so.3.3(_ZN8OpenMesh15TriConnectivity14is_collapse_okENS_14HalfedgeHandleE+0x1a)[0x7fa574e5497a]
/home/hexagon/Desktop/V-REP_PRO_EDU_V3_5_0_Linux/libv_repExtOpenMesh.so(_ZN8OpenMesh9Decimater14BaseDecimaterTINS_20TriMesh_ArrayKernelTINS_13DefaultTraitsEEEE17is_collapse_legalERKNS0_13CollapseInfoTIS4_EE+0x65)[0x7fa575097425]
/home/hexagon/Desktop/V-REP_PRO_EDU_V3_5_0_Linux/libv_repExtOpenMesh.so(_ZN8OpenMesh9Decimater10DecimaterTINS_20TriMesh_ArrayKernelTINS_13DefaultTraitsEEEE11heap_vertexENS_12VertexHandleE+0xea)[0x7fa57509a49a]
/home/hexagon/Desktop/V-REP_PRO_EDU_V3_5_0_Linux/libv_repExtOpenMesh.so(_ZN8OpenMesh9Decimater10DecimaterTINS_20TriMesh_ArrayKernelTINS_13DefaultTraitsEEEE17decimate_to_facesEmm+0x384)[0x7fa57509acf4]
/home/hexagon/Desktop/V-REP_PRO_EDU_V3_5_0_Linux/libv_repExtOpenMesh.so(_Z7computePKfiPKiifRSt6vectorIfSaIfEERS3_IiSaIiEE+0x5ab)[0x7fa5750922cb]
/home/hexagon/Desktop/V-REP_PRO_EDU_V3_5_0_Linux/libv_repExtOpenMesh.so(v_repDecimateMesh+0x76)[0x7fa575092996]
/home/hexagon/Desktop/V-REP_PRO_EDU_V3_5_0_Linux/libv_rep.so(_ZN16CPluginContainer13meshDecimatorEPv+0x15)[0x7fa5ad38e145]
/home/hexagon/Desktop/V-REP_PRO_EDU_V3_5_0_Linux/libv_rep.so(_ZN13CMeshRoutines16getDecimatedMeshERKSt6vectorIfSaIfEERKS0_IiSaIiEEfRS2_RS6_+0x10c)[0x7fa5ad2fc2dc]
Error: signal 11:
/home/hexagon/Desktop/V-REP_PRO_EDU_V3_5_0_Linux/libv_rep.so(_Z11_segHandleri+0x28)[0x7fa5ad1c3c58]
/lib/x86_64-linux-gnu/libc.so.6(+0x354b0)[0x7fa5b122f4b0]
/home/hexagon/Desktop/V-REP_PRO_EDU_V3_5_0_Linux/libQt5Core.so.5(_ZN6QMutex4lockEv+0x15)[0x7fa5b1bfd0f5]
/home/hexagon/Desktop/V-REP_PRO_EDU_V3_5_0_Linux/libQt5Gui.so.5(+0x340fce)[0x7fa5ab954fce]
/home/hexagon/Desktop/V-REP_PRO_EDU_V3_5_0_Linux/libQt5Gui.so.5(+0x33896f)[0x7fa5ab94c96f]
/home/hexagon/Desktop/V-REP_PRO_EDU_V3_5_0_Linux/libQt5Gui.so.5(_ZN18QRasterPaintEngine11updateBrushERK6QBrush+0x87)[0x7fa5ab94fc47]
/home/hexagon/Desktop/V-REP_PRO_EDU_V3_5_0_Linux/libQt5Gui.so.5(_ZN18QRasterPaintEngine4fillERK11QVectorPathRK6QBrush+0x4e)[0x7fa5ab951bfe]
/home/hexagon/Desktop/V-REP_PRO_EDU_V3_5_0_Linux/libQt5Gui.so.5(_ZN14QPaintEngineEx4drawERK11QVectorPath+0x55)[0x7fa5ab936195]
/home/hexagon/Desktop/V-REP_PRO_EDU_V3_5_0_Linux/libQt5Gui.so.5(_ZN14QPaintEngineEx15drawRoundedRectERK6QRectFddN2Qt8SizeModeE+0x1fa)[0x7fa5ab9375aa]
/home/hexagon/Desktop/V-REP_PRO_EDU_V3_5_0_Linux/libQt5Gui.so.5(_ZN8QPainter15drawRoundedRectERK6QRectFddN2Qt8SizeModeE+0x3b)[0x7fa5ab962aab]
QMutex: destroying locked mutex
QMutex: destroying locked mutex
Qt is mentioned multiple times in the log, but it seems to me a red herring of sorts.

The same issue happens if executing without the GPU (via Intel Integrated Graphics).
Any suggestions?

Thanks!

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: [Ubuntu] Decimate mesh causing crash

Post by coppelia »

Hello,

the problem lies in the OpenMesh library, as it seems. This happens sometimes with OpenMesh, but also with the convex decomposition library (HACD).

Cheers

Post Reply