[QGIS-trac] Re: [Quantum GIS] #2903: Segmentation Fault in 1.4, ubuntu karmic binaries

Quantum GIS qgis at qgis.org
Fri Jul 23 04:45:44 EDT 2010


#2903: Segmentation Fault in 1.4, ubuntu karmic binaries
---------------------------------------------------------+------------------
   Reporter:  alobo                                      |              Owner:  jef          
       Type:  bug                                        |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.6.0
  Component:  Vectors                                    |            Version:  1.4.0        
   Keywords:                                             |   Platform_version:               
   Platform:  Debian                                     |           Must_fix:  No           
Status_info:  0                                          |  
---------------------------------------------------------+------------------

Comment(by alobo):

 Replying to [comment:2 jef]:
 > please run {{{bt}}} in gdb.

 Here:

 GNU gdb (GDB) 7.0-ubuntu
 Copyright (C) 2009 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later
 <http://gnu.org/licenses/gpl.html>
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
 and "show warranty" for details.
 This GDB was configured as "x86_64-linux-gnu".
 For bug reporting instructions, please see:
 <http://www.gnu.org/software/gdb/bugs/>...
 Reading symbols from /usr/bin/qgis.bin...(no debugging symbols
 found)...done.
 (gdb) run
 Starting program: /usr/bin/qgis.bin
 [Thread debugging using libthread_db enabled]
 [New Thread 0x7fffe233a910 (LWP 9237)]
 [Thread 0x7fffe233a910 (LWP 9237) exited]
 Python support ENABLED :-)
 /home/alobo/.qgis//python/plugins/imgboundary/__init__.py:38:
 DeprecationWarning: BaseException.message has been deprecated as of Python
 2.6
   sMsg = "Error import Module \'osgeo\' from package \'gdal-
 Python-1.5.4-4\'\n\nMessage: %s" % e.message
 Loaded : Plugin Installer (package: plugin_installer)
 Warning: QObject::connect: Incompatible sender/receiver arguments
         QgsProject::writeProject(QDomDocument&) -->
 QgisApp::projectChanged(QDomDocument)
 [New Thread 0x7fffe233a910 (LWP 9243)]
 [New Thread 0x7fffc7fff910 (LWP 9244)]
 [Thread 0x7fffe233a910 (LWP 9243) exited]

 Program received signal SIGBUS, Bus error.
 0x00007ffff6c178ed in QTextCodec::toUnicode(char const*) const () from
 /usr/lib/libQtCore.so.4
 (gdb) bt
 #0  0x00007ffff6c178ed in QTextCodec::toUnicode(char const*) const () from
 /usr/lib/libQtCore.so.4
 #1  0x00007fffdf2e7871 in QgsOgrProvider::loadFields() () from
 /usr/lib/qgis/libogrprovider.so
 #2  0x00007fffdf2ed362 in QgsOgrProvider::setSubsetString(QString) () from
 /usr/lib/qgis/libogrprovider.so
 #3  0x00007fffdf2f2eeb in QgsOgrProvider::QgsOgrProvider(QString const&)
 () from /usr/lib/qgis/libogrprovider.so
 #4  0x00007fffdf2f42f9 in classFactory () from
 /usr/lib/qgis/libogrprovider.so
 #5  0x00007ffff7742d26 in QgsProviderRegistry::getProvider(QString const&,
 QString const&) () from /usr/lib/libqgis_core.so.1.4.0
 #6  0x00007ffff776d9fd in QgsVectorLayer::setDataProvider(QString const&)
 () from /usr/lib/libqgis_core.so.1.4.0
 #7  0x00007ffff776e195 in QgsVectorLayer::readXml(QDomNode&) () from
 /usr/lib/libqgis_core.so.1.4.0
 #8  0x00007ffff7725f85 in QgsMapLayer::readXML(QDomNode&) () from
 /usr/lib/libqgis_core.so.1.4.0
 #9  0x00007ffff773243b in QgsProject::_getMapLayers(QDomDocument const&)
 () from /usr/lib/libqgis_core.so.1.4.0
 #10 0x00007ffff7738e29 in QgsProject::read() () from
 /usr/lib/libqgis_core.so.1.4.0
 #11 0x00000000004c996d in QgisApp::fileOpen() ()
 #12 0x000000000069ae0d in QgisApp::qt_metacall(QMetaObject::Call, int,
 void**) ()
 #13 0x00007ffff6bfeddc in QMetaObject::activate(QObject*, int, int,
 void**) () from /usr/lib/libQtCore.so.4
 #14 0x00007ffff608c0a7 in QAction::triggered(bool) () from
 /usr/lib/libQtGui.so.4
 #15 0x00007ffff608d4ef in QAction::activate(QAction::ActionEvent) () from
 /usr/lib/libQtGui.so.4
 #16 0x00007ffff6479ecd in ?? () from /usr/lib/libQtGui.so.4
 #17 0x00007ffff647fdea in ?? () from /usr/lib/libQtGui.so.4
 #18 0x00007ffff60e09c0 in QWidget::event(QEvent*) () from
 /usr/lib/libQtGui.so.4
 #19 0x00007ffff64825ab in QMenu::event(QEvent*) () from
 /usr/lib/libQtGui.so.4
 #20 0x00007ffff6091efc in QApplicationPrivate::notify_helper(QObject*,
 QEvent*) () from /usr/lib/libQtGui.so.4
 #21 0x00007ffff6099011 in QApplication::notify(QObject*, QEvent*) () from
 /usr/lib/libQtGui.so.4
 #22 0x00007ffff76ef0db in QgsApplication::notify(QObject*, QEvent*) ()
 from /usr/lib/libqgis_core.so.1.4.0
 #23 0x00007ffff6be9c2c in QCoreApplication::notifyInternal(QObject*,
 QEvent*) () from /usr/lib/libQtCore.so.4
 #24 0x00007ffff60988e0 in QApplicationPrivate::sendMouseEvent(QWidget*,
 QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from
 /usr/lib/libQtGui.so.4
 #25 0x00007ffff60fee2e in ?? () from /usr/lib/libQtGui.so.4
 #26 0x00007ffff60fdaa9 in QApplication::x11ProcessEvent(_XEvent*) () from
 /usr/lib/libQtGui.so.4
 #27 0x00007ffff6126d0c in ?? () from /usr/lib/libQtGui.so.4
 #28 0x00007ffff21c7bce in g_main_context_dispatch () from
 /lib/libglib-2.0.so.0
 #29 0x00007ffff21cb598 in ?? () from /lib/libglib-2.0.so.0
 #30 0x00007ffff21cb6c0 in g_main_context_iteration () from
 /lib/libglib-2.0.so.0
 #31 0x00007ffff6c121a6 in
 QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
 () from /usr/lib/libQtCore.so.4
 #32 0x00007ffff61264be in ?? () from /usr/lib/libQtGui.so.4
 #33 0x00007ffff6be8532 in
 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
 /usr/lib/libQtCore.so.4
 #34 0x00007ffff6be8904 in
 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
 /usr/lib/libQtCore.so.4
 #35 0x00007ffff6beaab9 in QCoreApplication::exec() () from
 /usr/lib/libQtCore.so.4
 #36 0x00000000004adc28 in main ()
 (gdb)

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/2903#comment:3>
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