Bug 327474 - Crash when selecting a comet from the Find Dialog
Summary: Crash when selecting a comet from the Find Dialog
Status: RESOLVED FIXED
Alias: None
Product: kstars
Classification: Applications
Component: general (show other bugs)
Version: 2.1.1
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Akarsh Simha
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-11 22:39 UTC by Jasem Mutlaq
Modified: 2013-11-19 23:37 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jasem Mutlaq 2013-11-11 22:39:02 UTC
Crash when selecting a comet from the Find DIalog or in the Comet Details Dialog. It also lists distance as always 0 AU and size 0 arcsecs.

Reproducible: Always

Steps to Reproduce:
1. Open File Dialog
2. Select Comets from drop down menu
3. Select Any Comet
4. Press OK


Actual Results:  
KStars crashes

Expected Results:  
KStars centers comet in sky map.

0	__GI_raise		56	0x7ffff200ef77	
1	__GI_abort		90	0x7ffff20125e8	
2	qt_message_output(QtMsgType, char const*)	/opt/project-neon/lib/libQtCore.so.4		0x7ffff5de9687	
3	??	/opt/project-neon/lib/libQtCore.so.4		0x7ffff5de9826	
4	qFatal(char const*, ...)	/opt/project-neon/lib/libQtCore.so.4		0x7ffff5de9ff0	
5	qt_assert(char const*, char const*, int)	/opt/project-neon/lib/libQtCore.so.4		0x7ffff5de9240	
6	Projector::toScreenVec	projector.cpp	419	0x4b522a	
7	Projector::toScreen	projector.cpp	95	0x4b5409	
8	SkyMapDrawAbstract::drawObjectLabels	skymapdrawabstract.cpp	133	0x4a6aa6	
9	SkyMap::drawObjectLabels	skymap.h	279	0x57f1e9	
10	SkyMapComposite::draw	skymapcomposite.cpp	252	0x58040f	
11	SkyMapQDraw::paintEvent	skymapqdraw.cpp	73	0x4a83ae	
12	QWidget::event(QEvent*)	/opt/project-neon/lib/libQtGui.so.4		0x7ffff4d6be6e	
13	QApplicationPrivate::notify_helper(QObject*, QEvent*)	/opt/project-neon/lib/libQtGui.so.4		0x7ffff4d05276	
14	QApplication::notify(QObject*, QEvent*)	/opt/project-neon/lib/libQtGui.so.4		0x7ffff4d04f19	
15	KApplication::notify(QObject*, QEvent*)	/opt/project-neon/lib/libkdeui.so.5		0x7ffff6d6a592	
16	QCoreApplication::notifyInternal(QObject*, QEvent*)	/opt/project-neon/lib/libQtCore.so.4		0x7ffff5f32b74	
17	QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*)	/opt/project-neon/lib/libQtGui.so.4		0x7ffff4d07e85	
18	QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*)	/opt/project-neon/lib/libQtGui.so.4		0x7ffff4d63a22	
19	QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*)	/opt/project-neon/lib/libQtGui.so.4		0x7ffff4d64af4	
20	QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*)	/opt/project-neon/lib/libQtGui.so.4		0x7ffff4d63ec6	
...	<More>
Comment 1 Jasem Mutlaq 2013-11-11 22:40:53 UTC
Sorry, it's open FIND dialog.
Comment 2 Jasem Mutlaq 2013-11-12 06:15:04 UTC
Git commit b2a5142060f20b8f26855719eb259c8d99dc9485 by Jasem Mutlaq.
Committed on 12/11/2013 at 06:13.
Pushed by mutlaqja into branch 'KDE/4.12'.
REVIEW:113409

M  +10   -3    kstars/skyobjects/kscomet.cpp

http://commits.kde.org/kstars/b2a5142060f20b8f26855719eb259c8d99dc9485
Comment 3 Jasem Mutlaq 2013-11-12 06:17:31 UTC
Git commit a5cb86c85ceb17587b9927b7c7854674fc206aea by Jasem Mutlaq.
Committed on 12/11/2013 at 06:15.
Pushed by mutlaqja into branch 'master'.
REVIEW:113409

Merge branch 'KDE/4.12'


http://commits.kde.org/kstars/a5cb86c85ceb17587b9927b7c7854674fc206aea