Bug 165088 - Langenscheidt vocabulary files cannot be loaded.
Summary: Langenscheidt vocabulary files cannot be loaded.
Status: RESOLVED FIXED
Alias: None
Product: parley
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Parley Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-27 10:40 UTC by Nathanael Marcel Großer
Modified: 2008-09-24 15:31 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 Nathanael Marcel Großer 2008-06-27 10:40:24 UTC
Version:            (using Devel)
Installed from:    Compiled sources
OS:                Linux

During opening word files (*.voc) of vokabeln.de parley crashes.
Comment 1 FiNeX 2008-06-27 13:02:46 UTC
If you can reproduce the crash, you should install the debug enabled packages and provide the backtrace. Read this page for the instructions:

http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports

Thanks a lot!
Comment 2 Nathanael Marcel Großer 2008-06-27 15:18:20 UTC
Anwendung: Parley (parley), Signal SIGSEGV
[?1034h[Thread debugging using libthread_db enabled]
[New Thread 0xb5d806d0 (LWP 6409)]
[KCrash handler]
#6  KEduVocLesson::appendEntry (this=0x0, entry=0x85b6f78)
    at /usr/include/QtCore/qlist.h:89
#7  0xb7ec4f4e in KEduVocVokabelnReader::readDoc (this=0xbfa023f0, 
    doc=0x81e8f70)
    at /usr/src/debug/kdeedu-4.0.83/libkdeedu/keduvocdocument/keduvocvokabelnreader.cpp:148
#8  0xb7e9d593 in KEduVocDocument::open (this=0x81e8f70, url=@0xbfa02534)
    at /usr/src/debug/kdeedu-4.0.83/libkdeedu/keduvocdocument/keduvocdocument.cpp:298
#9  0x080f0e25 in ParleyDocument::open (this=0x81e8ec8, url=@0xbfa02534, 
    addRecent=true)
    at /usr/src/debug/kdeedu-4.0.83/parley/src/parleydocument.cpp:124
#10 0x080f1b12 in ParleyDocument::slotFileOpen (this=0x81e8ec8)
    at /usr/src/debug/kdeedu-4.0.83/parley/src/parleydocument.cpp:104
#11 0x080f2f63 in ParleyDocument::qt_metacall (this=0x81e8ec8, 
    _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfa0267c)
    at /usr/src/debug/kdeedu-4.0.83/build/parley/src/parleydocument.moc:91
#12 0xb6f453fa in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#13 0xb6f456f0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#14 0xb626d941 in QAction::triggered () from /usr/lib/libQtGui.so.4
#15 0xb626e2af in QAction::activate () from /usr/lib/libQtGui.so.4
#16 0xb6633162 in QToolButton::nextCheckState () from /usr/lib/libQtGui.so.4
#17 0xb65695e3 in ?? () from /usr/lib/libQtGui.so.4
#18 0xb6569886 in QAbstractButton::mouseReleaseEvent ()
   from /usr/lib/libQtGui.so.4
#19 0xb66335fc in QToolButton::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#20 0xb62c5176 in QWidget::event () from /usr/lib/libQtGui.so.4
#21 0xb656870e in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#22 0xb6633124 in QToolButton::event () from /usr/lib/libQtGui.so.4
#23 0xb6272ecc in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#24 0xb6279ca7 in QApplication::notify () from /usr/lib/libQtGui.so.4
#25 0xb74dd06d in KApplication::notify () from /usr/lib/libkdeui.so.5
#26 0xb6f33b51 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#27 0xb627afae in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#28 0xb62d81e8 in ?? () from /usr/lib/libQtGui.so.4
#29 0xb62d75a4 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#30 0xb62fd3ae in ?? () from /usr/lib/libQtGui.so.4
#31 0xb6f322ca in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#32 0xb6f3248a in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#33 0xb6f3466d in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#34 0xb6272d47 in QApplication::exec () from /usr/lib/libQtGui.so.4
#35 0x080f9aeb in main (argc=1, argv=0xbfa03584)
    at /usr/src/debug/kdeedu-4.0.83/parley/src/main.cpp:133
