KStars Crashes when trying to enable LDN or Abell Catalog
I am getting a Seg Fault with KStars 3.5.2 when trying to enable the LDN or Abell Catalog with my RP4:
Thread 1 "kstars" received signal SIGSEGV, Segmentation fault.
0x00000008 in ?? ()
(gdb) bt
#0 0x00000008 in ()
#1 0x00e3e050 in SkyMapComposite::update(KSNumbers*)
(this=0x18efd40, num=0xbeffd768)
at /home/stellarmate/Projects/kstars/kstars/skycomponents/skymapcomposite.cpp:211
#2 0x004b6cd8 in KStarsData::updateTime(GeoLocation*, bool)
(this=0x18bc300, geo=0x18bc310, automaticDSTchange=true)
at /home/stellarmate/Projects/kstars/kstars/kstarsdata.cpp:292
#3 0x00511658 in KStars::updateTime(bool)
(this=0x18c1770, automaticDSTchange=true)
at /home/stellarmate/Projects/kstars/kstars/kstars.cpp:594
#4 0x007b67c4 in KStars::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x18c1770, _c=QMetaObject::InvokeMetaMethod, _id=58, _a=0xbeffdef0)
at /home/stellarmate/Projects/build/kstars/kstars/KStarsLib_autogen/EWIEGA46WW/moc_kstars.cpp:715
#5 0xb4578244 in QMetaObject::activate(QObject*, int, int, void**) ()
at /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5
#6 0x0077f2ec in SimClock::timeAdvanced() (this=0x18bc3a0)
at /home/stellarmate/Projects/build/kstars/kstars/KStarsLib_autogen/6J4LICVGHX/moc_simclock.cpp:223
#7 0x004a30bc in SimClock::tick() (this=0x18bc3a0)
at /home/stellarmate/Projects/kstars/kstars/time/simclock.cpp:68
#8 0x0077ebc8 in SimClock::qt_static_metacall(QObject*, QMetaObject::Call, int,--Type <RET> for more, q to quit, c to continue without paging--
void**) (_o=0x18bc3a0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbeffe09c)
at /home/stellarmate/Projects/build/kstars/kstars/KStarsLib_autogen/6J4LICVGHX/moc_simclock.cpp:137
#9 0xb4578244 in QMetaObject::activate(QObject*, int, int, void**) ()
at /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5
#10 0xb45850f0 in QTimer::timeout(QTimer::QPrivateSignal) ()
at /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5
#11 0xb4578ba0 in QObject::event(QEvent*) ()
at /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5
#12 0xb4cfbdb4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
at /usr/lib/arm-linux-gnueabihf/libQt5Widgets.so.5
#13 0xb4d042a8 in QApplication::notify(QObject*, QEvent*) ()
at /usr/lib/arm-linux-gnueabihf/libQt5Widgets.so.5
#14 0x018bc3c0 in ()
I have looked into the sources, and it seems that m_internetResolvedComponent is null. So i just have disabled the internet resolved and now the seg fault appears in line 212:
#0 0x0309aac8 in ()
#1 0x00e3e07c in SkyMapComposite::update(KSNumbers*)
(this=0x18e27f8, num=0xbeffd768)
at /home/stellarmate/Projects/kstars/kstars/skycomponents/skymapcomposite.cpp:212
#2 0x004b6cd8 in KStarsData::updateTime(GeoLocation*, bool)
(this=0x18be160, geo=0x18be170, automaticDSTchange=true)
at /home/stellarmate/Projects/kstars/kstars/kstarsdata.cpp:292
#3 0x00511658 in KStars::updateTime(bool)
(this=0x18c13b0, automaticDSTchange=true)
at /home/stellarmate/Projects/kstars/kstars/kstars.cpp:594
#4 0x007b67c4 in KStars::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x18c13b0, _c=QMetaObject::InvokeMetaMethod, _id=58, _a=0xbeffdef0)
at /home/stellarmate/Projects/build/kstars/kstars/KStarsLib_autogen/EWIEGA46WW/moc_kstars.cpp:715
#5 0xb4578244 in QMetaObject::activate(QObject*, int, int, void**) ()
at /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5
#6 0x0077f2ec in SimClock::timeAdvanced() (this=0x18be200)
at /home/stellarmate/Projects/build/kstars/kstars/KStarsLib_autogen/6J4LICVGHX/moc_simclock.cpp:223
#7 0x004a30bc in SimClock::tick() (this=0x18be200)
at /home/stellarmate/Projects/kstars/kstars/time/simclock.cpp:68
#8 0x0077ebc8 in SimClock::qt_static_metacall(QObject*, QMetaObject::Call, int,--Type <RET> for more, q to qui--Type <RET> for more, q to quit, c to continue without paging--
void**) (_o=0x18be200, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbeffe09c)
at /home/stellarmate/Projects/build/kstars/kstars/KStarsLib_autogen/6J4LICVGHX/moc_simclock.cpp:137
#9 0xb4578244 in QMetaObject::activate(QObject*, int, int, void**) ()
at /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5
#10 0xb45850f0 in QTimer::timeout(QTimer::QPrivateSignal) () at /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5
#11 0xb4578ba0 in QObject::event(QEvent*) () at /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5
#12 0xb4cfbdb4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
at /usr/lib/arm-linux-gnueabihf/libQt5Widgets.so.5
#13 0xb4d042a8 in QApplication::notify(QObject*, QEvent*) ()
at /usr/lib/arm-linux-gnueabihf/libQt5Widgets.so.5
#14 0x018be220 in ()
CS pmneo
Edited by Philip Mair