×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

KNotification calls from fits viewer crash kstars

  • Posts: 456
  • Thank you received: 76
It happens intermittently, except for tonight where it was happening constantly and after approx 2hours I gave up using the observatory with nothing captured.

<strong>My setup</strong>
I'm using an ASI 120mm for guiding, plugged directly into a USB2 port on the PC.
The PC is running both Indi server and Kstars. I start the indi server locally by clicking the start indi button in EKOS.
So everything is running on the same machine....

<strong>The Problem</strong>
Once I start using the ASI camera, It works fine for a duration, usually enough to get calibration done and start guiding but then everything dies. Kstars just disappears. No warning or alerts from KDE. Sometimes it dies during calibration too....
INDI server is still running because when I restart kstars and click start indi it asks if I want to kill the already running instance, I click yes and try all over again..... Same result about 10 times tonight.
I'm 99% sure its the ASI camera. I've tried all the other EKOS modules tonight, align, focus, capture and they never cause a crash. However once I start using the guide module and interacting with the ASI camera I have this problem...

I'm looking for help to debug this so I can get some more information as to the cause.
Anyone have any ideas? Nothing appearing in the indi logs. Kstars just vanishes. Are there any other logs I could check?
Maybe I should start indi-server from the command line and then start kstars? Would that help?

Any help would be great.
Thanks!!
Derek
Last edit: 8 years 2 months ago by Derek. Reason: misdiagnosis of original problem
8 years 2 months ago #6791

Please Log in or Create an account to join the conversation.

Install kstars-bleeding-dbg package then run KStars via gdb:
sudo apt-get install kstars-bleeding-dbg
gdb kstars
run

If it crashes, type in bt to get the backtrace and post it here.
The following user(s) said Thank You: Derek
8 years 2 months ago #6792

Please Log in or Create an account to join the conversation.

  • Posts: 456
  • Thank you received: 76

Replied by Derek on topic ZWO ASI120mm crashing kstars

OK I have some update on this. The weather was bad so I only started some equipment with the roof closed. I didnt get the same 'vanish' crash behaviour but it did crash (got notification from kde).
Actually now I'm starting to think its something in the fits-viewer app. Or maybe some weird interaction with VNC maybe... I'm accessing the system using x11vnc.

I have 2 stack traces. The first is using the ASI cam in the capture module to capture a series of 1second subs.
The second is using the CCD simulator to do the same thing..
I noticed 'FITSView::loadFITS' is common in both traces.

This reminds me I have noticed kstars to crash before when I use the fits viewer to open a file. Nobody else seems to have this problem so it could be something on my system or some vnc interaction.
[New Thread 0x7fffc25ee700 (LWP 2268)]
[New Thread 0x7fffc2def700 (LWP 2267)]
[New Thread 0x7fffc4811700 (LWP 2266)]
[New Thread 0x7fffc5012700 (LWP 2265)]
[New Thread 0x7fffc5813700 (LWP 2264)]
[New Thread 0x7fffc6140700 (LWP 2260)]
[New Thread 0x7fffc6941700 (LWP 2259)]
[New Thread 0x7fffc7142700 (LWP 2258)]
[New Thread 0x7fffc7943700 (LWP 2257)]
[New Thread 0x7fffc37fd700 (LWP 2256)]
[New Thread 0x7fffc3ffe700 (LWP 2255)]
[New Thread 0x7fffcce90700 (LWP 2254)]
[New Thread 0x7fffcee3b700 (LWP 2246)]
[New Thread 0x7fffd9c0c700 (LWP 2228)]
[New Thread 0x7fffe423d700 (LWP 2226)]
 
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6039ee0 in KNotification::flags() const () from /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
(gdb) bt
#0  0x00007ffff6039ee0 in KNotification::flags() const () from /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
#1  0x00007ffff60584a9 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
#2  0x00007ffff605e985 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
#3  0x00007ffff40389c9 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff04253ad in ?? () from /usr/lib/x86_64-linux-gnu/libphonon4qt5.so.4
#5  0x00007ffff403973a in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff50a7b2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7  0x00007ffff50ad000 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007ffff4007c2b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007ffff4009c9b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007ffff4060843 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007fffef86ec3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007fffef86ef20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007fffef86efcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007ffff4060cb0 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00000000006d136c in FITSView::loadFITS (this=0x1c8295d0, inFilename=..., silent=silent@entry=true)
    at ../../kstars/fitsviewer/fitsview.cpp:353
#16 0x00000000006d9bbe in FITSTab::loadFITS (this=this@entry=0x1c82a420, imageURL=imageURL@entry=0x7fffffffd540, mode=<optimized out>, 
    filter=filter@entry=FITS_NONE, silent=silent@entry=true) at ../../kstars/fitsviewer/fitstab.cpp:111
#17 0x00000000006d44db in FITSViewer::updateFITS (this=0x1c7e3840, imageName=imageName@entry=0x7fffffffd540, fitsUID=0, 
    filter=filter@entry=FITS_NONE, silent=silent@entry=true) at ../../kstars/fitsviewer/fitsviewer.cpp:378
