Bug report #19453

Crash in 3.2.0 when rendering map

Added by James Harrison almost 2 years ago. Updated almost 2 years ago.

Status:Rejected
Priority:Normal
Assignee:-
Category:Map Canvas
Affected QGIS version:3.2 Regression?:Yes
Operating System:Arch Linux Easy fix?:No
Pull Request or Patch supplied:No Resolution:up/downstream
Crashes QGIS or corrupts data:Yes Copied to github as #:27281

Description

Using QGIS 3.2.0-2 on Arch linux, I observe the following regression - this happens at map render time, making it a bit tricky to identify precisely which layer is causing the issue, but the map contains some polygons and some lines on a WMS backdrop. Nothing fancy being used in terms of rendering etc.

(gdb) run
Starting program: /usr/bin/qgis
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffd738c700 (LWP 13809)]
[New Thread 0x7fffd37aa700 (LWP 13810)]
[New Thread 0x7fffca461700 (LWP 13811)]
[New Thread 0x7fffc9c60700 (LWP 13812)]
[New Thread 0x7fffc0ab3700 (LWP 13813)]
[New Thread 0x7fffb10d9700 (LWP 13814)]
[New Thread 0x7fffabfff700 (LWP 13815)]
Warning: QSqlQuery::prepare: database not open
Warning: libpng warning: iCCP: known incorrect sRGB profile
Warning: libpng warning: iCCP: known incorrect sRGB profile
[New Thread 0x7fffa97ff700 (LWP 13817)]
Warning: libpng warning: iCCP: known incorrect sRGB profile
Warning: libpng warning: iCCP: known incorrect sRGB profile
Warning: libpng warning: iCCP: known incorrect sRGB profile
Warning: libpng warning: iCCP: known incorrect sRGB profile
Warning: libpng warning: iCCP: known incorrect sRGB profile
Warning: libpng warning: iCCP: known incorrect sRGB profile
Warning: libpng warning: iCCP: known incorrect sRGB profile                                                                                                                                                                                  
Warning: libpng warning: iCCP: known incorrect sRGB profile                                                                                                                                                                                  
Warning: libpng warning: iCCP: known incorrect sRGB profile                                                                                                                                                                                  
Warning: libpng warning: iCCP: known incorrect sRGB profile                                                                                                                                                                                  
Warning: libpng warning: iCCP: known incorrect sRGB profile                                                                                                                                                                                  
Warning: libpng warning: iCCP: known incorrect sRGB profile
Warning: libpng warning: iCCP: known incorrect sRGB profile                                                                                                                                                                                  
Warning: libpng warning: iCCP: known incorrect sRGB profile
[New Thread 0x7fff51c71700 (LWP 13821)]
[New Thread 0x7fff51470700 (LWP 13822)]
static bool LibSecretKeyring::findPassword(const QString&, const QString&, QKeychain::JobPrivate*)
[New Thread 0x7fff50a1d700 (LWP 13823)]
[New Thread 0x7fff4b094700 (LWP 13844)]
[New Thread 0x7fff4a893700 (LWP 13845)]
[New Thread 0x7fff4a092700 (LWP 13846)]
[New Thread 0x7fff49891700 (LWP 13847)]
[New Thread 0x7fff49090700 (LWP 13848)]

Thread 15 "Thread (pooled)" received signal SIGSEGV, Segmentation fault.                                                                                                                                                                     
[Switching to Thread 0x7fff4a092700 (LWP 13846)]                                                                                                                                                                                             
0x00007fffde0f2623 in geos::algorithm::PointLocator::locate(geos::geom::Coordinate const&, geos::geom::LineString const*) () from /usr/lib/libgeos-3.6.2.so                                                                                  
(gdb) bt
#0  0x00007fffde0f2623 in geos::algorithm::PointLocator::locate(geos::geom::Coordinate const&, geos::geom::LineString const*) () at /usr/lib/libgeos-3.6.2.so                                                                                
#1  0x00007fffde0f29e3 in geos::algorithm::PointLocator::computeLocation(geos::geom::Coordinate const&, geos::geom::Geometry const*) () at /usr/lib/libgeos-3.6.2.so                                                                         
#2  0x00007fffde0f2c22 in geos::algorithm::PointLocator::locate(geos::geom::Coordinate const&, geos::geom::Geometry const*) () at /usr/lib/libgeos-3.6.2.so                                                                                  
#3  0x00007fffde17a9e0 in geos::operation::overlay::OverlayOp::labelIncompleteNode(geos::geomgraph::Node*, int) () at /usr/lib/libgeos-3.6.2.so                                                                                              
#4  0x00007fffde17ab56 in geos::operation::overlay::OverlayOp::labelIncompleteNodes() () at /usr/lib/libgeos-3.6.2.so
#5  0x00007fffde17ba18 in geos::operation::overlay::OverlayOp::computeOverlay(geos::operation::overlay::OverlayOp::OpCode) () at /usr/lib/libgeos-3.6.2.so                                                                                   
#6  0x00007fffde17be4a in geos::operation::overlay::OverlayOp::getResultGeometry(geos::operation::overlay::OverlayOp::OpCode) () at /usr/lib/libgeos-3.6.2.so                                                                                
#7  0x00007fffde17c22b in geos::operation::overlay::OverlayOp::overlayOp(geos::geom::Geometry const*, geos::geom::Geometry const*, geos::operation::overlay::OverlayOp::OpCode) () at /usr/lib/libgeos-3.6.2.so                              
#8  0x00007fffde0ffb3b in std::auto_ptr<geos::geom::Geometry> geos::geom::BinaryOp<geos::operation::overlay::overlayOp>(geos::geom::Geometry const*, geos::geom::Geometry const*, geos::operation::overlay::overlayOp) ()                    
    at /usr/lib/libgeos-3.6.2.so
