Bug 262294 - Crash in position provider plugin on startup
Summary: Crash in position provider plugin on startup
Status: RESOLVED FIXED
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.2 (KDE 4.7)
Assignee: marble-bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-06 12:30 UTC by Bernhard Beschow
Modified: 2011-01-07 12:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Beschow 2011-01-06 12:30:54 UTC
Application: marble (PRE 1.2 SVN)
KDE Platform Version: 4.5.4 (KDE 4.5.4)
Qt Version: 4.7.1
Operating System: Linux 2.6.36-ARCH i686
Distribution (Platform): Archlinux Packages

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

I updated sources from SVN, recompiled Marble, and started it.

- Reason:
The crash is caused immediately during startup due to PositionMarker::ui_configWidget being 0.

The crash can be reproduced every time.

-- Backtrace:
Application: Marble Virtual Globe (marble), signal: Segmentation fault
[Current thread is 1 (Thread 0xb3c35710 (LWP 12740))]

Thread 5 (Thread 0xb160cb70 (LWP 12747)):
#0  0xb5d5c8d1 in pthread_mutex_lock () from /lib/libc.so.6
#1  0xb43855ee in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#2  0xb6bd3b87 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#3  0xb6ba5769 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0xb6ba5a0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0xb6aaeb6b in QThread::exec() () from /usr/lib/libQtCore.so.4
#6  0xb6b870fb in ?? () from /usr/lib/libQtCore.so.4
#7  0xb6ab15f9 in ?? () from /usr/lib/libQtCore.so.4
#8  0xb44d2dd0 in start_thread () from /lib/libpthread.so.0
#9  0xb5d4ed2e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xb08d6b70 (LWP 12748)):
#0  0xb787b424 in __kernel_vsyscall ()
#1  0xb5d44b56 in poll () from /lib/libc.so.6
#2  0xb439543b in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb438528f in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb4385604 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb6bd3b87 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb6ba5769 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb6ba5a0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0xb6aaeb6b in QThread::exec() () from /usr/lib/libQtCore.so.4
#9  0xb6b870fb in ?? () from /usr/lib/libQtCore.so.4
#10 0xb6ab15f9 in ?? () from /usr/lib/libQtCore.so.4
#11 0xb44d2dd0 in start_thread () from /lib/libpthread.so.0
#12 0xb5d4ed2e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb00d5b70 (LWP 12749)):
#0  0xb787b424 in __kernel_vsyscall ()
#1  0xb5d44b56 in poll () from /lib/libc.so.6
#2  0xb439543b in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb438528f in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb4385604 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb6bd3b87 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb6ba5769 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb6ba5a0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0xb6aaeb6b in QThread::exec() () from /usr/lib/libQtCore.so.4
#9  0xb6b870fb in ?? () from /usr/lib/libQtCore.so.4
#10 0xb6ab15f9 in ?? () from /usr/lib/libQtCore.so.4
#11 0xb44d2dd0 in start_thread () from /lib/libpthread.so.0
#12 0xb5d4ed2e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xaf0d3b70 (LWP 12755)):
#0  0xb787b424 in __kernel_vsyscall ()
#1  0xb5d3e613 in __xstat64 () from /lib/libc.so.6
#2  0xb6b7fdf5 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb6b8001b in QFSFileEngine::fileFlags(QFlags<QAbstractFileEngine::FileFlag>) const () from /usr/lib/libQtCore.so.4
#4  0xb6b39134 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb6b3a88e in QFileInfo::isDir() const () from /usr/lib/libQtCore.so.4
#6  0xb6b334a0 in ?? () from /usr/lib/libQtCore.so.4
#7  0xb6b33712 in ?? () from /usr/lib/libQtCore.so.4
#8  0xb6b3389b in QDirIterator::next() () from /usr/lib/libQtCore.so.4
#9  0xb76a57b0 in Marble::FileStorageWatcherThread::getCurrentCacheSize (this=0x9ecd148) at /home/shentey/Projekte/marble/src/src/lib/FileStorageWatcher.cpp:109
#10 0xb76a58c6 in Marble::FileStorageWatcher::run (this=0xb0d016f0) at /home/shentey/Projekte/marble/src/src/lib/FileStorageWatcher.cpp:391
#11 0xb6ab15f9 in ?? () from /usr/lib/libQtCore.so.4
#12 0xb44d2dd0 in start_thread () from /lib/libpthread.so.0
#13 0xb5d4ed2e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb3c35710 (LWP 12740)):
[KCrash Handler]
#7  0xb095acfc in Marble::PositionMarker::loadCustomCursor (this=0x9c9b320, filename=..., useCursor=false) at /home/shentey/Projekte/marble/src/src/plugins/render/positionmarker/PositionMarker.cpp:379
#8  0xb095c886 in Marble::PositionMarker::updateSettings (this=0x9c9b320) at /home/shentey/Projekte/marble/src/src/plugins/render/positionmarker/PositionMarker.cpp:351
#9  0xb095cd03 in Marble::PositionMarker::qt_metacall (this=0x9c9b320, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfb39e88) at /home/shentey/Projekte/marble/build/src/plugins/render/positionmarker/PositionMarker.moc:86
#10 0xb6bacc2a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#11 0xb6bbca7f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#12 0xb76c65f3 in Marble::RenderPlugin::settingsChanged (this=0x9c9b320, _t1=...) at /home/shentey/Projekte/marble/build/src/lib/RenderPlugin.moc:110
#13 0xb095cf42 in Marble::PositionMarker::setSettings (this=0x9c9b320, settings=...) at /home/shentey/Projekte/marble/src/src/plugins/render/positionmarker/PositionMarker.cpp:301
#14 0x08069b70 in Marble::MarblePart::readPluginSettings (this=0x9b8cef8) at /home/shentey/Projekte/marble/src/src/marble_part.cpp:1543
#15 0x0806a671 in Marble::MarblePart::readSettings (this=0x9b8cef8) at /home/shentey/Projekte/marble/src/src/marble_part.cpp:522
#16 0x0806d9e6 in Marble::MarblePart::MarblePart (this=0x9b8cef8, parentWidget=0x9b598f8, parent=0x9b598f8, arguments=..., __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /home/shentey/Projekte/marble/src/src/marble_part.cpp:161
#17 0x08063aea in Marble::MainWindow::MainWindow (this=0x9b598f8, marbleDataPath=..., parent=0x0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /home/shentey/Projekte/marble/src/src/KdeMainWindow.cpp:39
#18 0x08062da6 in main (argc=-1230803888, argv=0x0) at /home/shentey/Projekte/marble/src/src/kdemain.cpp:309

Reported using DrKonqi
Comment 1 Dennis Nienhüser 2011-01-07 12:43:04 UTC
Fixed in trunk