Bug 367445

Summary: Kstars won't start on kubuntu 16.04
Product: [Applications] kstars Reporter: scorot
Component: generalAssignee: Jasem Mutlaq <mutlaqja>
Status: RESOLVED FIXED    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description scorot 2016-08-17 18:07:37 UTC
Application: kstars (2.6.0)

Qt Version: 5.5.1
Frameworks Version: 5.23.0
Operating System: Linux 4.4.0-34-generic x86_64
Distribution: Ubuntu 16.04.1 LTS

-- Information about the crash:
Simply start Kstars.
Removing the kstars configuration folder ./.local/share/kstars results in the same behaviour.

The crash can be reproduced every time.

-- Backtrace:
Application: KStars (kstars), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fe908df78c0 (LWP 2845))]

Thread 4 (Thread 0x7fe8f7bcb700 (LWP 2848)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fe8fc2e0aa3 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007fe8fc2e0907 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007fe9181a66fa in start_thread (arg=0x7fe8f7bcb700) at pthread_create.c:333
#4  0x00007fe9158fbb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fe8f83cc700 (LWP 2847)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fe8fc2e0aa3 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007fe8fc2e0907 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007fe9181a66fa in start_thread (arg=0x7fe8f83cc700) at pthread_create.c:333
#4  0x00007fe9158fbb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fe9066f9700 (LWP 2846)):
#0  0x00007fe9158efe8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fe9101c6c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fe9101c88d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fe908a4b629 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fe916a6484e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fe9181a66fa in start_thread (arg=0x7fe9066f9700) at pthread_create.c:333
#6  0x00007fe9158fbb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fe908df78c0 (LWP 2845)):
[KCrash Handler]
#6  0x00007fe91ae9e200 in QSqlDatabase::open() () from /usr/lib/x86_64-linux-gnu/libQt5Sql.so.5
#7  0x000000000089d843 in CatalogDB::FindCatalog (this=this@entry=0x0, catalog_name=...) at /build/kstars-bleeding-d0VbFt/kstars-bleeding-16.04+r5904.2598~ubuntu16.04.1/datahandlers/catalogdb.cpp:145
#8  0x00000000006f7237 in SyncedCatalogComponent::SyncedCatalogComponent (this=0x3dc1970, parent=<optimized out>, catname=..., showerrs=<optimized out>, index=<optimized out>) at /build/kstars-bleeding-d0VbFt/kstars-bleeding-16.04+r5904.2598~ubuntu16.04.1/kstars/skycomponents/syncedcatalogcomponent.cpp:36
#9  0x00000000006d6f5e in SkyMapComposite::SkyMapComposite (this=0x29f7e40, parent=<optimized out>) at /build/kstars-bleeding-d0VbFt/kstars-bleeding-16.04+r5904.2598~ubuntu16.04.1/kstars/skycomponents/skymapcomposite.cpp:97
#10 0x00000000004b562e in KStarsData::initialize (this=0x28553c0) at /build/kstars-bleeding-d0VbFt/kstars-bleeding-16.04+r5904.2598~ubuntu16.04.1/kstars/kstarsdata.cpp:159
#11 0x00000000004c4b6d in KStars::KStars (this=0x27e63c0, doSplash=doSplash@entry=true, clockrun=clockrun@entry=true, startdate=..., __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /build/kstars-bleeding-d0VbFt/kstars-bleeding-16.04+r5904.2598~ubuntu16.04.1/kstars/kstars.cpp:147
#12 0x00000000004c4f39 in KStars::createInstance (doSplash=doSplash@entry=true, clockrun=<optimized out>, startdate=...) at /build/kstars-bleeding-d0VbFt/kstars-bleeding-16.04+r5904.2598~ubuntu16.04.1/kstars/kstars.cpp:162
#13 0x000000000047ba80 in main (argc=1, argv=<optimized out>) at /build/kstars-bleeding-d0VbFt/kstars-bleeding-16.04+r5904.2598~ubuntu16.04.1/kstars/main.cpp:227

Reported using DrKonqi
Comment 1 Jasem Mutlaq 2016-10-31 05:26:43 UTC
Fixed in 2.7