https://issues.qgis.org/https://issues.qgis.org/favicon.ico2012-12-04T03:38:52ZQGIS Issue TrackingQGIS Application - Bug report #6817: Qgis crashes while trying to edit a symbol in "graduated symbology"https://issues.qgis.org/issues/6817?journal_id=374592012-12-04T03:38:52ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li></ul><p>is this a regression since 1.8?</p> QGIS Application - Bug report #6817: Qgis crashes while trying to edit a symbol in "graduated symbology"https://issues.qgis.org/issues/6817?journal_id=374602012-12-04T04:01:23ZSalvatore Larosalrssvtml@gmail.com
<ul><li><strong>Priority</strong> changed from <i>Normal</i> to <i>Severe/Regression</i></li></ul><p>Giovanni Manghi wrote:</p>
<blockquote>
<p>is this a regression since 1.8?</p>
</blockquote>
<p>Yes!</p> QGIS Application - Bug report #6817: Qgis crashes while trying to edit a symbol in "graduated symbology"https://issues.qgis.org/issues/6817?journal_id=374962012-12-05T13:17:18ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Open</i></li></ul> QGIS Application - Bug report #6817: Qgis crashes while trying to edit a symbol in "graduated symbology"https://issues.qgis.org/issues/6817?journal_id=374982012-12-05T16:34:50ZGiuseppe Sucamelibrush.tyler@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/80319e310b09ec73cbbd8d9dba2c2634b2ae2745" title="fix #6817 (introduce with a1a1fb7be)">80319e310b09ec73cbbd8d9dba2c2634b2ae2745</a>.</p> QGIS Application - Bug report #6817: Qgis crashes while trying to edit a symbol in "graduated symbology"https://issues.qgis.org/issues/6817?journal_id=375022012-12-06T05:06:26ZGiuseppe Sucamelibrush.tyler@gmail.com
<ul><li><strong>% Done</strong> changed from <i>0</i> to <i>50</i></li><li><strong>Status</strong> changed from <i>Closed</i> to <i>Reopened</i></li></ul><p>The problem was partially fixed: before the fix it crashed everytime the model tried to get a value, not when it tries to store the new one.</p> QGIS Application - Bug report #6817: Qgis crashes while trying to edit a symbol in "graduated symbology"https://issues.qgis.org/issues/6817?journal_id=375032012-12-06T05:06:48ZGiuseppe Sucamelibrush.tyler@gmail.com
<ul><li><strong>OS version</strong> deleted (<del><i>12.04 64 bits</i></del>)</li><li><strong>Operating System</strong> deleted (<del><i>Linux</i></del>)</li></ul> QGIS Application - Bug report #6817: Qgis crashes while trying to edit a symbol in "graduated symbology"https://issues.qgis.org/issues/6817?journal_id=375102012-12-07T00:12:01ZGiuseppe Sucamelibrush.tyler@gmail.com
<ul><li><strong>Status</strong> changed from <i>Reopened</i> to <i>Feedback</i></li></ul><p>I was able to reproduce the problem yesterday, now on the same machine and same revision I do not get any crash...</p> QGIS Application - Bug report #6817: Qgis crashes while trying to edit a symbol in "graduated symbology"https://issues.qgis.org/issues/6817?journal_id=375112012-12-07T00:15:38ZFilipe Dias
<ul></ul><p>I just downloaded the version from 2012/12/05 and I get the crash. Does that version include your code revision?</p> QGIS Application - Bug report #6817: Qgis crashes while trying to edit a symbol in "graduated symbology"https://issues.qgis.org/issues/6817?journal_id=375122012-12-07T03:48:35ZSalvatore Larosalrssvtml@gmail.com
<ul></ul><p>I am still getting the crash here.<br />The backtrace throws as following:</p>
<pre>
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff2b46f83 in QTreeViewPrivate::layout(int, bool, bool) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
(gdb) bt
#0 0x00007ffff2b46f83 in QTreeViewPrivate::layout(int, bool, bool) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#1 0x00007ffff2b473ae in QTreeViewPrivate::layout(int, bool, bool) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#2 0x00007ffff2b473ae in QTreeViewPrivate::layout(int, bool, bool) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#3 0x00007ffff2b473ae in QTreeViewPrivate::layout(int, bool, bool) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
</pre>
<p>and never ends !</p> QGIS Application - Bug report #6817: Qgis crashes while trying to edit a symbol in "graduated symbology"https://issues.qgis.org/issues/6817?journal_id=375132012-12-07T05:06:41ZGiuseppe Sucamelibrush.tyler@gmail.com
<ul></ul><p>Filipe Dias wrote:</p>
<blockquote>
<p>I just downloaded the version from 2012/12/05 and I get the crash. Does that version include your code revision?</p>
</blockquote>
<p>The revision <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/80319e310b09ec73cbbd8d9dba2c2634b2ae2745" title="fix #6817 (introduce with a1a1fb7be)">80319e310</a> includes my fix (see the above <a class="issue tracker-1 status-5 priority-10 priority- closed" href="https://issues.qgis.org/issues/6817#note-4" title="Qgis crashes while trying to edit a symbol in "graduated symbology" (Closed)">#6817-4</a>)</p>
<p>Now I'm on revision <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/ef6da72a792b22e33952866209c5d81f8cbd827f" title="GRASS compilation fix 2">ef6da72a79</a>, but I'm unable to reproduce it.</p> QGIS Application - Bug report #6817: Qgis crashes while trying to edit a symbol in "graduated symbology"https://issues.qgis.org/issues/6817?journal_id=375142012-12-07T06:25:41ZSalvatore Larosalrssvtml@gmail.com
<ul><li><strong>Crashes QGIS or corrupts data</strong> changed from <i>No</i> to <i>Yes</i></li></ul><p>here a video on how I get the crash:</p>
<p><a class="external" href="http://lrssvt.ns0.it/img/crash_graduated_symbol.ogv">http://lrssvt.ns0.it/img/crash_graduated_symbol.ogv</a></p> QGIS Application - Bug report #6817: Qgis crashes while trying to edit a symbol in "graduated symbology"https://issues.qgis.org/issues/6817?journal_id=375282012-12-08T13:00:55ZPedro VenĂ¢nciopedrongvenancio@gmail.com
<ul></ul><p>Hi Giuseppe,</p>
<p>Here with version 1.9.0+git20121205+56bba06~precise-ubuntugis1 still crashes (segmentation fault).</p>
<p>Thanks!</p> QGIS Application - Bug report #6817: Qgis crashes while trying to edit a symbol in "graduated symbology"https://issues.qgis.org/issues/6817?journal_id=375312012-12-08T14:01:01ZSalvatore Larosalrssvtml@gmail.com
<ul><li><strong>File</strong> <a href="/attachments/download/5162/patch_symbol_graduated.patch">patch_symbol_graduated.patch</a><a href="/attachments/5162/patch_symbol_graduated.patch"><img alt="Magnifier" src="/images/magnifier.png" /></a> added</li></ul><p>I did a trivial changing and it seem works !</p>
<p>Patch attached!</p> QGIS Application - Bug report #6817: Qgis crashes while trying to edit a symbol in "graduated symbology"https://issues.qgis.org/issues/6817?journal_id=375322012-12-08T14:20:44ZGiuseppe Sucamelibrush.tyler@gmail.com
<ul></ul><p>Salvatore Larosa wrote:</p>
<blockquote>
<p>I did a trivial changing and it seem works !</p>
<p>Patch attached!</p>
</blockquote>
<p>How your patch fixes the problem above?</p> QGIS Application - Bug report #6817: Qgis crashes while trying to edit a symbol in "graduated symbology"https://issues.qgis.org/issues/6817?journal_id=375572012-12-09T07:48:48ZSalvatore Larosalrssvtml@gmail.com
<ul></ul><p>I am aware that my patch is very odd !!!</p>
<p>Accordingly to the backtrace, I just compared the QTreeView<br />class both categorized and graduated ui files, and I noticed<br />they were different. I guess they have behavior similar so<br />by adding the missing property in graduated ui file (iconSize, allColumnsShowFocus)<br />I do not get any crash.</p>
<p>I also think you will have one more solid solution ! :-)</p>
<p>I forgot add that the patch solve the issue in my case, under Linux !<br />I am not sure if it works in other cases, I suppose !</p> QGIS Application - Bug report #6817: Qgis crashes while trying to edit a symbol in "graduated symbology"https://issues.qgis.org/issues/6817?journal_id=375622012-12-09T08:21:34ZGiuseppe Sucamelibrush.tyler@gmail.com
<ul></ul><p>Salvatore Larosa wrote:</p>
<blockquote>
<p>I am aware that my patch is very odd !!!</p>
</blockquote>
<p>please, could you try to build QGis again w/o your fix? It's just to understand if the problem is really related to your patch of to something in a mess state: the code of the graduated view's model was re-written by Radim, so probably it's due to some lines expecting the old view model (see my previous fix).</p>
<blockquote>
<p>I forgot add that the patch solve the issue in my case, under Linux !<br />I am not sure if it works in other cases, I suppose !</p>
</blockquote>
<p>Me too.</p> QGIS Application - Bug report #6817: Qgis crashes while trying to edit a symbol in "graduated symbology"https://issues.qgis.org/issues/6817?journal_id=375662012-12-09T08:41:33ZSalvatore Larosalrssvtml@gmail.com
<ul></ul><p>Giuseppe Sucameli wrote:</p>
<blockquote>
<p>please, could you try to build QGis again w/o your fix?</p>
</blockquote>
<p>Right now my built version is w/o patch and QGIS crashes !</p> QGIS Application - Bug report #6817: Qgis crashes while trying to edit a symbol in "graduated symbology"https://issues.qgis.org/issues/6817?journal_id=378642012-12-23T11:53:24ZPedro VenĂ¢nciopedrongvenancio@gmail.com
<ul></ul><p>I think this is fixed now.</p>
<p>Anyone confirms?</p> QGIS Application - Bug report #6817: Qgis crashes while trying to edit a symbol in "graduated symbology"https://issues.qgis.org/issues/6817?journal_id=378652012-12-23T12:40:26ZFilipe Dias
<ul></ul><p>With today's QGIS Master I still get the crash.</p> QGIS Application - Bug report #6817: Qgis crashes while trying to edit a symbol in "graduated symbology"https://issues.qgis.org/issues/6817?journal_id=378742012-12-24T07:03:03ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Open</i></li></ul><p>Filipe Dias wrote:</p>
<blockquote>
<p>With today's QGIS Master I still get the crash.</p>
</blockquote>
<p>crash still confirmed on master</p> QGIS Application - Bug report #6817: Qgis crashes while trying to edit a symbol in "graduated symbology"https://issues.qgis.org/issues/6817?journal_id=381242012-12-31T01:06:34ZArunmozhi Parun@arunmozhi.in
<ul></ul><p>Here is a backtrace that might be helpful.</p>
<pre>
---Type <return> to continue, or q <return> to quit---
#32708 0x03aecef1 in QTreeViewPrivate::layout(int, bool, bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32709 0x03aecef1 in QTreeViewPrivate::layout(int, bool, bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32710 0x03aecef1 in QTreeViewPrivate::layout(int, bool, bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32711 0x03aecef1 in QTreeViewPrivate::layout(int, bool, bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32712 0x03aecef1 in QTreeViewPrivate::layout(int, bool, bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32713 0x03aecef1 in QTreeViewPrivate::layout(int, bool, bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32714 0x03aee6bf in QTreeViewPrivate::expand(int, bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32715 0x03aefbf5 in QTreeView::mouseDoubleClickEvent(QMouseEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32716 0x035451ca in QWidget::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32717 0x03962e55 in QFrame::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32718 0x039f5ab1 in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32719 0x03a9bacc in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32720 0x03ae9b66 in QTreeView::viewportEvent(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32721 0x039f81d6 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32722 0x0324fb16 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#32723 0x034eaea2 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32724 0x034f1024 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32725 0x024f8a9c in QgsApplication::notify (this=0xbfffed10, receiver=0xa0bd498, event=0xbfffd294)
at /home/teco/code/Quantum-GIS/src/core/qgsapplication.cpp:222
#32726 0x0324f97e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#32727 0x034ebe95 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32728 0x03578074 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32729 0x03576c0d in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32730 0x035a3eac in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32731 0x0465cd86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#32732 0x0465d125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#32733 0x0465d201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#32734 0x03282887 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#32735 0x035a3aaa in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32736 0x0324e50d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#32737 0x0324e7a9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#32738 0x03a3d0d9 in QDialog::exec() () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32739 0x081a2224 in QgisApp::showLayerProperties (this=0x894a500, ml=0x9b992a0) at /home/teco/code/Quantum-GIS/src/app/qgisapp.cpp:8234
---Type <return> to continue, or q <return> to quit---
#32740 0x0818ede6 in QgisApp::layerProperties (this=0x894a500) at /home/teco/code/Quantum-GIS/src/app/qgisapp.cpp:4272
#32741 0x083e8717 in QgsLegend::mouseDoubleClickEvent (this=0x892b878, e=0xbfffe3c4)
at /home/teco/code/Quantum-GIS/src/app/legend/qgslegend.cpp:727
#32742 0x035451ca in QWidget::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32743 0x03962e55 in QFrame::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32744 0x039f5ab1 in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32745 0x03a9bacc in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32746 0x03ae9b66 in QTreeView::viewportEvent(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32747 0x039f81d6 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32748 0x0324fb16 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#32749 0x034eaea2 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32750 0x034f1024 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32751 0x024f8a9c in QgsApplication::notify (this=0xbfffed10, receiver=0x8b15490, event=0xbfffe3c4)
at /home/teco/code/Quantum-GIS/src/core/qgsapplication.cpp:222
#32752 0x0324f97e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#32753 0x034ebe95 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32754 0x03578074 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32755 0x03576c0d in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32756 0x035a3eac in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32757 0x0465cd86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#32758 0x0465d125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#32759 0x0465d201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#32760 0x03282887 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#32761 0x035a3aaa in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32762 0x0324e50d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#32763 0x0324e7a9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#32764 0x03253eba in QCoreApplication::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#32765 0x034e8a74 in QApplication::exec() () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32766 0x0816daa3 in main (argc=1, argv=0xbfffeff4) at /home/teco/code/Quantum-GIS/src/app/main.cpp:859
(gdb)
</pre> QGIS Application - Bug report #6817: Qgis crashes while trying to edit a symbol in "graduated symbology"https://issues.qgis.org/issues/6817?journal_id=381272012-12-31T01:17:17ZArunmozhi Parun@arunmozhi.in
<ul></ul><p>Giuseppe Sucameli wrote:</p>
<blockquote>
<p>Salvatore Larosa wrote:</p>
<blockquote>
<p>I did a trivial changing and it seem works !</p>
<p>Patch attached!</p>
</blockquote>
<p>How your patch fixes the problem above?</p>
</blockquote>
<p>From the previously posted backtrace. The segfault is caused by the infinite loop triggered by the expand signal sent to the QTreeView. But our model doesn't seem to possess the required data, making the QTreeView to query repeatedly until seg fault.</p>
<p>Hence by setting <code>isExpandable</code> to false, I think this can be avoided.</p> QGIS Application - Bug report #6817: Qgis crashes while trying to edit a symbol in "graduated symbology"https://issues.qgis.org/issues/6817?journal_id=381292012-12-31T01:19:27ZArunmozhi Parun@arunmozhi.in
<ul></ul><p>I meant <code>itemsExapandable</code> in the previous post.</p>
<p>P.S: Is there a way to edit posted updates? I am sorry I have to post again to correct typos.</p> QGIS Application - Bug report #6817: Qgis crashes while trying to edit a symbol in "graduated symbology"https://issues.qgis.org/issues/6817?journal_id=382512013-01-08T23:29:12ZMatthias Kuhn
<ul></ul><p><a class="issue tracker-1 status-5 priority-4 priority- closed" href="https://issues.qgis.org/issues/6966" title="Crash in Graduated Symbol Style (Closed)">#6966</a> was marked as a duplicate of this.</p> QGIS Application - Bug report #6817: Qgis crashes while trying to edit a symbol in "graduated symbology"https://issues.qgis.org/issues/6817?journal_id=388502013-02-20T03:32:50ZSalvatore Larosalrssvtml@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>fixed</i></li></ul><p>Fixed in <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/d6cd228e5e12c28b348cf471a21daf2fdca389b5" title="attempt to fix crash when changing symbols in graduated renderer">d6cd228e5e12c28b348cf471a21daf2fdca389b5</a></p>