[QGIS-trac] [Quantum GIS] #3860: Crash when setting vector area
class transparency
Quantum GIS
qgis at qgis.org
Wed Jun 1 04:05:24 EDT 2011
#3860: Crash when setting vector area class transparency
---------------------------------------------------------+------------------
Reporter: marisn | Owner: nobody
Type: bug | Status: new
Priority: critical: causes crash or data corruption | Milestone: Version 1.7.0
Component: Symbology | Version: Trunk
Keywords: | Platform_version:
Platform: Gentoo | Must_fix: No
Status_info: 0 |
---------------------------------------------------------+------------------
It happens time to time. One needs to have multiple layers in project. I
had some vectors and some WMS layers. Changed transparency for one of
vector area symbol classes in new symbology, pressed Apply to see results
-> crash.
~AMD64 Gentoo with Qt 4.7.3.
{{{
#0 0x00007ffff6031cb0 in vtable for QX11PixmapData () from
/usr/lib64/qt4/libQtGui.so.4
#1 0x00007ffff39251c3 in __dynamic_cast () from /usr/lib/gcc/x86_64-pc-
linux-gnu/4.5.2/libstdc++.so.6
#2 0x00000000006b131f in QgsLegend::currentLegendLayer (this=<value
optimized out>) at
/home/maris/soft/qgis_trunk/src/app/legend/qgslegend.cpp:684
#3 0x00000000006b1389 in QgsLegend::currentLayer (this=<value optimized
out>) at /home/maris/soft/qgis_trunk/src/app/legend/qgslegend.cpp:706
#4 0x00000000006b13c6 in QgsLegend::handleCurrentItemChanged
(this=0xd85d30, current=<value optimized out>, previous=<value optimized
out>)
at /home/maris/soft/qgis_trunk/src/app/legend/qgslegend.cpp:141
#5 0x000000000072de75 in QgsLegend::qt_metacall (this=0xd85d30,
_c=QMetaObject::InvokeMetaMethod, _id=37, _a=0x7fffffff9290)
at
/home/maris/soft/qgis_trunk/build/src/app/legend/moc_qgslegend.cxx:192
#6 0x00007ffff61de617 in QMetaObject::activate (sender=0xd85d30, m=<value
optimized out>, local_signal_index=<value optimized out>,
argv=0x7fffffff9290)
at kernel/qobject.cpp:3278
#7 0x00007ffff5b1667b in QTreeWidget::currentItemChanged (this=<value
optimized out>, _t1=0x3231fa0, _t2=0x0)
at .moc/release-shared/moc_qtreewidget.cpp:256
#8 0x00007ffff5b1edfd in QTreeWidget::qt_metacall (this=0xd85d30,
_c=QMetaObject::InvokeMetaMethod, _id=23, _a=0x7fffffff94e0)
at .moc/release-shared/moc_qtreewidget.cpp:157
#9 0x000000000072d839 in QgsLegend::qt_metacall (this=0xd85d30,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>,
_a=0x7fffffff94e0)
at
/home/maris/soft/qgis_trunk/build/src/app/legend/moc_qgslegend.cxx:142
#10 0x00007ffff61de617 in QMetaObject::activate (sender=0xdac7a0, m=<value
optimized out>, local_signal_index=<value optimized out>,
argv=0x7fffffff94e0)
at kernel/qobject.cpp:3278
#11 0x00007ffff5af42ba in QItemSelectionModel::currentChanged (this=<value
optimized out>, _t1=<value optimized out>, _t2=<value optimized out>)
at .moc/release-shared/moc_qitemselectionmodel.cpp:159
#12 0x00007ffff5af43b2 in QItemSelectionModel::setCurrentIndex
(this=0xdac7a0, index=..., command=<value optimized out>)
at itemviews/qitemselectionmodel.cpp:1169
#13 0x00007ffff5a9cbf3 in QAbstractItemView::setCurrentIndex
(this=0xd85d30, index=...) at itemviews/qabstractitemview.cpp:1016
#14 0x00000000006b2a6a in QgsLegend::refreshLayerSymbology (this=0xd85d30,
key=..., expandItem=false)
at /home/maris/soft/qgis_trunk/src/app/legend/qgslegend.cpp:1576
#15 0x000000000072d9de in QgsLegend::qt_metacall (this=0xd85d30,
_c=QMetaObject::InvokeMetaMethod, _id=5, _a=<value optimized out>)
at
/home/maris/soft/qgis_trunk/build/src/app/legend/moc_qgslegend.cxx:152
#16 0x00007ffff61de617 in QMetaObject::activate (sender=0x5502c80,
m=<value optimized out>, local_signal_index=<value optimized out>,
argv=0x7fffffff98f0)
at kernel/qobject.cpp:3278
#17 0x000000000072aeb1 in QgsVectorLayerProperties::refreshLegend
(this=<value optimized out>, _t1=<value optimized out>, _t2=false)
at
/home/maris/soft/qgis_trunk/build/src/app/moc_qgsvectorlayerproperties.cxx:203
#18 0x0000000000655c23 in QgsVectorLayerProperties::apply (this=0x5502c80)
at /home/maris/soft/qgis_trunk/src/app/qgsvectorlayerproperties.cpp:790
#19 0x000000000072b06d in QgsVectorLayerProperties::qt_metacall
(this=0x5502c80, _c=QMetaObject::InvokeMetaMethod, _id=8,
_a=0x7fffffff9ed0)
at
/home/maris/soft/qgis_trunk/build/src/app/moc_qgsvectorlayerproperties.cxx:159
#20 0x00007ffff61de617 in QMetaObject::activate (sender=0x552ce60,
m=<value optimized out>, local_signal_index=<value optimized out>,
argv=0x7fffffff9ed0)
at kernel/qobject.cpp:3278
#21 0x00007ffff5c03f62 in QAbstractButton::clicked (this=<value optimized
out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#22 0x00007ffff594c28b in QAbstractButtonPrivate::emitClicked (this=<value
optimized out>) at widgets/qabstractbutton.cpp:546
#23 0x00007ffff594d84b in QAbstractButtonPrivate::click (this=0x20513a0)
at widgets/qabstractbutton.cpp:539
#24 0x00007ffff594dabc in QAbstractButton::mouseReleaseEvent
(this=0x552ce60, e=0x7fffffffaa30) at widgets/qabstractbutton.cpp:1121
#25 0x00007ffff560450b in QWidget::event (this=0x552ce60,
event=0x7fffffffaa30) at kernel/qwidget.cpp:8259
#26 0x00007ffff55b2c34 in QApplicationPrivate::notify_helper
(this=0xb51d50, receiver=0x552ce60, e=0x7fffffffaa30) at
kernel/qapplication.cpp:4462
#27 0x00007ffff55b8222 in QApplication::notify (this=<value optimized
out>, receiver=0x552ce60, e=0x7fffffffaa30) at
kernel/qapplication.cpp:4023
#28 0x00007ffff711f36e in QgsApplication::notify (this=0x7fffffffd210,
receiver=0x552ce60, event=0x7fffffffaa30)
at /home/maris/soft/qgis_trunk/src/core/qgsapplication.cpp:124
#29 0x00007ffff61c9f3b in QCoreApplication::notifyInternal
(this=0x7fffffffd210, receiver=0x552ce60, event=0x7fffffffaa30)
at kernel/qcoreapplication.cpp:731
#30 0x00007ffff55b3c45 in sendEvent (receiver=0x552ce60,
event=0x7fffffffaa30, alienWidget=0x552ce60, nativeWidget=0x5502c80,
buttonDown=0x7ffff6065118,
lastMouseReceiver=..., spontaneous=true) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QApplicationPrivate::sendMouseEvent (receiver=0x552ce60,
event=0x7fffffffaa30, alienWidget=0x552ce60, nativeWidget=0x5502c80,
buttonDown=0x7ffff6065118, lastMouseReceiver=..., spontaneous=true) at
kernel/qapplication.cpp:3122
#32 0x00007ffff5632748 in QETWidget::translateMouseEvent (this=0x5502c80,
event=<value optimized out>) at kernel/qapplication_x11.cpp:4461
#33 0x00007ffff5630e09 in QApplication::x11ProcessEvent
(this=0x7fffffffd210, event=0x7fffffffb1e0) at
kernel/qapplication_x11.cpp:3587
#34 0x00007ffff5658452 in x11EventSourceDispatch (s=0xb56730, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#35 0x00007ffff211f3ae in g_main_dispatch (context=0xb554e0) at
gmain.c:2440
#36 g_main_context_dispatch (context=0xb554e0) at gmain.c:3013
#37 0x00007ffff211fb98 in g_main_context_iterate (context=0xb554e0,
block=1, dispatch=1, self=<value optimized out>) at gmain.c:3091
#38 0x00007ffff211fe2d in g_main_context_iteration (context=0xb554e0,
may_block=1) at gmain.c:3154
#39 0x00007ffff61f4e1f in QEventDispatcherGlib::processEvents
(this=0xb52c60, flags=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:422
#40 0x00007ffff56580fe in QGuiEventDispatcherGlib::processEvents
(this=<value optimized out>, flags=<value optimized out>)
at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007ffff61c9302 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007ffff61c9544 in QEventLoop::exec (this=0x7fffffffb4e0,
flags=...) at kernel/qeventloop.cpp:201
#43 0x00007ffff5a4bb7e in QDialog::exec (this=0x5502c80) at
dialogs/qdialog.cpp:552
#44 0x00000000004f5cb8 in QgisApp::showLayerProperties (this=0xc8a360,
ml=<value optimized out>) at
/home/maris/soft/qgis_trunk/src/app/qgisapp.cpp:6546
#45 0x00000000006b0672 in QgsLegend::mouseDoubleClickEvent (this=<value
optimized out>, e=<value optimized out>)
at /home/maris/soft/qgis_trunk/src/app/legend/qgslegend.cpp:543
#46 0x00007ffff5604525 in QWidget::event (this=0xd85d30,
event=0x7fffffffc540) at kernel/qwidget.cpp:8263
#47 0x00007ffff598ed16 in QFrame::event (this=0xd85d30, e=0x7fffffffc540)
at widgets/qframe.cpp:557
#48 0x00007ffff5a9f053 in QAbstractItemView::viewportEvent (this=0xd85d30,
event=0x7fffffffc540) at itemviews/qabstractitemview.cpp:1628
#49 0x00007ffff5ae3b75 in QTreeView::viewportEvent (this=0xd85d30,
event=0x7fffffffc540) at itemviews/qtreeview.cpp:1256
#50 0x00007ffff61ca0b6 in
QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value
optimized out>, receiver=0xdb30d0, event=0x7fffffffc540)
at kernel/qcoreapplication.cpp:846
#51 0x00007ffff55b2c01 in QApplicationPrivate::notify_helper
(this=0xb51d50, receiver=0xdb30d0, e=0x7fffffffc540) at
kernel/qapplication.cpp:4458
#52 0x00007ffff55b8222 in QApplication::notify (this=<value optimized
out>, receiver=0xdb30d0, e=0x7fffffffc540) at kernel/qapplication.cpp:4023
#53 0x00007ffff711f36e in QgsApplication::notify (this=0x7fffffffd210,
receiver=0xdb30d0, event=0x7fffffffc540)
at /home/maris/soft/qgis_trunk/src/core/qgsapplication.cpp:124
#54 0x00007ffff61c9f3b in QCoreApplication::notifyInternal
(this=0x7fffffffd210, receiver=0xdb30d0, event=0x7fffffffc540) at
kernel/qcoreapplication.cpp:731
#55 0x00007ffff55b3c45 in sendEvent (receiver=0xdb30d0,
event=0x7fffffffc540, alienWidget=0xdb30d0, nativeWidget=0xee7160,
buttonDown=0x7ffff6065118,
lastMouseReceiver=..., spontaneous=true) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#56 QApplicationPrivate::sendMouseEvent (receiver=0xdb30d0,
event=0x7fffffffc540, alienWidget=0xdb30d0, nativeWidget=0xee7160,
buttonDown=0x7ffff6065118,
lastMouseReceiver=..., spontaneous=true) at
kernel/qapplication.cpp:3122
#57 0x00007ffff5632748 in QETWidget::translateMouseEvent (this=0xee7160,
event=<value optimized out>) at kernel/qapplication_x11.cpp:4461
#58 0x00007ffff5630e09 in QApplication::x11ProcessEvent
(this=0x7fffffffd210, event=0x7fffffffccf0) at
kernel/qapplication_x11.cpp:3587
#59 0x00007ffff5658452 in x11EventSourceDispatch (s=0xb56730, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#60 0x00007ffff211f3ae in g_main_dispatch (context=0xb554e0) at
gmain.c:2440
#61 g_main_context_dispatch (context=0xb554e0) at gmain.c:3013
#62 0x00007ffff211fb98 in g_main_context_iterate (context=0xb554e0,
block=1, dispatch=1, self=<value optimized out>) at gmain.c:3091
#63 0x00007ffff211fe2d in g_main_context_iteration (context=0xb554e0,
may_block=1) at gmain.c:3154
#64 0x00007ffff61f4e1f in QEventDispatcherGlib::processEvents
(this=0xb52c60, flags=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:422
#65 0x00007ffff56580fe in QGuiEventDispatcherGlib::processEvents
(this=<value optimized out>, flags=<value optimized out>)
at kernel/qguieventdispatcher_glib.cpp:204
#66 0x00007ffff61c9302 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#67 0x00007ffff61c9544 in QEventLoop::exec (this=0x7fffffffcff0,
flags=...) at kernel/qeventloop.cpp:201
#68 0x00007ffff61cd9ab in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1008
#69 0x00000000004dfff2 in main (argc=1, argv=<value optimized out>) at
/home/maris/soft/qgis_trunk/src/app/main.cpp:764
}}}
--
Ticket URL: <http://trac.osgeo.org/qgis/ticket/3860>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS supporting GDAL/OGR, PostGIS, and GRASS formats, and Web Services
More information about the QGIS-trac
mailing list