[QGIS-trac] Re: [Quantum GIS] #1420: random freezes when bulit with
debug
Quantum GIS
qgis at qgis.org
Mon Nov 24 12:33:17 EST 2008
#1420: random freezes when bulit with debug
--------------------------------------------------------------+-------------
Reporter: msieczka | Owner: nobody
Type: bug | Status: new
Priority: critical: causes crash or data corruption | Milestone: Version 1.0.0
Component: GUI | Version: HEAD
Resolution: | Keywords:
Platform_version: | Platform: Linux
Must_fix: Yes | Status_info: 0
--------------------------------------------------------------+-------------
Comment (by msieczka):
Replying to [comment:1 jef]:
> Did you try to attach to the frozen process to get a backtrace?
So it happened again. This time whole Gnome freezed - such a total freeze
happened only once before, as far as I remeber. After killing QGIS from a
tty Gnome came back to it's normal state.
Here's the backtrace before I killed QGIS:
{{{
0x00007fdce9a13a2b in write () from /lib/libc.so.6
(gdb) bt
#0 0x00007fdce9a13a2b in write () from /lib/libc.so.6
#1 0x00007fdce99c190a in _IO_file_write () from /lib/libc.so.6
#2 0x00007fdce99c156a in ?? () from /lib/libc.so.6
#3 0x00007fdce99c184e in _IO_file_xsputn () from /lib/libc.so.6
#4 0x00007fdce999ac0a in ?? () from /lib/libc.so.6
#5 0x00007fdce9996436 in vfprintf () from /lib/libc.so.6
#6 0x00007fdce999fc08 in fprintf () from /lib/libc.so.6
#7 0x00000000004b270e in myMessageOutput (type=QtDebugMsg,
msg=0x7ffff5cb08f0 "/home/shoofi/src/straight/qgis-
trunk/src/core/qgsmaprenderer.cpp: 193: (adjustExtentToSize), Scale
(assuming meters as map units) = 1: 1388891.828683") at
/home/shoofi/src/straight/qgis-trunk/src/app/main.cpp:210
#8 0x00007fdcecf4e543 in qt_message_output () from
/usr/lib/libQtCore.so.4
#9 0x00007fdcecf4e9e4 in qDebug () from /usr/lib/libQtCore.so.4
#10 0x00007fdced44c1c3 in QgsLogger::debug (var=@0x7ffff5cb2c30,
val=1388891.8286826622, debuglevel=1,
file=0x7fdced587f08 "/home/shoofi/src/straight/qgis-
trunk/src/core/qgsmaprenderer.cpp", function=0x7fdced5884c0
"adjustExtentToSize", line=193)
at /home/shoofi/src/straight/qgis-trunk/src/core/qgslogger.cpp:127
#11 0x00007fdced45b183 in QgsMapRenderer::adjustExtentToSize
(this=0x1e3fbb0)
at /home/shoofi/src/straight/qgis-
trunk/src/core/qgsmaprenderer.cpp:193
#12 0x00007fdced45b340 in QgsMapRenderer::setOutputSize (this=0x1e3fbb0,
size=
{wd = 1024, ht = 616}, dpi=98)
at /home/shoofi/src/straight/qgis-
trunk/src/core/qgsmaprenderer.cpp:119
#13 0x00007fdced859228 in QgsMapCanvasMap::resize (this=0x1d92890, size=
{wd = 1024, ht = 616})
at /home/shoofi/src/straight/qgis-trunk/src/gui/qgsmapcanvasmap.cpp:52
#14 0x00007fdced854a69 in QgsMapCanvas::resizeEvent (this=0x1ebe1c0,
e=0x7ffff5cb3540)
at /home/shoofi/src/straight/qgis-trunk/src/gui/qgsmapcanvas.cpp:815
#15 0x00007fdcec5b4f58 in QWidget::event () from /usr/lib/libQtGui.so.4
#16 0x00007fdcecab117b in QGraphicsView::viewportEvent ()
from /usr/lib/libQtGui.so.4
#17 0x00007fdced03d658 in
QCoreApplicationPrivate::sendThroughObjectEventFilters () from
/usr/lib/libQtCore.so.4
#18 0x00007fdcec562a2c in QApplicationPrivate::notify_helper ()
from /usr/lib/libQtGui.so.4
#19 0x00007fdcec56a7da in QApplication::notify () from
/usr/lib/libQtGui.so.4
#20 0x00007fdced40e62e in QgsApplication::notify (this=0x7ffff5cb4ef0,
receiver=0x1e04fd0, event=0x7ffff5cb3540)
at /home/shoofi/src/straight/qgis-trunk/src/core/qgsapplication.cpp:78
#21 0x00007fdced03e381 in QCoreApplication::notifyInternal ()
from /usr/lib/libQtCore.so.4
#22 0x00007fdcec5eba64 in QWidgetPrivate::setGeometry_sys ()
from /usr/lib/libQtGui.so.4
#23 0x00007fdcec5b0157 in QWidget::setGeometry () from
/usr/lib/libQtGui.so.4
#24 0x00007fdcec93b064 in ?? () from /usr/lib/libQtGui.so.4
#25 0x00007fdcec93b616 in QAbstractScrollArea::event ()
from /usr/lib/libQtGui.so.4
#26 0x00007fdcec562a5d in QApplicationPrivate::notify_helper ()
from /usr/lib/libQtGui.so.4
#27 0x00007fdcec56a7da in QApplication::notify () from
/usr/lib/libQtGui.so.4
#28 0x00007fdced40e62e in QgsApplication::notify (this=0x7ffff5cb4ef0,
receiver=0x1ebe1c0, event=0x7ffff5cb3ec0)
at /home/shoofi/src/straight/qgis-trunk/src/core/qgsapplication.cpp:78
#29 0x00007fdced03e381 in QCoreApplication::notifyInternal ()
from /usr/lib/libQtCore.so.4
#30 0x00007fdcec5eba64 in QWidgetPrivate::setGeometry_sys ()
from /usr/lib/libQtGui.so.4
#31 0x00007fdcec5b0157 in QWidget::setGeometry () from
/usr/lib/libQtGui.so.4
#32 0x00007fdcec94fd24 in ?? () from /usr/lib/libQtGui.so.4
#33 0x00007fdcecaecf38 in ?? () from /usr/lib/libQtGui.so.4
#34 0x00007fdced0526d4 in QMetaObject::activate () from
/usr/lib/libQtCore.so.4
#35 0x00007fdced04cfe3 in QObject::event () from /usr/lib/libQtCore.so.4
#36 0x00007fdcec562a5d in QApplicationPrivate::notify_helper ()
from /usr/lib/libQtGui.so.4
#37 0x00007fdcec56a7da in QApplication::notify () from
/usr/lib/libQtGui.so.4
#38 0x00007fdced40e62e in QgsApplication::notify (this=0x7ffff5cb4ef0,
receiver=0x1d80fa0, event=0x7ffff5cb4950)
at /home/shoofi/src/straight/qgis-trunk/src/core/qgsapplication.cpp:78
#39 0x00007fdced03e381 in QCoreApplication::notifyInternal ()
from /usr/lib/libQtCore.so.4
#40 0x00007fdced06a256 in ?? () from /usr/lib/libQtCore.so.4
#41 0x00007fdced0667ad in ?? () from /usr/lib/libQtCore.so.4
#42 0x00007fdce8ea178b in g_main_context_dispatch ()
from /usr/lib/libglib-2.0.so.0
#43 0x00007fdce8ea4f5d in ?? () from /usr/lib/libglib-2.0.so.0
#44 0x00007fdce8ea511b in g_main_context_iteration ()
from /usr/lib/libglib-2.0.so.0
#45 0x00007fdced06670f in QEventDispatcherGlib::processEvents ()
from /usr/lib/libQtCore.so.4
#46 0x00007fdcec5f444f in ?? () from /usr/lib/libQtGui.so.4
#47 0x00007fdced03cca2 in QEventLoop::processEvents ()
from /usr/lib/libQtCore.so.4
#48 0x00007fdced03ce2d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#49 0x00007fdced03f2dd in QCoreApplication::exec ()
from /usr/lib/libQtCore.so.4
#50 0x00000000004b5599 in main (argc=1, argv=0x7ffff5cb55e8)
at /home/shoofi/src/straight/qgis-trunk/src/app/main.cpp:683
(gdb) detach
Detaching from program: /usr/local/bin/qgis, process 6438
(gdb) q
}}}
--
Ticket URL: <http://trac.osgeo.org/qgis/ticket/1420#comment:2>
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