https://issues.qgis.org/https://issues.qgis.org/favicon.ico2007-07-26T02:47:03ZQGIS Issue TrackingQGIS Application - Bug report #744: Qgis crash associated with vector actionshttps://issues.qgis.org/issues/744?journal_id=155352007-07-26T02:47:03ZTim Suttontim@linfiniti.com
<ul></ul><p>On mac osx I can replicate this by e.g. making an action that dues</p>
<p>curl qgis.org</p>
<p>Then quickly pressing cancel while running the action. In the console the final message is:</p>
<p>terminate called without an active exception</p>
<p>I did some research on this and it seems one offered solution is to initialise the offending pointer like this:</p>
<p>x = new(std::nothrow) foo;</p>
<p>I tried doing this on the message output (initialised in qgisapp.cpp) and the various other members in qgsrunprocess.cp but was not able to resolve the issue this way. I also tried explicitly calling terminate() or kill() on the qprocess but that also didnt fix the issue. Perhaps Gavin has some idea?</p>
<p>Tim</p> QGIS Application - Bug report #744: Qgis crash associated with vector actionshttps://issues.qgis.org/issues/744?journal_id=155362007-07-27T20:02:52ZGavin Macaulay -gavin@macaulay.co.nz
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>In Progress</i></li></ul> QGIS Application - Bug report #744: Qgis crash associated with vector actionshttps://issues.qgis.org/issues/744?journal_id=155372007-07-28T13:51:35ZGavin Macaulay -gavin@macaulay.co.nz
<ul><li><strong>Resolution</strong> set to <i>fixed</i></li><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Closed</i></li></ul><p>Fixed in <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/09b7ac7c58b19406bb78eefbdc553d193ea3040d" title="Fix for ticket #744 (crash associated with actions). git-svn-id: http://svn.osgeo.org/qgis/trun...">09b7ac7c</a> (SVN r7111). Problem was that a signal/slot in a deleted class instance was being triggered when the output dialog box was closed when the process was still running.</p> QGIS Application - Bug report #744: Qgis crash associated with vector actionshttps://issues.qgis.org/issues/744?journal_id=155382009-08-21T22:45:00ZAnonymous
<ul></ul><p>Milestone Version 0.9 deleted</p>