[Qgis-developer] Segmentation fault immediately after QGIS start
Andreas Neumann
a.neumann at carto.net
Thu Aug 27 01:37:19 PDT 2015
Hi,
With the newest master I get a segmentation fault immediately after
starting. Even before loading a project.
Maybe this has to do with the recent start screen modifications?
Here are the last debug messages:
--------------
Konsole output
src/core/qgsmessagelog.cpp: 45: (logMessage) [1ms] 2015-08-27T10:32:24
[0] QGIS Ready!
src/app/qgisapp.cpp: 858: (QgisApp) [24ms] Tips are disabled
src/core/qgsproviderregistry.cpp: 450: (function) [18ms] Library name is
/usr/local/lib/qgis/plugins/libwfsprovider.so
src/core/qgsproviderregistry.cpp: 450: (function) [0ms] Library name is
/usr/local/lib/qgis/plugins/libdelimitedtextprovider.so
src/core/qgsproviderregistry.cpp: 450: (function) [0ms] Library name is
/usr/local/lib/qgis/plugins/libgdalprovider.so
src/core/qgsproviderregistry.cpp: 450: (function) [0ms] Library name is
/usr/local/lib/qgis/plugins/libgpxprovider.so
src/core/qgsproviderregistry.cpp: 450: (function) [0ms] Library name is
/usr/local/lib/qgis/plugins/libmemoryprovider.so
src/core/qgsproviderregistry.cpp: 450: (function) [0ms] Library name is
/usr/local/lib/qgis/plugins/libmssqlprovider.so
src/core/qgsproviderregistry.cpp: 450: (function) [0ms] Library name is
/usr/local/lib/qgis/plugins/libogrprovider.so
src/core/qgsproviderregistry.cpp: 450: (function) [0ms] Library name is
/usr/local/lib/qgis/plugins/libowsprovider.so
src/core/qgsproviderregistry.cpp: 450: (function) [0ms] Library name is
/usr/local/lib/qgis/plugins/libpostgresprovider.so
src/core/qgsproviderregistry.cpp: 450: (function) [0ms] Library name is
/usr/local/lib/qgis/plugins/libspatialiteprovider.so
src/core/qgsproviderregistry.cpp: 450: (function) [1ms] Library name is
/usr/local/lib/qgis/plugins/libwcsprovider.so
src/core/qgsproviderregistry.cpp: 450: (function) [0ms] Library name is
/usr/local/lib/qgis/plugins/libwmsprovider.so
src/providers/wms/qgstilescalewidget.cpp: 120: (showTileScale) [0ms]
canvas:21bc2b0 [theMapCanvas]
src/core/qgsmapsettings.cpp: 485: (fullExtent) [139ms] called.
src/core/qgsmapsettings.cpp: 496: (fullExtent) [0ms] Layer count: 0
src/core/qgsmapsettings.cpp: 550: (fullExtent) [0ms] Full extent: Empty
src/core/layertree/qgslayertreeregistrybridge.cpp: 78:
(layersWillBeRemoved) [0ms] 0 layers will be removed, enabled:1
src/app/qgsdecorationitem.cpp: 64: (projectRead) [0ms] Entered
src/app/qgsdecorationitem.cpp: 64: (projectRead) [0ms] Entered
src/app/qgsdecorationitem.cpp: 64: (projectRead) [0ms] Entered
src/app/qgsdecorationitem.cpp: 64: (projectRead) [1ms] Entered
src/gui/qgsmapcanvas.cpp: 626: (refresh) [0ms] CANVAS refresh - invalid
settings -> nothing to do
src/core/qgscoordinatereferencesystem.cpp: 985: (setMapUnits) [8ms]
Projection has linear units of metre
src/core/qgsmaprenderer.cpp: 679: (setDestinationCrs) [1ms] * Setting
destCRS : = +proj=somerc +lat_0=46.95240555555556 +lon_0=7.43958333
3333333 +k_0=1 +x_0=600000 +y_0=200000 +ellps=bessel
+towgs84=674.4,15.1,405.3,0,0,0,0 +units=m +no_defs
src/core/qgsmaprenderer.cpp: 680: (setDestinationCrs) [0ms] *
DestCRS.srsid() = 1919
src/core/qgsmaprenderer.cpp: 701: (setDestinationCrs) [0ms] Setting
DistArea CRS to 1919
src/core/qgscoordinatereferencesystem.cpp: 985: (setMapUnits) [0ms]
Projection has linear units of metre
src/core/qgsmaprenderer.cpp: 933: (updateFullExtent) [1ms] called.
src/core/qgsmaprenderer.cpp: 943: (updateFullExtent) [0ms] Layer count: 0
src/core/qgsmaprenderer.cpp: 997: (updateFullExtent) [0ms] Full extent:
Empty
src/core/qgscoordinatereferencesystem.cpp: 985: (setMapUnits) [1ms]
Projection has linear units of metre
src/app/qgsmeasuredialog.cpp: 83: (updateSettings) [0ms] ****************
src/app/qgsmeasuredialog.cpp: 84: (updateSettings) [0ms] Ellipsoid ID :
NONE
src/app/qgsmeasuredialog.cpp: 85: (updateSettings) [0ms] Ellipsoidal :
false
src/app/qgsmeasuredialog.cpp: 86: (updateSettings) [0ms] Decimalplaces: 3
src/app/qgsmeasuredialog.cpp: 87: (updateSettings) [1ms] Display units:
meters
src/app/qgsmeasuredialog.cpp: 88: (updateSettings) [0ms] Canvas units :
degrees
src/app/qgsmeasuredialog.cpp: 343: (convertMeasurement) [0ms] Preferred
display units are meters
src/core/qgsdistancearea.cpp: 1079: (convertMeasurement) [0ms]
Converting 1 degrees
src/core/qgsdistancearea.cpp: 1081: (convertMeasurement) [0ms] to
1.2392e+10 meters
src/app/qgsmeasuredialog.cpp: 343: (convertMeasurement) [0ms] Preferred
display units are meters
src/core/qgsdistancearea.cpp: 1079: (convertMeasurement) [0ms]
Converting 0 degrees
src/core/qgsdistancearea.cpp: 1081: (convertMeasurement) [0ms] to 0 meters
src/core/qgscoordinatereferencesystem.cpp: 985: (setMapUnits) [1ms]
Projection has linear units of metre
src/app/qgsmeasuredialog.cpp: 83: (updateSettings) [0ms] ****************
src/app/qgsmeasuredialog.cpp: 84: (updateSettings) [0ms] Ellipsoid ID :
NONE
src/app/qgsmeasuredialog.cpp: 85: (updateSettings) [0ms] Ellipsoidal :
false
src/app/qgsmeasuredialog.cpp: 86: (updateSettings) [0ms] Decimalplaces: 3
src/app/qgsmeasuredialog.cpp: 87: (updateSettings) [0ms] Display units:
meters
src/app/qgsmeasuredialog.cpp: 88: (updateSettings) [1ms] Canvas units :
degrees
src/app/qgsmeasuredialog.cpp: 343: (convertMeasurement) [0ms] Preferred
display units are meters
src/core/qgsdistancearea.cpp: 1079: (convertMeasurement) [0ms]
Converting 1 degrees
src/core/qgsdistancearea.cpp: 1081: (convertMeasurement) [0ms] to
1.2392e+10 meters
src/app/qgsmeasuredialog.cpp: 343: (convertMeasurement) [0ms] Preferred
display units are meters
src/core/qgsdistancearea.cpp: 1079: (convertMeasurement) [0ms]
Converting 0 degrees
src/core/qgsdistancearea.cpp: 1081: (convertMeasurement) [0ms] to 0 meters
src/gui/qgsmapcanvas.cpp: 1635: (setMapUnits) [0ms] Setting map units to 0
src/core/qgsscalecalculator.cpp: 42: (setMapUnits) [0ms] Map units set to 0
src/gui/qgsmapcanvas.cpp: 626: (refresh) [0ms] CANVAS refresh - invalid
settings -> nothing to do
src/core/qgsscalecalculator.cpp: 42: (setMapUnits) [0ms] Map units set to 0
src/core/qgsscalecalculator.cpp: 88: (calculate) [0ms] scale = 0
conversionFactor = 39.3701
src/gui/qgsmaptool.cpp: 93: (activate) [0ms] Cursor has been set
src/app/main.cpp: 931: (main) [0ms] Number of files in myFileList: 0
src/core/qgsscalecalculator.cpp: 88: (calculate) [0ms] scale = 290.733
conversionFactor = 39.3701
src/core/qgsmapsettings.cpp: 186: (updateDerived) [0ms] Map units per
pixel (x,y) : 0.02083333333333333, 0.07692307692307693
src/core/qgsmapsettings.cpp: 187: (updateDerived) [0ms] Pixmap
dimensions (x,y) : 96, 26
src/core/qgsmapsettings.cpp: 188: (updateDerived) [0ms] Extent
dimensions (x,y) : 2, 2
src/core/qgsmapsettings.cpp: 189: (updateDerived) [0ms]
-1.0000000000000000,-1.0000000000000000 :
1.0000000000000000,1.0000000000000000
src/core/qgsmapsettings.cpp: 190: (updateDerived) [0ms] Adjusted map
units per pixel (x,y) : 0.07692307692307693, 0.07692307692307693
src/core/qgsmapsettings.cpp: 191: (updateDerived) [0ms] Recalced pixmap
dimensions (x,y) : 96, 26
src/core/qgsmapsettings.cpp: 192: (updateDerived) [0ms] Scale (assuming
meters as map units) = 1:290.73288886153846988
src/core/qgsmapsettings.cpp: 193: (updateDerived) [1ms] Rotation: 0 degrees
src/core/qgsmaprenderer.cpp: 208: (adjustExtentToSize) [0ms] Map units
per pixel (x,y) : 0.02083333333333333, 0.07692307692307693
src/core/qgsmaprenderer.cpp: 209: (adjustExtentToSize) [0ms] Pixmap
dimensions (x,y) : 96, 26
src/core/qgsmaprenderer.cpp: 210: (adjustExtentToSize) [0ms] Extent
dimensions (x,y) : 2, 2
src/core/qgsmaprenderer.cpp: 211: (adjustExtentToSize) [0ms]
-1.0000000000000000,-1.0000000000000000 : 1.0000000000000000,1.0000000000000
000
src/core/qgsmaprenderer.cpp: 219: (adjustExtentToSize) [0ms] Adjusted
map units per pixel (x,y) : 0.07692307692307693, 0.0769230769230769
3
src/core/qgsmaprenderer.cpp: 221: (adjustExtentToSize) [0ms] Recalced
pixmap dimensions (x,y) : 96, 26
src/core/qgsscalecalculator.cpp: 88: (calculate) [0ms] scale = 290.733
conversionFactor = 39.3701
src/core/qgsmaprenderer.cpp: 226: (adjustExtentToSize) [0ms] Scale
(assuming meters as map units) = 1:290.73288886153846988
src/gui/qgsmapcanvas.cpp: 644: (refresh) [0ms] CANVAS refresh scheduling
src/gui/qgsmapcanvas.cpp: 654: (refreshMap) [2067ms] CANVAS refresh!
src/core/qgsmaprenderersequentialjob.cpp: 29:
(QgsMapRendererSequentialJob) [0ms] SEQUENTIAL construct
src/core/qgsmaprenderersequentialjob.cpp: 62: (start) [0ms] SEQUENTIAL
START
src/core/qgsmaprenderercustompainterjob.cpp: 32:
(QgsMapRendererCustomPainterJob) [0ms] QPAINTER construct
src/core/qgsmaprenderercustompainterjob.cpp: 56: (start) [1ms] QPAINTER
run!
src/core/qgsmaprenderercustompainterjob.cpp: 58: (start) [0ms] Preparing
list of layer jobs for rendering
src/core/qgsmaprendererjob.cpp: 149: (prepareJobs) [0ms] CACHE VALID: 0
src/core/qgsmaprenderercustompainterjob.cpp: 84: (start) [0ms] Rendering
prepared in (seconds): 0
src/core/qgsmaprenderercustompainterjob.cpp: 211: (doRender) [0ms]
[thread:0x446ac10] Starting to render layer stack.
src/core/qgsmaprenderercustompainterjob.cpp: 240: (doRender) [0ms]
[thread:0x446ac10] Done rendering map layers
src/core/qgsmaprenderercustompainterjob.cpp: 251: (drawLabeling) [0ms]
[thread:0x446ac10] Draw labeling start
src/core/qgsmaprenderercustompainterjob.cpp: 269: (drawLabeling) [1ms]
[thread:0x446ac10] Draw labeling took (seconds): 0.001
src/core/qgsmaprenderercustompainterjob.cpp: 245: (doRender) [0ms]
[thread:0x446ac10] Rendering completed in (seconds): 0.002
src/core/qgsmaprenderercustompainterjob.cpp: 180: (futureFinished) [1ms]
QPAINTER futureFinished
src/core/qgsmaprenderersequentialjob.cpp: 121: (internalFinished) [0ms]
SEQUENTIAL finished
src/gui/qgsmapcanvas.cpp: 701: (rendererJobFinished) [1ms] CANVAS finish! 1
src/core/qgsmaprenderercustompainterjob.cpp: 37:
(~QgsMapRendererCustomPainterJob) [45ms] QPAINTER destruct
src/core/qgsmaprenderersequentialjob.cpp: 38:
(~QgsMapRendererSequentialJob) [0ms] SEQUENTIAL destruct
Segmentation fault (core dumped)
-----------------
Do you have any idea on what may be wrong? If no, I can go back in git
history and try to find the commit that makes my QGIS crash on start.
Thanks,
Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150827/a0700486/attachment-0001.html>
More information about the Qgis-developer
mailing list