https://issues.qgis.org/https://issues.qgis.org/favicon.ico2016-01-24T20:25:43ZQGIS Issue TrackingQGIS Application - Bug report #14164: crasher: cycling through the symbology renderers back and forth crashes QGIShttps://issues.qgis.org/issues/14164?journal_id=675922016-01-24T20:25:43ZMathieu Pellerin - nIRVnirvn.asia@gmail.com
<ul></ul><p>Here's the gdb output:</p>
<pre>
#1 0x00007ffff61a5483 in QgsFeatureRequest::OrderBy::operator= (this=0x30) at /home/webmaster/dev/cpp/QGIS/src/core/qgsfeaturerequest.h:177
#2 0x00007ffff61a42b7 in QgsFeatureRendererV2::setOrderBy (this=0x0, orderBy=...)
at /home/webmaster/dev/cpp/QGIS/src/core/symbology-ng/qgsrendererv2.cpp:633
#3 0x00007ffff6d27a06 in QgsSingleSymbolRendererV2Widget::QgsSingleSymbolRendererV2Widget (this=0x9a92800, layer=0x99180c0, style=0x9aca710,
renderer=0xb711d40) at /home/webmaster/dev/cpp/QGIS/src/gui/symbology-ng/qgssinglesymbolrendererv2widget.cpp:42
#4 0x00007ffff6d27921 in QgsSingleSymbolRendererV2Widget::create (layer=0x99180c0, style=0x9aca710, renderer=0xb711d40)
at /home/webmaster/dev/cpp/QGIS/src/gui/symbology-ng/qgssinglesymbolrendererv2widget.cpp:29
#5 0x00007ffff61a72b2 in QgsRendererV2Metadata::createRendererWidget (this=0x1f32880, layer=0x99180c0, style=0x9aca710, renderer=0xb711d40)
at /home/webmaster/dev/cpp/QGIS/src/core/symbology-ng/qgsrendererv2registry.h:110
#6 0x00007ffff6d10820 in QgsRendererV2PropertiesDialog::rendererChanged (this=0xafff970)
at /home/webmaster/dev/cpp/QGIS/src/gui/symbology-ng/qgsrendererv2propertiesdialog.cpp:212
#7 0x00007ffff7006eaa in QgsRendererV2PropertiesDialog::qt_static_metacall (_o=0xafff970, _c=QMetaObject::InvokeMetaMethod, _id=1,
_a=0x7fffffffaff0) at /home/webmaster/dev/cpp/QGIS/bm/src/gui/symbology-ng/moc_qgsrendererv2propertiesdialog.cxx:59
#8 0x00007ffff5c34f60 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9 0x00007ffff535c181 in QComboBox::currentIndexChanged(int) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#10 0x00007ffff535c21e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#11 0x00007ffff535c4d6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#12 0x00007ffff535c81f in QComboBox::setCurrentIndex(int) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
</pre>
<p>Mathias, it seems to be related to the order by feature you've cooked (thanks!) for 2.14.</p> QGIS Application - Bug report #14164: crasher: cycling through the symbology renderers back and forth crashes QGIShttps://issues.qgis.org/issues/14164?journal_id=675932016-01-24T20:26:59ZMathieu Pellerin - nIRVnirvn.asia@gmail.com
<ul></ul>Also, here's a simplified steps to reproduce:
<ol>
<li>Open QGIS, add a vector layer</li>
<li>Open the layer properties window, go to the style panel</li>
<li>Click on the renderer dropdown list, selected categorized</li>
<li>Click on the renderer dropdown list, select single symbol</li>
<li><strong>boom</strong> QGIS dies</li>
</ol> QGIS Application - Bug report #14164: crasher: cycling through the symbology renderers back and forth crashes QGIShttps://issues.qgis.org/issues/14164?journal_id=676092016-01-25T01:56:05ZMartin Dobiaswonder.sk@gmail.com
<ul><li><strong>Assignee</strong> set to <i>Martin Dobias</i></li></ul> QGIS Application - Bug report #14164: crasher: cycling through the symbology renderers back and forth crashes QGIShttps://issues.qgis.org/issues/14164?journal_id=676122016-01-25T03:18:07ZMartin Dobiaswonder.sk@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>Fixed in changeset <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/82eabb197623236ab0f8844f537473fd7bcc9b98" title="Fix crash in vector layer properties when changing renderer type (fixes #14164)">82eabb197623236ab0f8844f537473fd7bcc9b98</a>.</p>