There seems to be a fix for this upstream:
http://sourceforge.net/p/meshlab/bugs/304/

Attached is patch applying it to the package.

This has been built and tested (in stable). It fixes the issue.

Package and sources at: http://wookware.org/software/repo/

Wookey
-- 
Principal hats:  Linaro, Emdebian, Wookware, Balloonboard, ARM
http://wookware.org/
diff -Nru meshlab-1.3.0a+dfsg1/debian/changelog meshlab-1.3.0a+dfsg1/debian/changelog
--- meshlab-1.3.0a+dfsg1/debian/changelog	2012-06-14 15:02:59.000000000 +0100
+++ meshlab-1.3.0a+dfsg1/debian/changelog	2013-10-13 00:57:33.000000000 +0100
@@ -1,3 +1,10 @@
+meshlab (1.3.0a+dfsg1-3.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Apply fix for segfault on 'save new project'.#304 (Closes:718583)
+
+ -- Wookey <woo...@debian.org>  Sun, 13 Oct 2013 00:56:13 +0100
+
 meshlab (1.3.0a+dfsg1-3) unstable; urgency=low
 
   * rules:
diff -Nru meshlab-1.3.0a+dfsg1/debian/metapatches/16_#304_savenewproject_segfaultfix meshlab-1.3.0a+dfsg1/debian/metapatches/16_#304_savenewproject_segfaultfix
--- meshlab-1.3.0a+dfsg1/debian/metapatches/16_#304_savenewproject_segfaultfix	1970-01-01 01:00:00.000000000 +0100
+++ meshlab-1.3.0a+dfsg1/debian/metapatches/16_#304_savenewproject_segfaultfix	2013-10-13 01:05:24.000000000 +0100
@@ -0,0 +1,5 @@
+From: http://sourceforge.net/p/meshlab/bugs/304/
+Subject: Fix segfault on 'save new project'
+
+Closes: #718583
+ 
diff -Nru meshlab-1.3.0a+dfsg1/debian/patches/19_#304_savenewproject_segfaultfix.patch meshlab-1.3.0a+dfsg1/debian/patches/19_#304_savenewproject_segfaultfix.patch
--- meshlab-1.3.0a+dfsg1/debian/patches/19_#304_savenewproject_segfaultfix.patch	1970-01-01 01:00:00.000000000 +0100
+++ meshlab-1.3.0a+dfsg1/debian/patches/19_#304_savenewproject_segfaultfix.patch	2013-10-13 00:58:30.000000000 +0100
@@ -0,0 +1,14 @@
+Index: meshlab-1.3.0a+dfsg1/meshlab/src/meshlab/mainwindow_RunTime.cpp
+===================================================================
+--- meshlab-1.3.0a+dfsg1.orig/meshlab/src/meshlab/mainwindow_RunTime.cpp	2011-02-16 16:14:06.000000000 +0000
++++ meshlab-1.3.0a+dfsg1/meshlab/src/meshlab/mainwindow_RunTime.cpp	2013-10-13 00:56:07.219196135 +0100
+@@ -1328,7 +1328,8 @@
+ 
+   /*********WARNING!!!!!! CHANGE IT!!! ALSO IN THE OPENPROJECT FUNCTION********/
+   meshDoc()->setDocLabel(fileName);
+-  mdiarea->activeSubWindow()->setWindowTitle(meshDoc()->docLabel());
++  if (mdiarea->activeSubWindow() )
++     mdiarea->activeSubWindow()->setWindowTitle(meshDoc()->docLabel());
+   layerDialog->setWindowTitle(meshDoc()->docLabel());
+   /****************************************************************************/
+ 
diff -Nru meshlab-1.3.0a+dfsg1/debian/patches/series meshlab-1.3.0a+dfsg1/debian/patches/series
--- meshlab-1.3.0a+dfsg1/debian/patches/series	2012-06-13 17:04:50.000000000 +0100
+++ meshlab-1.3.0a+dfsg1/debian/patches/series	2013-10-13 00:53:21.000000000 +0100
@@ -16,3 +16,4 @@
 16_structuresynth.patch
 17_gcc47.patch
 18_RESOLUTION.patch
+19_#304_savenewproject_segfaultfix.patch

Reply via email to