This is the trace back of the crash. Examining this I understand where the problem is. If there is no ccd connected switching to the focuser tab of ekos crash all. Wouldn't be better to have a warning message instead of a crash ?
The other problem is that the connect action fail at first try and succeed at second one.
2016-02-18T10:28:48: Error retreiving data from MoonLite, please ensure MoonLite controller is powered and the port is correct.
2016-02-18T10:28:48: updatePostion error: Timeout error.
A question, if the port is not ttyUSB0 how is it possible to set it to another one when using a remote indiserver ? (I ask it because I note it when unplugging and re-plugging the arduino device increase the number of USB)
TRACE BACK
#0 ISD::CCD::getChip (this=0x0, cType=cType@entry=ISD::CCDChip::PRIMARY_CCD)
at ../../kstars/indi/indiccd.cpp:1426
#1 0x000000000073aa22 in Ekos::Focus::checkCCD (this=0x6536f10,
ccdNum=<optimized out>, ccdNum@entry=-1) at ../../kstars/ekos/focus.cpp:255
#2 0x0000000000711e8a in EkosManager::processTabChange (this=0x5dc0df0)
at ../../kstars/ekos/ekosmanager.cpp:2135
#3 0x0000000000666e4d in EkosManager::qt_static_metacall (_o=0x0,
_c=QMetaObject::InvokeMetaMethod, _id=-200200176, _a=0x0)
at moc_ekosmanager.cpp:276
#4 0x00007ffff406b9c9 in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5 0x00007ffff528aabe in QTabWidget::currentChanged(int) ()
from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#6 0x00007ffff528ba4f in ?? ()
from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7 0x00007ffff406b9c9 in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8 0x00007ffff527bc5e in QTabBar::currentChanged(int) ()
from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9 0x00007ffff5281f80 in QTabBar::setCurrentIndex(int) ()
from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007ffff5284740 in QTabBar::mousePressEvent(QMouseEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
---Type <return> to continue, or q <return> to quit---
#11 0x00007ffff511e89f in QWidget::event(QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007ffff5288443 in QTabBar::event(QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007ffff50dab2c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007ffff50e08eb in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007ffff403ac2b in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007ffff50df3da in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007ffff5136cc0 in ?? ()
from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007ffff5138e33 in ?? ()
from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007ffff50dab2c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007ffff50e0000 in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007ffff403ac2b in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
#22 0x00007ffff4b1df82 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#23 0x00007ffff4b1fb45 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#24 0x00007ffff4b0434f in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#25 0x00007fffe67d7590 in ?? ()
from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#26 0x00007fffef8a1c3d in g_main_context_dispatch ()
from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007fffef8a1f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fffef8a1fcc in g_main_context_iteration ()
from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007ffff4093c57 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007ffff40383e2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007ffff404002c in QCoreApplication::exec() ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00000000005485e2 in main (argc=1, argv=<optimized out>)
---Type <return> to continue, or q <return> to quit---
at ../../kstars/main.cpp:240