Bug 129154 - Kbabel crashes when spellchecking file
Summary: Kbabel crashes when spellchecking file
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kbabel
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Stanislav Visnovsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-14 18:06 UTC by Krzysztof Lichota
Modified: 2011-06-26 14:03 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
PO file causing the crash (18.70 KB, application/x-gettext)
2006-06-14 18:07 UTC, Krzysztof Lichota
Details
kbabelrc (15.33 KB, application/octet-stream)
2006-06-14 18:08 UTC, Krzysztof Lichota
Details
The po file that causes the crash (59.29 KB, text/plain)
2006-12-23 13:30 UTC, Frederik Schwarzer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Krzysztof Lichota 2006-06-14 18:06:36 UTC
Version:            (using KDE KDE 3.5.3)
Installed from:    Ubuntu Packages

I have run spellchecking on .po file and Kbabel crashed when the following scenario is run:
1. Press Ctrl-I.
2. Choose "Spellcheck all".
3. When asked about "kpager", choose "Ignore all".
4. When asked about "pkazuje" choose "Replace".
5. When asked about "kpagerrc" choose "Ignore".
6. Then Kbabel error dialog appears saying "Lost synchronization with spellchecking module" (or similar, I am using Polish locale).
7. After clicking "OK" Kbabel crashes.

I will attach the file and kbabel config.
Spellchecking was done for Polish language.

Backtrace:
(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1233294464 (LWP 12752)]
[KCrash handler]
#6  0xb79b2ce5 in KSpell::dialog (this=0x8628948, word=@0xbfacc288, 
    sugg=@0x8628990, _slot=0x0) at kspell.cpp:1234
#7  0xb79b8432 in KSpell::checkList3a (this=0x8628948) at kspell.cpp:886
#8  0xb79b8538 in KSpell::checkList4 (this=0x8628948) at kspell.cpp:972
#9  0xb7a04aad in KSpell::qt_invoke (this=0x8628948, _id=9, _o=0xbfacc39c)
    at kspell.moc:340
#10 0xb6fe1e29 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#11 0xb6fe28c4 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#12 0xb78ccc5c in KSpell::dialog3 (this=0x0) at kspell.moc:327
#13 0xb7a046ac in KSpell::dialog2 (this=0x8628948, result=0)
    at kspell.cpp:1281
#14 0xb7a04ac9 in KSpell::qt_invoke (this=0x8628948, _id=10, _o=0xbfacc538)
    at kspell.moc:341
#15 0xb6fe1f56 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#16 0xb6fe2738 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#17 0xb78ccb10 in KSpellDlg::command (this=0x0, t0=140675400)
    at kspelldlg.moc:125
#18 0xb78ccb3a in KSpellDlg::done (this=0x0, result=0) at kspelldlg.cpp:218
#19 0xb78c611f in KSpellDlg::ignore (this=0x85f9368) at kspelldlg.cpp:224
#20 0xb79ac034 in KSpellDlg::qt_invoke (this=0x85f9368, _id=86, _o=0xbfacc67c)
    at kspelldlg.moc:138
#21 0xb6fe1e29 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#22 0xb6fe28c4 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#23 0xb737d89f in QButton::clicked () from /usr/lib/libqt-mt.so.3
#24 0xb707d46a in QButton::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
#25 0xb701c5fd in QWidget::event () from /usr/lib/libqt-mt.so.3
#26 0xb6f77dc6 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#27 0xb6f78350 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#28 0xb76fae31 in KApplication::notify (this=0xbfacd0dc, receiver=0x8632790, 
    event=0xbfaccafc) at kapplication.cpp:550
#29 0xb6f0915d in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
#30 0xb6f0480b in QETWidget::translateMouseEvent ()
   from /usr/lib/libqt-mt.so.3
#31 0xb6f02cf1 in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#32 0xb6f1c473 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#33 0xb6f908b7 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#34 0xb6f907da in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#35 0xb6f768d5 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#36 0x080738d8 in ?? ()
#37 0xbfacd0dc in ?? ()
#38 0x00000000 in ?? ()
Comment 1 Krzysztof Lichota 2006-06-14 18:07:38 UTC
Created attachment 16610 [details]
PO file causing the crash
Comment 2 Krzysztof Lichota 2006-06-14 18:08:23 UTC
Created attachment 16611 [details]
kbabelrc
Comment 3 Frederik Schwarzer 2006-12-23 13:28:48 UTC
I have the same error here with a german file.
The procedure is a bit simpler here.
Just run Spellcheck (Ctrl+I) and press ignore on every item.
I can toggle the crash/no-crash behviour by setting the Encoding to UTF-8 (crash) oder US-ASCII (no-crash).

