https://issues.qgis.org/https://issues.qgis.org/favicon.ico2011-05-24T14:00:09ZQGIS Issue TrackingQGIS Application - Bug report #3839: qgis trunk crashes when saving project or clicking "OK" in the "new shape" dialog (or when using other dialogs)https://issues.qgis.org/issues/3839?journal_id=248872011-05-24T14:00:09ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>More crashes for example when clicking "ok" or selecting files in various raster menu tools.</p>
<pre>
Debug: /home/brushtyler/projects/sources/qgis/src/app/qgscustomization.cpp: 794: (customizeWidget) p = /Customization/Widgets//QFileDialog/ on = 1
Debug: /home/brushtyler/projects/sources/qgis/src/app/qgscustomization.cpp: 860: (preNotify) click
Fatal: ASSERT: "d" in file /usr/include/qt4/QtCore/qscopedpointer.h, line 112
</pre> QGIS Application - Bug report #3839: qgis trunk crashes when saving project or clicking "OK" in the "new shape" dialog (or when using other dialogs)https://issues.qgis.org/issues/3839?journal_id=248882011-05-24T14:31:28ZGiuseppe Sucamelibrush.tyler@gmail.com
<ul></ul><p>It occurs closing non-native file dialogs (look at the difference between Save project and <a class="wiki-page new" href="https://issues.qgis.org/projects/qgis/wiki/SaveAs">SaveAs</a> project dialogs), either by pressing ok or cancel buttons.</p>
<p>Adding a check to exclude QFileDialog instances (as done for not QDialog instances) doesn't work as expected. In fact the problem is at line 841 trying to cast QObject to QWidget because the object was deleted yet before the preNotify was called.</p>
<p>I've attached a backtrace.</p> QGIS Application - Bug report #3839: qgis trunk crashes when saving project or clicking "OK" in the "new shape" dialog (or when using other dialogs)https://issues.qgis.org/issues/3839?journal_id=248892011-05-25T07:41:00ZAlexander Bruy
<ul></ul><p>Confirmed under Slackware with latest self-compiled sources (c3e161a).</p> QGIS Application - Bug report #3839: qgis trunk crashes when saving project or clicking "OK" in the "new shape" dialog (or when using other dialogs)https://issues.qgis.org/issues/3839?journal_id=248902011-05-25T07:44:40ZAlexander Bruy
<ul></ul><p>Seems Windows builds not affected (tested with ef981f1)</p> QGIS Application - Bug report #3839: qgis trunk crashes when saving project or clicking "OK" in the "new shape" dialog (or when using other dialogs)https://issues.qgis.org/issues/3839?journal_id=248912011-05-25T10:26:04ZRedmine Admin
<ul></ul><p>It should be fixed in <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/4070354d5f0a8f401d3cdacac82facc46c3598b9" title="fixed #3839">4070354d5</a>.</p>
<p>Please test and close if it works.</p> QGIS Application - Bug report #3839: qgis trunk crashes when saving project or clicking "OK" in the "new shape" dialog (or when using other dialogs)https://issues.qgis.org/issues/3839?journal_id=248922011-05-25T10:57:53ZAlexander Bruy
<ul><li><strong>Resolution</strong> set to <i>fixed</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>Fixed in <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/4070354d5f0a8f401d3cdacac82facc46c3598b9" title="fixed #3839">4070354d5f0a8f401d3c</a></p>