#18 0x00000000006abd92 in ISD::CCD::processBLOB (this=0x1becb130, bp=0x7fffc8018fc0) at ../../kstars/indi/indiccd.cpp:1258
#19 0x00000000006a3488 in INDIListener::processBLOB (this=<optimized out>, bp=0x7fffc8018fc0) at ../../kstars/indi/indilistener.cpp:364
#20 0x0000000000666d64 in INDIListener::qt_static_metacall (_o=0x0, _c=2025668892, _id=465415888, _a=0x1bbdaed0) at moc_indilistener.cpp:181
#21 0x00007ffff403973a in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007ffff50a7b2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007ffff50ad000 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007ffff4007c2b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007ffff4009c9b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007ffff4060843 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007fffef86ec3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fffef86ef20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fffef86efcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007ffff4060c57 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007ffff40053e2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007ffff400d02c in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x0000000000547c12 in main (argc=1, argv=<optimized out>) at ../../kstars/main.cpp:240
(gdb) 


And now the one using the CCD simulator
[New Thread 0x7fffc25ee700 (LWP 2268)]
[New Thread 0x7fffc2def700 (LWP 2267)]
[New Thread 0x7fffc4811700 (LWP 2266)]
[New Thread 0x7fffc5012700 (LWP 2265)]
[New Thread 0x7fffc5813700 (LWP 2264)]
[New Thread 0x7fffc6140700 (LWP 2260)]
[New Thread 0x7fffc6941700 (LWP 2259)]
[New Thread 0x7fffc7142700 (LWP 2258)]
[New Thread 0x7fffc7943700 (LWP 2257)]
[New Thread 0x7fffc37fd700 (LWP 2256)]
[New Thread 0x7fffc3ffe700 (LWP 2255)]
[New Thread 0x7fffcce90700 (LWP 2254)]
[New Thread 0x7fffcee3b700 (LWP 2246)]
[New Thread 0x7fffd9c0c700 (LWP 2228)]
[New Thread 0x7fffe423d700 (LWP 2226)]
 
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6039ee0 in KNotification::flags() const () from /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
(gdb) bt
#0  0x00007ffff6039ee0 in KNotification::flags() const () from /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
#1  0x00007ffff60584a9 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
#2  0x00007ffff605e985 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
#3  0x00007ffff40389c9 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff04253ad in ?? () from /usr/lib/x86_64-linux-gnu/libphonon4qt5.so.4
#5  0x00007ffff403973a in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff50a7b2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7  0x00007ffff50ad000 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007ffff4007c2b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007ffff4009c9b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007ffff4060843 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007fffef86ec3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007fffef86ef20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007fffef86efcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007ffff4060cb0 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00000000006d136c in FITSView::loadFITS (this=0x1c8295d0, inFilename=..., silent=silent@entry=true)
    at ../../kstars/fitsviewer/fitsview.cpp:353
#16 0x00000000006d9bbe in FITSTab::loadFITS (this=this@entry=0x1c82a420, imageURL=imageURL@entry=0x7fffffffd540, mode=<optimized out>, 
    filter=filter@entry=FITS_NONE, silent=silent@entry=true) at ../../kstars/fitsviewer/fitstab.cpp:111
#17 0x00000000006d44db in FITSViewer::updateFITS (this=0x1c7e3840, imageName=imageName@entry=0x7fffffffd540, fitsUID=0, 
    filter=filter@entry=FITS_NONE, silent=silent@entry=true) at ../../kstars/fitsviewer/fitsviewer.cpp:378
#18 0x00000000006abd92 in ISD::CCD::processBLOB (this=0x1becb130, bp=0x7fffc8018fc0) at ../../kstars/indi/indiccd.cpp:1258
#19 0x00000000006a3488 in INDIListener::processBLOB (this=<optimized out>, bp=0x7fffc8018fc0) at ../../kstars/indi/indilistener.cpp:364
#20 0x0000000000666d64 in INDIListener::qt_static_metacall (_o=0x0, _c=2025668892, _id=465415888, _a=0x1bbdaed0) at moc_indilistener.cpp:181
#21 0x00007ffff403973a in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007ffff50a7b2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007ffff50ad000 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007ffff4007c2b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007ffff4009c9b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007ffff4060843 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007fffef86ec3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fffef86ef20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fffef86efcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007ffff4060c57 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007ffff40053e2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007ffff400d02c in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x0000000000547c12 in main (argc=1, argv=<optimized out>) at ../../kstars/main.cpp:240
(gdb) 
8 years 2 months ago #6796

Please Log in or Create an account to join the conversation.

The crash appears to happen in KNotification calls. I tried replicating it (Using ASI on Rpi) and couldn't get any crash on Ekos VM. So I'm not really sure how to go on about your issue, how about checking if you get the same problem using TeamViewer?
The following user(s) said Thank You: Derek
8 years 2 months ago #6808

Please Log in or Create an account to join the conversation.

  • Posts: 456
  • Thank you received: 76

Replied by Derek on topic ZWO ASI120mm crashing kstars

Thanks Jasem,
I used the PC in the observatory today directly (monitor and keyboard) and can replicate the issue without vnc in the mix.
So its something weird that I have installed or something. I'm able to replicate now with the CCD simulator too so the title of this thread is now inaccurate.
I've taken the PC home to where I have good internet access and as soon as I sort it out I'll update the tile and post the solution so it might help someone else.
Derek
8 years 2 months ago #6819

Please Log in or Create an account to join the conversation.

  • Posts: 456
  • Thank you received: 76
I have 'fixed' the problem by upgrading the OS to kubuntu 15.10.
I have no idea what I did to the system to cause the original issue but hope this might help someone.
Updated this thread title to be more accurate also.
Derek
8 years 2 months ago #6829

Please Log in or Create an account to join the conversation.

Time to create page: 0.269 seconds