I use aspell.

The Backtrace I get is the following:
===
Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1234110784 (LWP 4967)]
[KCrash handler]
#5  0x00000000 in ?? ()
#6  0xb79ae12c in KSpell::dialog () from /usr/local/kde/lib/libkdeui.so.4
#7  0xb79b2d04 in KSpell::checkList3a () from /usr/local/kde/lib/libkdeui.so.4
#8  0xb79b2e7e in KSpell::checkList4 () from /usr/local/kde/lib/libkdeui.so.4
#9  0xb79b38fe in KSpell::qt_invoke () from /usr/local/kde/lib/libkdeui.so.4
#10 0xb6f41cb3 in QObject::activate_signal ()
   from /usr/share/qt3/lib/libqt-mt.so.3
#11 0xb6f42744 in QObject::activate_signal ()
   from /usr/share/qt3/lib/libqt-mt.so.3
#12 0xb79ab11c in KSpell::dialog3 () from /usr/local/kde/lib/libkdeui.so.4
#13 0xb79ad95d in KSpell::dialog2 () from /usr/local/kde/lib/libkdeui.so.4
#14 0xb79b391a in KSpell::qt_invoke () from /usr/local/kde/lib/libkdeui.so.4
#15 0xb6f41de0 in QObject::activate_signal ()
   from /usr/share/qt3/lib/libqt-mt.so.3
#16 0xb6f425ba in QObject::activate_signal ()
   from /usr/share/qt3/lib/libqt-mt.so.3
#17 0xb79a8df0 in KSpellDlg::command () from /usr/local/kde/lib/libkdeui.so.4
#18 0xb79a8e24 in KSpellDlg::done () from /usr/local/kde/lib/libkdeui.so.4
#19 0xb79a8d76 in KSpellDlg::ignore () from /usr/local/kde/lib/libkdeui.so.4
#20 0xb79a9389 in KSpellDlg::qt_invoke () from /usr/local/kde/lib/libkdeui.so.4
#21 0xb6f41cb3 in QObject::activate_signal ()
   from /usr/share/qt3/lib/libqt-mt.so.3
#22 0xb6f42744 in QObject::activate_signal ()
   from /usr/share/qt3/lib/libqt-mt.so.3
#23 0xb72d3d3f in QButton::clicked () from /usr/share/qt3/lib/libqt-mt.so.3
#24 0xb6fdec4e in QButton::mouseReleaseEvent ()
   from /usr/share/qt3/lib/libqt-mt.so.3
#25 0xb6f78654 in QWidget::event () from /usr/share/qt3/lib/libqt-mt.so.3
#26 0xb6ed9bd6 in QApplication::internalNotify ()
   from /usr/share/qt3/lib/libqt-mt.so.3
#27 0xb6edbd79 in QApplication::notify () from /usr/share/qt3/lib/libqt-mt.so.3
#28 0xb758a3ee in KApplication::notify ()
   from /usr/local/kde/lib/libkdecore.so.4
#29 0xb6e6d445 in QApplication::sendSpontaneousEvent ()
   from /usr/share/qt3/lib/libqt-mt.so.3
#30 0xb6e6c0df in QETWidget::translateMouseEvent ()
   from /usr/share/qt3/lib/libqt-mt.so.3
#31 0xb6e6a660 in QApplication::x11ProcessEvent ()
   from /usr/share/qt3/lib/libqt-mt.so.3
#32 0xb6e80cb2 in QEventLoop::processEvents ()
   from /usr/share/qt3/lib/libqt-mt.so.3
#33 0xb6ef4129 in QEventLoop::enterLoop ()
   from /usr/share/qt3/lib/libqt-mt.so.3
#34 0xb6ef3f4a in QEventLoop::exec () from /usr/share/qt3/lib/libqt-mt.so.3
#35 0xb6edb76f in QApplication::exec () from /usr/share/qt3/lib/libqt-mt.so.3
#36 0x0807725a in main ()
===
I will attach the file that causes the error below.
Comment 4 Frederik Schwarzer 2006-12-23 13:30:13 UTC
Created attachment 19015 [details]
The po file that causes the crash
Comment 5 Nicolas L. 2010-08-14 11:12:20 UTC
is this bug still valid with Lokalize ?
Comment 6 Christoph Feck 2011-06-26 14:03:52 UTC
KBabel is no longer maintained, please use the KDE 4 translator's tool called "Lokalize" instead. For more information, please visit http://userbase.kde.org/Lokalize

If this is a bug which is also present in Lokalize, please add a comment so that I can reassign the bug the the Lokalize authors.