Bug 219414 - Kstars crashes when computing conjunction with a moon of Jupiter or Saturn
Summary: Kstars crashes when computing conjunction with a moon of Jupiter or Saturn
Status: RESOLVED WORKSFORME
Alias: None
Product: kstars
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Akarsh Simha
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-20 12:55 UTC by Jérôme SONRIER
Modified: 2015-01-27 17:27 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jérôme SONRIER 2009-12-20 12:55:10 UTC
Version:            (using Devel)
Compiler:          cmake version 2.6-patch 2 
OS:                Linux
Installed from:    Compiled sources

How to reproduce:
- go to conjunctions tool
- click "Find Object..." button and choose Ttitan (or any other moon of Jupiter/Saturn)
-click "Compute" button


Here is the backtrace:

Application: KStars (kstars), signal: Segmentation fault
[KCrash Handler]
#5  0x4f6c6961 in ?? ()
#6  0x0821ffa4 in KSPlanetBase::findPosition (this=0x96dc708, num=0xbf8b9860, lat=0x83e028c, LST=0xbf8b9b08, Earth=0x9609698)
    at /home/emor3j-dev/kde4/src/KDE/kdeedu/kstars/kstars/skyobjects/ksplanetbase.cpp:133
#7  0x080ddb7a in KSConjunct::findDistance (this=0xbf8b9d10, jd=2455185.95798611111104037263430655, Object1=0x96dc708, Object2=0x96a21e8)
    at /home/emor3j-dev/kde4/src/KDE/kdeedu/kstars/kstars/tools/ksconjunct.cpp:135
#8  0x080de4b8 in KSConjunct::findClosestApproach (this=0xbf8b9d10, Object1=@0x96dc708, Object2=@0x96a21e8, startJD=2455185.95798611111104037263430655, stopJD=2455551.1979860995370472664944827557, 
    maxSeparation={static PI = 3.1415926535897931, static DegToRad = 0.017453292519943295, D = 1}, _opposition=false) at /home/emor3j-dev/kde4/src/KDE/kdeedu/kstars/kstars/tools/ksconjunct.cpp:71
#9  0x080d716c in ConjunctionsTool::slotCompute (this=0x969a3a8) at /home/emor3j-dev/kde4/src/KDE/kdeedu/kstars/kstars/tools/conjunctions.cpp:181
#10 0x080768bd in ConjunctionsTool::qt_metacall (this=0x969a3a8, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbf8b9efc)
    at /home/emor3j-dev/kde4/build/KDE/kdeedu/kstars/kstars/moc_conjunctions.cpp:81
#11 0xb6c98ac1 in QMetaObject::metacall (object=0x969a3a8, cl=QMetaObject::InvokeMetaMethod, idx=28, argv=0xbf8b9efc) at kernel/qmetaobject.cpp:237
#12 0xb6cad5ea in QMetaObject::activate (sender=0x96a47a0, m=0xb68a8ac4, local_signal_index=2, argv=0xbf8b9efc) at kernel/qobject.cpp:3282
#13 0xb663030e in QAbstractButton::clicked (this=0x96a47a0, _t1=false) at .moc/debug-shared/moc_qabstractbutton.cpp:206
#14 0xb628cfc8 in QAbstractButtonPrivate::emitClicked (this=0x96a4930) at widgets/qabstractbutton.cpp:546
#15 0xb628e457 in QAbstractButtonPrivate::click (this=0x96a4930) at widgets/qabstractbutton.cpp:539
#16 0xb628e778 in QAbstractButton::mouseReleaseEvent (this=0x96a47a0, e=0xbf8ba708) at widgets/qabstractbutton.cpp:1118
#17 0xb5e44d47 in QWidget::event (this=0x96a47a0, event=0xbf8ba708) at kernel/qwidget.cpp:7973
#18 0xb628cf61 in QAbstractButton::event (this=0x96a47a0, e=0xbf8ba708) at widgets/qabstractbutton.cpp:1080
#19 0xb6360885 in QPushButton::event (this=0x96a47a0, e=0xbf8ba708) at widgets/qpushbutton.cpp:664
#20 0xb5dc861e in QApplicationPrivate::notify_helper (this=0x83384f0, receiver=0x96a47a0, e=0xbf8ba708) at kernel/qapplication.cpp:4242
#21 0xb5dc9364 in QApplication::notify (this=0xbf8bb418, receiver=0x96a47a0, e=0xbf8ba708) at kernel/qapplication.cpp:3822
#22 0xb7055c93 in KApplication::notify (this=0xbf8bb418, receiver=0x96a47a0, event=0xbf8ba708) at /home/emor3j-dev/kde4/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:302
#23 0xb6c911f2 in QCoreApplication::notifyInternal (this=0xbf8bb418, receiver=0x96a47a0, event=0xbf8ba708) at kernel/qcoreapplication.cpp:704
#24 0xb759708d in QCoreApplication::sendSpontaneousEvent () from /home/emor3j-dev/kde-qt/lib/libQt3Support.so.4
#25 0xb5dcf3a8 in QApplicationPrivate::sendMouseEvent (receiver=0x96a47a0, event=0xbf8ba708, alienWidget=0x96a47a0, nativeWidget=0x9650380, buttonDown=0xb68b88e0, lastMouseReceiver=@0xb68b88e4, 
    spontaneous=true) at kernel/qapplication.cpp:2954
