Bug 426283 - KStars crashed when searching for an object
Summary: KStars crashed when searching for an object
Status: RESOLVED WORKSFORME
Alias: None
Product: kstars
Classification: Applications
Component: general (other bugs)
Version First Reported In: 3.3.6
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Jasem Mutlaq
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-09-07 17:51 UTC by Franco Pellegrini
Modified: 2020-09-08 20:06 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Franco Pellegrini 2020-09-07 17:51:13 UTC
Application: kstars (3.3.6)

Qt Version: 5.14.2
Frameworks Version: 5.72.0
Operating System: Linux 5.3.0-40-generic x86_64
Windowing system: X11
Distribution: KDE neon User Edition 5.19

-- Information about the crash:
- What I was doing when the application crashed:

- I opened KStars
- Clicked the magnifying glass button (Find Object)
- Entered "Perseus" in the "filter by name" field.
- Click "PERSEUS"
- Click Ok

At this point, KStars crashed with the provided stack trace. I have reopened KStars, and re tried the same steps and the application does not crash again

The crash does not seem to be reproducible.

-- Backtrace:
Application: KStars (kstars), signal: Segmentation fault

[KCrash Handler]
#4  0x00007ff4f8291410 in __dynamic_cast () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x0000556b48a86e74 in SkyMap::slotCenter (this=0x556b49cb4e40) at ./kstars/skymap.cpp:348
#6  0x0000556b48a6d93d in KStars::slotFind (this=this@entry=0x556b49b85660) at ./kstars/kstarsactions.cpp:1164
#7  0x0000556b48c1fa8d in KStars::qt_static_metacall (_o=0x556b49b85660, _c=<optimized out>, _id=<optimized out>, _a=0x7ffd58fabbc0) at ./obj-x86_64-linux-gnu/kstars/KStarsLib_autogen/EWIEGA46WW/moc_kstars.cpp:708
#8  0x00007ff4f9b354b9 in doActivate<false> (sender=0x556b4ca12790, signal_index=4, argv=0x7ffd58fabbc0) at kernel/qobject.cpp:3882
#9  0x00007ff4f9b2ff92 in QMetaObject::activate (sender=sender@entry=0x556b4ca12790, m=m@entry=0x7ff4fb7e8340 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffd58fabbc0) at kernel/qobject.cpp:3930
#10 0x00007ff4fb1004a2 in QAction::triggered (this=this@entry=0x556b4ca12790, _t1=<optimized out>) at .moc/moc_qaction.cpp:381
#11 0x00007ff4fb102b0c in QAction::activate (this=0x556b4ca12790, event=<optimized out>) at kernel/qaction.cpp:1161
#12 0x00007ff4fb1f3c8b in QAbstractButtonPrivate::click (this=0x556b4cc68460) at widgets/qabstractbutton.cpp:398
#13 0x00007ff4fb1f3eed in QAbstractButton::mouseReleaseEvent (this=0x556b4cc73e70, e=0x7ffd58fac150) at widgets/qabstractbutton.cpp:1012
#14 0x00007ff4fb2e5e1a in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:622
#15 0x00007ff4fb1478c8 in QWidget::event (this=0x556b4cc73e70, event=0x7ffd58fac150) at kernel/qwidget.cpp:9033
#16 0x00007ff4fb1f50bb in QAbstractButton::event (this=this@entry=0x556b4cc73e70, e=e@entry=0x7ffd58fac150) at widgets/qabstractbutton.cpp:969
#17 0x00007ff4fb2e5eb4 in QToolButton::event (this=0x556b4cc73e70, event=0x7ffd58fac150) at widgets/qtoolbutton.cpp:1002
#18 0x00007ff4fb1069ac in QApplicationPrivate::notify_helper (this=this@entry=0x556b49b161d0, receiver=receiver@entry=0x556b4cc73e70, e=e@entry=0x7ffd58fac150) at kernel/qapplication.cpp:3685
#19 0x00007ff4fb10e9f8 in QApplication::notify (this=<optimized out>, receiver=0x556b4cc73e70, e=0x7ffd58fac150) at kernel/qapplication.cpp:3129
#20 0x00007ff4f9afa4a8 in QCoreApplication::notifyInternal2 (receiver=0x556b4cc73e70, event=0x7ffd58fac150) at kernel/qcoreapplication.cpp:1075
#21 0x00007ff4f9afa68e in QCoreApplication::sendSpontaneousEvent (receiver=receiver@entry=0x556b4cc73e70, event=event@entry=0x7ffd58fac150) at kernel/qcoreapplication.cpp:1482
#22 0x00007ff4fb10d07f in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x556b4cc73e70, event=event@entry=0x7ffd58fac150, alienWidget=0x556b4cc73e70, nativeWidget=0x556b49b85660, buttonDown=buttonDown@entry=0x7ff4fb8179a0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2615
#23 0x00007ff4fb161f81 in QWidgetWindow::handleMouseEvent (this=this@entry=0x556b49c29a90, event=event@entry=0x7ffd58fac5d0) at kernel/qwidgetwindow.cpp:673
#24 0x00007ff4fb164dea in QWidgetWindow::event (this=0x556b49c29a90, event=0x7ffd58fac5d0) at kernel/qwidgetwindow.cpp:295
#25 0x00007ff4fb1069ac in QApplicationPrivate::notify_helper (this=this@entry=0x556b49b161d0, receiver=receiver@entry=0x556b49c29a90, e=e@entry=0x7ffd58fac5d0) at kernel/qapplication.cpp:3685
#26 0x00007ff4fb10dbb0 in QApplication::notify (this=0x7ffd58facac0, receiver=0x556b49c29a90, e=0x7ffd58fac5d0) at kernel/qapplication.cpp:3431
#27 0x00007ff4f9afa4a8 in QCoreApplication::notifyInternal2 (receiver=0x556b49c29a90, event=0x7ffd58fac5d0) at kernel/qcoreapplication.cpp:1075
#28 0x00007ff4f9afa68e in QCoreApplication::sendSpontaneousEvent (receiver=receiver@entry=0x556b49c29a90, event=event@entry=0x7ffd58fac5d0) at kernel/qcoreapplication.cpp:1482
#29 0x00007ff4fa5ef8b5 in QGuiApplicationPrivate::processMouseEvent (e=0x556b4cae4480) at kernel/qguiapplication.cpp:2203
#30 0x00007ff4fa5f09e5 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x556b4cae4480) at kernel/qguiapplication.cpp:1935
#31 0x00007ff4fa5c91cb in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1170
#32 0x00007ff4e5664f9a in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#33 0x00007ff4f1ed4417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007ff4f1ed4650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007ff4f1ed46dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007ff4f9b597ac in QEventDispatcherGlib::processEvents (this=0x556b49b792f0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#37 0x00007ff4f9af8d2a in QEventLoop::exec (this=this@entry=0x7ffd58fac970, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#38 0x00007ff4f9b024a0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1383
#39 0x0000556b48a07f62 in main (argc=<optimized out>, argv=<optimized out>) at ./kstars/main.cpp:331

Possible duplicates by query: bug 383763, bug 375425, bug 362905, bug 324406, bug 322848.

Reported using DrKonqi
Comment 1 Jasem Mutlaq 2020-09-08 13:46:01 UTC
Can you check if version 3.4.3 has this issue?
Comment 2 Franco Pellegrini 2020-09-08 14:24:07 UTC
Well, I am using official KDE Neon packages, so, until 3.4.3 is available in there, I won't be able to test it... However, as I mentioned in my report, it is not even reproducible in this current version, 3.3.6. It only happened once