Bug report #4647

QGIS crashes when opening WMS layer properties

Added by Giovanni Manghi almost 8 years ago. Updated over 7 years ago.

Status:Closed
Priority:High
Assignee:-
Category:Web Services clients/WMS
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:Yes Copied to github as #:14545

Description

on the console the message is

Warning: QLayout: Attempting to add QLayout "" to QWidget "", which
already has a layout
Warning: QGraphicsScene::removeItem: cannot remove 0-item
Warning: QHttp: empty path requested is invalid -- using '/'
Warning: QGraphicsScene::removeItem: cannot remove 0-item
Warning: divide by zero encountered in divide
Warning: divide by zero encountered in divide
Warning: QPixmap::handle(): Pixmap is not an X11 class pixmap
Warning: QPixmap::handle(): Pixmap is not an X11 class pixmap
Segmentation fault

tested on master on both Ubuntu 11.10 and Windows/OSgeo4w

wms_properties_crashing.txt Magnifier (9.32 KB) Ivan Mincik, 2011-12-22 05:27 AM

Associated revisions

Revision 4d761d07
Added by Jürgen Fischer over 7 years ago

fix #4647 (introduced in 3b9b2d - track backports please)

Revision b6281460
Added by Jürgen Fischer over 7 years ago

fix #4647 (introduced in 3b9b2d - track backports please)

History

#1 Updated by Giovanni Manghi almost 8 years ago

  • Target version set to Version 1.7.4

#2 Updated by Giovanni Manghi almost 8 years ago

  • Subject changed from QGIS crashes when opening WMS layer properties to [crash] QGIS crashes when opening WMS layer properties

#3 Updated by Giovanni Manghi almost 8 years ago

it affects also 1.7.3

#4 Updated by Ivan Mincik over 7 years ago

Attaching my debug and gdb log.

#5 Updated by Jürgen Fischer over 7 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

#6 Updated by Alexander Bruy over 7 years ago

Backported to 1.7 and 1.8

#7 Updated by Jürgen Fischer over 7 years ago

  • Crashes QGIS or corrupts data set to Yes
  • Subject changed from [crash] QGIS crashes when opening WMS layer properties to QGIS crashes when opening WMS layer properties
  • Affected QGIS version set to master

Also available in: Atom PDF