Damian Connell replied to the topic 'kstars crash with focusing' in the forum. 2 days ago

I can confirm that with the 2022/11/18 (3.6.2) git build on OpenSuSE Leap 15.4 EAF focusing all works fine without the need for a wheel simulator

Read More...

Damian Connell replied to the topic 'kstars crash with focusing' in the forum. 4 days ago

Thanks Edgar,

I'd not got around to trying the git build yet. Good to know it's fixed

Read More...

Damian Connell replied to the topic 'kstars crash with focusing' in the forum. 4 days ago

I've tried various distros over the years, but for the last 25 years SuSE has proved more useful to me in general

Read More...

Damian Connell replied to the topic 'kstars crash with focusing' in the forum. 5 days ago

Thanks Wolfgang,

It's good to know it's fixed in later versions.
I'd tried to build from git, but it looks like SuSE 15.4 doesn't have the development RPMs for KDE Frameworks 5 so it may take a bit more effort on my part to get it built, but I'll give it a go

regards

Read More...

Damian Connell replied to the topic 'kstars crash with focusing' in the forum. 6 days ago

I've attached a log without using the filter wheel simulator, and there's not much details at the point of the crash other than focusing was started. You're right about it being a colour camera, but for practical purposes I can at least focus with the simulator in the train.

here's a screen shot of the profile settings



If it's any use I can upload filtermanager.cpp and focus.cpp I'm debugging from

Read More...

Damian Connell replied to the topic 'kstars crash with focusing' in the forum. 6 days ago

I ran this again with kstars debug version in gdb and got this back:

(gdb) bt
#0 Ekos::FilterManager::setFocusStatus(Ekos::FocusState) (this=0x0, focusState=Ekos::FOCUS_PROGRESS)
at /usr/src/debug/kstars-3.6.1-lp154.35.3.x86_64/kstars/ekos/auxiliary/filtermanager.cpp:688
#1 0x0000555555b8189a in Ekos::Focus::<lambda(Ekos::FocusState)>::operator() (state=Ekos::FOCUS_PROGRESS, __closure=0x55555d17f890)
at /usr/src/debug/kstars-3.6.1-lp154.35.3.x86_64/kstars/ekos/focus/focus.cpp:3778
#2 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<Ekos::FocusState>, void, Ekos::Focus::setupFilterManager()::<lambda(Ekos::FocusState)> >::call (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#3 QtPrivate::Functor<Ekos::Focus::setupFilterManager()::<lambda(Ekos::FocusState)>, 1>::call<QtPrivate::List<Ekos::FocusState>, void>
(arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#4 QtPrivate::QFunctorSlotObject<Ekos::Focus::setupFilterManager()::<lambda(Ekos::FocusState)>, 1, QtPrivate::List<Ekos::FocusState>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *)
(which=<optimized out>, this_=0x55555d17f880, r=<optimized out>, a=<optimized out>, ret=<optimized out>)
at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#5 0x00007ffff0c30aab in () at /usr/lib64/libQt5Core.so.5

etc ...

Is this expected given I have no filter wheel attached?

Read More...

Damian Connell replied to the topic 'kstars crash with focusing' in the forum. 1 week ago


That's what I wondered from the backtrace so I updated all QT5 libs to current, but with no success. I also wondered why it should just crash on the "autofocus" button only

Read More...

Damian Connell created a new topic ' kstars crash with focusing' in the forum. 1 week ago

My apologies for introducing myself by way of a problem ...

I'm getting a SEGV when I try to autofocus with an ASI EAF.

kstars version: 3.6.1 on OpenSuSE leap 15.4. Indi running remotely on OpenSuSE Tumbleweed

Clicking on focus in, out or giving an explicit focus value works fine and I can hear the stepper, but autofocus causes and instant crash (ekosdebugger output below). Kstars v3.5.7 works fine without issues

Thread 1 "kstars" received signal SIGSEGV, Segmentation fault.
0x0000555555a74654 in ?? ()
#0 0x0000555555a74654 in ()
#1 0x0000555555b8189a in ()
#2 0x00007ffff0c30aab in () at /usr/lib64/libQt5Core.so.5
#3 0x00005555558fd781 in ()
#4 0x0000555555b9dc73 in ()
#5 0x00007ffff0c30aab in () at /usr/lib64/libQt5Core.so.5
#6 0x00007ffff1c92c42 in QAbstractButton::clicked(bool) () at /usr/lib64/libQt5Widgets.so.5
#7 0x00007ffff1c92eca in () at /usr/lib64/libQt5Widgets.so.5
#8 0x00007ffff1c9432a in () at /usr/lib64/libQt5Widgets.so.5
#9 0x00007ffff1c9451d in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib64/libQt5Widgets.so.5
#10 0x00007ffff1be6c88 in QWidget::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#11 0x00007ffff1d3808f in QPushButton::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#12 0x00007ffff1ba64cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#13 0x00007ffff1bad807 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#14 0x00007ffff0bf30b3 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#15 0x00007ffff1bac80f in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /usr/lib64/libQt5Widgets.so.5
#16 0x00007ffff1c0146c in () at /usr/lib64/libQt5Widgets.so.5
#17 0x00007ffff1c044dd in () at /usr/lib64/libQt5Widgets.so.5
#18 0x00007ffff1ba64cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#19 0x00007ffff1bad28f in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#20 0x00007ffff0bf30b3 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#21 0x00007ffff1250dbb in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib64/libQt5Gui.so.5
#22 0x00007ffff1252065 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib64/libQt5Gui.so.5
#23 0x00007ffff1228b5b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Gui.so.5
#24 0x00007fffe7483500 in () at /usr/lib64/libQt5WaylandClient.so.5
#25 0x00007fffeca597fb in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#26 0x00007fffeca59ba0 in () at /usr/lib64/libglib-2.0.so.0
#27 0x00007fffeca59c2c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#28 0x00007ffff0c559fc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#29 0x00007ffff0bf191a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#30 0x00007ffff0bfb157 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#31 0x000055555566cb76 in ()
#32 0x00007fffeefda2bd in __libc_start_main () at /lib64/libc.so.6
#33 0x00005555556a32da in ()

Read More...