Bug 279253 - kstars crashes on startup
Summary: kstars crashes on startup
Status: RESOLVED DUPLICATE of bug 279026
Alias: None
Product: kstars
Classification: Applications
Component: general (show other bugs)
Version: 2.0.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Akarsh Simha
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-03 04:57 UTC by xejakig884
Modified: 2011-08-12 15:22 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description xejakig884 2011-08-03 04:57:01 UTC
Application: kstars (2.0.0)
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.3
Operating System: Linux 3.0.0-7-generic i686
Distribution: Ubuntu oneiric (development branch)

-- Information about the crash:
- What I was doing when the application crashed: Start kstars.
It crashes every time.
Starting kstars in a terminal produces the following output:

paul@DELL:~$ kstars
kstars(19554) KStarsDateTime::fromString: "Could not parse Date/Time string: " "" 
kstars(19554) KStarsDateTime::fromString: "Valid date formats: " 
kstars(19554) KStarsDateTime::fromString:   1950-02-25   ;  1950-02-25T05:30:00 
kstars(19554) KStarsDateTime::fromString:   25 Feb 1950  ;  25 Feb 1950 05:30:00 
kstars(19554) KStarsDateTime::fromString:   Sat Feb 25 1950  ;  Sat Feb 25 05:30:00 1950 
kstars(19554) ConstellationLines::ConstellationLines: "Star HD61,421 not found." 
kstars(19554) ConstellationLines::ConstellationLines: "Star HD10,700 not found." 
kstars(19554) ConstellationLines::ConstellationLines: "Star HD20,794 not found." 
kstars(19554) ConstellationLines::ConstellationLines: "Star HD2,151 not found." 
kstars(19554) ConstellationLines::ConstellationLines: "Star HD190,248 not found." 
kstars(19554) ConstellationLines::ConstellationLines: "Star HD142,860 not found." 
kstars(19554) ConstellationLines::ConstellationLines: "Star HD1,581 not found." 
kstars(19554) ConstellationLines::ConstellationLines: "Star HD1,581 not found." 
kstars(19554) ConstellationLines::ConstellationLines: "Star HD98,230 not found." 
*** glibc detected *** kstars: double free or corruption (fasttop): 0x097be110 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x6b8c1)[0x2c7b8c1]
/lib/i386-linux-gnu/libc.so.6(+0x6d1eb)[0x2c7d1eb]
/lib/i386-linux-gnu/libc.so.6(cfree+0x6d)[0x2c8037d]
/usr/lib/libQtCore.so.4(_Z5qFreePv+0x1b)[0x1e338fb]

The crash can be reproduced every time.

-- Backtrace:
Application: KStars (kstars), signal: Aborted
[KCrash Handler]
#7  0x00e72416 in __kernel_vsyscall ()
#8  0x02c3add1 in raise () from /lib/i386-linux-gnu/libc.so.6
#9  0x02c3e2ae in abort () from /lib/i386-linux-gnu/libc.so.6
#10 0x02c714d7 in ?? () from /lib/i386-linux-gnu/libc.so.6
#11 0x02c7b8c1 in ?? () from /lib/i386-linux-gnu/libc.so.6
#12 0x02c7d1eb in ?? () from /lib/i386-linux-gnu/libc.so.6
#13 0x02c8037d in free () from /lib/i386-linux-gnu/libc.so.6
#14 0x01e338fb in qFree(void*) () from /usr/lib/libQtCore.so.4
#15 0x01e84a42 in QString::free(QString::Data*) () from /usr/lib/libQtCore.so.4
#16 0x01e67874 in QLocalePrivate::stringToDouble(QString const&, bool*, QLocalePrivate::GroupSeparatorMode) const () from /usr/lib/libQtCore.so.4
#17 0x01e84216 in QString::toDouble(bool*) const () from /usr/lib/libQtCore.so.4
#18 0x080cbd33 in AsteroidsComponent::loadData (this=0x984bba8) at ../../kstars/skycomponents/asteroidscomponent.cpp:118
#19 0x080cfc50 in SolarSystemComposite::SolarSystemComposite (this=0x96fc080, parent=0x8a06fb8) at ../../kstars/skycomponents/solarsystemcomposite.cpp:60
#20 0x080c5fbf in SkyMapComposite::SkyMapComposite (this=0x8a06fb0, parent=0x0) at ../../kstars/skycomponents/skymapcomposite.cpp:92
#21 0x081e4ec4 in KStarsData::initialize (this=0x89a0338) at ../../kstars/kstarsdata.cpp:185
#22 0x081cdf7c in KStars::KStars (this=0x897fb10, doSplash=true, clockrun=true, startdate=..., __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../kstars/kstars.cpp:106
#23 0x081ce15d in KStars::createInstance (doSplash=true, clockrun=true, startdate=...) at ../../kstars/kstars.cpp:121
#24 0x080715af in main (argc=) at ../../kstars/main.cpp:189

Reported using DrKonqi
Comment 1 xejakig884 2011-08-03 05:20:09 UTC
Deleting kstarsrc allows program to start but crash occurs next time kstars is started.

(In reply to comment #0)
> Application: kstars (2.0.0)
> KDE Platform Version: 4.7.00 (4.7.0)
> Qt Version: 4.7.3
> Operating System: Linux 3.0.0-7-generic i686
> Distribution: Ubuntu oneiric (development branch)
Comment 2 xejakig884 2011-08-03 15:55:41 UTC
Apologies, I meant to say deleting config directory ./kde/share/apps/kstars/ allows the program to start. Once this directory is recreated then kstars will again crash on startup.

(In reply to comment #1)
> Deleting kstarsrc allows program to start but crash occurs next time kstars is
> started.
> 
> (In reply to comment #0)
> > Application: kstars (2.0.0)
> > KDE Platform Version: 4.7.00 (4.7.0)
> > Qt Version: 4.7.3
> > Operating System: Linux 3.0.0-7-generic i686
> > Distribution: Ubuntu oneiric (development branch)
Comment 3 Alexey Khudiakov 2011-08-12 15:22:47 UTC

*** This bug has been marked as a duplicate of bug 279026 ***