[QGIS-trac] Re: [Quantum GIS] #3077: ftools (merge shapefiles
tool): QGIS crashes if shapes are missing the .prj file
Quantum GIS
qgis at qgis.org
Fri Mar 4 01:46:06 EST 2011
#3077: ftools (merge shapefiles tool): QGIS crashes if shapes are missing the .prj
file
---------------------------------------------------------+------------------
Reporter: lutra | Owner: alexbruy
Type: bug | Status: new
Priority: critical: causes crash or data corruption | Milestone: Version 1.6.0
Component: Python plugins and bindings | Version: Trunk
Keywords: | Platform_version:
Platform: Debian | Must_fix: Yes
Status_info: 0 |
---------------------------------------------------------+------------------
Comment(by pcav):
I confirm the crash, even if the prj are present.libgeos-3.2.0, qgis
r15309, self compiled. It might be due to gos then.
Here is the backtrace:
{{{
#0 0x00007f7bdb1a7f02 in ?? () from /usr/lib/libQtGui.so.4
#1 0x00007f7bdb2b23e8 in ?? () from /usr/lib/libQtGui.so.4
#2 0x00007f7bdb21033c in QPainter::drawPixmap(QPointF const&, QPixmap
const&) () from /usr/lib/libQtGui.so.4
#3 0x00007f7bdb42dd7f in ?? () from /usr/lib/libQtGui.so.4
#4 0x00007f7bdb4294be in
QGtkStyle::drawPrimitive(QStyle::PrimitiveElement, QStyleOption const*,
QPainter*, QWidget const*) const ()
from /usr/lib/libQtGui.so.4
#5 0x00007f7bdb510c63 in QStatusBar::paintEvent(QPaintEvent*) () from
/usr/lib/libQtGui.so.4
#6 0x00007f7bdb107212 in QWidget::event(QEvent*) () from
/usr/lib/libQtGui.so.4
#7 0x00007f7bdb51248e in QStatusBar::event(QEvent*) () from
/usr/lib/libQtGui.so.4
#8 0x00007f7bdb0b132c in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from /usr/lib/libQtGui.so.4
#9 0x00007f7bdb0b780b in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQtGui.so.4
#10 0x00007f7bdcc101db in QgsApplication::notify(QObject*, QEvent*) ()
from /usr/lib/libqgis_core.so.1.7.0
#11 0x00007f7bdbd1109c in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from /usr/lib/libQtCore.so.4
#12 0x00007f7bdb10f80d in QWidgetPrivate::drawWidget(QPaintDevice*,
QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
from /usr/lib/libQtGui.so.4
#13 0x00007f7bdb1104a8 in
QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*>
const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#14 0x00007f7bdb10f56a in QWidgetPrivate::drawWidget(QPaintDevice*,
QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
from /usr/lib/libQtGui.so.4
#15 0x00007f7bdb2c9a05 in ?? () from /usr/lib/libQtGui.so.4
#16 0x00007f7bdb101170 in QWidgetPrivate::syncBackingStore() () from
/usr/lib/libQtGui.so.4
#17 0x00007f7bdb107915 in QWidget::event(QEvent*) () from
/usr/lib/libQtGui.so.4
#18 0x00007f7bdb4ca0fb in QMainWindow::event(QEvent*) () from
/usr/lib/libQtGui.so.4
#19 0x00007f7bdb0b132c in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from /usr/lib/libQtGui.so.4
#20 0x00007f7bdb0b780b in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQtGui.so.4
#21 0x00007f7bdcc101db in QgsApplication::notify(QObject*, QEvent*) ()
from /usr/lib/libqgis_core.so.1.7.0
#22 0x00007f7bdbd1109c in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from /usr/lib/libQtCore.so.4
#23 0x00007f7bdb2c6d57 in ?? () from /usr/lib/libQtGui.so.4
#24 0x00007f7bdb2ca1a1 in ?? () from /usr/lib/libQtGui.so.4
#25 0x00007f7bdb10352b in QWidget::repaint(QRect const&) () from
/usr/lib/libQtGui.so.4
#26 0x00007f7bdb510fd8 in QStatusBar::hideOrShow() () from
/usr/lib/libQtGui.so.4
#27 0x0000000000502840 in ?? ()
#28 0x00007f7bdcc93138 in QgsCoordinateReferenceSystem::validate() () from
/usr/lib/libqgis_core.so.1.7.0
#29 0x00007f7bdccac77c in QgsVectorLayer::setCoordinateSystem() () from
/usr/lib/libqgis_core.so.1.7.0
#30 0x00007f7bdccc0ea8 in QgsVectorLayer::QgsVectorLayer(QString, QString,
QString, bool) () from /usr/lib/libqgis_core.so.1.7.0
#31 0x00007f7bbcc7c23d in sipQgsVectorLayer::sipQgsVectorLayer(QString,
QString, QString) ()
from /usr/lib/python2.6/dist-packages/qgis/core.so
#32 0x00007f7bbcc83b08 in ?? () from /usr/lib/python2.6/dist-
packages/qgis/core.so
#33 0x00007f7bbdc911d7 in ?? () from /usr/lib/pymodules/python2.6/sip.so
#34 0x00007f7bbdf4fd68 in ?? () from /usr/lib/libpython2.6.so.1.0
#35 0x00007f7bbdef3103 in PyObject_Call () from
/usr/lib/libpython2.6.so.1.0
#36 0x00007f7bbdf986b9 in PyEval_EvalFrameEx () from
/usr/lib/libpython2.6.so.1.0
#37 0x00007f7bbdf9acc0 in PyEval_EvalCodeEx () from
/usr/lib/libpython2.6.so.1.0
#38 0x00007f7bbdf20980 in ?? () from /usr/lib/libpython2.6.so.1.0
#39 0x00007f7bbdef3103 in PyObject_Call () from
/usr/lib/libpython2.6.so.1.0
#40 0x00007f7bbdf04abf in ?? () from /usr/lib/libpython2.6.so.1.0
#41 0x00007f7bbdef3103 in PyObject_Call () from
/usr/lib/libpython2.6.so.1.0
#42 0x00007f7bbdf93103 in PyEval_CallObjectWithKeywords () from
/usr/lib/libpython2.6.so.1.0
#43 0x00007f7bbdc92cab in ?? () from /usr/lib/pymodules/python2.6/sip.so
#44 0x00007f7bbd8fe498 in ?? () from
/usr/lib/pymodules/python2.6/PyQt4/QtCore.so
#45 0x00007f7bbd92e68a in ?? () from
/usr/lib/pymodules/python2.6/PyQt4/QtCore.so
#46 0x00007f7bdbc21e15 in ?? () from /usr/lib/libQtCore.so.4
#47 0x00007f7bd985f8ba in start_thread () from /lib/libpthread.so.0
#48 0x00007f7bd8c1702d in clone () from /lib/libc.so.6
#49 0x0000000000000000 in ?? ()
}}}
--
Ticket URL: <http://trac.osgeo.org/qgis/ticket/3077#comment:14>
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