-
Notifications
You must be signed in to change notification settings - Fork 381
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loading sequence in capture module crashes #146
Comments
On my Raspberry Pi 3 loading seems to work, but it's running slightly older PPA ( |
Updated Raspberry packages, indi-full is now |
Can't reproduce this. Can you attach the sequence file you were trying to load? |
Connection to indi server is lost already before selecting any sequence file, just pressing the load button. I also tried with a locally run "remote" indi server and it seems the server is fine and continues sending mount updates and so on even after kstars says connection lost. In any case I'll attach the particular sequence file, though it seems to do the same with any of them I've tried. |
Similar error also happens if I try to save a new sequence on this machine. Indi server disconnect when I press the button and crash after selecting a file name. It does create a file with contents Backtrace is quite similar to the load case: |
PPA gives similar backtrace when saving, line numbers are slightly different compared to git head: |
Well I can't reproduce this on any machine, this includes VM machines with different distros as well. |
Yes, I too can only reproduce it on that one machine, another amd64 with Ubuntu 16.10 and Raspberry Pi 3 work fine. Any idea where I should break to see what causes the indi server disconnection? My hypothesis is that the disconnect is the root cause which makes Ekos close the capture tab as it doesn't have cameras anymore and that causes then the actual crash when completing the dialog which would be caused by accessing deleted objects. The disconnect is only on Kstars side as the server remains up and sending snoop information if run as a separate process and not from Kstars directly. |
With both current PPA (
kstars-bleeding 5:16.12+201701262218~ubuntu16.04.1, indi-full 1.3~201701301122~ubuntu16.04.1
) and self-compiled git version of kstars I get a crash when trying to load a sequence file. Running on current Ubuntu 16.04 LTS on amd64. Reproduction in kstars:#0 0x00007ffff4b7eecf in QTableWidget::rowCount() const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #1 0x000000000075bfc9 in Ekos::Capture::loadSequenceQueue (this=0x49f6190, fileURL=...) at /home/jarno/Projects/kstars/kstars/ekos/capture/capture.cpp:2282 #2 0x000000000075be37 in Ekos::Capture::loadSequenceQueue (this=0x49f6190) at /home/jarno/Projects/kstars/kstars/ekos/capture/capture.cpp:2262 #3 0x000000000061cbd9 in Ekos::Capture::qt_static_metacall (_o=0x49f6190, _c=QMetaObject::InvokeMetaMethod, _id=49, _a=0x7fffffffce00) at /home/jarno/Projects/build/kstars/kstars/moc_capture.cpp:494 #4 0x00007ffff3b0cd2a in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007ffff4c54192 in QAbstractButton::clicked(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #6 0x00007ffff49b6f04 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #7 0x00007ffff49b8519 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #8 0x00007ffff49b8694 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #9 0x00007ffff48fcf88 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #10 0x00007ffff48ba05c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #11 0x00007ffff48bfc19 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #12 0x00007ffff3ade38b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #13 0x00007ffff48beb32 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #14 0x00007ffff491757b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #15 0x00007ffff4919b3b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #16 0x00007ffff48ba05c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #17 0x00007ffff48bf516 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #18 0x00007ffff3ade38b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #19 0x00007ffff43094e1 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #20 0x00007ffff430b1a5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #21 0x00007ffff42eef08 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #22 0x00007fffe4bb5060 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #23 0x00007fffeecdf197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #24 0x00007fffeecdf3f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #25 0x00007fffeecdf49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #26 0x00007ffff3b347cf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #27 0x00007ffff3adbb4a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #28 0x00007ffff3ae3bec in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #29 0x000000000048bd9d in main (argc=1, argv=0x7fffffffdde8) at /home/jarno/Projects/kstars/kstars/main.cpp:278
The text was updated successfully, but these errors were encountered: