astroberry@astroberry:~ $ gdb --ex run --args kstars GNU gdb (Raspbian 8.2.1-2) 8.2.1 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "arm-linux-gnueabihf". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from kstars...Reading symbols from /usr/lib/debug/.build-id/c5/860b9949f520ff42102eb472527e43742253c1.debug...done. done. Starting program: /usr/bin/kstars [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [New Thread 0xafa61090 (LWP 1660)] libEGL warning: DRI2: failed to authenticate [New Thread 0xaa284090 (LWP 1665)] [New Thread 0xa98ff090 (LWP 1666)] [New Thread 0xa8eff090 (LWP 1667)] [New Thread 0xa86fe090 (LWP 1668)] [New Thread 0xa7efd090 (LWP 1669)] [New Thread 0xa72ff090 (LWP 1670)] [New Thread 0xa6afe090 (LWP 1671)] [New Thread 0xa60ff090 (LWP 1672)] qt5ct: using qt5ct plugin [New Thread 0xa52c4090 (LWP 1673)] [New Thread 0xa4451090 (LWP 1674)] [New Thread 0xa2450090 (LWP 1675)] [New Thread 0xa044f090 (LWP 1676)] [New Thread 0x9d957090 (LWP 1677)] [New Thread 0x9ce7b090 (LWP 1678)] [New Thread 0x9c67a090 (LWP 1679)] [New Thread 0x9ba84090 (LWP 1680)] [New Thread 0x9959e090 (LWP 1681)] [New Thread 0x98d9d090 (LWP 1682)] [New Thread 0x9859c090 (LWP 1683)] [New Thread 0x97d9b090 (LWP 1684)] [Thread 0x97d9b090 (LWP 1684) exited] [Thread 0x9959e090 (LWP 1681) exited] [Detaching after fork from child process 1685] [Detaching after fork from child process 1686] [Detaching after fork from child process 1687] [New Thread 0x9959e090 (LWP 1691)] [Thread 0x9859c090 (LWP 1683) exited] [New Thread 0x9859c090 (LWP 1696)] Thread 1 "kstars" received signal SIGSEGV, Segmentation fault. 0x00cd7ab8 in INDI::BaseDevice::getRawProperty(char const*, INDI_PROPERTY_TYPE) () (gdb) bt #0 0x00cd7ab8 in INDI::BaseDevice::getRawProperty(char const*, INDI_PROPERTY_TYPE) () #1 0x008de388 in Ekos::Mount::syncTelescopeInfo (this=this@entry=0x42b4c58) at ./kstars/kstars/ekos/mount/mount.cpp:331 #2 0x008df09c in Ekos::Mount::setTelescope (this=0x42b4c58, newTelescope=newTelescope@entry=0x3d48208) at ./kstars/kstars/ekos/mount/mount.cpp:297 #3 0x007d93d4 in Ekos::Manager::setTelescope (this=0x3d30c60, scopeDevice=0x3d48208) at /usr/include/c++/8/bits/unique_ptr.h:342 #4 0xb4a3d380 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5 #5 0x006b5dd8 in INDIListener::newTelescope (this=this@entry=0x3789728, _t1=) at ./obj-arm-linux-gnueabihf/kstars/KStarsLib_autogen/FRI4DANIHA/moc_indilistener.cpp:401 #6 0x00758b38 in INDIListener::registerProperty (this=0x3789728, prop=0xa99544b8) at ./kstars/kstars/indi/indilistener.cpp:255 #7 0xb4a39c68 in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5 #8 0xb4a3dbec in QObject::event(QEvent*) () from /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5 #9 0xb5332db4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/arm-linux-gnueabihf/libQt5Widgets.so.5 --Type for more, q to quit, c to continue without paging-- #10 0xb533b2a8 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/arm-linux-gnueabihf/libQt5Widgets.so.5 #11 0x03789728 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) Quit (gdb)