#0  0xffffe430 in __kernel_vsyscall ()
Comment 3 Frederik Gladhorn 2008-06-29 02:29:22 UTC
What version of .voc did you use?
Only version 1 (http://vokabeln.de/v1/download.htm) is supposed to work. Of course no version should crash Parley though.


Comment 4 Frederik Gladhorn 2008-06-29 02:36:00 UTC
SVN commit 825695 by gladhorn:

check for invalid lesson number in vokabeln.de reader.
does this fix anything?
CCBUG: 165088


 M  +5 -0      keduvocvokabelnreader.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=825695
Comment 5 Oliver Putz 2008-09-06 22:04:36 UTC
I can reproduce this crash with parley from KDE-4.1.1. I downloaded http://vokabeln.de/v1/download/GB_Wirtschaft.zip unzipped it and when I try to open the unzipped *.voc file in parley, it crashes with the following backtrace:

Application: Parley (parley), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb5d27700 (LWP 29366)]
[KCrash handler]
#6  KEduVocLesson::appendEntry (this=0x0, entry=0x85b4ca0)
    at /var/tmp/portage/kde-base/libkdeedu-4.1.1/work/libkdeedu-4.1.1/libkdeedu/keduvocdocument/keduvoclesson.cpp:71
#7  0xb7f9317a in KEduVocVokabelnReader::readDoc (this=0xbfdb4760, 
    doc=0x81dbbf8)
    at /var/tmp/portage/kde-base/libkdeedu-4.1.1/work/libkdeedu-4.1.1/libkdeedu/keduvocdocument/keduvocvokabelnreader.cpp:153
#8  0xb7f72e59 in KEduVocDocument::open (this=0x81dbbf8, url=@0xbfdb48a8)
    at /var/tmp/portage/kde-base/libkdeedu-4.1.1/work/libkdeedu-4.1.1/libkdeedu/keduvocdocument/keduvocdocument.cpp:298
#9  0x080da9a0 in ParleyDocument::open (this=0x81d67f0, url=@0xbfdb48a8, 
    addRecent=true)
    at /var/tmp/portage/kde-base/parley-4.1.0/work/parley-4.1.0/parley/src/parleydocument.cpp:123
#10 0x080dac1d in ParleyDocument::slotFileOpen (this=0x81d67f0)
    at /var/tmp/portage/kde-base/parley-4.1.0/work/parley-4.1.0/parley/src/parleydocument.cpp:103
#11 0x080dade0 in ParleyDocument::qt_metacall (this=0x81d67f0, 
    _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfdb49fc)
    at /var/tmp/portage/kde-base/parley-4.1.0/work/parley_build/parley/src/parleydocument.moc:91
#12 0xb70aa131 in QMetaObject::activate (sender=0x82c6790, 
    from_signal_index=<value optimized out>, to_signal_index=6, 
    argv=0xbfdb49fc) at kernel/qobject.cpp:3007
#13 0xb70aa554 in QMetaObject::activate (sender=0x82c6790, m=0xb69fd038, 
    from_local_signal_index=1, to_local_signal_index=2, argv=0xbfdb49fc)
    at kernel/qobject.cpp:3097
#14 0xb6249f6b in QAction::triggered (this=0x82c6790, _t1=false)
    at .moc/debug-shared/moc_qaction.cpp:216
#15 0xb624a7dc in QAction::activate (this=0x82c6790, event=QAction::Trigger)
    at kernel/qaction.cpp:1119
#16 0xb6670082 in QToolButton::nextCheckState (this=0x80f6a64)
    at ../../include/QtGui/../../src/gui/kernel/qaction.h:201
#17 0xb6596fe9 in QAbstractButtonPrivate::click (this=0x89cf9e0)
    at widgets/qabstractbutton.cpp:526
#18 0xb6597253 in QAbstractButton::mouseReleaseEvent (this=0x85c4b20, 
    e=0xbfdb511c) at widgets/qabstractbutton.cpp:1116
#19 0xb66704b6 in QToolButton::mouseReleaseEvent (this=0x85c4b20, 
    e=0xbfdb511c) at widgets/qtoolbutton.cpp:675
#20 0xb62a81ca in QWidget::event (this=0x85c4b20, event=0xbfdb511c)
    at kernel/qwidget.cpp:7021
#21 0xb659545c in QAbstractButton::event (this=0x85c4b20, e=0xbfdb511c)
    at widgets/qabstractbutton.cpp:1078
#22 0xb667004a in QToolButton::event (this=0x85c4b20, e=0xbfdb511c)
    at widgets/qtoolbutton.cpp:1105
#23 0xb624ff1b in QApplicationPrivate::notify_helper (this=0x8102f68, 
    receiver=0x85c4b20, e=0xbfdb511c) at kernel/qapplication.cpp:3800