#26 0xb5e849bb in QETWidget::translateMouseEvent (this=0x9650380, event=0xbf8bad6c) at kernel/qapplication_x11.cpp:4368
#27 0xb5e85bba in QApplication::x11ProcessEvent (this=0xbf8bb418, event=0xbf8bad6c) at kernel/qapplication_x11.cpp:3379
#28 0xb5eba0dc in x11EventSourceDispatch (s=0x833b7f0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#29 0xb4bb7848 in IA__g_main_context_dispatch (context=0x833aa98) at /build/buildd-glib2.0_2.20.1-2-i386-hGzT8z/glib2.0-2.20.1/glib/gmain.c:1814
#30 0xb4bbadab in g_main_context_iterate (context=0x833aa98, block=1, dispatch=1, self=0x8338750) at /build/buildd-glib2.0_2.20.1-2-i386-hGzT8z/glib2.0-2.20.1/glib/gmain.c:2448
#31 0xb4bbaf28 in IA__g_main_context_iteration (context=0x833aa98, may_block=1) at /build/buildd-glib2.0_2.20.1-2-i386-hGzT8z/glib2.0-2.20.1/glib/gmain.c:2511
#32 0xb6ccb8c2 in QEventDispatcherGlib::processEvents (this=0x83384b0, flags={i = -1081364684}) at kernel/qeventdispatcher_glib.cpp:407
#33 0xb5eb974e in QGuiEventDispatcherGlib::processEvents (this=0x83384b0, flags={i = -1081364636}) at kernel/qguieventdispatcher_glib.cpp:202
#34 0xb6c8d4d6 in QEventLoop::processEvents (this=0xbf8bb008, flags={i = -1081364552}) at kernel/qeventloop.cpp:149
#35 0xb6c8d748 in QEventLoop::exec (this=0xbf8bb008, flags={i = -1081364464}) at kernel/qeventloop.cpp:201
#36 0xb6c91b47 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#37 0xb5dcb2bc in QApplication::exec () at kernel/qapplication.cpp:3570
#38 0x081cff19 in main (argc=-1222387960, argv=0x83384f0) at /home/emor3j-dev/kde4/src/KDE/kdeedu/kstars/kstars/main.cpp:191
Comment 1 Tadas 2010-08-30 07:22:41 UTC
As you can see I'm a little bit bored, so I'm going through some bugs in kstars :)
I succeeded in computing conjunction of Moon and all satellites (one-by-one) of Jupiter without a glitch. Computed with tiny angular separation (I got no results), computed with huge angular separation (to get results) - all without problems. I think this bug is invalid for nowadays version of kstars.
Comment 2 Akarsh Simha 2012-02-05 23:23:02 UTC
Yeah, I'm unable to reproduce this bug.
Comment 3 Akarsh Simha 2012-02-05 23:24:36 UTC
However, I also get no results even for separations ~ 15°, so something is certainly wrong.
Comment 4 Jasem Mutlaq 2015-01-27 17:27:36 UTC
Well, there is no crash, so I'm closing this bug.