Starting fresh KStars in Ubuntu 18.04 crashes it
Due to DSO database failure. KStars ~/.local/share/kstars was cleared. Qt v5.14.2
Backtrace:
Thread 7 (Thread 0x7fffc1a36700 (LWP 14636)):
#0 0x00007fffec652cb9 in __GI___poll (fds=0x7fffa0007080, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
resultvar = 18446744073709551100
sc_cancel_oldtype = 0
sc_ret = <optimized out>
#1 0x00007fffe48cd481 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#2 0x00007fffe48bee40 in pa_mainloop_poll () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#3 0x00007fffe48bf4d0 in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#4 0x00007fffe48bf560 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#5 0x00007fffe48cd3c9 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#6 0x00007fffdf62f468 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so
No symbol table info available.
#7 0x00007fffef1746db in start_thread (arg=0x7fffc1a36700) at pthread_create.c:463
pd = 0x7fffc1a36700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736442099456, -4794303018504412156, 140736442097216, 0, 93825042079840, 140737488343392, 4794281403073569796, 4794337855750153220}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#8 0x00007fffec65f71f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.
Thread 6 (Thread 0x7fffb3fff700 (LWP 14635)):
#0 0x00007fffef17afb9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7fffb3ffeb30, expected=0, futex_word=0x55555703db24) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
__ret = -516
oldtype = 0
err = <optimized out>
oldtype = <optimized out>
err = <optimized out>
__ret = <optimized out>
resultvar = <optimized out>
__arg4 = <optimized out>
__arg3 = <optimized out>
__arg2 = <optimized out>
__arg1 = <optimized out>
_a4 = <optimized out>
_a3 = <optimized out>
_a2 = <optimized out>
_a1 = <optimized out>
#1 __pthread_cond_wait_common (abstime=0x7fffb3ffebe0, mutex=0x55555703dad0, cond=0x55555703daf8) at pthread_cond_wait.c:533
rt = {tv_sec = 29, tv_nsec = 999999742}
spin = 0
buffer = {__routine = 0x7fffef17a770 <__condvar_cleanup_waiting>, __arg = 0x7fffb3ffeb60, __canceltype = 1454571584, __prev = 0x0}
cbuffer = {wseq = 3, cond = 0x55555703daf8, mutex = 0x55555703dad0, private = 0}
err = <optimized out>
g = 1
flags = <optimized out>
g1_start = <optimized out>
maxspin = 0
signals = <optimized out>
result = 0
wseq = <optimized out>
seq = 1
private = <optimized out>
maxspin = <optimized out>
err = <optimized out>
result = <optimized out>
wseq = <optimized out>
g = <optimized out>
seq = <optimized out>
flags = <optimized out>
private = <optimized out>
signals = <optimized out>
g1_start = <optimized out>
spin = <optimized out>
buffer = <optimized out>
cbuffer = <optimized out>
rt = <optimized out>
s = <optimized out>
#2 __pthread_cond_timedwait (cond=0x55555703daf8, mutex=0x55555703dad0, abstime=0x7fffb3ffebe0) at pthread_cond_wait.c:667
No locals.
#3 0x00007fffed98316a in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#4 0x00007fffed983326 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#5 0x00007fffed9806b5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#6 0x00007fffed97cc2c in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#7 0x00007fffef1746db in start_thread (arg=0x7fffb3fff700) at pthread_create.c:463
pd = 0x7fffb3fff700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736213284608, -4794303018504412156, 140736213282368, 0, 93825020251328, 140737488346064, 4794171076638024708, 4794337855750153220}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#8 0x00007fffec65f71f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.
Thread 5 (Thread 0x7fffbbfff700 (LWP 14634)):
#0 0x00007fffef17afb9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7fffbbffeb30, expected=0, futex_word=0x555557037900) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
__ret = -516
oldtype = 0
err = <optimized out>
oldtype = <optimized out>
err = <optimized out>
__ret = <optimized out>
resultvar = <optimized out>
__arg4 = <optimized out>
__arg3 = <optimized out>
__arg2 = <optimized out>
__arg1 = <optimized out>
_a4 = <optimized out>
_a3 = <optimized out>
_a2 = <optimized out>
_a1 = <optimized out>
#1 __pthread_cond_wait_common (abstime=0x7fffbbffebe0, mutex=0x5555570378b0, cond=0x5555570378d8) at pthread_cond_wait.c:533
rt = {tv_sec = 29, tv_nsec = 999999740}
spin = 0
buffer = {__routine = 0x7fffef17a770 <__condvar_cleanup_waiting>, __arg = 0x7fffbbffeb60, __canceltype = -1140855920, __prev = 0x0}
cbuffer = {wseq = 0, cond = 0x5555570378d8, mutex = 0x5555570378b0, private = 0}
err = <optimized out>
g = 0
flags = <optimized out>
g1_start = <optimized out>
maxspin = 0
signals = <optimized out>
result = 0
wseq = <optimized out>
seq = 0
private = <optimized out>
maxspin = <optimized out>
err = <optimized out>
result = <optimized out>
wseq = <optimized out>
g = <optimized out>
seq = <optimized out>
flags = <optimized out>
private = <optimized out>
signals = <optimized out>
g1_start = <optimized out>
spin = <optimized out>
buffer = <optimized out>
cbuffer = <optimized out>
rt = <optimized out>
s = <optimized out>
#2 __pthread_cond_timedwait (cond=0x5555570378d8, mutex=0x5555570378b0, abstime=0x7fffbbffebe0) at pthread_cond_wait.c:667
No locals.
#3 0x00007fffed98316a in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#4 0x00007fffed983326 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#5 0x00007fffed9806b5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#6 0x00007fffed97cc2c in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#7 0x00007fffef1746db in start_thread (arg=0x7fffbbfff700) at pthread_create.c:463
pd = 0x7fffbbfff700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736347502336, -4794303018504412156, 140736347500096, 0, 93825020247776, 140737488346064, 4794153484451980292, 4794337855750153220}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#8 0x00007fffec65f71f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.
Thread 4 (Thread 0x7fffc3e45700 (LWP 14633)):
#0 0x00007fffef17afb9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7fffc3e44b30, expected=0, futex_word=0x555557043b80) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
__ret = -516
oldtype = 0
err = <optimized out>
oldtype = <optimized out>
err = <optimized out>
__ret = <optimized out>
resultvar = <optimized out>
__arg4 = <optimized out>
__arg3 = <optimized out>
__arg2 = <optimized out>
__arg1 = <optimized out>
_a4 = <optimized out>
_a3 = <optimized out>
_a2 = <optimized out>
_a1 = <optimized out>
#1 __pthread_cond_wait_common (abstime=0x7fffc3e44be0, mutex=0x555557043b30, cond=0x555557043b58) at pthread_cond_wait.c:533
rt = {tv_sec = 29, tv_nsec = 999999761}
spin = 0
buffer = {__routine = 0x7fffef17a770 <__condvar_cleanup_waiting>, __arg = 0x7fffc3e44b60, __canceltype = -1008448624, __prev = 0x0}
cbuffer = {wseq = 0, cond = 0x555557043b58, mutex = 0x555557043b30, private = 0}
err = <optimized out>
g = 0
flags = <optimized out>
g1_start = <optimized out>
maxspin = 0
signals = <optimized out>
result = 0
wseq = <optimized out>
seq = 0
private = <optimized out>
maxspin = <optimized out>
err = <optimized out>
result = <optimized out>
wseq = <optimized out>
g = <optimized out>
seq = <optimized out>
flags = <optimized out>
private = <optimized out>
signals = <optimized out>
g1_start = <optimized out>
spin = <optimized out>
buffer = <optimized out>
cbuffer = <optimized out>
rt = <optimized out>
s = <optimized out>
#2 __pthread_cond_timedwait (cond=0x555557043b58, mutex=0x555557043b30, abstime=0x7fffc3e44be0) at pthread_cond_wait.c:667
No locals.
#3 0x00007fffed98316a in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#4 0x00007fffed983326 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#5 0x00007fffed9806b5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#6 0x00007fffed97cc2c in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#7 0x00007fffef1746db in start_thread (arg=0x7fffc3e45700) at pthread_create.c:463
pd = 0x7fffc3e45700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736479909632, -4794303018504412156, 140736479907392, 0, 93825020248320, 140737488346064, 4794276446144439300, 4794337855750153220}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#8 0x00007fffec65f71f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.
Thread 3 (Thread 0x7fffcffff700 (LWP 14598)):
#0 0x00007fffec652cb9 in __GI___poll (fds=0x7fffc8002de0, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
resultvar = 18446744073709551100
sc_cancel_oldtype = 0
sc_ret = <optimized out>
#1 0x00007fffe657f6e9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2 0x00007fffe657f7fc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0x00007fffedbcb7ac in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#4 0x00007fffedb6ad2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#5 0x00007fffed97b757 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#6 0x00007ffff3c74555 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
No symbol table info available.
#7 0x00007fffed97cc2c in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#8 0x00007fffef1746db in start_thread (arg=0x7fffcffff700) at pthread_create.c:463
pd = 0x7fffcffff700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736683046656, -4794303018504412156, 140736683044416, 0, 140737285901728, 140737488346592, 4794267833661268996, 4794337855750153220}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#9 0x00007fffec65f71f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.
Thread 2 (Thread 0x7fffd75e5700 (LWP 14597)):
#0 0x00007fffec652cb9 in __GI___poll (fds=0x7fffd75e4be8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
resultvar = 18446744073709551100
sc_cancel_oldtype = 0
sc_ret = <optimized out>
#1 0x00007fffe5321747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
No symbol table info available.
#2 0x00007fffe532336a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
No symbol table info available.
#3 0x00007fffda1bafd0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
No symbol table info available.
#4 0x00007fffed97cc2c in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#5 0x00007fffef1746db in start_thread (arg=0x7fffd75e5700) at pthread_create.c:463
pd = 0x7fffd75e5700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736806672128, -4794303018504412156, 140736806669888, 0, 93825015991296, 140737488345984, 4794249422210212868, 4794337855750153220}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#6 0x00007fffec65f71f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.
Thread 1 (Thread 0x7ffff7f7c8c0 (LWP 14591)):
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
set = {__val = {0, 71495352770756773, 52074373938413696, 52074373942149470, 4611412829300442078, 0, 4615916428927812574, 0, 8030606727935385954, 71495352770756722, 52074373938413696, 52074373942149470, 4611412829300442078, 0, 4615916428927812574, 0}}
pid = <optimized out>
tid = <optimized out>
ret = <optimized out>
#1 0x00007fffec57e921 in __GI_abort () at abort.c:79
save_stage = 1
act = {__sigaction_handler = {sa_handler = 0x2, sa_sigaction = 0x2}, sa_mask = {__val = {3432, 140737169723812, 140737158880255, 2, 140737158880255, 25, 2, 2, 140737162421888, 1, 93825042169312, 2, 93825042169312, 93825042223008, 93825020312624, 93825008496224}}, sa_flags = -319328896, sa_restorer = 0x5555564d6e60 <typeinfo name for CatalogsDB::DatabaseError>}
sigs = {__val = {32, 0 <repeats 15 times>}}
__cnt = <optimized out>
__set = <optimized out>
__cnt = <optimized out>
__set = <optimized out>
#2 0x00007fffecf71957 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
#3 0x00007fffecf77ae6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
#4 0x00007fffecf77b21 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
#5 0x00007fffecf77d54 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
#6 0x000055555583f9b5 in make_query (db=..., statement=..., forward_only=false) at /home/jasem/Projects/kstars/kstars/catalogsdb/catalogsdb.cpp:51
query = {d = 0x5555584c8c60}
#7 0x0000555555840cae in CatalogsDB::DBManager::DBManager (this=0x5555584a5a10, filename=...) at /home/jasem/Projects/kstars/kstars/catalogsdb/catalogsdb.cpp:184
init = true
master_exists = {d = 0x5555584f4140}
master_does_exist = false
init = <optimized out>
master_exists = <optimized out>
master_does_exist = <optimized out>
backup_path = <optimized out>
success = <optimized out>
version_query = <optimized out>
res = <optimized out>
#8 0x0000555555f44a5b in CatalogsComponent::CatalogsComponent (this=0x5555584a5a00, parent=0x555557028b00, db_filename=..., load_default=true) at /home/jasem/Projects/kstars/kstars/skycomponents/catalogscomponent.cpp:37
default_file = <optimized out>
qt_category_enabled = <optimized out>
default_file = <optimized out>
qt_category_enabled = <optimized out>
#9 0x0000555555f19409 in SkyMapComposite::SkyMapComposite (this=0x555557028af0, parent=0x0) at /home/jasem/Projects/kstars/kstars/skycomponents/skymapcomposite.cpp:153
backup_path = @0x7fffffffdee8: {static null = {<No data fields>}, d = 0x7fffd0008a50}
answer = @0x7fffffffdedc: KMessageBox::Yes
e = @0x55555701bc50: {<std::exception> = {<No data fields>}, m_message = {static null = {<No data fields>}, d = 0x5555584cdb70}, m_type = CatalogsDB::DatabaseError::ErrorType::PREPARE, m_error = {unused1 = {static null = {<No data fields>}, d = 0x7fffedc5e480 <QArrayData::shared_null>}, unused2 = {static null = {<No data fields>}, d = 0x7fffedc5e480 <QArrayData::shared_null>}, {d = 0x5555584cad10, unused5 = {unused3 = 1481420048, unused4 = 21845}}}, m_report = {static npos = 18446744073709551615, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x5555584c8b10 "Can't prepare query!\nSQL ERROR: near \"NULLS\": syntax error Unable to execute statement"}, _M_string_length = 86, {_M_local_buf = "l\000\000\000\000\000\000\000\240\253 XUU\000", _M_allocated_capacity = 108}}}
path = @0x7fffffffdee0: {static null = {<No data fields>}, d = 0x5555584a58d0}
path = <optimized out>
e = <optimized out>
backup_path = <optimized out>
answer = <optimized out>
#10 0x000055555566ee15 in KStarsData::initialize (this=0x555556db1d40) at /home/jasem/Projects/kstars/kstars/kstarsdata.cpp:203
dbfile = {static null = {<No data fields>}, d = 0x555556e6d4a0}
#11 0x00005555556cc09b in KStars::KStars (this=0x555556d3a600, doSplash=true, clockrun=true, startdate=..., __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/jasem/Projects/kstars/kstars/kstars.cpp:246
datetimeSet = false
splash = 0x555556d80740
datetimeSet = <optimized out>
splash = <optimized out>
qt_category_enabled = <optimized out>
qt_category_enabled = <optimized out>
qt_category_enabled = <optimized out>
qt_category_enabled = <optimized out>
qt_category_enabled = <optimized out>
qt_category_enabled = <optimized out>
qt_category_enabled = <optimized out>
qt_category_enabled = <optimized out>
startDate = <optimized out>
qt_category_enabled = <optimized out>
datetimeSet = <optimized out>
splash = <optimized out>
qt_category_enabled = <optimized out>
qt_category_enabled = <optimized out>
qt_category_enabled = <optimized out>
qt_category_enabled = <optimized out>
qt_category_enabled = <optimized out>
qt_category_enabled = <optimized out>
qt_category_enabled = <optimized out>
qt_category_enabled = <optimized out>
startDate = <optimized out>
qt_category_enabled = <optimized out>
#12 0x00005555556cc52c in KStars::createInstance (doSplash=true, clockrun=true, startdate=...) at /home/jasem/Projects/kstars/kstars/kstars.cpp:262
No locals.
#13 0x000055555563f9c8 in main (argc=1, argv=0x7fffffffe478) at /home/jasem/Projects/kstars/kstars/main.cpp:376
app = <incomplete type>
writableDir = {d_ptr = {d = 0x555556d0e6c0}}
versionString = {static null = {<No data fields>}, d = 0x555556d2a670}
aboutData = {static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7ffff474c140, data = 0x7ffff474c040, static_metacall = 0x7ffff4742af0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x555556d380b0}
parser = {d = 0x555556cf51f0}
__PRETTY_FUNCTION__ = "int main(int, char**)"
datestring = {static null = {<No data fields>}, d = 0x7fffedc5e480 <QArrayData::shared_null>}
urls = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x555556d084c0}, d = 0x555556d084c0}}, <No data fields>}