Bug 405324 - KDE Marble crahses when zooming in with Vector OSM background map
Summary: KDE Marble crahses when zooming in with Vector OSM background map
Status: RESOLVED DUPLICATE of bug 405006
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Mageia RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: marble-bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-03-10 16:58 UTC by andrew brewster
Modified: 2019-03-24 12:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Video of error happening as the map scale changes (3.17 MB, video/webm)
2019-03-10 17:27 UTC, andrew brewster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description andrew brewster 2019-03-10 16:58:57 UTC
Application: marble (2.2.20 (2.3 development version))

Qt Version: 5.12.1
Frameworks Version: 5.55.0
Operating System: Linux 4.20.9-desktop-1.mga7 x86_64
Distribution: "Mageia 7"

-- Information about the crash:
- What I was doing when the application crashed:

Zooming in to a location.
Consistenly happens when there is a change of map scale and a new set of tiles/vector info loads. Scale is not easily seem, but the map change and crash happens as the shown altitude changes from above, to below 15km.

The crash can be reproduced every time.

-- Backtrace:
Application: Marble Virtual Globe (marble), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
futex_wait_cancelable (private=0, expected=0, futex_word=0x7fffbb071888) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
88	  int err = lll_futex_timed_wait (futex_word, expected, NULL, private);
[Current thread is 1 (Thread 0x7f55ce5a5800 (LWP 31324))]

