[QGIS-trac] Re: [Quantum GIS] #1241: SPIT crashes

Quantum GIS qgis at qgis.org
Tue Aug 26 07:27:11 EDT 2008


#1241: SPIT crashes
--------------------------------------------------------------+-------------
        Reporter:  msieczka                                   |         Owner:  nobody       
            Type:  bug                                        |        Status:  new          
        Priority:  critical: causes crash or data corruption  |     Milestone:  Version 1.0.0
       Component:  SPIT                                       |       Version:  HEAD         
      Resolution:                                             |      Keywords:               
Platform_version:                                             |      Platform:  Debian       
        Must_fix:  Yes                                        |   Status_info:  0            
--------------------------------------------------------------+-------------
Comment (by msieczka):

 Replying to [comment:2 jef]:
 > not reproducable here either, but I fixed a spit bug in r9168.   Does
 that help here too?

 Nope. Still crashes in r9173. The backtrace slightly changed:

 {{{
 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 0x7f901a5847a0 (LWP 24529)]
 0x00007f90199b152c in ?? () from /usr/lib/libQtCore.so.4
 (gdb) bt
 #0  0x00007f90199b152c in ?? () from /usr/lib/libQtCore.so.4
 #1  0x00007f90199b192d in QString::arg () from /usr/lib/libQtCore.so.4
 #2  0x00007f9005809dcb in QgsShapeFile::insertLayer (this=0x3144440,
 dbname=
       {static null = {<No data fields>}, static shared_null = {ref =
 {_q_value = 3117}, alloc = 0, size = 0, data = 0x92f33a, clean = 0,
 simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved =
 0, array = {0}}, static shared_empty = {ref = {_q_value = 53}, alloc = 0,
 size = 0, data = 0x7f9019d3f85a, clean = 0, simpletext = 0, righttoleft =
 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d =
 0x7fff226bb720, static codecForCStrings = 0x0}, schema=
       {static null = {<No data fields>}, static shared_null = {ref =
 {_q_value = 3117}, alloc = 0, size = 0, data = 0x92f33a, clean = 0,
 simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved =
 0, array = {0}}, static shared_empty = {ref = {_q_value = 53}, alloc = 0,
 size = 0, data = 0x7f9019d3f85a, clean = 0, simpletext = 0, righttoleft =
 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d =
 0x7fff226bb710, static codecForCStrings = 0x0},
     primary_key=
       {static null = {<No data fields>}, static shared_null = {ref =
 {_q_value = 3117}, alloc = 0, size = 0, data = 0x92f33a, clean = 0,
 simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved =
 0, array = {0}}, static shared_empty = {ref = {_q_value = 53}, alloc = 0,
 size = 0, data = 0x7f9019d3f85a, clean = 0, simpletext = 0, righttoleft =
 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d =
 0x7fff226bb700, static codecForCStrings = 0x0},
     geom_col=
       {static null = {<No data fields>}, static shared_null = {ref =
 {_q_value = 3117}, alloc = 0, size = 0, data = 0x92f33a, clean = 0,
 simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved =
 0, array = {0}}, static shared_empty = {ref = {_q_value = 53}, alloc = 0,
 size = 0, data = 0x7f9019d3f85a, clean = 0, simpletext = 0, righttoleft =
 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d =
 0x7fff226bb6f0, static codecForCStrings = 0x0}, srid=
       {static null = {<No data fields>}, static shared_null = {ref =
 {_q_value = 3117}, alloc = 0, size = 0, data = 0x92f33a, clean = 0,
 simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved =
 0, array = {0}}, static shared_empty = {ref = {_q_value = 53}, alloc = 0,
 size = 0, data = 0x7f9019d3f85a, clean = 0, simpletext = 0, righttoleft =
 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d =
 0x7fff226bb6e0, static codecForCStrings = 0x0},
     conn=0x3ee7ce0, pro=@0x7fff226ba790, fin=@0x7fff226ba90f,
     errorText=@0x7fff226ba870)
     at /home/shoofi/src/straight/qgis-
 trunk/src/plugins/spit/qgsshapefile.cpp:301
 #3  0x00007f90057f3886 in QgsSpit::import (this=0x1a02230)
     at /home/shoofi/src/straight/qgis-
 trunk/src/plugins/spit/qgsspit.cpp:772
 #4  0x00007f9005810f35 in QgsSpit::on_buttonBox_accepted (this=0x1a02230)
     at /home/shoofi/src/straight/qgis-
 trunk/build/src/plugins/spit/../../../../src/plugins/spit/qgsspit.h:84
 #5  0x00007f9005810c9b in QgsSpit::qt_metacall (this=0x1a02230,
     _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fff226bbac0)
     at /home/shoofi/src/straight/qgis-
 trunk/build/src/plugins/spit/moc_qgsspit.cxx:90
 #6  0x00007f9019a6c764 in QMetaObject::activate () from
 /usr/lib/libQtCore.so.4
 #7  0x00007f90192bb221 in QDialogButtonBox::qt_metacall ()
    from /usr/lib/libQtGui.so.4
 #8  0x00007f9019a6c764 in QMetaObject::activate () from
 /usr/lib/libQtCore.so.4
 #9  0x00007f90195056e7 in QAbstractButton::clicked ()
    from /usr/lib/libQtGui.so.4
 #10 0x00007f901928b53b in ?? () from /usr/lib/libQtGui.so.4
 #11 0x00007f901928d082 in ?? () from /usr/lib/libQtGui.so.4
 #12 0x00007f901928d2d5 in QAbstractButton::mouseReleaseEvent ()
    from /usr/lib/libQtGui.so.4
 #13 0x00007f9018fd93af in QWidget::event () from /usr/lib/libQtGui.so.4
 #14 0x00007f9018f86e5d in QApplicationPrivate::notify_helper ()
    from /usr/lib/libQtGui.so.4
 #15 0x00007f9018f8f39a in QApplication::notify () from
 /usr/lib/libQtGui.so.4
 #16 0x00007f9019a58411 in QCoreApplication::notifyInternal ()
    from /usr/lib/libQtCore.so.4
 #17 0x00007f9018f8e738 in QApplicationPrivate::sendMouseEvent ()
    from /usr/lib/libQtGui.so.4
 #18 0x00007f9018ff2719 in ?? () from /usr/lib/libQtGui.so.4
 #19 0x00007f9018ff15ef in QApplication::x11ProcessEvent ()
    from /usr/lib/libQtGui.so.4
 #20 0x00007f90190189cc in ?? () from /usr/lib/libQtGui.so.4
 #21 0x00007f9015b21892 in g_main_context_dispatch ()
    from /usr/lib/libglib-2.0.so.0
 #22 0x00007f9015b2501d in ?? () from /usr/lib/libglib-2.0.so.0
 #23 0x00007f9015b251db in g_main_context_iteration ()
    from /usr/lib/libglib-2.0.so.0
 #24 0x00007f9019a8083f in QEventDispatcherGlib::processEvents ()
    from /usr/lib/libQtCore.so.4
 #25 0x00007f901901816f in ?? () from /usr/lib/libQtGui.so.4
 #26 0x00007f9019a56d22 in QEventLoop::processEvents ()
    from /usr/lib/libQtCore.so.4
 #27 0x00007f9019a56ead in QEventLoop::exec () from /usr/lib/libQtCore.so.4
 #28 0x00007f9019a5937d in QCoreApplication::exec ()
    from /usr/lib/libQtCore.so.4
 #29 0x00000000004b1829 in main (argc=1, argv=0x7fff226bdb18)
     at /home/shoofi/src/straight/qgis-trunk/src/app/main.cpp:683
 (gdb)
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1241#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