[QGIS-trac] Re: [Quantum GIS] #2209: QGIS crashes if picture search
directories contain a *.qgs file
Quantum GIS
qgis at qgis.org
Wed Dec 9 15:12:32 EST 2009
#2209: QGIS crashes if picture search directories contain a *.qgs file
--------------------------------------------------------------+-------------
Reporter: dr | Owner: nobody
Type: bug | Status: closed
Priority: critical: causes crash or data corruption | Milestone: Version 1.4.0
Component: Printing | Version: HEAD
Resolution: fixed | Keywords: print composer, image, crash
Platform_version: | Platform: All
Must_fix: No | Status_info: 0
--------------------------------------------------------------+-------------
Changes (by mhugent):
* status: new => closed
* resolution: => fixed
Comment:
The crash seems like a Qt bug (QSvgRenderer). See backtrace below.
r12389 adds a basic workaround, testing only the files ending in '.svg'
with QSvgRenderer. Therefore, I'm closing this bug (fixing QSvgRenderer is
beyond the scope of the QGIS project).
Debugger backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x006cf1e2 in ?? () from /usr/lib/libQtSvg.so.4
(gdb) bt
#0 0x006cf1e2 in ?? () from /usr/lib/libQtSvg.so.4
#1 0x006e0029 in ?? () from /usr/lib/libQtSvg.so.4
#2 0x006e02c7 in ?? () from /usr/lib/libQtSvg.so.4
#3 0x006e087b in ?? () from /usr/lib/libQtSvg.so.4
#4 0x006f2950 in QSvgTinyDocument::load(QString const&) () from
/usr/lib/libQtSvg.so.4
#5 0x006f37ba in QSvgRenderer::load(QString const&) () from
/usr/lib/libQtSvg.so.4
#6 0x006f3eb5 in QSvgRenderer::QSvgRenderer(QString const&, QObject*) ()
from /usr/lib/libQtSvg.so.4
#7 0x082bd721 in QgsComposerPictureWidget::testSvgFile (this=0x91a8988,
filename=...) at
/home/marco/src/qgis/src/app/composer/qgscomposerpicturewidget.cpp:472
#8 0x082bcf90 in QgsComposerPictureWidget::addDirectoryToPreview
(this=0x91a8988, path=...) at
/home/marco/src/qgis/src/app/composer/qgscomposerpicturewidget.cpp:393
#9 0x082bbedd in QgsComposerPictureWidget::on_mAddDirectoryButton_clicked
(this=0x91a8988) at
/home/marco/src/qgis/src/app/composer/qgscomposerpicturewidget.cpp:182
--
Ticket URL: <http://trac.osgeo.org/qgis/ticket/2209#comment:4>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list