[Kstars-devel] Crash in KStars of trunk

Carsten Niehaus cniehaus at gmx.de
Mon Jan 23 16:31:54 CET 2006


Jason, after your latest changes I get this crash:

ASSERT failure in QList<T>::operator[]: "index out of range", 
file /home/kde4/svn/qt-copy/include/QtCore/../../src/corelib/tools/qlist.h, 
line 369

Program received signal SIGABRT, Aborted.
[Switching to Thread -1238001984 (LWP 14320)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb63b09b1 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xb63b22c9 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6634227 in qt_message_output (msgType=QtFatalMsg,
    buf=0xbfbabad0 "ASSERT failure in QList<T>::operator[]: \"index out of 
range\", 
file /home/kde4/svn/qt-copy/include/QtCore/../../src/corelib/tools/qlist.h, 
line 369") at global/qglobal.cpp:1958
#4  0xb6634278 in qFatal (msg=0xb66fdcec "ASSERT failure in %s: \"%s\", file 
%s, line %d") at global/qglobal.cpp:2174
#5  0xb66342ae in qt_assert_x (where=0x827de35 "QList<T>::operator[]", 
what=0x827dc5a "index out of range",
    file=0x827dc14 
"/home/kde4/svn/qt-copy/include/QtCore/../../src/corelib/tools/qlist.h", 
line=369) at global/qglobal.cpp:1731
#6  0x08077042 in QList<QString>::operator[] (this=0xbfbadc2c, i=1000) at 
qlist.h:369
#7  0x080e5319 in KSFileReader::readLine (this=0xbfbadc24) 
at /home/kde4/svn/kdeedu/kstars/kstars/ksfilereader.cpp:49
#8  0x0819fb83 in DeepSkyComponent::init (this=0x835dd80) 
at /home/kde4/svn/kdeedu/kstars/kstars/skycomponents/deepskycomponent.cpp:73
#9  0x081adca1 in SkyComposite::init (this=0x835d138, data=0x8358740) 
at /home/kde4/svn/kdeedu/kstars/kstars/skycomponents/skycomposite.cpp:67
#10 0x0810907e in KStarsData::slotInitialize (this=0x8358740) 
at /home/kde4/svn/kdeedu/kstars/kstars/kstarsdata.cpp:207
#11 0x081093f2 in KStarsData::qt_metacall (this=0x8358740, 
_c=QMetaObject::InvokeMetaMethod, _id=15, _a=0xbfbae2bc) at 
kstarsdata.moc:103
#12 0xb66de4c6 in QMetaObject::activate (sender=0x83b3988, 
from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:2668
#13 0xb66df0c5 in QMetaObject::activate (sender=0x83b3988, m=0xb6738cd8, 
local_signal_index=0, argv=0x0) at kernel/qobject.cpp:2709
#14 0xb66fd491 in QTimer::timeout (this=0x83b3988) 
at .moc/debug-shared/moc_qtimer.cpp:122
#15 0xb66e6a99 in QTimer::timerEvent (this=0x83b3988, e=0xbfbae840) at 
kernel/qtimer.cpp:230
#16 0xb66dd9fa in QObject::event (this=0x83b3988, e=0xbfbae840) at 
kernel/qobject.cpp:890
#17 0xb6a118ad in QApplicationPrivate::notify_helper (this=0x82cb710, 
receiver=0x83b3988, e=0xbfbae840) at kernel/qapplication.cpp:3116
#18 0xb6a11bef in QApplication::notify (this=0xbfbaefdc, receiver=0x83b3988, 
e=0xbfbae840) at kernel/qapplication.cpp:2743
#19 0xb7203b36 in KApplication::notify (this=0xbfbaefdc, receiver=0x83b3988, 
event=0xbfbae840) 
at /home/kde4/svn/kdelibs4_snapshot/kdecore/kapplication.cpp:404
#20 0xb66cf845 in QCoreApplication::sendEvent (receiver=0x83b3988, 
event=0xbfbae840) at qcoreapplication.h:171
#21 0xb66f2712 in QEventDispatcherUNIX::activateTimers (this=0x82cffd0) at 
kernel/qeventdispatcher_unix.cpp:641
#22 0xb66f3f54 in QEventDispatcherUNIX::processEvents (this=0x82cffd0, 
flags=@0xbfbae9d0) at kernel/qeventdispatcher_unix.cpp:769
#23 0xb6a8086e in QEventDispatcherX11::processEvents (this=0x82cffd0, 
flags=@0xbfbaea14) at kernel/qeventdispatcher_x11.cpp:125
#24 0xb66c9f56 in QEventLoop::processEvents (this=0xbfbaea8c, 
flags=@0xbfbaea4c) at kernel/qeventloop.cpp:118
#25 0xb66ca1e1 in QEventLoop::exec (this=0xbfbaea8c, flags=@0xbfbaea94) at 
kernel/qeventloop.cpp:158
#26 0xb66cf3ea in QCoreApplication::exec () at kernel/qcoreapplication.cpp:661
#27 0xb6a11045 in QApplication::exec () at kernel/qapplication.cpp:2664
#28 0x081296f2 in main (argc=1, argv=0xbfbaf354) 
at /home/kde4/svn/kdeedu/kstars/kstars/main.cpp:190


This is the shell output:


Loading stars (28%)
Loading stars (29%)
Loading stars (29%)
Loading stars (30%)
Loading stars (31%)
Loading stars (32%)
Loading stars (33%)
Loading stars (33%)
Loading constellation boundaries
Loading constellation lines
kstars: WARNING: No star named alp2Her found.
Loading constellation names
Creating equator
Creating ecliptic
Loading NGC/IC objects (0%)
Loading NGC/IC objects (7%)
Loading NGC/IC objects (14%)
Loading NGC/IC objects (21%)
Loading NGC/IC objects (28%)
Loading NGC/IC objects (35%)
Loading NGC/IC objects (42%)
Loading NGC/IC objects (50%)
Loading NGC/IC objects (57%)
Loading NGC/IC objects (64%)
Loading NGC/IC objects (71%)


I wonder why it only loads 33% of the stars?

Carsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kstars-devel/attachments/20060123/060eda60/attachment.pgp 


More information about the Kstars-devel mailing list