Bug 281073

Summary: crash of KSTars during calculation
Product: [Applications] kstars Reporter: Martin Brehmer <kde>
Component: generalAssignee: Akarsh Simha <akarsh.simha>
Status: RESOLVED DUPLICATE    
Severity: crash CC: alexey.skladnoy, mutlaqja, shlomif
Priority: NOR    
Version: 2.0.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin Brehmer 2011-08-30 23:22:55 UTC
Application: kstars (2.0.0)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed: 
I tried to calculate the moon phases with KStars.

The programm is installed from the original package.

-- Backtrace:
Application: KStars (kstars), signal: Segmentation fault
[Current thread is 1 (Thread 0xb77b4720 (LWP 3640))]

Thread 3 (Thread 0xb3e45b70 (LWP 3641)):
#0  0x009fb416 in __kernel_vsyscall ()
#1  0x01349f76 in __poll (fds=0xb061988, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x03a2284b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x03a121af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x03a12524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x01178577 in QEventDispatcherGlib::processEvents (this=0xb05ae28, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x0114a289 in QEventLoop::processEvents (this=0xb3e45280, flags=...) at kernel/qeventloop.cpp:149
#7  0x0114a522 in QEventLoop::exec (this=0xb3e45280, flags=...) at kernel/qeventloop.cpp:201
#8  0x010542a0 in QThread::exec (this=0xb02a958) at thread/qthread.cpp:492
#9  0x0112bfdb in QInotifyFileSystemWatcherEngine::run (this=0xb02a958) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x01056da2 in QThreadPrivate::start (arg=0xb02a958) at thread/qthread_unix.cpp:320
#11 0x007b0e99 in start_thread (arg=0xb3e45b70) at pthread_create.c:304
#12 0x0135873e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb20feb70 (LWP 3693)):
#0  0x0083cd6b in ?? () from /usr/lib/i386-linux-gnu/libgthread-2.0.so.0
#1  0x03a3c482 in g_thread_self () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x03a12513 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x01178577 in QEventDispatcherGlib::processEvents (this=0xc396110, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x0114a289 in QEventLoop::processEvents (this=0xb20fe280, flags=...) at kernel/qeventloop.cpp:149
#5  0x0114a522 in QEventLoop::exec (this=0xb20fe280, flags=...) at kernel/qeventloop.cpp:201
#6  0x010542a0 in QThread::exec (this=0xc33e200) at thread/qthread.cpp:492
#7  0x0112bfdb in QInotifyFileSystemWatcherEngine::run (this=0xc33e200) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x01056da2 in QThreadPrivate::start (arg=0xc33e200) at thread/qthread_unix.cpp:320
#9  0x007b0e99 in start_thread (arg=0xb20feb70) at pthread_create.c:304
#10 0x0135873e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb77b4720 (LWP 3640)):
[KCrash Handler]
#7  0x08cddf96 in operator! (this=0x0) at ../../include/QtCore/../../src/corelib/tools/qshareddata.h:198
#8  QPixmap::isNull (this=0x0) at image/qpixmap.cpp:545
#9  0x08d58aba in QPainter::drawPixmap (this=0xbfbb263c, p=..., pm=...) at painting/qpainter.cpp:5255
#10 0x08084c5e in drawPixmap (this=0xd1b7798, painter=0xbfbb263c, row=1, col=0, colorScheme=...) at /usr/include/qt4/QtGui/qpainter.h:852
#11 MoonPhaseCalendar::paintCell (this=0xd1b7798, painter=0xbfbb263c, row=1, col=0, colorScheme=...) at ../../../kstars/kstars/widgets/moonphasecalendarwidget.cpp:283
#12 0x08085049 in MoonPhaseCalendar::paintEvent (this=0xd1b7798, e=0xbfbb2c24) at ../../../kstars/kstars/widgets/moonphasecalendarwidget.cpp:116
#13 0x08c4d18e in QWidget::event (this=0xd1b7798, event=0xbfbb2c24) at kernel/qwidget.cpp:8405
#14 0x00e6a15e in KDateTable::event (this=0xd1b7798, ev=0xbfbb2c24) at ../../kdeui/widgets/kdatetable.cpp:696
#15 0x08bf4d24 in QApplicationPrivate::notify_helper (this=0x99a3aa0, receiver=0xd1b7798, e=0xbfbb2c24) at kernel/qapplication.cpp:4462
#16 0x08bf997b in QApplication::notify (this=0xbfbb3ba4, receiver=0xd1b7798, e=0xbfbb2c24) at kernel/qapplication.cpp:4427
#17 0x00daf3ca in KApplication::notify (this=0xbfbb3ba4, receiver=0xd1b7798, event=0xbfbb2c24) at ../../kdeui/kernel/kapplication.cpp:311
#18 0x0114b0bb in QCoreApplication::notifyInternal (this=0xbfbb3ba4, receiver=0xd1b7798, event=0xbfbb2c24) at kernel/qcoreapplication.cpp:731
#19 0x08c49f0c in sendSpontaneousEvent (this=0xd1be578, pdev=0xb5ec4ac, rgn=..., offset=..., flags=68, sharedPainter=0x0, backingStore=0xcc68a00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#20 QWidgetPrivate::drawWidget (this=0xd1be578, pdev=0xb5ec4ac, rgn=..., offset=..., flags=68, sharedPainter=0x0, backingStore=0xcc68a00) at kernel/qwidget.cpp:5492
#21 0x08e28329 in QWidgetBackingStore::sync (this=0xcc68a00) at painting/qbackingstore.cpp:1325
#22 0x08c3f843 in QWidgetPrivate::syncBackingStore (this=0xca3bde8) at kernel/qwidget.cpp:1842
#23 0x08c4d7e5 in QWidget::event (this=0xc4b6c30, event=0xd194640) at kernel/qwidget.cpp:8552
#24 0x08bf4d24 in QApplicationPrivate::notify_helper (this=0x99a3aa0, receiver=0xc4b6c30, e=0xd194640) at kernel/qapplication.cpp:4462
#25 0x08bf997b in QApplication::notify (this=0xbfbb3ba4, receiver=0xc4b6c30, e=0xd194640) at kernel/qapplication.cpp:4427
#26 0x00daf3ca in KApplication::notify (this=0xbfbb3ba4, receiver=0xc4b6c30, event=0xd194640) at ../../kdeui/kernel/kapplication.cpp:311
#27 0x0114b0bb in QCoreApplication::notifyInternal (this=0xbfbb3ba4, receiver=0xc4b6c30, event=0xd194640) at kernel/qcoreapplication.cpp:731
#28 0x0114ec79 in sendEvent (receiver=0x0, event_type=0, data=0x996af38) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x996af38) at kernel/qcoreapplication.cpp:1372
#30 0x0114ee0d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#31 0x011783c4 in sendPostedEvents (s=0x99a6300) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#32 postEventSourceDispatch (s=0x99a6300) at kernel/qeventdispatcher_glib.cpp:277
#33 0x03a11aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#34 0x03a12270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#35 0x03a12524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#36 0x0117853c in QEventDispatcherGlib::processEvents (this=0x996aa90, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#37 0x08cab1e5 in QGuiEventDispatcherGlib::processEvents (this=0x996aa90, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x0114a289 in QEventLoop::processEvents (this=0xbfbb37a4, flags=...) at kernel/qeventloop.cpp:149
#39 0x0114a522 in QEventLoop::exec (this=0xbfbb37a4, flags=...) at kernel/qeventloop.cpp:201
#40 0x0114eecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#41 0x08bf28e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#42 0x081af8db in main (argc=156411944, argv=0xd1cc554) at ../../../kstars/kstars/main.cpp:191

This bug may be a duplicate of or related to bug 258182.

Possible duplicates by query: bug 274405, bug 258182.

Reported using DrKonqi
Comment 1 Shlomi Fish 2011-09-02 16:15:34 UTC
I can confirm that KStars crashes here when invoking the Calculator and the Moon Phases almanac. Not sure about the backtrace, because I don't have a debug package (and at the moment I'm uploading something, so downloading is time consuming.).
Comment 2 Alexey Khudiakov 2011-11-17 13:27:12 UTC

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