g 181073 176710 0 17:25 pts/3 00:00:00 grep --color=auto kstars [tg@chai wrk]$ gdb -ex run kstars GNU gdb (GDB) Fedora 8.3.50.20190824-30.fc31 Copyright (C) 2019 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 "x86_64-redhat-linux-gnu". 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/usr/bin/kstars-3.4.1-4.3.x86_64.debug... Starting program: /usr/bin/kstars [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". warning: Loadable section ".note.gnu.property" outside of ELF segments [New Thread 0x7fffe3a8e700 (LWP 181133)] [New Thread 0x7fffe2107700 (LWP 181135)] [New Thread 0x7fffe1906700 (LWP 181136)] [New Thread 0x7fffe1105700 (LWP 181137)] [New Thread 0x7fffd3fff700 (LWP 181138)] [New Thread 0x7fffd212b700 (LWP 181139)] [New Thread 0x7fffc7fff700 (LWP 181140)] [New Thread 0x7fffbbfff700 (LWP 181141)] [New Thread 0x7fffb3fff700 (LWP 181142)] [New Thread 0x7fffd0b15700 (LWP 181143)] [New Thread 0x7fffc5ffe700 (LWP 181144)] [New Thread 0x7fffc57fd700 (LWP 181145)] [New Thread 0x7fffc4bcf700 (LWP 181146)] [New Thread 0x7fff9bfff700 (LWP 181147)] [New Thread 0x7fffb9ffe700 (LWP 181148)] [Thread 0x7fffb9ffe700 (LWP 181148) exited] [Thread 0x7fffc5ffe700 (LWP 181144) exited] [New Thread 0x7fffc5ffe700 (LWP 181189)] [Detaching after fork from child process 181193] [New Thread 0x7fffb9ffe700 (LWP 181196)] [New Thread 0x7fffb890b700 (LWP 181197)] [New Thread 0x7fffb1ffe700 (LWP 181198)] warning: Loadable section ".note.gnu.property" outside of ELF segments [New Thread 0x7fffb0dbd700 (LWP 181243)] [Thread 0x7fffc57fd700 (LWP 181145) exited] Thread 1 "kstars" received signal SIGSEGV, Segmentation fault. 0x0000555555e4bf15 in FITSHistogram::constructHistogram()::{lambda()#4}::operator()() const ( this=0x55555b29b4b0) at /usr/include/qt5/QtCore/qarraydata.h:211 211 iterator begin(iterator = iterator()) { return data(); } Missing separate debuginfos, use: dnf debuginfo-install GConf2-3.2.6-27.fc31.x86_64 LibRaw-0.19.5-1.fc31.x86_64 OpenEXR-libs-2.3.0-4.fc31.x86_64 adwaita-qt5-1.1.1-2.fc31.x86_64 at-spi2-atk-2.34.2-1.fc31.x86_64 at-spi2-core-2.34.0-1.fc31.x86_64 atk-2.34.1-1.fc31.x86_64 bzip2-libs-1.0.8-1.fc31.x86_64 cairo-1.16.0-6.fc31.x86_64 cairo-gobject-1.16.0-6.fc31.x86_64 cfitsio-3.470-1.fc31.x86_64 dbus-glib-0.110-6.fc31.x86_64 dbus-libs-1.12.16-3.fc31.x86_64 dbusmenu-qt5-0.9.3-0.21.20160218.fc31.x86_64 dconf-0.34.0-1.fc31.x86_64 expat-2.2.8-1.fc31.x86_64 flac-libs-1.3.3-1.fc31.x86_64 fontconfig-2.13.92-3.fc31.x86_64 freetype-2.10.0-3.fc31.x86_64 fribidi-1.0.5-5.fc31.x86_64 gdk-pixbuf2-2.40.0-1.fc31.x86_64 glib2-2.62.6-1.fc31.x86_64 glibc-2.30-11.fc31.x86_64 gsl-2.5-2.fc31.x86_64 gsm-1.0.18-5.fc31.x86_64 harfbuzz-2.6.1-2.fc31.x86_64 ilmbase-2.3.0-3.fc31.x86_64 jasper-libs-2.0.14-9.fc31.x86_64 jbigkit-libs-2.1-17.fc31.x86_64 kf5-attica-5.68.0-1.fc31.x86_64 kf5-karchive-5.68.0-1.fc31.x86_64 kf5-kauth-5.68.0-1.fc31.x86_64 kf5-kcodecs-5.68.0-1.fc31.x86_64 kf5-kcompletion-5.68.0-1.fc31.x86_64 kf5-kconfig-core-5.68.0-1.fc31.x86_64 kf5-kconfig-gui-5.68.0-1.fc31.x86_64 kf5-kconfigwidgets-5.68.0-1.fc31.x86_64 kf5-kcoreaddons-5.68.0-1.fc31.x86_64 kf5-kcrash-5.68.0-1.fc31.x86_64 kf5-kdbusaddons-5.68.0-1.fc31.x86_64 kf5-kglobalaccel-libs-5.68.0-1.fc31.x86_64 kf5-kguiaddons-5.68.0-1.fc31.x86_64 kf5-ki18n-5.68.0-1.fc31.x86_64 kf5-kiconthemes-5.68.0-1.fc31.x86_64 kf5-kimageformats-5.68.0-1.fc31.x86_64 kf5-kio-core-libs-5.68.0-1.fc31.x86_64 kf5-kio-widgets-libs-5.68.0-1.fc31.x86_64 kf5-kitemviews-5.68.0-1.fc31.x86_64 kf5-kjobwidgets-5.68.0-1.fc31.x86_64 kf5-knewstuff-5.68.0-1.fc31.x86_64 kf5-knotifications-5.68.0-1.fc31.x86_64 kf5-knotifyconfig-5.68.0-1.fc31.x86_64 kf5-kplotting-5.68.0-1.fc31.x86_64 kf5-kservice-5.68.0-1.fc31.x86_64 kf5-ktextwidgets-5.68.0-1.fc31.x86_64 kf5-kwindowsystem-5.68.0-1.fc31.x86_64 kf5-kxmlgui-5.68.0-1.fc31.x86_64 kf5-sonnet-core-5.68.0-1.fc31.x86_64 kf5-sonnet-ui-5.68.0-1.fc31.x86_64 lcms2-2.9-6.fc31.x86_64 libICE-1.0.10-2.fc31.x86_64 libSM-1.2.3-4.fc31.x86_64 libX11-1.6.9-2.fc31.x86_64 libX11-xcb-1.6.9-2.fc31.x86_64 libXau-1.0.9-2.fc31.x86_64 libXcursor-1.1.15-6.fc31.x86_64 libXext-1.3.4-2.fc31.x86_64 libXfixes-5.0.3-10.fc31.x86_64 libXi-1.7.10-2.fc31.x86_64 libXinerama-1.1.4-4.fc31.x86_64 libXxf86vm-1.1.4-12.fc31.x86_64 libacl-2.2.53-4.fc31.x86_64 libattr-2.4.48-7.fc31.x86_64 libblkid-2.34-4.fc31.x86_64 libdatrie-0.2.9-10.fc31.x86_64 libdrm-2.4.100-1.fc31.x86_64 libepoxy-1.5.3-4.fc31.x86_64 libffi-3.1-23.fc31.x86_64 libgcc-9.3.1-2.fc31.x86_64 libglvnd-1.1.1-5.fc31.x86_64 libgnome-keyring-3.12.0-18.fc31.x86_64 libgomp-9.3.1-2.fc31.x86_64 libicu-63.2-3.fc31.x86_64 libmount-2.34-4.fc31.x86_64 libnova-0.15.0-13.fc31.x86_64 libogg-1.3.3-3.fc31.x86_64 libpciaccess-0.15-2.fc31.x86_64 libpng-1.6.37-2.fc31.x86_64 libselinux-2.9-5.fc31.x86_64 libsndfile-1.0.28-11.fc31.x86_64 libstdc++-9.3.1-2.fc31.x86_64 libtiff-4.0.10-8.fc31.x86_64 libtool-ltdl-2.4.6-31.fc31.x86_64 libvorbis-1.3.6-5.fc31.x86_64 libwayland-client-1.17.0-2.fc31.x86_64 libwayland-cursor-1.17.0-2.fc31.x86_64 libxcb-1.13.1-3.fc31.x86_64 libxkbcommon-0.9.1-3.fc31.x86_64 libxshmfence-1.3-5.fc31.x86_64 lz4-libs-1.9.1-1.fc31.x86_64 mesa-dri-drivers-19.2.8-1.fc31.x86_64 mesa-libglapi-19.2.8-1.fc31.x86_64 nss-mdns-0.14.1-7.fc31.x86_64 openssl-libs-1.1.1d-2.fc31.x86_64 pango-1.44.7-1.fc31.x86_64 pcre-8.44-1.fc31.x86_64 pcre2-10.34-9.fc31.x86_64 pcre2-utf16-10.34-9.fc31.x86_64 phonon-qt5-4.10.2-3.fc31.x86_64 pixman-0.38.4-1.fc31.x86_64 pulseaudio-libs-13.99.1-3.fc31.x86_64 qgnomeplatform-0.6.0-2.fc31.x86_64 qt5-qtbase-5.13.2-2.fc31.x86_64 qt5-qtbase-gui-5.13.2-2.fc31.x86_64 qt5-qtdeclarative-5.13.2-1.fc31.x86_64 qt5-qtimageformats-5.13.2-1.fc31.x86_64 qt5-qtspeech-5.13.2-1.fc31.x86_64 qt5-qtsvg-5.13.2-1.fc31.x86_64 qt5-qtwebsockets-5.13.2-1.fc31.x86_64 qt5-qtx11extras-5.13.2-1.fc31.x86_64 qtkeychain-qt5-0.9.1-3.fc31.x86_64 wcslib-6.4-1.fc31.x86_64 xcb-util-keysyms-0.4.0-11.fc31.x86_64 xcb-util-renderutil-0.3.9-14.fc31.x86_64 xcb-util-wm-0.4.1-16.fc31.x86_64 zlib-1.2.11-20.fc31.x86_64 (gdb) bt #0 0x0000555555e4bf15 in FITSHistogram::constructHistogram()::{lambda()#4}::operator()() const (this=0x55555e3d39a0) at /usr/include/qt5/QtCore/qarraydata.h:211 #1 0x00005555559950b9 in non-virtual thunk to QtConcurrent::RunFunctionTask::run() () at /usr/include/c++/9/bits/exception.h:63 #2 0x00007ffff5736f72 in QThreadPoolPrivate::stealAndRunRunnable(QRunnable*) () at /lib64/libQt5Core.so.5 #3 0x00007ffff573aed2 in QFutureInterfaceBase::waitForFinished() () at /lib64/libQt5Core.so.5 #4 0x0000555555e533db in QFuture::waitForFinished() (this=0x7fffffffc640) at /usr/include/qt5/QtCore/qfuture.h:227 #5 FITSHistogram::constructHistogram() (this=this@entry=0x55555b29b4b0) at /usr/src/debug/kstars-bleeding-3.4.1-4.3.x86_64/kstars/fitsviewer/fitshistogram.cpp:358 #6 0x0000555555e53acc in FITSHistogram::constructHistogram() (this=0x55555b29b4b0) at /usr/src/debug/kstars-bleeding-3.4.1-4.3.x86_64/kstars/fitsviewer/fitshistogram.cpp:145 #7 0x00005555559a2eb3 in FITSTab::evaluateStats() (this=0x55555b4730a0) at /usr/include/c++/9/bits/atomic_base.h:413 #8 0x00005555559a4b41 in FITSTab::processData() (this=0x55555b4730a0) at /usr/src/debug/kstars-bleeding-3.4.1-4.3.x86_64/kstars/fitsviewer/fitstab.cpp:445 #9 0x00005555559a665a in FITSTab::loadFITSFromData(FITSData*, QUrl const&, FITSMode, FITSScale) (this=this@entry=0x55555b4730a0, data=data@entry=0x55555b3821c0, imageURL=..., mode=mode@entry=FITS_NORMAL, filter=filter@entry=FITS_NONE) at /usr/src/debug/kstars-bleeding-3.4.1-4.3.x86_64/kstars/fitsviewer/fitstab.cpp:485 #10 0x000055555598f8ac in FITSViewer::addFITSFromData(FITSData*, QUrl const&, int*, FITSMode, FITSScale, QString const&) (this=0x55555ae871f0, data=data@entry=0x55555b3821c0, imageName=..., tab_uid=tab_uid@entry=0x7fffffffc950, mode=mode@entry=FITS_NORMAL, filter=filter@entry=FITS_NONE, previewText=...) at /usr/src/debug/kstars-bleeding-3.4.1-4.3.x86_64/kstars/fitsviewer/fitsviewer.cpp:434 #11 0x0000555555962bcb in ISD::CCD::displayFits(ISD::CCDChip*, QString const&, IBLOB*, FITSData*) (this=0x55555888a6d0, targetChip=0x55555a74c1c0, filename=..., bp=0x7fff8c00f0d0, blob_fits_data=0x55555b3821c0) at /usr/include/c++/9/bits/atomic_base.h:413 #12 0x00005555559684c0 in ISD::CCD::processBLOB(IBLOB*) (this=0x55555888a6d0, bp=0x7fff8c00f0d0) at /usr/src/debug/kstars-bleeding-3.4.1-4.3.x86_64/kstars/indi/indiccd.cpp:1707 #13 0x000055555595300e in INDIListener::processBLOB(IBLOB*) (this=, bp=0x7fff8c00f0d0) at /usr/src/debug/kstars-bleeding-3.4.1-4.3.x86_64/kstars/indi/indilistener.cpp:436 #14 0x00005555558f6ffd in INDIListener::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=, _c=, _id=, _a=) at /usr/src/debug/kstars-bleeding-3.4.1-4.3.x86_64/x86_64-redhat-linux-gnu/kstars/KStarsLib_autogen/FRI4DANIHA/moc_indilistener.cpp:190 #15 0x00007ffff590d91b in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5 #16 0x00005555558c09e6 in ClientManager::newINDIBLOB(IBLOB*) (this=, _t1=) at /usr/src/debug/kstars-bleeding-3.4.1-4.3.x86_64/x86_64-redhat-linux-gnu/kstars/KStarsLib_autogen/FRI4DANIHA/moc_clientmanager.cpp:368 #17 0x00007ffff590e79a in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5 #18 0x00007ffff6387ab6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5 #19 0x00007ffff6391150 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5 #20 0x00007ffff58e33e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5 #21 0x00007ffff58e642b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt5Core.so.5 #22 0x00007ffff5938a97 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5 #23 0x00007ffff3efb570 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0 #24 0x00007ffff3efb900 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0 #25 0x00007ffff3efb9a3 in g_main_context_iteration () at /lib64/libglib-2.0.so.0 --Type for more, q to quit, c to continue without paging-- #26 0x00007ffff5938825 in QEventDispatcherGlib::processEvents(QFlags) () at /lib64/libQt5Core.so.5 #27 0x00007ffff58e21db in QEventLoop::exec(QFlags) () at /lib64/libQt5Core.so.5 #28 0x00007ffff58ea0b6 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5 #29 0x00005555556a4b76 in main(int, char**) (argc=, argv=) at /usr/src/debug/kstars-bleeding-3.4.1-4.3.x86_64/kstars/main.cpp:332 (gdb)