[Merkaartor] Immediate crash after download with 0.17-dev-26-g9177716

Travers Carter tcarter at noggin.com.au
Sun Jun 13 04:24:10 BST 2010


Hi,

I'm seeing an immediate crash after downloading map data with the latest
git trunk, even after doing a make distclean and rebuilding.
This is on Fedora 13 x86_64 w/ Qt 4.6.2

To replicate I just need to start merkaartor open the download dialog and
start a download - how it's chosen (bookmarks, slippy map etc.) and where
it is don't seem to matter.  The download progress bar opens and appears
to successfully fetch all the data, including resolving the relations, but
then merkaartor crashes before rendering anything.

If I load an existing document rather than downloading the problem the
crash doesn't happen.


[trav at stratus merkaartor3]$ gdb binaries/bin/merkaartor 
GNU gdb (GDB) Fedora (7.1-24.fc13)
Copyright (C) 2010 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-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/trav/svn/merkaartor3/binaries/bin/merkaartor...done.
(gdb) run
Starting program: /home/trav/svn/merkaartor3/binaries/bin/merkaartor 
[Thread debugging using libthread_db enabled]
****  "2010-06-13T13:11:54"  -- Starting  "Merkaartor 0.17(0.17-dev-26-g9177716)" 
------- "using QT version 4.6.2 (built with 4.6.2)" 
------- on X11 
------- with arguments:  ("/home/trav/svn/merkaartor3/binaries/bin/merkaartor") 
loadProjection  "/home/trav/.merkaartor/Projections.xml" 
loadProjection  "/usr/local/share/merkaartor/Projections.xml" 
loadProjection  ":/Projections.xml" 
loadFilter  "/home/trav/.merkaartor/Filters.xml" 
loadFilter  "/usr/local/share/merkaartor/Filters.xml" 
loadFilter  ":/Filters.xml" 
MerkaartorPreferences::fromOsmPref : "GET /api/0.6/user/preferences/" 
[New Thread 0x7fffed750710 (LWP 8319)]
[New Thread 0x7fffec83d710 (LWP 8320)]
Downloader::go:  "/api/0.6/map?bbox=151.047517,-33.755931,151.067044,-33.746797" 
Downloader::on_responseHeaderReceived:  200 "OK" 
Downloader::go:  "/api/0.6/relation/87488/full" 
Downloader::on_responseHeaderReceived:  200 "OK" 
Downloader::go:  "/api/0.6/relation/99121/full" 
Downloader::on_responseHeaderReceived:  200 "OK" 
Downloader::go:  "/api/0.6/relation/99122/full" 
Downloader::on_responseHeaderReceived:  200 "OK" 
Downloader::go:  "/api/0.6/relation/359323/full" 
Downloader::on_responseHeaderReceived:  200 "OK" 
Downloader::go:  "/api/0.6/relation/539837/full" 
Downloader::on_responseHeaderReceived:  200 "OK" 
Downloader::go:  "/api/0.6/relation/371377/full" 
Downloader::on_responseHeaderReceived:  200 "OK" 
Downloader::go:  "/api/0.6/relation/371383/full" 
Downloader::on_responseHeaderReceived:  200 "OK" 
Downloader::go:  "/api/0.6/relation/371384/full" 
Downloader::on_responseHeaderReceived:  200 "OK" 
Reindexing... 