#9  0x00007fffde0fdb7c in geos::geom::Geometry::intersection(geos::geom::Geometry const*) const () at /usr/lib/libgeos-3.6.2.so                                                                                                              
#10 0x00007fffed2b4311 in GEOSIntersection_r () at /usr/lib/libgeos_c.so.1                                                                                                                                                                   
#11 0x00007ffff6c44cf1 in QgsGeos::overlay(QgsAbstractGeometry const*, QgsGeos::Overlay, QString*) const () at /usr/lib/libqgis_core.so.3.2.0                                                                                                
#12 0x00007ffff6c44da9 in QgsGeos::intersection(QgsAbstractGeometry const*, QString*) const () at /usr/lib/libqgis_core.so.3.2.0                                                                                                             
#13 0x00007ffff6c23393 in QgsGeometry::intersection(QgsGeometry const&) const () at /usr/lib/libqgis_core.so.3.2.0                                                                                                                           
#14 0x00007ffff692c4ff in QgsPalLabeling::prepareGeometry(QgsGeometry const&, QgsRenderContext&, QgsCoordinateTransform const&, QgsGeometry const&) () at /usr/lib/libqgis_core.so.3.2.0                                                     
#15 0x00007ffff6935548 in QgsPalLayerSettings::registerFeature(QgsFeature&, QgsRenderContext&, QgsLabelFeature**, QgsGeometry) () at /usr/lib/libqgis_core.so.3.2.0                                                                          
#16 0x00007ffff6a687ea in QgsVectorLayerLabelProvider::registerFeature(QgsFeature&, QgsRenderContext&, QgsGeometry const&) () at /usr/lib/libqgis_core.so.3.2.0                                                                              
#17 0x00007ffff6a6cb1e in  () at /usr/lib/libqgis_core.so.3.2.0                                                                                                                                                                              
#18 0x00007ffff6a6e003 in  () at /usr/lib/libqgis_core.so.3.2.0                                                                                                                                                                              
#19 0x00007ffff68ceb89 in QgsMapRendererParallelJob::renderLayerStatic(LayerRenderJob&) () at /usr/lib/libqgis_core.so.3.2.0                                                                                                                 
#20 0x00007ffff68d2d46 in  () at /usr/lib/libqgis_core.so.3.2.0                                                                                                                                                                              
#21 0x00007ffff68d3171 in  () at /usr/lib/libqgis_core.so.3.2.0
#22 0x00007fffeb2bfb6d in QtConcurrent::ThreadEngineBase::run() () at /usr/lib/libQt5Concurrent.so.5                                                                                                                                         
#23 0x00007ffff4c2a9f1 in  () at /usr/lib/libQt5Core.so.5                                                                                                                                                                                    
#24 0x00007ffff4c32b45 in  () at /usr/lib/libQt5Core.so.5                                                                                                                                                                                    
#25 0x00007fffea1d5075 in start_thread () at /usr/lib/libpthread.so.0                                                                                                                                                                        
#26 0x00007ffff430a53f in clone () at /usr/lib/libc.so.6

History

#1 Updated by James Harrison almost 2 years ago

As a note, this map was created in (and worked in) 3.0.

#2 Updated by Nyall Dawson almost 2 years ago

  • Resolution set to up/downstream
  • Status changed from Open to Rejected

The crash report indicates the crash is occuring within the geos library

Also available in: Atom PDF