Bug 313941 - Marble crashes when entering geographical coordinates
Summary: Marble crashes when entering geographical coordinates
Status: RESOLVED WORKSFORME
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: marble-bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-26 23:12 UTC by stephengw
Modified: 2020-12-05 23:45 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
It appears this crash report is more useful (19.47 KB, text/plain)
2013-01-31 09:44 UTC, David Smith
Details
BT Full Backtrace (63.57 KB, text/plain)
2013-01-31 12:35 UTC, David Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stephengw 2013-01-26 23:12:31 UTC
Application: marble (1.3.4 (stable release))
KDE Platform Version: 4.8.5 (4.8.5) "release 2"
Qt Version: 4.8.1
Operating System: Linux 3.4.11-2.16-desktop x86_64
Distribution: "openSUSE 12.2 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Entering geographical coordinates in search box in Navigation tab

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".
[Current thread is 1 (Thread 0x7f9f37a51780 (LWP 19555))]

Thread 9 (Thread 0x7f9f24e9f700 (LWP 19556)):
#0  0x00007fffce75b607 in ?? ()
#1  0x00007fffce75b89c in clock_gettime ()
#2  0x00007f9f2e860f7d in clock_gettime () from /lib64/librt.so.1
#3  0x00007f9f35aeea24 in do_gettime (frac=0x7f9f24e9eb58, sec=0x7f9f24e9eb50) at tools/qelapsedtimer_unix.cpp:123
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#5  0x00007f9f35bc115d in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f9f20002860) at kernel/qeventdispatcher_unix.cpp:343
#6  0x00007f9f35bc14a3 in QTimerInfoList::timerWait (this=0x7f9f20002860, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#7  0x00007f9f35bc001c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f9f24e9ec4c) at kernel/qeventdispatcher_glib.cpp:136
#8  0x00007f9f35bc00c5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#9  0x00007f9f2e5afebf in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#10 0x00007f9f2e5b05ab in ?? () from /usr/lib64/libglib-2.0.so.0
#11 0x00007f9f2e5b07a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#12 0x00007f9f35bc0956 in QEventDispatcherGlib::processEvents (this=0x7f9f200008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#13 0x00007f9f35b9173f in QEventLoop::processEvents (this=this@entry=0x7f9f24e9edf0, flags=...) at kernel/qeventloop.cpp:149
#14 0x00007f9f35b919c8 in QEventLoop::exec (this=0x7f9f24e9edf0, flags=...) at kernel/qeventloop.cpp:204
#15 0x00007f9f35a95e40 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#16 0x00007f9f35b7211f in QInotifyFileSystemWatcherEngine::run (this=0x1877d30) at io/qfilesystemwatcher_inotify.cpp:248
#17 0x00007f9f35a98ddb in QThreadPrivate::start (arg=0x1877d30) at thread/qthread_unix.cpp:298
#18 0x00007f9f33706e0e in start_thread () from /lib64/libpthread.so.0
#19 0x00007f9f344592cd in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f9f1de7f700 (LWP 19557)):
#0  0x00007f9f3445114f in poll () from /lib64/libc.so.6
#1  0x00007f9f2e5b0684 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f9f2e5b07a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f9f35bc0956 in QEventDispatcherGlib::processEvents (this=0x7f9f180008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f9f35b9173f in QEventLoop::processEvents (this=this@entry=0x7f9f1de7edf0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f9f35b919c8 in QEventLoop::exec (this=0x7f9f1de7edf0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f9f35a95e40 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f9f35b7211f in QInotifyFileSystemWatcherEngine::run (this=0x198f7e0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f9f35a98ddb in QThreadPrivate::start (arg=0x198f7e0) at thread/qthread_unix.cpp:298
#9  0x00007f9f33706e0e in start_thread () from /lib64/libpthread.so.0
#10 0x00007f9f344592cd in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f9f11238700 (LWP 19567)):
[KCrash Handler]
#5  QModelIndex (other=..., this=<synthetic pointer>) at /usr/include/QtCore/qabstractitemmodel.h:65
#6  KDescendantsProxyModel::mapToSource (this=<optimized out>, proxyIndex=...) at /usr/src/debug/marble-4.8.5/src/lib/kdescendantsproxymodel.cpp:364
#7  0x00007f9f37028f4c in KDescendantsProxyModel::data (this=0x1b672e0, index=..., role=0) at /usr/src/debug/marble-4.8.5/src/lib/kdescendantsproxymodel.cpp:494
#8  0x00007f9f354c3fed in QSortFilterProxyModel::data (this=<optimized out>, index=..., role=0) at itemviews/qsortfilterproxymodel.cpp:1718
#9  0x00007f9f35b89c1d in QAbstractItemModel::match (this=0x1b672f8, start=..., role=0, value=..., hits=-1, flags=...) at kernel/qabstractitemmodel.cpp:2081
#10 0x00007f9f354c4741 in QSortFilterProxyModel::match (this=this@entry=0x1b672f8, start=..., role=role@entry=0, value=..., hits=hits@entry=-1, flags=...) at itemviews/qsortfilterproxymodel.cpp:2011
#11 0x00007f9f1e4e8d12 in Marble::LocalDatabaseRunner::search (this=0x7f9efc004230, searchTerm=...) at /usr/src/debug/marble-4.8.5/src/plugins/runner/localdatabase/LocalDatabaseRunner.cpp:56
#12 0x00007f9f370ede4c in Marble::SearchTask::runTask (this=0x29d06c0) at /usr/src/debug/marble-4.8.5/src/lib/RunnerTask.cpp:62
#13 0x00007f9f370edece in Marble::RunnerTask::run (this=0x29d06c0) at /usr/src/debug/marble-4.8.5/src/lib/RunnerTask.cpp:33
#14 0x00007f9f35a8c9ed in QThreadPoolThread::run (this=0x7f9f04003260) at concurrent/qthreadpool.cpp:107
#15 0x00007f9f35a98ddb in QThreadPrivate::start (arg=0x7f9f04003260) at thread/qthread_unix.cpp:298
#16 0x00007f9f33706e0e in start_thread () from /lib64/libpthread.so.0
#17 0x00007f9f344592cd in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f9f10a37700 (LWP 19568)):
#0  0x00007f9f3444d1ed in read () from /lib64/libc.so.6
#1  0x00007f9f2e5eb82f in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f9f2e5b0209 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f9f2e5b0622 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f9f2e5b07a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f9f35bc0956 in QEventDispatcherGlib::processEvents (this=0x7f9f040028d0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f9f35b9173f in QEventLoop::processEvents (this=this@entry=0x7f9f10a36d90, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f9f35b919c8 in QEventLoop::exec (this=0x7f9f10a36d90, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f9f1ce37db5 in Marble::OsmNominatimRunner::search (this=0x7f9f040527f0, searchTerm=...) at /usr/src/debug/marble-4.8.5/src/plugins/runner/nominatim/OsmNominatimRunner.cpp:76
#9  0x00007f9f370ede4c in Marble::SearchTask::runTask (this=0x29d0b30) at /usr/src/debug/marble-4.8.5/src/lib/RunnerTask.cpp:62
#10 0x00007f9f370edece in Marble::RunnerTask::run (this=0x29d0b30) at /usr/src/debug/marble-4.8.5/src/lib/RunnerTask.cpp:33
#11 0x00007f9f35a8c9ed in QThreadPoolThread::run (this=0x7f9f04003720) at concurrent/qthreadpool.cpp:107
#12 0x00007f9f35a98ddb in QThreadPrivate::start (arg=0x7f9f04003720) at thread/qthread_unix.cpp:298
#13 0x00007f9f33706e0e in start_thread () from /lib64/libpthread.so.0
#14 0x00007f9f344592cd in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f9f12a3b700 (LWP 19569)):
#0  0x00007f9f3445114f in poll () from /lib64/libc.so.6
#1  0x00007f9f2e5b0684 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f9f2e5b07a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f9f35bc0956 in QEventDispatcherGlib::processEvents (this=0x7f9f00003110, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f9f35b9173f in QEventLoop::processEvents (this=this@entry=0x7f9f12a3add0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f9f35b919c8 in QEventLoop::exec (this=0x7f9f12a3add0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f9f35a95e40 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f9f37089488 in Marble::FileStorageWatcher::run (this=0x1b67260) at /usr/src/debug/marble-4.8.5/src/lib/FileStorageWatcher.cpp:401
#8  0x00007f9f35a98ddb in QThreadPrivate::start (arg=0x1b67260) at thread/qthread_unix.cpp:298
#9  0x00007f9f33706e0e in start_thread () from /lib64/libpthread.so.0
#10 0x00007f9f344592cd in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f9f13a3d700 (LWP 19582)):
#0  0x00007f9f33709d9f in __pthread_mutex_unlock_usercnt () from /lib64/libpthread.so.0
#1  0x00007f9f2e5ec4a1 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f9f2e5af876 in g_main_context_acquire () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f9f2e5b0564 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f9f2e5b07a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f9f35bc0956 in QEventDispatcherGlib::processEvents (this=0x7f9ef000ae20, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f9f35b9173f in QEventLoop::processEvents (this=this@entry=0x7f9f13a3ce20, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f9f35b919c8 in QEventLoop::exec (this=0x7f9f13a3ce20, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f9f35a95e40 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f9f35a98ddb in QThreadPrivate::start (arg=0x7f9f0400c840) at thread/qthread_unix.cpp:298
#10 0x00007f9f33706e0e in start_thread () from /lib64/libpthread.so.0
#11 0x00007f9f344592cd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f9f0ad3b700 (LWP 19584)):
#0  idleTimerSourcePrepare (source=0x7f9eec02d5c0, timeout=0x7f9f0ad3ac7c) at kernel/qeventdispatcher_glib.cpp:208
#1  0x00007f9f2e5afebf in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f9f2e5b05ab in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f9f2e5b07a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f9f35bc0956 in QEventDispatcherGlib::processEvents (this=0x7f9eec002960, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f9f35b9173f in QEventLoop::processEvents (this=this@entry=0x7f9f0ad3ae20, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f9f35b919c8 in QEventLoop::exec (this=0x7f9f0ad3ae20, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f9f35a95e40 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f9f35a98ddb in QThreadPrivate::start (arg=0x7f9efc002610) at thread/qthread_unix.cpp:298
#9  0x00007f9f33706e0e in start_thread () from /lib64/libpthread.so.0
#10 0x00007f9f344592cd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f9eeb7e6700 (LWP 19622)):
#0  0x00007f9f2e5b06e0 in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f9f2e5b07a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f9f35bc0956 in QEventDispatcherGlib::processEvents (this=0x7f9ee00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#3  0x00007f9f35b9173f in QEventLoop::processEvents (this=this@entry=0x7f9eeb7e5e20, flags=...) at kernel/qeventloop.cpp:149
#4  0x00007f9f35b919c8 in QEventLoop::exec (this=0x7f9eeb7e5e20, flags=...) at kernel/qeventloop.cpp:204
#5  0x00007f9f35a95e40 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#6  0x00007f9f35a98ddb in QThreadPrivate::start (arg=0x7f9f04003d10) at thread/qthread_unix.cpp:298
#7  0x00007f9f33706e0e in start_thread () from /lib64/libpthread.so.0
#8  0x00007f9f344592cd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f9f37a51780 (LWP 19555)):
#0  0x00007f9f3370a8f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f9f35a992db in wait (time=18446744073709551615, this=0x173f520) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x173d428, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f9f35a8c1bf in QThreadPoolPrivate::waitForDone (this=0x173d3a0, msecs=msecs@entry=-1) at concurrent/qthreadpool.cpp:298
#4  0x00007f9f35a8dc6d in QThreadPool::~QThreadPool (this=0x17394c0, __in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:440
#5  0x00007f9f35a8dca9 in QThreadPool::~QThreadPool (this=0x17394c0, __in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:442
#6  0x00007f9f35a8dcd5 in QGlobalStaticDeleter<QThreadPool>::~QGlobalStaticDeleter (this=0x7f9f35ee8fc8 <theInstance()::cleanup>, __in_chrg=<optimized out>) at ../../src/corelib/global/qglobal.h:1922
#7  0x00007f9f343ac8b1 in __run_exit_handlers () from /lib64/libc.so.6
#8  0x00007f9f343ac935 in exit () from /lib64/libc.so.6
#9  0x00007f9f34fa8328 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:770
#10 0x00007f9f365ecde8 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib64/libkdeui.so.5
#11 0x00007f9f31125c4e in _XIOError () from /usr/lib64/libX11.so.6
#12 0x00007f9f311236ed in _XEventsQueued () from /usr/lib64/libX11.so.6
#13 0x00007f9f31114bfb in XEventsQueued () from /usr/lib64/libX11.so.6
#14 0x00007f9f34fde767 in x11EventSourcePrepare (s=0x1745880, timeout=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:77
#15 0x00007f9f2e5afebf in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#16 0x00007f9f2e5b05ab in ?? () from /usr/lib64/libglib-2.0.so.0
#17 0x00007f9f2e5b07a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#18 0x00007f9f35bc0936 in QEventDispatcherGlib::processEvents (this=0x1736e50, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#19 0x00007f9f34fde8ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#20 0x00007f9f35b9173f in QEventLoop::processEvents (this=this@entry=0x7fffce61d290, flags=...) at kernel/qeventloop.cpp:149
#21 0x00007f9f35b919c8 in QEventLoop::exec (this=0x7fffce61d290, flags=...) at kernel/qeventloop.cpp:204
#22 0x00007f9f35b963a8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#23 0x000000000041b5d8 in main (argc=1, argv=0x7fffce61d5b8) at /usr/src/debug/marble-4.8.5/src/kdemain.cpp:398