#24 0xb62573a8 in QApplication::notify (this=0xbfdb57b4, receiver=0x85c4b20, 
    e=0xbfdb511c) at kernel/qapplication.cpp:3527
#25 0xb7610ce9 in KApplication::notify (this=0xbfdb57b4, receiver=0x85c4b20, 
    event=0xbfdb511c)
    at /var/tmp/portage/kde-base/kdelibs-4.1.1/work/kdelibs-4.1.1/kdeui/kernel/kapplication.cpp:311
#26 0xb7093771 in QCoreApplication::notifyInternal (this=0xbfdb57b4, 
    receiver=0x85c4b20, event=0xbfdb511c) at kernel/qcoreapplication.cpp:591
#27 0xb62587e9 in QApplicationPrivate::sendMouseEvent (receiver=0x85c4b20, 
    event=0xbfdb511c, alienWidget=0x85c4b20, nativeWidget=0x83e0f78, 
    buttonDown=0xb6a13c60, lastMouseReceiver=@0xb6a13c64)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#28 0xb62c05d7 in QETWidget::translateMouseEvent (this=0x83e0f78, 
    event=0xbfdb5628) at kernel/qapplication_x11.cpp:4048
#29 0xb62bef0e in QApplication::x11ProcessEvent (this=0xbfdb57b4, 
    event=0xbfdb5628) at kernel/qapplication_x11.cpp:3044
#30 0xb62e535d in QEventDispatcherX11::processEvents (this=0x81030c8, flags=
      {i = -1076144440}) at kernel/qeventdispatcher_x11.cpp:134
#31 0xb7092300 in QEventLoop::processEvents (this=0xbfdb5740, flags=
      {i = -1076144376}) at kernel/qeventloop.cpp:149
#32 0xb70924a2 in QEventLoop::exec (this=0xbfdb5740, flags={i = -1076144312})
    at kernel/qeventloop.cpp:200
#33 0xb70948bf in QCoreApplication::exec () at kernel/qcoreapplication.cpp:849
#34 0xb624fcb3 in QApplication::exec () at kernel/qapplication.cpp:3330
#35 0x080e0cd1 in main (argc=1, argv=0xbfdb59d4)
    at /var/tmp/portage/kde-base/parley-4.1.0/work/parley-4.1.0/parley/src/main.cpp:133
#0  0xffffe424 in __kernel_vsyscall ()
Comment 6 Oliver Putz 2008-09-06 23:21:32 UTC
Edit: Sorry, the backtrace above was still for Parley from KDE-4.1.0. Here is the backtrace for parley from KDE-4.1.1 (parley-4.1.1 and libkdeedu-4.1.1) [not many changes anyway]

Application: Parley (parley), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb5d2d700 (LWP 12509)]
[KCrash handler]
#6  KEduVocLesson::appendEntry (this=0x0, entry=0x9175ec0)
    at /var/tmp/portage/kde-base/libkdeedu-4.1.1/work/libkdeedu-4.1.1/libkdeedu/keduvocdocument/keduvoclesson.cpp:71
#7  0xb7f9917a in KEduVocVokabelnReader::readDoc (this=0xbfcbc460, 
    doc=0x81b97c8)
    at /var/tmp/portage/kde-base/libkdeedu-4.1.1/work/libkdeedu-4.1.1/libkdeedu/keduvocdocument/keduvocvokabelnreader.cpp:153
#8  0xb7f78e59 in KEduVocDocument::open (this=0x81b97c8, url=@0xbfcbc5a8)
    at /var/tmp/portage/kde-base/libkdeedu-4.1.1/work/libkdeedu-4.1.1/libkdeedu/keduvocdocument/keduvocdocument.cpp:298
#9  0x080da9a0 in ParleyDocument::open (this=0x81b9720, url=@0xbfcbc5a8, 
    addRecent=true)
    at /var/tmp/portage/kde-base/parley-4.1.1/work/parley-4.1.1/parley/src/parleydocument.cpp:123
#10 0x080dac1d in ParleyDocument::slotFileOpen (this=0x81b9720)
    at /var/tmp/portage/kde-base/parley-4.1.1/work/parley-4.1.1/parley/src/parleydocument.cpp:103
#11 0x080dade0 in ParleyDocument::qt_metacall (this=0x81b9720, 
    _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfcbc6fc)
    at /var/tmp/portage/kde-base/parley-4.1.1/work/parley_build/parley/src/parleydocument.moc:91
