Bug 274915

Summary: Crash (null-ponter exception) after creating the night map
Product: marble Reporter: Ayke <aykevanlaethem>
Component: generalAssignee: marble-bugs
Status: RESOLVED DUPLICATE    
Severity: crash CC: nienhueser
Priority: NOR    
Version: unspecified   
Target Milestone: 1.1.0   
Platform: Ubuntu Packages   
OS: Linux   
Latest Commit: Version Fixed In: 1.0.4

Description Ayke 2011-06-04 14:47:29 UTC
Application: marble (1.0.2 (Stable Release))
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
I first zoomed in a bit. Then I selected OpenStreetMap and zoomed further in. Then the normal map (the map zoomed out because that map can't zoom that far in). Then I selected the globe at night. It said it had to generate the map at night. When it was finished generating that map, Marble crashed.
The next time I repeated these steps, the night map didn't need to be re-generated and just appeared as it should. No errors.

- Custom settings of the application:
* This was the first time I started Marble.
* I use GNOME 2 (Ubuntu natty).

The crash does not seem to be reproducible.

-- Backtrace:
Application: Virtuele globe Marble (marble), signal: Floating point exception
[Current thread is 1 (Thread 0x7fbdd06d8780 (LWP 3668))]

Thread 6 (Thread 0x7fbdc0e79700 (LWP 3670)):
#0  0x00007fbdcd180f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fbdc81c9104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fbdc81c99f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fbdc17d8c44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fbdc81f03e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fbdc8a8cd8c in start_thread (arg=0x7fbdc0e79700) at pthread_create.c:304
#6  0x00007fbdcd18e04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fbdb28e3700 (LWP 3672)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fbdb28e2ae0 in ?? ()
#2  0x00007fff307bc7b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0x7fbdaa8da700 (LWP 3673)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fbdaa8d9ae0 in ?? ()
#2  0x00007fff307bc7b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0x7fbdaa0d9700 (LWP 3674)):
#0  0x00007fbdc8a90d9d in __pthread_mutex_unlock_usercnt (mutex=0x2257548) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x2257548) at pthread_mutex_unlock.c:290
#2  0x00007fbdc81c7fef in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fbdc81c8f9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fbdc81c9639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fbdce895446 in QEventDispatcherGlib::processEvents (this=0x225a230, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007fbdce869882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fbdce869abc in QEventLoop::exec (this=0x7fbdaa0d8dd0, flags=...) at kernel/qeventloop.cpp:201
#8  0x00007fbdce780924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#9  0x00007fbdce84bc2f in QInotifyFileSystemWatcherEngine::run (this=0x2259660) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007fbdce783175 in QThreadPrivate::start (arg=0x2259660) at thread/qthread_unix.cpp:320
#11 0x00007fbdc8a8cd8c in start_thread (arg=0x7fbdaa0d9700) at pthread_create.c:304
#12 0x00007fbdcd18e04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fbda78d4700 (LWP 3682)):
#0  do_gettime () at tools/qelapsedtimer_unix.cpp:121
#1  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#2  0x00007fbdce895e3d in QTimerInfoList::updateCurrentTime (this=0x7fbda0163e70) at kernel/qeventdispatcher_unix.cpp:339
#3  0x00007fbdce8961a5 in QTimerInfoList::timerWait (this=0x7fbda0163e70, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#4  0x00007fbdce894c2c in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7fbda78d3c2c) at kernel/qeventdispatcher_glib.cpp:136
#5  0x00007fbdce894cd5 in timerSourcePrepare (source=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#6  0x00007fbdc81c80a2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fbdc81c8f9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fbdc81c9639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fbdce895446 in QEventDispatcherGlib::processEvents (this=0x7fbda01630b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#10 0x00007fbdce869882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#11 0x00007fbdce869abc in QEventLoop::exec (this=0x7fbda78d3db0, flags=...) at kernel/qeventloop.cpp:201
#12 0x00007fbdce780924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#13 0x00007fbdcfd2da98 in Marble::FileStorageWatcher::run (this=0x2077c20) at ../../../../marble/src/lib/FileStorageWatcher.cpp:401
#14 0x00007fbdce783175 in QThreadPrivate::start (arg=0x2077c20) at thread/qthread_unix.cpp:320
#15 0x00007fbdc8a8cd8c in start_thread (arg=0x7fbda78d4700) at pthread_create.c:304
#16 0x00007fbdcd18e04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fbdd06d8780 (LWP 3668)):
[KCrash Handler]
#6  Marble::AbstractScanlineTextureMapper::nextTile (this=0x60d15f0, posX=@0x7fff3065abc0, posY=@0x7fff3065abb0) at ../../../../marble/src/lib/AbstractScanlineTextureMapper.cpp:532
#7  0x00007fbdcfd234a6 in Marble::AbstractScanlineTextureMapper::pixelValueF (this=0x60d15f0, lon=<value optimized out>, lat=<value optimized out>, scanLine=0x7fbda4f00010) at ../../../../marble/src/lib/AbstractScanlineTextureMapper.cpp:127
#8  0x00007fbdcfd24507 in Marble::SphericalScanlineTextureMapper::mapTexture (this=0x60d15f0, viewParams=0x2094fd8, texColorizer=0x0) at ../../../../marble/src/lib/SphericalScanlineTextureMapper.cpp:233
#9  0x00007fbdcfd24782 in Marble::SphericalScanlineTextureMapper::mapTexture (this=0x60d15f0, painter=0x7fff3065afd0, viewParams=0x2094fd8, dirtyRect=..., texColorizer=<value optimized out>) at ../../../../marble/src/lib/SphericalScanlineTextureMapper.cpp:51
#10 0x00007fbdcfca0d98 in Marble::MarbleMapPrivate::paintGround (this=0x2094fc0, painter=..., dirtyRect=...) at ../../../../marble/src/lib/MarbleMap.cpp:188
#11 0x00007fbdcfc93b30 in Marble::MarbleWidget::paintEvent (this=0x206a020, evt=0x7fff3065b880) at ../../../../marble/src/lib/MarbleWidget.cpp:805
#12 0x00007fbdcdc7cc6a in QWidget::event (this=0x206a020, event=0x7fff3065b880) at kernel/qwidget.cpp:8405
#13 0x00007fbdcdc2b9e4 in QApplicationPrivate::notify_helper (this=0x1d122f0, receiver=0x206a020, e=0x7fff3065b880) at kernel/qapplication.cpp:4462
#14 0x00007fbdcdc303aa in QApplication::notify (this=<value optimized out>, receiver=0x206a020, e=0x7fff3065b880) at kernel/qapplication.cpp:4341
#15 0x00007fbdcf2ab866 in KApplication::notify (this=0x7fff3065f2e0, receiver=0x206a020, event=0x7fff3065b880) at ../../kdeui/kernel/kapplication.cpp:311
#16 0x00007fbdce86a49c in QCoreApplication::notifyInternal (this=0x7fff3065f2e0, receiver=0x206a020, event=0x7fff3065b880) at kernel/qcoreapplication.cpp:731
#17 0x00007fbdcdc79abd in sendSpontaneousEvent (this=0x2076a40, pdev=0x2268b88, rgn=..., offset=..., flags=68, sharedPainter=0x0, backingStore=0x227eb80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#18 QWidgetPrivate::drawWidget (this=0x2076a40, pdev=0x2268b88, rgn=..., offset=..., flags=68, sharedPainter=0x0, backingStore=0x227eb80) at kernel/qwidget.cpp:5492
#19 0x00007fbdcde3e29f in QWidgetBackingStore::sync (this=0x227eb80) at painting/qbackingstore.cpp:1325
#20 0x00007fbdcdc6ff50 in QWidgetPrivate::syncBackingStore (this=0x1fb1eb0) at kernel/qwidget.cpp:1842
#21 0x00007fbdcdc7d184 in QWidget::event (this=0x1fb1ca0, event=0x7fff3065c7b0) at kernel/qwidget.cpp:8552
#22 0x00007fbdce04651b in QMainWindow::event (this=0x1fb1ca0, event=0x7fff3065c7b0) at widgets/qmainwindow.cpp:1480
#23 0x00007fbdcf3a6d8e in KXmlGuiWindow::event (this=0x1fb1ca0, ev=0x7fff3065c7b0) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#24 0x00007fbdcdc2b9e4 in QApplicationPrivate::notify_helper (this=0x1d122f0, receiver=0x1fb1ca0, e=0x7fff3065c7b0) at kernel/qapplication.cpp:4462
#25 0x00007fbdcdc303aa in QApplication::notify (this=<value optimized out>, receiver=0x1fb1ca0, e=0x7fff3065c7b0) at kernel/qapplication.cpp:4341
#26 0x00007fbdcf2ab866 in KApplication::notify (this=0x7fff3065f2e0, receiver=0x1fb1ca0, event=0x7fff3065c7b0) at ../../kdeui/kernel/kapplication.cpp:311
#27 0x00007fbdce86a49c in QCoreApplication::notifyInternal (this=0x7fff3065f2e0, receiver=0x1fb1ca0, event=0x7fff3065c7b0) at kernel/qcoreapplication.cpp:731
#28 0x00007fbdcde3af28 in sendEvent (this=0x227eb80, rect=<value optimized out>, widget=<value optimized out>, updateImmediately=true, invalidateBuffer=false) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#29 sendUpdateRequest (this=0x227eb80, rect=<value optimized out>, widget=<value optimized out>, updateImmediately=true, invalidateBuffer=false) at painting/qbackingstore.cpp:507
#30 QWidgetBackingStore::markDirty (this=0x227eb80, rect=<value optimized out>, widget=<value optimized out>, updateImmediately=true, invalidateBuffer=false) at painting/qbackingstore.cpp:695
#31 0x00007fbdcdc6f7e8 in QWidget::repaint (this=0x206a020, rect=...) at kernel/qwidget.cpp:10322
#32 0x00007fbdcdc6f8a3 in QWidget::repaint (this=<value optimized out>) at kernel/qwidget.cpp:10278
#33 0x00007fbdcfc9654a in repaint (this=<value optimized out>, newZoom=1500, mode=<value optimized out>) at ../../../../marble/src/lib/MarbleWidget.cpp:272
#34 Marble::MarbleWidget::zoomView (this=<value optimized out>, newZoom=1500, mode=<value optimized out>) at ../../../../marble/src/lib/MarbleWidget.cpp:539
#35 0x00007fbdcfc97f9c in Marble::MarbleWidget::qt_metacall (this=0x206a020, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0x7fff3065cab0) at ./MarbleWidget.moc:306
#36 0x00007fbdce87f5f8 in QMetaObject::activate (sender=0x1fb4de0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff3065cab0) at kernel/qobject.cpp:3287
#37 0x00007fbdcfca4cc1 in Marble::NavigationWidget::zoomChanged (this=<value optimized out>, _t1=1500) at ./NavigationWidget.moc:149
#38 0x00007fbdcfca4eb3 in Marble::NavigationWidget::qt_metacall (this=0x1fb4de0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3065cbc0) at ./NavigationWidget.moc:104
#39 0x00007fbdce87f5f8 in QMetaObject::activate (sender=0x1fc01b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff3065cbc0) at kernel/qobject.cpp:3287
#40 0x00007fbdce2a171e in QAbstractSlider::valueChanged (this=<value optimized out>, _t1=1500) at .moc/release-shared/moc_qabstractslider.cpp:182
#41 0x00007fbdcfca4b18 in Marble::NavigationWidget::selectTheme (this=0x1fb4de0, theme=<value optimized out>) at ../../../../marble/src/lib/NavigationWidget.cpp:207
#42 0x00007fbdcfca4f79 in Marble::NavigationWidget::qt_metacall (this=0x1fb4de0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3065ccd0) at ./NavigationWidget.moc:111
#43 0x00007fbdce87f5f8 in QMetaObject::activate (sender=0x206a020, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff3065ccd0) at kernel/qobject.cpp:3287
#44 0x00007fbdcfc96a55 in Marble::MarbleWidget::themeChanged (this=<value optimized out>, _t1=<value optimized out>) at ./MarbleWidget.moc:493
#45 0x00007fbdcfc97e91 in Marble::MarbleWidget::qt_metacall (this=0x206a020, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fff3065cdf0) at ./MarbleWidget.moc:293
#46 0x00007fbdce87f5f8 in QMetaObject::activate (sender=0x1fe1050, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff3065cdf0) at kernel/qobject.cpp:3287
#47 0x00007fbdcfc99fa5 in Marble::MarbleModel::themeChanged (this=<value optimized out>, _t1=<value optimized out>) at ./MarbleModel.moc:108
#48 0x00007fbdcfc9b28c in Marble::MarbleModel::setMapTheme (this=<value optimized out>, mapTheme=0x6a2c330) at ../../../../marble/src/lib/MarbleModel.cpp:343
#49 0x00007fbdcfc9f601 in Marble::MarbleMap::setMapThemeId (this=0x1feba50, mapThemeId=<value optimized out>) at ../../../../marble/src/lib/MarbleMap.cpp:956
#50 0x00007fbdcfc96003 in Marble::MarbleWidget::setMapThemeId (this=0x206a020, mapThemeId=...) at ../../../../marble/src/lib/MarbleWidget.cpp:864
#51 0x00007fbdcfc98335 in Marble::MarbleWidget::qt_metacall (this=0x206a020, _c=QMetaObject::InvokeMetaMethod, _id=55, _a=0x7fff3065d610) at ./MarbleWidget.moc:345
#52 0x00007fbdce87f5f8 in QMetaObject::activate (sender=0x1ff5200, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff3065d610) at kernel/qobject.cpp:3287
#53 0x00007fbdcfca8482 in Marble::MapViewWidget::selectMapTheme (this=<value optimized out>, _t1=<value optimized out>) at ./MapViewWidget.moc:104
#54 0x00007fbdcfca8601 in Marble::MapViewWidget::qt_metacall (this=0x1ff5200, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3065d710) at ./MapViewWidget.moc:86
#55 0x00007fbdce87f5f8 in QMetaObject::activate (sender=0x1fc45b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff3065d710) at kernel/qobject.cpp:3287
#56 0x00007fbdcfcb26e2 in Marble::MarbleThemeSelectView::selectMapTheme (this=<value optimized out>, _t1=<value optimized out>) at ./MarbleThemeSelectView.moc:90
#57 0x00007fbdcfcb286f in Marble::MarbleThemeSelectView::selectedMapTheme (this=0x1fc45b0, index=<value optimized out>) at ../../../../marble/src/lib/MarbleThemeSelectView.cpp:65
#58 0x00007fbdcfcb2a3a in Marble::MarbleThemeSelectView::qt_metacall (this=0x1fc45b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3065d8d0) at ./MarbleThemeSelectView.moc:78
#59 0x00007fbdce87f5f8 in QMetaObject::activate (sender=0x1fc45b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff3065d8d0) at kernel/qobject.cpp:3287
#60 0x00007fbdce140a45 in QAbstractItemView::activated (this=<value optimized out>, _t1=<value optimized out>) at .moc/release-shared/moc_qabstractitemview.cpp:345
#61 0x00007fbdce140bf0 in QAbstractItemView::mouseDoubleClickEvent (this=0x1fc45b0, event=0x7fff3065e620) at itemviews/qabstractitemview.cpp:1833
#62 0x00007fbdcdc7ccd2 in QWidget::event (this=0x1fc45b0, event=0x7fff3065e620) at kernel/qwidget.cpp:8263
#63 0x00007fbdce02ca66 in QFrame::event (this=0x1fc45b0, e=0x7fff3065e620) at widgets/qframe.cpp:557
#64 0x00007fbdce13dd7b in QAbstractItemView::viewportEvent (this=0x1fc45b0, event=0x7fff3065e620) at itemviews/qabstractitemview.cpp:1628
#65 0x00007fbdce86a627 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x1fc2a10, event=0x7fff3065e620) at kernel/qcoreapplication.cpp:846
#66 0x00007fbdcdc2b9b1 in QApplicationPrivate::notify_helper (this=0x1d122f0, receiver=0x1fc2a10, e=0x7fff3065e620) at kernel/qapplication.cpp:4458
#67 0x00007fbdcdc30db3 in QApplication::notify (this=<value optimized out>, receiver=0x1fc2a10, e=0x7fff3065e620) at kernel/qapplication.cpp:4023
#68 0x00007fbdcf2ab866 in KApplication::notify (this=0x7fff3065f2e0, receiver=0x1fc2a10, event=0x7fff3065e620) at ../../kdeui/kernel/kapplication.cpp:311
#69 0x00007fbdce86a49c in QCoreApplication::notifyInternal (this=0x7fff3065f2e0, receiver=0x1fc2a10, event=0x7fff3065e620) at kernel/qcoreapplication.cpp:731
#70 0x00007fbdcdc2ca0d in sendEvent (receiver=0x1fc2a10, event=0x7fff3065e620, alienWidget=0x1fc2a10, nativeWidget=0x1fb3500, buttonDown=0x7fbdce70c218, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#71 QApplicationPrivate::sendMouseEvent (receiver=0x1fc2a10, event=0x7fff3065e620, alienWidget=0x1fc2a10, nativeWidget=0x1fb3500, buttonDown=0x7fbdce70c218, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#72 0x00007fbdcdcac600 in QETWidget::translateMouseEvent (this=0x1fb3500, event=<value optimized out>) at kernel/qapplication_x11.cpp:4556
#73 0x00007fbdcdcab04a in QApplication::x11ProcessEvent (this=0x7fff3065f2e0, event=0x7fff3065ef70) at kernel/qapplication_x11.cpp:3678
#74 0x00007fbdcdcd3162 in x11EventSourceDispatch (s=0x1d11d60, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#75 0x00007fbdc81c8bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#76 0x00007fbdc81c93a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#77 0x00007fbdc81c9639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#78 0x00007fbdce8953ef in QEventDispatcherGlib::processEvents (this=0x1d12600, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#79 0x00007fbdcdcd2dfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#80 0x00007fbdce869882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#81 0x00007fbdce869abc in QEventLoop::exec (this=0x7fff3065f270, flags=...) at kernel/qeventloop.cpp:201
#82 0x00007fbdce86decb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#83 0x0000000000420755 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../marble/src/kdemain.cpp:351

Possible duplicates by query: bug 273273, bug 255681, bug 252561, bug 247416.

Reported using DrKonqi
Comment 1 Dennis Nienhüser 2011-06-07 23:30:53 UTC
This should be a variant of bug 265599: After the selection of the map theme the zoom ranges have to be adjusted (backtrace), causing a repaint and a resize event.

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