Crashes with http://edu.kde.org/contrib/kvtml/spanisch.kvtml

Bug #279765 reported by claudio
2
Affects Status Importance Assigned to Milestone
KDE Educational Applications
Fix Released
High
kdeedu (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Use the following sequence to reproduce the bug:

$ cd /tmp
$ wget http://edu.kde.org/contrib/kvtml/spanisch.kvtml
$ kwordquiz spanisch.kvtml
kwordquiz(13553) KEduVocDocument::KEduVocDocument: constructor done
kwordquiz(13553): Error: Invalid identifier index: 0
ASSERT failure in QList<T>::operator[]: "index out of range", file /usr/include/qt4/QtCore/qlist.h, line 401
KCrash: Application 'kwordquiz' crashing...
sock_file=/home/claudio/.kde/socket-garfield.inodes.ch/kdeinit4__0

KDE Crash handler reports this stack trace:

Application: KWordQuiz (kwordquiz), signal SIGABRT
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb5ff76c0 (LWP 13553)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#5 0xb68faa16 in raise () from /lib/libc.so.6
#6 0xb68fc318 in abort () from /lib/libc.so.6
#7 0xb7465795 in qt_message_output () from /usr/lib/libQtCore.so.4
#8 0xb7465872 in qFatal () from /usr/lib/libQtCore.so.4
#9 0xb74658cc in qt_assert_x () from /usr/lib/libQtCore.so.4
#10 0xb7eb4c8f in KEduVocDocument::identifier ()
   from /usr/lib/libkeduvocdocument.so.4
#11 0x08090e00 in _start ()
#0 0xb6966e5b in nanosleep () from /lib/libc.so.6

Package version:

$ dpkg-query -W kwordquiz
kwordquiz 4:4.1.2-0ubuntu1

Revision history for this message
Harald Sitter (apachelogger) wrote :

Please install kdeedu-dbg and get a new backtrace.

Changed in kdeedu:
status: New → Incomplete
Revision history for this message
claudio (private-claudio) wrote :
Download full text (6.2 KiB)

The output of kwordquiz to stdout is now longer:

$ kwordquiz spanisch.kvtml
kwordquiz(7726) KEduVocDocument::KEduVocDocument: constructor done
kwordquiz(7726) KToolInvocation::klauncher: klauncher not running... launching kdeinit
kdeinit4: preparing to launch /usr/lib/kde4/libexec/klauncher
kdeinit4: preparing to launch /usr/bin/kded4
kdeinit4: preparing to launch /usr/bin/kbuildsycoca4
kbuildsycoca4 running...
kbuildsycoca4(7737) kdemain: Reusing existing ksycoca
kbuildsycoca4(7737) KConfigGroup::readXdgListEntry: List entry Categories in "screensavers/plasma.desktop" is not compliant with XDG standard (missing trailing semicolon).
kdeinit4: preparing to launch /usr/lib/kde4/libexec/kconf_update
kdeinit4: preparing to launch
kwordquiz(7726): Error: Invalid identifier index: 0
ASSERT failure in QList<T>::operator[]: "index out of range", file /usr/include/qt4/QtCore/qlist.h, line 401
KCrash: Application 'kwordquiz' crashing...
sock_file=/home/claudio/.kde/socket-garfield.inodes.ch/kdeinit4__0
kdeinit4: preparing to launch /usr/lib/kde4/libexec/drkonqi
kdeinit4: preparing to launch /usr/lib/kde4/libexec/kconf_update

and I get this backtrace:

Application: KWordQuiz (kwordquiz), signal SIGABRT
[Thread debugging using libthread_db enabled]
[New Thread 0xb602d6c0 (LWP 7726)]
[New Thread 0xb45d2b90 (LWP 7731)]
[KCrash handler]
#5 0xb6930a16 in raise () from /lib/libc.so.6
#6 0xb6932318 in abort () from /lib/libc.so.6
#7 0xb749b795 in qt_message_output () from /usr/lib/libQtCore.so.4
#8 0xb749b872 in qFatal () from /usr/lib/libQtCore.so.4
#9 0xb749b8cc in qt_assert_x () from /usr/lib/libQtCore.so.4
#10 0xb7eeac8f in KEduVocDocument::identifier (this=0x95adcc8, index=0)
    at /usr/include/qt4/QtCore/qlist.h:401
#11 0x08090e00 in KWQTableModel::headerData (this=0x95ad3d8, section=0,
    orientation=Qt::Horizontal, role=0)
    at /build/buildd/kdeedu-4.1.2/kwordquiz/src/kwqtablemodel.cpp:70
#12 0xb71c5316 in QSortFilterProxyModel::headerData ()
   from /usr/lib/libQtGui.so.4
#13 0xb714a54c in QHeaderView::paintSection () from /usr/lib/libQtGui.so.4
#14 0xb71507e2 in QHeaderView::paintEvent () from /usr/lib/libQtGui.so.4
#15 0xb6ccb78b in QWidget::event () from /usr/lib/libQtGui.so.4
#16 0xb7002f53 in QFrame::event () from /usr/lib/libQtGui.so.4
#17 0xb709975f in QAbstractScrollArea::viewportEvent ()
   from /usr/lib/libQtGui.so.4
#18 0xb7144c4f in QAbstractItemView::viewportEvent ()
   from /usr/lib/libQtGui.so.4
#19 0xb714e392 in QHeaderView::viewportEvent () from /usr/lib/libQtGui.so.4
#20 0xb709bd05 in ?? () from /usr/lib/libQtGui.so.4
#21 0xb759304a in QCoreApplicationPrivate::sendThroughObjectEventFilters ()
   from /usr/lib/libQtCore.so.4
#22 0xb6c738ca in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#23 0xb6c7b83a in QApplication::notify () from /usr/lib/libQtGui.so.4
#24 0xb7a6272d in KApplication::notify (this=0xbf94ef1c, receiver=0x95b1460,
    event=0xbf94d26c)
    at /build/buildd/kde4libs-4.1.2/kdeui/kernel/kapplication.cpp:311
#25 0xb7593e61 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#26 0xb6cd441e in ?? () from /usr/lib/libQtGui.so.4
#27 0xb6cca150 in QWidgetPrivate::dra...

Read more...

Revision history for this message
Harald Sitter (apachelogger) wrote :

Looks decent, not perfect, but decent ;-)

The report (including konsole output and the backtrace) need to be forwarded to http://bugs.kde.org

Changed in kdeedu:
importance: Undecided → Low
status: Incomplete → Triaged
Revision history for this message
claudio (private-claudio) wrote :
Revision history for this message
Harald Sitter (apachelogger) wrote :

Thank you.

Changed in kdeedu:
importance: Undecided → Unknown
status: New → Unknown
Changed in kdeedu:
status: Unknown → New
Changed in kdeedu:
status: New → Fix Released
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Fix committed for KDE 4.2 beta2.

Changed in kdeedu:
milestone: none → ubuntu-9.04
status: Triaged → Fix Committed
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

The fix has since been released in Jaunty. (Also to Intrepid via the kubuntu-experimental ppa packages)

Changed in kdeedu:
status: Fix Committed → Fix Released
Changed in kdeedu:
importance: Unknown → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.