#12 0xb70b0131 in QMetaObject::activate (sender=0x8267060, 
    from_signal_index=<value optimized out>, to_signal_index=6, 
    argv=0xbfcbc6fc) at kernel/qobject.cpp:3007
#13 0xb70b0554 in QMetaObject::activate (sender=0x8267060, m=0xb6a03038, 
    from_local_signal_index=1, to_local_signal_index=2, argv=0xbfcbc6fc)
    at kernel/qobject.cpp:3097
#14 0xb624ff6b in QAction::triggered (this=0x8267060, _t1=false)
    at .moc/debug-shared/moc_qaction.cpp:216
#15 0xb62507dc in QAction::activate (this=0x8267060, event=QAction::Trigger)
    at kernel/qaction.cpp:1119
#16 0xb66301b4 in QMenuPrivate::activateAction (this=0x88a1458, 
    action=0x8267060, action_e=QAction::Trigger, self=true)
    at widgets/qmenu.cpp:1005
#17 0xb6630c1f in QMenu::mouseReleaseEvent (this=0x9b632e8, e=0xbfcbcf4c)
    at widgets/qmenu.cpp:2169
#18 0xb76c318a in KMenu::mouseReleaseEvent (this=0x9b632e8, e=0xbfcbcf4c)
    at /var/tmp/portage/kde-base/kdelibs-4.1.1/work/kdelibs-4.1.1/kdeui/widgets/kmenu.cpp:452
#19 0xb62ae1ca in QWidget::event (this=0x9b632e8, event=0xbfcbcf4c)
    at kernel/qwidget.cpp:7021
#20 0xb6633051 in QMenu::event (this=0x9b632e8, e=0xbfcbcf4c)
    at widgets/qmenu.cpp:2265
#21 0xb6255f1b in QApplicationPrivate::notify_helper (this=0x8102f68, 
    receiver=0x9b632e8, e=0xbfcbcf4c) at kernel/qapplication.cpp:3800
#22 0xb625d3a8 in QApplication::notify (this=0xbfcbd5e4, receiver=0x9b632e8, 
    e=0xbfcbcf4c) at kernel/qapplication.cpp:3527
#23 0xb7616ce9 in KApplication::notify (this=0xbfcbd5e4, receiver=0x9b632e8, 
    event=0xbfcbcf4c)
    at /var/tmp/portage/kde-base/kdelibs-4.1.1/work/kdelibs-4.1.1/kdeui/kernel/kapplication.cpp:311
#24 0xb7099771 in QCoreApplication::notifyInternal (this=0xbfcbd5e4, 
    receiver=0x9b632e8, event=0xbfcbcf4c) at kernel/qcoreapplication.cpp:591
#25 0xb625e7e9 in QApplicationPrivate::sendMouseEvent (receiver=0x9b632e8, 
    event=0xbfcbcf4c, alienWidget=0x0, nativeWidget=0x9b632e8, 
    buttonDown=0xb6a19c60, lastMouseReceiver=@0xb6a19c64)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#26 0xb62c680f in QETWidget::translateMouseEvent (this=0x9b632e8, 
    event=0xbfcbd458) at kernel/qapplication_x11.cpp:3982
#27 0xb62c4f0e in QApplication::x11ProcessEvent (this=0xbfcbd5e4, 
    event=0xbfcbd458) at kernel/qapplication_x11.cpp:3044
#28 0xb62eb35d in QEventDispatcherX11::processEvents (this=0x81030c8, flags=
      {i = -1077160712}) at kernel/qeventdispatcher_x11.cpp:134
#29 0xb7098300 in QEventLoop::processEvents (this=0xbfcbd570, flags=
      {i = -1077160648}) at kernel/qeventloop.cpp:149
#30 0xb70984a2 in QEventLoop::exec (this=0xbfcbd570, flags={i = -1077160584})
    at kernel/qeventloop.cpp:200
#31 0xb709a8bf in QCoreApplication::exec () at kernel/qcoreapplication.cpp:849
#32 0xb6255cb3 in QApplication::exec () at kernel/qapplication.cpp:3330
#33 0x080e0cd1 in main (argc=1, argv=0xbfcbd804)
    at /var/tmp/portage/kde-base/parley-4.1.1/work/parley-4.1.1/parley/src/main.cpp:133
#0  0xffffe424 in __kernel_vsyscall ()
Comment 7 Frederik Gladhorn 2008-09-24 15:31:55 UTC
fixed in 4.1.2 and trunk (r864311, r864312)