Bug report #6446

Fatal: ASSERT: "0 && "NOOOO!"" in file /usr/src/qgis/qgis/src/app/qgslabelinggui.cpp, line 73

Added by Sandro Santilli almost 5 years ago. Updated almost 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Labelling
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed
Crashes QGIS or corrupts data:Yes

Description

I think all I did was double-clicking on a legend item with no geometry column.

Debug: src/app/qgssinglesymboldialog.cpp: 250: (~QgsSingleSymbolDialog) entered.
Debug: FIXME: handle dialog end.
Warning: QSpiAccessible::accessibleEvent not handled:  "8008"  obj:  QObject(0x0)  " invalid interface!" 
Debug: src/app/legend/qgslegend.cpp: 2065: (layerIDs) QgsLegend::layerIDs()
Debug: src/app/legend/qgslegend.cpp: 2068: (layerIDs) fp20121003083313285
Debug: src/app/legend/qgslegend.cpp: 2068: (layerIDs) node20110504083015129
Debug: src/app/legend/qgslegend.cpp: 2068: (layerIDs) edge_data20110504083012449
Debug: src/app/legend/qgslegend.cpp: 2068: (layerIDs) edge_data20110504094415605
Debug: src/app/legend/qgslegend.cpp: 2068: (layerIDs) edge_data20110504094539733
Fatal: ASSERT: "0 && "NOOOO!"" in file /usr/src/qgis/qgis/src/app/qgslabelinggui.cpp, line 73
Stacktrace (run through c++filt):
qgis(_Z15myMessageOutput9QtMsgTypePKc+0x22d)[0x5427f4]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x2e)[0x7f1dc440741e]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0x718bf)[0x7f1dc44078bf]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_Z6qFatalPKcz+0x94)[0x7f1dc4407a64]
qgis(_ZN14QgsLabelingGuiC2EP14QgsPalLabelingP14QgsVectorLayerP12QgsMapCanvasP7QWidget+0x50d)[0x65810d]
qgis(_ZN24QgsVectorLayerPropertiesC2EP14QgsVectorLayerP7QWidget6QFlagsIN2Qt10WindowTypeEE+0x7b0)[0x752484]
qgis(_ZN7QgisApp19showLayerPropertiesEP11QgsMapLayer+0x225)[0x579871]
qgis(_ZN7QgisApp15layerPropertiesEv+0x61)[0x567903]
qgis(_ZN9QgsLegend21mouseDoubleClickEventEP11QMouseEvent+0xab)[0x7ce349]

Version (copy&paste from about window, could be made nicer):


QGIS version
1.9.0-Master
QGIS code revision
fe8385e
Compiled against Qt
4.8.1
Running against Qt
4.8.1
Compiled against GDAL/OGR
2.0dev
Running against GDAL/OGR
2.0dev
GEOS Version
3.4.0dev
PostgreSQL Client Version
9.1.5
SpatiaLite Version
2.4.0
QWT Version
5.2.2
PROJ.4 Version
480

This copy of QGIS writes debugging output.

Associated revisions

History

#1 Updated by Sandro Santilli almost 5 years ago

I tried and it's actually easy to reproduce.
1. Click on "add postgis layers"
2. Select "Also list tables with no geometry"
3. Select a table with no geometry (for example: topology.topology)
4. Click "Add"
5. Double-click on the new item in the layer manager (legend)

#2 Updated by Sandro Santilli almost 5 years ago

  • Crashes QGIS or corrupts data changed from No to Yes

#3 Updated by Giuseppe Sucameli almost 5 years ago

  • Status changed from Open to Closed

#4 Updated by Giuseppe Sucameli almost 5 years ago

  • Resolution set to fixed

Also available in: Atom PDF