Bug report #4595

Adding an image to layout cause qgis crash

Added by alberto collatin almost 8 years ago. Updated almost 8 years ago.

Status:Closed
Priority:Normal
Assignee:Marco Hugentobler
Category:-
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 Copied to github as #:14500

Description

it's my first bug report so if I've not done it in the right way please tell me. Thanks.

opening QGIS from a terminal:

Warning: loading of qgis translation failed [/usr/share/qgis/i18n//qgis_en_US]
Warning: loading of qt translation failed [/usr/share/qt4/translations/qt_en_US]

On a new empy project: new print composer-> add image-> item --> selection of an svg -> qgis crash

Warning: QLayout: Attempting to add QLayout "" to QgsBrowserDockWidget "", which already has a layout
Debug: couldn't create image from  "pastedpic_10102008_233747.png" 
Debug: couldn't create image from  "pastedpic_10102008_233747.png" 
Debug: couldn't create image from  "pastedpic_10102008_233747.png" 
Debug: couldn't create image from  "pastedpic_10102008_233747.png" 
Debug: couldn't create image from  "pastedpic_10102008_233747.png" 
Debug: couldn't create image from  "pastedpic_10102008_233747.png" 
Debug: couldn't create image from  "pastedpic_10102008_233747.png" 
Debug: couldn't create image from  "pastedpic_10102008_233747.png" 
Debug: couldn't create image from  "pastedpic_10102008_233747.png" 
Debug: couldn't create image from  "pastedpic_10102008_233747.png" 
Debug: couldn't create image from  "pastedpic_10102008_233747.png" 
Debug: couldn't create image from  "pastedpic_10102008_233747.png" 
Debug: couldn't create image from  "pastedpic_10102008_233747.png" 
Debug: couldn't create image from  "pastedpic_10102008_233747.png" 
Debug: couldn't create image from  "pastedpic_10102008_233747.png" 
Debug: couldn't create image from  "pastedpic_10102008_233747.png" 
Debug: couldn't create image from  "pastedpic_10102008_233747.png" 
Debug: couldn't create image from  "pastedpic_10102008_233747.png" 
Debug: couldn't create image from  "pastedpic_10102008_233747.png" 
Debug: couldn't create image from  "pastedpic_10102008_233747.png" 
Warning: QColor::setNamedColor: Unknown color name 'param(outline) #000000'
Warning: QColor::setNamedColor: Unknown color name 'param(outline) #000000'
Warning: QColor::setNamedColor: Unknown color name 'param(outline) #000000'
Warning: QColor::setNamedColor: Unknown color name 'param(outline) #000000'
Warning: QColor::setNamedColor: Unknown color name 'param(outline) #000000'
Warning: QColor::setNamedColor: Unknown color name 'param(outline) #000000'
Warning: QColor::setNamedColor: Unknown color name 'param(outline) #000000'
Warning: QColor::setNamedColor: Unknown color name 'param(outline) #000000'
Warning: QColor::setNamedColor: Unknown color name 'param(outline) #000000'
Warning: QColor::setNamedColor: Unknown color name 'param(outline) #000000'
Warning: QColor::setNamedColor: Unknown color name 'param(outline) #000000'
Warning: QColor::setNamedColor: Unknown color name 'param(outline) #000000'
Warning: QColor::setNamedColor: Unknown color name 'character_n'
Warning: QColor::setNamedColor: Unknown color name 'character_n'
Warning: QColor::setNamedColor: Unknown color name 'character_n'
Warning: QColor::setNamedColor: Unknown color name 'character_n'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(outline) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(outline) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(outline) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(outline) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'param(fill) #6c7be1'
Warning: QColor::setNamedColor: Unknown color name 'character_n'
Fatal: ASSERT: "!isEmpty()" in file /usr/include/qt4/QtCore/qlist.h, line 274
Annullato

CPU: Intel® Atom™ 330 @ 1.60GHz × 2
Graphic Chipset:Intel® 945G x86/MMX/SSE2
OS: Ubuntu 11.10
QGIS version: 1.9.90-Alpha
Qt: 4.7.4

History

#1 Updated by Giovanni Manghi almost 8 years ago

  • Category set to 33
  • Assignee set to Marco Hugentobler
  • Priority changed from Normal to 6
  • Target version set to Version 1.7.3
  • Must fix set to yes

Confirmed here, same OS and QGIS version.

#2 Updated by alberto collatin almost 8 years ago

Seems that manually adding in settings->options->rendering->svg paths /usr/share/qgis/svg/ resolve the problem

#3 Updated by Giovanni Manghi almost 8 years ago

  • Target version changed from Version 1.7.3 to Version 1.7.4

#4 Updated by Jürgen Fischer almost 8 years ago

  • Crashes QGIS or corrupts data set to Yes
  • Affected QGIS version set to master

#5 Updated by Giovanni Manghi almost 8 years ago

  • Status changed from Open to Feedback
  • Priority changed from 6 to Normal

Selecting a SVG image that is not part of the QGIS library (so no manual path added) using the "load" options, is not causing any crash on qgis-master on Ubuntu 11.10. Please try update, test again and report back, eventually adding the offending svg symbol and then report back.

Tested also with qgis-master under windows/osgeo4w.

#6 Updated by alberto collatin almost 8 years ago

No more problems with updated master. Thanks.

#7 Updated by Giovanni Manghi almost 8 years ago

  • Status changed from Feedback to Closed
  • Resolution set to fixed

Also available in: Atom PDF