Bug 326647 - Kstars crashes while zooming on comets
Summary: Kstars crashes while zooming on comets
Status: RESOLVED FIXED
Alias: None
Product: kstars
Classification: Applications
Component: general (show other bugs)
Version: 2.1.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Akarsh Simha
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-10-25 21:11 UTC by Vijay Dhameliya
Modified: 2013-11-05 00:44 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.11.4
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vijay Dhameliya 2013-10-25 21:11:26 UTC
Application: kstars (2.1.0)
KDE Platform Version: 4.11.2 (Compiled from sources)
Qt Version: 4.8.4
Operating System: Linux 3.11.0-12-generic i686
Distribution: Ubuntu 13.10

-- Information about the crash:
- What I was doing when the application crashed:
->Open Kstars->find object->select type->select any comet->ok
->Zoom up to more than 21.7 degree

The crash can be reproduced every time.

-- Backtrace:
Application: KStars (kstars), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb413c740 (LWP 30657))]

Thread 3 (Thread 0xb15cdb40 (LWP 30658)):
#0  0xb7789424 in __kernel_vsyscall ()
#1  0xb561bf41 in select () at ../sysdeps/unix/syscall-template.S:81
#2  0xb6b90a80 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#3  0xb6aa572f in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#4  0xb4e82d78 in start_thread (arg=0xb15cdb40) at pthread_create.c:311
#5  0xb562401e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 2 (Thread 0xaf56fb40 (LWP 30660)):
#0  0xb7789424 in __kernel_vsyscall ()
#1  0xb5614a0b in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xb4d77a3b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb4d68b58 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb4d68c98 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb6be48df in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6  0xb6bb39f3 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#7  0xb6bb3d19 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#8  0xb6aa2e3d in QThread::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#9  0xb6b93e14 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#10 0xb6aa572f in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#11 0xb4e82d78 in start_thread (arg=0xaf56fb40) at pthread_create.c:311
#12 0xb562401e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 1 (Thread 0xb413c740 (LWP 30657)):
[KCrash Handler]
#6  0xb61ad374 in QPixmap::width() const () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#7  0x080c16ec in SkyQPainter::drawPointSource (this=0xbf84302c, pos=..., size=nan(0x400000), sp=65 'A') at /home/vijay13/Downloads/kde/kstars/kstars/skyqpainter.cpp:392
#8  0x080c1638 in SkyQPainter::drawPointSource (this=0xbf84302c, loc=0x9e161f0, mag=nan(0x400000), sp=65 'A') at /home/vijay13/Downloads/kde/kstars/kstars/skyqpainter.cpp:379
#9  0x0818e00b in CometsComponent::draw (this=0x9aff2f0, skyp=0xbf84302c) at /home/vijay13/Downloads/kde/kstars/kstars/skycomponents/cometscomponent.cpp:197
#10 0x081a7546 in SkyComposite::draw (this=0x95a08e8, skyp=0xbf84302c) at /home/vijay13/Downloads/kde/kstars/kstars/skycomponents/skycomposite.cpp:47
#11 0x08185329 in SkyMapComposite::draw (this=0x8c67400, skyp=0xbf84302c) at /home/vijay13/Downloads/kde/kstars/kstars/skycomponents/skymapcomposite.cpp:246
#12 0x080bc4ed in SkyMapQDraw::paintEvent (this=0x9f4b190, event=0xbf8433b8) at /home/vijay13/Downloads/kde/kstars/kstars/skymapqdraw.cpp:73
#13 0xb611fee5 in QWidget::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#14 0xb60c6744 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#15 0xb60cd223 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#16 0xb7228ff4 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#17 0xb6bb4eda in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#18 0xb6119c11 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#19 0xb611a711 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#20 0xb61197aa in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#21 0xb611a711 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#22 0xb611a560 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#23 0xb611a560 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#24 0xb611a560 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#25 0xb611a560 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#26 0xb61197aa in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#27 0xb611a711 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#28 0xb611a560 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#29 0xb61197aa in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#30 0xb63061ed in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#31 0xb610e16b in QWidgetPrivate::syncBackingStore() () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32 0xb611f92c in QWidget::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#33 0xb6540b0f in QMainWindow::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#34 0xb72f74d5 in KMainWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#35 0xb7339216 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#36 0xb60c6744 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#37 0xb60cd223 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#38 0xb7228ff4 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#39 0xb6bb4eda in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#40 0xb6bb86ad in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#41 0xb6bb8bbc in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#42 0xb6be4f6e in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#43 0xb4d6882e in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#44 0xb4d68bd8 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#45 0xb4d68c98 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#46 0xb6be48bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#47 0xb617b32e in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#48 0xb6bb39f3 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#49 0xb6bb3d19 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#50 0xb6bb989e in QCoreApplication::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#51 0xb60c4974 in QApplication::exec() () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#52 0x080b1551 in main (argc=1, argv=0xbf844a54) at /home/vijay13/Downloads/kde/kstars/kstars/main.cpp:203

Reported using DrKonqi
Comment 1 Jasem Mutlaq 2013-11-05 00:36:38 UTC
Git commit daea47ed1cfb24bbbb647d22ece6aa2074db8ffa by Jasem Mutlaq.
Committed on 05/11/2013 at 00:36.
Pushed by mutlaqja into branch 'KDE/4.11'.
Related: bug 113438

M  +9    -3    kstars/dialogs/detaildialog.cpp
M  +1    -1    kstars/skycomponents/cometscomponent.cpp

http://commits.kde.org/kstars/daea47ed1cfb24bbbb647d22ece6aa2074db8ffa
Comment 2 Jasem Mutlaq 2013-11-05 00:42:17 UTC
Git commit 0d90558b65dd798ba83430955ddc2dd3c7774d49 by Jasem Mutlaq.
Committed on 05/11/2013 at 00:41.
Pushed by mutlaqja into branch 'KDE/4.12'.
Related: bug 113438

Merge branch 'KDE/4.11' into KDE/4.12

M  +1    -1    kstars/skycomponents/cometscomponent.cpp

http://commits.kde.org/kstars/0d90558b65dd798ba83430955ddc2dd3c7774d49