Possible duplicates by query: bug 273073.

Reported using DrKonqi
Comment 1 David Smith 2013-01-31 09:38:23 UTC
Same crash here using KDE 4.8.4 in Debian Wheezy (testing)....

I start up marble and quickly thpe  in 23,113 and hit enter, then marble crashes instantly.   If I take more than 2 seconds to type in the coordinates, then marble doesn't crash.  Looks to be a threading or race condition problem.

-David
Comment 2 David Smith 2013-01-31 09:44:50 UTC
Created attachment 76836 [details]
It appears this crash report is more useful

It appears this crash report is more useful
Comment 3 Dennis Nienhüser 2013-01-31 11:53:47 UTC
I can reproduce comment 1 in master, backtrace:

ASSERT: "result != d->m_mapping.rightEnd()" in file /home/nienhues/marble/src/src/lib/kdescendantsproxymodel.cpp, line 367

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xab0feb40 (LWP 9429)]
0xb7fdd424 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7fdd424 in __kernel_vsyscall ()
#1  0xb690e1df in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0xb6911825 in __GI_abort () at abort.c:91
#3  0xb7d2272c in qt_message_output(QtMsgType, char const*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#4  0xb7d22b39 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#5  0xb7d22c58 in qFatal(char const*, ...) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6  0xb7d22ce5 in qt_assert(char const*, char const*, int) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#7  0xb6da2090 in KDescendantsProxyModel::mapToSource (this=0x8293474, proxyIndex=...) at /home/nienhues/marble/src/src/lib/kdescendantsproxymodel.cpp:367
#8  0xb6da0f06 in KDescendantsProxyModel::data (this=0x8293474, index=..., role=0) at /home/nienhues/marble/src/src/lib/kdescendantsproxymodel.cpp:500
#9  0xab0fe030 in ?? ()
Comment 4 David Smith 2013-01-31 12:35:54 UTC
Created attachment 76840 [details]
BT Full Backtrace

BT full backtrace
Comment 5 Justin Zobel 2020-12-04 05:04:10 UTC
Thank you for the report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 6 stephengw 2020-12-05 23:35:39 UTC
Not reproducible in current version of application
Comment 7 Justin Zobel 2020-12-05 23:45:44 UTC
I've marked it as resolved. If this is still an issue for you David please reopen this bug report or let us know.