Thread 5 (Thread 0x7f55b8c4f700 (LWP 31966)):
[KCrash Handler]
#7  0x00007f55c1a7d67d in o5mreader_readStrPair (pReader=0x22860a0, tagpair=0x22860d8, single=0) at /usr/src/debug/marble-18.12.2-1.mga7.x86_64/src/3rdparty/o5mreader/o5mreader.cpp:76
#8  0x00007f55c1a7e134 in o5mreader_iterateTags (pVal=0x0, pKey=0x0, pReader=0x22860a0) at /usr/src/debug/marble-18.12.2-1.mga7.x86_64/src/3rdparty/o5mreader/o5mreader.cpp:331
#9  o5mreader_iterateTags (pReader=0x22860a0, pKey=0x0, pVal=0x0) at /usr/src/debug/marble-18.12.2-1.mga7.x86_64/src/3rdparty/o5mreader/o5mreader.cpp:310
#10 0x00007f55c1a7e384 in o5mreader_skipTags (pReader=<optimized out>) at /usr/src/debug/marble-18.12.2-1.mga7.x86_64/src/3rdparty/o5mreader/o5mreader.cpp:345
#11 o5mreader_skipTags (pReader=0x22860a0) at /usr/src/debug/marble-18.12.2-1.mga7.x86_64/src/3rdparty/o5mreader/o5mreader.cpp:342
#12 o5mreader_iterateDataSet (pReader=0x22860a0, ds=0x7f55b8c4eab0) at /usr/src/debug/marble-18.12.2-1.mga7.x86_64/src/3rdparty/o5mreader/o5mreader.cpp:221
#13 0x00007f55c1a55b1f in Marble::OsmParser::parseO5m (filename=..., error=...) at /usr/src/debug/marble-18.12.2-1.mga7.x86_64/src/plugins/runner/osm/OsmParser.cpp:67
#14 0x00007f55c1a5a672 in Marble::OsmParser::parse (filename=..., error=...) at /usr/src/debug/marble-18.12.2-1.mga7.x86_64/src/plugins/runner/osm/OsmParser.cpp:41
#15 0x00007f55c1a5f605 in Marble::OsmRunner::parseFile (this=<optimized out>, fileName=..., role=Marble::UserDocument, error=...) at /usr/src/debug/marble-18.12.2-1.mga7.x86_64/src/plugins/runner/osm/OsmRunner.cpp:26
#16 0x00007f55cf72d699 in Marble::TileLoader::openVectorFile (this=<optimized out>, fileName=...) at /usr/src/debug/marble-18.12.2-1.mga7.x86_64/src/lib/marble/TileLoader.cpp:336
#17 0x00007f55cf72e188 in Marble::TileLoader::loadTileVectorData (this=0x1832198, textureLayer=<optimized out>, tileId=..., usage=usage@entry=Marble::DownloadBrowse) at /usr/src/debug/marble-18.12.2-1.mga7.x86_64/src/lib/marble/TileLoader.cpp:124
#18 0x00007f55cf7813a2 in Marble::TileRunner::run (this=0x21b5900) at /usr/src/debug/marble-18.12.2-1.mga7.x86_64/src/lib/marble/VectorTileModel.cpp:39
#19 0x00007f55cdb48721 in QThreadPoolThread::run (this=0x2a2b4f0) at thread/qthreadpool.cpp:99
#20 0x00007f55cdb452f3 in QThreadPrivate::start (arg=0x2a2b4f0) at thread/qthread_unix.cpp:361
#21 0x00007f55ccdb904c in start_thread (arg=0x7f55b8c4f700) at pthread_create.c:486
#22 0x00007f55cd81525f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f55c27cf700 (LWP 31613)):
#0  0x00007f55cc06c249 in g_main_context_prepare (context=context@entry=0x7f55b4000bf0, priority=priority@entry=0x7f55c27ceca8) at gmain.c:3495
#1  0x00007f55cc06cba3 in g_main_context_iterate (context=context@entry=0x7f55b4000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3900
#2  0x00007f55cc06cd7c in g_main_context_iteration (context=0x7f55b4000bf0, may_block=may_block@entry=1) at gmain.c:3981
#3  0x00007f55cdd458db in QEventDispatcherGlib::processEvents (this=0x7f55b4000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f55cdcf3ccb in QEventLoop::exec (this=this@entry=0x7f55c27cede0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007f55cdb44086 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x00007f55cdb452f3 in QThreadPrivate::start (arg=0x171e7b0) at thread/qthread_unix.cpp:361
#7  0x00007f55ccdb904c in start_thread (arg=0x7f55c27cf700) at pthread_create.c:486
#8  0x00007f55cd81525f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f55c39e7700 (LWP 31612)):
#0  __GI___libc_read (nbytes=16, buf=0x7f55c39e6ba0, fd=7) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=7, buf=buf@entry=0x7f55c39e6ba0, nbytes=nbytes@entry=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f55cc0b1050 in read (__nbytes=16, __buf=0x7f55c39e6ba0, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#3  g_wakeup_acknowledge (wakeup=0x169f7b0) at gwakeup.c:210
#4  0x00007f55cc06c7cb in g_main_context_check (context=context@entry=0x7f55bc000bf0, max_priority=2147483647, fds=fds@entry=0x7f55bc01a310, n_fds=n_fds@entry=1) at gmain.c:3698
#5  0x00007f55cc06cc18 in g_main_context_iterate (context=context@entry=0x7f55bc000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3917
#6  0x00007f55cc06cd7c in g_main_context_iteration (context=0x7f55bc000bf0, may_block=may_block@entry=1) at gmain.c:3981
#7  0x00007f55cdd458db in QEventDispatcherGlib::processEvents (this=0x7f55bc000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#8  0x00007f55cdcf3ccb in QEventLoop::exec (this=this@entry=0x7f55c39e6db0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#9  0x00007f55cdb44086 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#10 0x00007f55cec0dd05 in ?? () from /lib64/libQt5DBus.so.5
#11 0x00007f55cdb452f3 in QThreadPrivate::start (arg=0x7f55cec8bdc0) at thread/qthread_unix.cpp:361
#12 0x00007f55ccdb904c in start_thread (arg=0x7f55c39e7700) at pthread_create.c:486
#13 0x00007f55cd81525f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f55c930f700 (LWP 31610)):
#0  0x00007f55cd809499 in __GI___poll (fds=0x7f55c930ece8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f55cbec4cd7 in ?? () from /lib64/libxcb.so.1
#2  0x00007f55cbec682a in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f55c967e1a8 in ?? () from /lib64/libQt5XcbQpa.so.5
#4  0x00007f55cdb452f3 in QThreadPrivate::start (arg=0x1659d50) at thread/qthread_unix.cpp:361
#5  0x00007f55ccdb904c in start_thread (arg=0x7f55c930f700) at pthread_create.c:486
#6  0x00007f55cd81525f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f55ce5a5800 (LWP 31324)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x7fffbb071888) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x1644b08, cond=0x7fffbb071860) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x7fffbb071860, mutex=0x1644b08) at pthread_cond_wait.c:655
#3  0x00007f55cbec4ee2 in ?? () from /lib64/libxcb.so.1
#4  0x00007f55cbec656f in ?? () from /lib64/libxcb.so.1
#5  0x00007f55cbec6682 in xcb_wait_for_reply () from /lib64/libxcb.so.1
#6  0x00007f55c96540ea in QXcbConnection::sync() () from /lib64/libQt5XcbQpa.so.5
#7  0x00007f55c9670145 in ?? () from /lib64/libQt5XcbQpa.so.5
#8  0x00007f55c96703f0 in ?? () from /lib64/libQt5XcbQpa.so.5
#9  0x00007f55ce2c27f0 in QBackingStore::beginPaint(QRegion const&) () from /lib64/libQt5Gui.so.5
#10 0x00007f55ce71d25e in ?? () from /lib64/libQt5Widgets.so.5
#11 0x00007f55ce71d7c1 in ?? () from /lib64/libQt5Widgets.so.5
#12 0x00007f55ce7344b5 in QWidgetPrivate::syncBackingStore() () from /lib64/libQt5Widgets.so.5
#13 0x00007f55ce74ad08 in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#14 0x00007f55ce84a274 in QMainWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#15 0x00007f55cf2b85e7 in KMainWindow::event(QEvent*) () from /lib64/libKF5XmlGui.so.5
#16 0x00007f55cf2ffed5 in KXmlGuiWindow::event(QEvent*) () from /lib64/libKF5XmlGui.so.5
#17 0x00007f55ce70de71 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#18 0x00007f55ce714e80 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#19 0x00007f55cdcf4f19 in QCoreApplication::notifyInternal2 (receiver=0x171ff50, event=0x2f94280) at ../../include/QtCore/5.12.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:322
#20 0x00007f55cdcf7d98 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x15f0740) at kernel/qcoreapplication.cpp:1799
#21 0x00007f55cdd46273 in postEventSourceDispatch (s=0x169d5e0) at kernel/qeventdispatcher_glib.cpp:276
#22 0x00007f55cc06c975 in g_main_dispatch (context=0x7f55c4004ff0) at gmain.c:3182
#23 g_main_context_dispatch (context=context@entry=0x7f55c4004ff0) at gmain.c:3847
#24 0x00007f55cc06ccf8 in g_main_context_iterate (context=context@entry=0x7f55c4004ff0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3920
#25 0x00007f55cc06cd7c in g_main_context_iteration (context=0x7f55c4004ff0, may_block=may_block@entry=1) at gmain.c:3981
#26 0x00007f55cdd458c3 in QEventDispatcherGlib::processEvents (this=0x16a5b30, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#27 0x00007f55cdcf3ccb in QEventLoop::exec (this=0x7fffbb072340, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#28 0x00007f55ce87497d in QMenu::exec(QPoint const&, QAction*) () from /lib64/libQt5Widgets.so.5
#29 0x00007f55c1b11451 in Marble::NavigationFloatItem::contextMenuEvent (this=<optimized out>, w=0x1724600, e=0x7fffbb072750) at /usr/lib64/qt5/include/QtGui/qevent.h:527
#30 0x00007f55cf754896 in Marble::AbstractFloatItem::eventFilter (e=0x7fffbb072750, object=0x1724600, this=0x1870fb0) at /usr/src/debug/marble-18.12.2-1.mga7.x86_64/src/lib/marble/AbstractFloatItem.cpp:184
#31 Marble::AbstractFloatItem::eventFilter (this=this@entry=0x1870fb0, object=object@entry=0x1724600, e=e@entry=0x7fffbb072750) at /usr/src/debug/marble-18.12.2-1.mga7.x86_64/src/lib/marble/AbstractFloatItem.cpp:172
#32 0x00007f55c1b130c4 in Marble::NavigationFloatItem::eventFilter (this=0x1870fb0, object=0x1724600, e=0x7fffbb072750) at /usr/src/debug/marble-18.12.2-1.mga7.x86_64/src/plugins/render/navigation/NavigationFloatItem.cpp:193
#33 0x00007f55cdcf4c33 in QCoreApplicationPrivate::sendThroughObjectEventFilters (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.cpp:1186
#34 QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=0x1724600, event=0x7fffbb072750) at kernel/qcoreapplication.cpp:1175
#35 0x00007f55ce70de61 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#36 0x00007f55ce7150c0 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#37 0x00007f55cdcf4f19 in QCoreApplication::notifyInternal2 (receiver=0x1724600, event=0x7fffbb072750) at ../../include/QtCore/5.12.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:322
#38 0x00007f55ce7650d8 in ?? () from /lib64/libQt5Widgets.so.5
#39 0x00007f55ce767948 in ?? () from /lib64/libQt5Widgets.so.5
#40 0x00007f55ce70de71 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#41 0x00007f55ce714e80 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#42 0x00007f55cdcf4f19 in QCoreApplication::notifyInternal2 (receiver=0x1eac4b0, event=0x7fffbb072b40) at ../../include/QtCore/5.12.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:322
#43 0x00007f55ce136d0b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#44 0x00007f55ce138065 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /lib64/libQt5Gui.so.5
#45 0x00007f55ce1134cb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#46 0x00007f55c967f05a in ?? () from /lib64/libQt5XcbQpa.so.5
#47 0x00007f55cc06c975 in g_main_dispatch (context=0x7f55c4004ff0) at gmain.c:3182
#48 g_main_context_dispatch (context=context@entry=0x7f55c4004ff0) at gmain.c:3847
#49 0x00007f55cc06ccf8 in g_main_context_iterate (context=context@entry=0x7f55c4004ff0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3920
#50 0x00007f55cc06cd7c in g_main_context_iteration (context=0x7f55c4004ff0, may_block=may_block@entry=1) at gmain.c:3981
#51 0x00007f55cdd458c3 in QEventDispatcherGlib::processEvents (this=0x16a5b30, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#52 0x00007f55cdcf3ccb in QEventLoop::exec (this=this@entry=0x7fffbb072ec0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#53 0x00007f55cdcfb938 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#54 0x00000000004230e2 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/marble-18.12.2-1.mga7.x86_64/src/apps/marble-kde/kdemain.cpp:449
[Inferior 1 (process 31324) detached]

The reporter indicates this bug may be a duplicate of or related to bug 405006.

Possible duplicates by query: bug 405006.

Reported using DrKonqi
Comment 1 andrew brewster 2019-03-10 17:27:04 UTC
Created attachment 118694 [details]
Video of error happening as the map scale changes

Video of Marble running in Virtualbox in Mageia 7 beta 2, showing setting of location, changing of background map from Atlas to VectorOSM, gradual zooming in and crash happening as the Altitude shown in the application status bar goes below 15km (14.6km), and some of the background map tiles change to a more detailed rendering.
Comment 2 Christoph Feck 2019-03-24 12:30:05 UTC

*** This bug has been marked as a duplicate of bug 405006 ***