Program received signal SIGSEGV, Segmentation fault.
0x0000003eadf1b7f8 in ?? () from /usr/lib64/libQtCore.so.4
Missing separate debuginfos, use: debuginfo-install OpenEXR-libs-1.6.1-8.fc12.x86_64 bzip2-libs-1.0.5-6.fc12.x86_64 dbus-libs-1.2.24-1.fc13.x86_64 expat-2.0.1-10.fc13.x86_64 flac-1.2.1-6.fc12.x86_64 
fontconfig-2.8.0-1.fc13.x86_64 freetype-2.3.11-3.fc13.x86_64 gamin-0.1.10-7.fc13.x86_64 glib2-2.24.1-1.fc13.x86_64 glibc-2.12-2.x86_64 ilmbase-1.0.1-6.fc12.x86_64 jasper-libs-1.900.1-15.fc13.x86_64 
kdebase-runtime-libs-4.4.3-1.fc13.1.x86_64 kdebase-workspace-libs-4.4.3-1.fc13.1.x86_64 kdelibs-4.4.3-2.fc13.x86_64 keyutils-libs-1.2-6.fc12.x86_64 krb5-libs-1.7.1-10.fc13.x86_64 lcms-
libs-1.19-1.fc13.x86_64 libICE-1.0.6-2.fc13.x86_64 libSM-1.1.0-7.fc12.x86_64 libX11-1.3.1-3.fc13.x86_64 libXau-1.0.5-1.fc12.x86_64 libXcursor-1.1.10-4.fc13.x86_64 libXext-1.1-2.fc13.x86_64 
libXfixes-4.0.4-2.fc13.x86_64 libXft-2.1.14-1.fc13.x86_64 libXi-1.3-2.fc13.x86_64 libXinerama-1.1-2.fc13.x86_64 libXpm-3.5.8-2.fc13.x86_64 libXrandr-1.3.0-5.fc13.x86_64 libXrender-0.9.5-1.fc13.x86_64 
libXtst-1.0.99.2-3.fc12.x86_64 libacl-2.2.49-5.fc13.x86_64 libasyncns-0.8-1.fc13.x86_64 libattr-2.4.44-3.fc13.x86_64 libcom_err-1.41.10-6.fc13.x86_64 libgcc-4.4.4-2.fc13.x86_64 libjpeg-6b-46.fc12.x86_64 
libmng-1.0.10-4.fc12.x86_64 libogg-1.2.0-1.fc13.x86_64 libpng-1.2.43-1.fc13.x86_64 libproxy-0.3.1-4.fc13.x86_64 libproxy-mozjs-0.3.1-4.fc13.x86_64 libselinux-2.0.90-5.fc13.x86_64 
libsndfile-1.0.20-5.fc13.x86_64 libstdc++-4.4.4-2.fc13.x86_64 libtiff-3.9.2-3.fc13.x86_64 libuuid-2.17.2-5.fc13.x86_64 libvorbis-1.3.1-1.fc13.x86_64 libxcb-1.5-1.fc13.x86_64 libxml2-2.7.7-1.fc13.x86_64 
nspr-4.8.4-2.fc13.x86_64 nss-mdns-0.10-8.fc12.x86_64 openssl-1.0.0-4.fc13.x86_64 phonon-4.4.1-2.fc13.x86_64 pulseaudio-libs-0.9.21-6.fc13.x86_64 pulseaudio-libs-glib2-0.9.21-6.fc13.x86_64 
qt-4.6.2-17.fc13.x86_64 qt-x11-4.6.2-17.fc13.x86_64 sqlite-3.6.22-1.fc13.x86_64 strigi-libs-0.7.2-2.fc13.x86_64 tcp_wrappers-libs-7.6-58.fc13.x86_64 xulrunner-1.9.2.3-1.fc13.x86_64 xz-
libs-4.999.9-0.2.beta.20091007git.fc13.x86_64 zlib-1.2.3-23.fc12.x86_64
(gdb) bt
#0  0x0000003eadf1b7f8 in ?? () from /usr/lib64/libQtCore.so.4
#1  0x0000003eadf1bf88 in QSettings::value(QString const&, QVariant const&) const () from /usr/lib64/libQtCore.so.4
#2  0x00000000005ebdf9 in MerkaartorPreferences::getRegionalZoom (this=0xc91aa0) at Preferences/MerkaartorPreferences.cpp:1209
#3  0x00000000006decd2 in BackgroundStyleLayer::draw (this=0xf35d08, R=0x15c2610) at Render/MapRenderer.cpp:42
#4  0x00000000006e08c2 in MapRenderer::render (this=0xf35cf8, P=0x7fffffff9d10, theFeatures=..., aView=0xe7cf70) at Render/MapRenderer.cpp:263
#5  0x00000000005097df in MapView::drawFeatures (this=0xe7cf70, P=...) at MapView.cpp:463
#6  0x000000000050a3f2 in MapView::updateStaticBuffer (this=0xe7cf70) at MapView.cpp:552
#7  0x0000000000506217 in MapView::paintEvent (this=0xe7cf70, anEvent=0x7fffffffa7e0) at MapView.cpp:207
#8  0x0000003eb15f569a in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#9  0x000000000050c30f in MapView::event (this=0xe7cf70, event=0x7fffffffa7e0) at MapView.cpp:941
#10 0x0000003eb15aaa0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#11 0x0000003eb15b09db in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#12 0x0000003eadf57cdc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#13 0x0000003eb15fd26c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib64/libQtGui.so.4
#14 0x0000003eb15fdef8 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from 
/usr/lib64/libQtGui.so.4
#15 0x0000003eb15fdd29 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from 
/usr/lib64/libQtGui.so.4
#16 0x0000003eb15fdd29 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from 
/usr/lib64/libQtGui.so.4
#17 0x0000003eb15fdd29 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from 
/usr/lib64/libQtGui.so.4
#18 0x0000003eb15fcfca in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib64/libQtGui.so.4
#19 0x0000003eb17a11d5 in ?? () from /usr/lib64/libQtGui.so.4
#20 0x0000003eb15ef650 in QWidgetPrivate::syncBackingStore() () from /usr/lib64/libQtGui.so.4
#21 0x0000003eb15f5da3 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#22 0x0000003eb198a09b in QMainWindow::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#23 0x0000003eb15aaa0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#24 0x0000003eb15b09db in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#25 0x0000003eadf57cdc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#26 0x0000003eb179e847 in ?? () from /usr/lib64/libQtGui.so.4
#27 0x0000003eb17a19d6 in ?? () from /usr/lib64/libQtGui.so.4
#28 0x0000003eb15f1c0b in QWidget::repaint(QRect const&) () from /usr/lib64/libQtGui.so.4
#29 0x0000003eb15f1cd3 in QWidget::repaint() () from /usr/lib64/libQtGui.so.4
#30 0x0000003eb1930318 in ?? () from /usr/lib64/libQtGui.so.4
#31 0x0000003eb19305ac in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4
#32 0x0000003eb19eb32a in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4
---Type <return> to continue, or q <return> to quit---
#33 0x0000003eb15f5aba in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#34 0x0000003eb15aaa0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#35 0x0000003eb15b11ad in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#36 0x0000003eadf57cdc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#37 0x0000003eb15b039e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /usr/lib64/libQtGui.so.4
#38 0x0000003eb16223c5 in ?? () from /usr/lib64/libQtGui.so.4
#39 0x0000003eb1620d3c in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#40 0x0000003eb1649d12 in ?? () from /usr/lib64/libQtGui.so.4
#41 0x0000003ea463bd02 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#42 0x0000003ea463fae8 in ?? () from /lib64/libglib-2.0.so.0
#43 0x0000003ea463fc9c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#44 0x0000003eadf7d603 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#45 0x0000003eb16499de in ?? () from /usr/lib64/libQtGui.so.4
#46 0x0000003eadf56722 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#47 0x0000003eadf569ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#48 0x0000003eadf58cd9 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#49 0x00000000005317ea in main (argc=1, argv=0x7fffffffdf48) at Main.cpp:232


-- 
Travers Carter




More information about the Merkaartor mailing list