Bug 75937 - changing dictionary in spell check dialog causes crash
Summary: changing dictionary in spell check dialog causes crash
Status: RESOLVED WORKSFORME
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kspell (show other bugs)
Version: 3.2
Platform: Compiled Sources Linux
: VHI crash
Target Milestone: ---
Assignee: Zack Rusin
URL:
Keywords:
: 79653 94432 99185 99186 104528 104588 118950 121946 124417 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-23 19:30 UTC by Grzegorz Jaskiewicz
Modified: 2006-12-28 14:45 UTC (History)
10 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Knode spellchecker crash backtrace (7.40 KB, text/plain)
2006-02-12 17:14 UTC, greatbunzinni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Grzegorz Jaskiewicz 2004-02-23 19:30:13 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    Compiled From Sources
Compiler:          debian unstable g++ 
OS:          Linux

write email, go to tools->spell check, change language (in my case from polish to British English), there is small message box visible for split second, it steals away focus, but you cannot see it. Press ESC to close it, and kaboom.
This looks like Qt problem to me, so FYI, KDE 3.2/KMAIL from CVS (version from 2004-02-23). Qt-copy from HEAD.


[New Thread 16384 (LWP 7151)]
0x42027bd8 in waitpid () from /lib/libpthread.so.0
#0  0x42027bd8 in waitpid () from /lib/libpthread.so.0
#1  0x41643fe0 in __JCR_LIST__ () from /opt/kde/lib/libkdecore.so.4
#2  0x4158080c in KCrash::defaultCrashHandler(int) (sig=11) at kcrash.cpp:246
#3  0x42026815 in __pthread_sighandler () from /lib/libpthread.so.0
#4  <signal handler called>
#5  0x40260440 in QGVector::size() const (this=0x7fff) at qgvector.h:66
#6  0x419e2fb7 in QPtrVector<QConnectionList>::size() const (this=0x7fff)
    at qptrvector.h:62
#7  0x419e359b in QSignalVec::at(unsigned) const (this=0x7fff, index=12)
    at qsignalslotimp.h:83
#8  0x419df6af in QObject::receivers(int) const (this=0x8472fa8, signal=12)
    at kernel/qobject.cpp:1233
#9  0x41d53dc3 in QListBox::selected(QListBoxItem*) (this=0x8472fa8, 
    t0=0x848c9b0) at .moc/debug-shared-mt/moc_qlistbox.cpp:294
#10 0x41abcb3d in QListBox::mouseDoubleClickEvent(QMouseEvent*) (
    this=0x8472fa8, e=0xbffff240) at widgets/qlistbox.cpp:2202
#11 0x41a19a6e in QWidget::event(QEvent*) (this=0x8472fa8, e=0xbffff240)
    at kernel/qwidget.cpp:4662
#12 0x4197eb73 in QApplication::internalNotify(QObject*, QEvent*) (
    this=0xbffffc10, receiver=0x8472fa8, e=0xbffff240)
    at kernel/qapplication.cpp:2614
#13 0x4197e39b in QApplication::notify(QObject*, QEvent*) (this=0xbffffc10, 
    receiver=0x8472fa8, e=0xbffff240) at kernel/qapplication.cpp:2400
#14 0x414f5b69 in KApplication::notify(QObject*, QEvent*) (this=0xbffffc10, 
    receiver=0x8472fa8, event=0xbffff240) at kapplication.cpp:506
#15 0x4055effe in QApplication::sendEvent(QObject*, QEvent*) (
    receiver=0x8472fa8, event=0xbffff240) at qapplication.h:491
#16 0x41a806ba in QComboBox::eventFilter(QObject*, QEvent*) (this=0x8472d10, 
    object=0x8472fa8, event=0xbffff420) at widgets/qcombobox.cpp:1787
#17 0x419df0a5 in QObject::activate_filters(QEvent*) (this=0x8472fa8, 
    e=0xbffff420) at kernel/qobject.cpp:902
#18 0x419def23 in QObject::event(QEvent*) (this=0x8472fa8, e=0xbffff420)
    at kernel/qobject.cpp:735
#19 0x41a1995d in QWidget::event(QEvent*) (this=0x8472fa8, e=0xbffff420)
    at kernel/qwidget.cpp:4638
#20 0x4197eb73 in QApplication::internalNotify(QObject*, QEvent*) (
    this=0xbffffc10, receiver=0x8472fa8, e=0xbffff420)
    at kernel/qapplication.cpp:2614
#21 0x4197e39b in QApplication::notify(QObject*, QEvent*) (this=0xbffffc10, 
    receiver=0x8473920, e=0xbffff680) at kernel/qapplication.cpp:2400
#22 0x414f5b69 in KApplication::notify(QObject*, QEvent*) (this=0xbffffc10, 
    receiver=0x8473920, event=0xbffff680) at kapplication.cpp:506
#23 0x419143bc in QApplication::sendSpontaneousEvent(QObject*, QEvent*) (
    receiver=0x8473920, event=0xbffff680) at qapplication.h:494
#24 0x4190cefa in QETWidget::translateMouseEvent(_XEvent const*) (
    this=0x8473920, event=0xbffffa30) at kernel/qapplication_x11.cpp:4169
#25 0x4190aed7 in QApplication::x11ProcessEvent(_XEvent*) (this=0xbffffc10, 
    event=0xbffffa30) at kernel/qapplication_x11.cpp:3401
#26 0x41925cab in QEventLoop::processEvents(unsigned) (this=0x80993c8, flags=4)
    at kernel/qeventloop_x11.cpp:192
#27 0x419930d1 in QEventLoop::enterLoop() (this=0x80993c8)
    at kernel/qeventloop.cpp:198
#28 0x41992fea in QEventLoop::exec() (this=0x80993c8)
    at kernel/qeventloop.cpp:145
#29 0x4197ecdf in QApplication::exec() (this=0xbffffc10)
    at kernel/qapplication.cpp:2737
#30 0x0804a652 in main (argc=1, argv=0xbffffd84) at main.cpp:115
Comment 1 Ingo Klöcker 2004-05-29 22:37:41 UTC
This crash is reproducible with KWrite (from KDE 3.2.x). So it's most likely a KSpell bug.

I got the following backtrace with KMail HEAD on KDE 3.2 BRANCH >= 20040204, but the backtrace I got with KWrite is exactly the same (in the first 10 frames or so):

[New Thread 16384 (LWP 2802)]
0x416fd387 in waitpid () from /lib/libpthread.so.0
#0  0x416fd387 in waitpid () from /lib/libpthread.so.0
#1  0x40a38e43 in KCrash::defaultCrashHandler(int) (sig=11)
    at /home/ingo/cvs/kde/3.2/kdelibs/kdecore/kcrash.cpp:246
#2  0x416fc1ec in __pthread_sighandler () from /lib/libpthread.so.0
#3  <signal handler called>
#4  0x40f2e3df in QComboBox::currentText() const (this=0xbfffeb10)
    at widgets/qcombobox.cpp:887
#5  0x40f30d31 in QComboBox::wheelEvent(QWheelEvent*) (this=0xa3252d8, 
    e=0xbfffeb10) at widgets/qcombobox.cpp:1487
#6  0x40ecb2e9 in QWidget::event(QEvent*) (this=0xa3252d8, e=0xbfffeb10)
    at kernel/qwidget.cpp:4438
#7  0x40e3087d in QApplication::internalNotify(QObject*, QEvent*) (
    this=0xbffff080, receiver=0xa3252d8, e=0xbfffeb10)
    at kernel/qapplication.cpp:2582
#8  0x40e30258 in QApplication::notify(QObject*, QEvent*) (this=0xbffff080, 
    receiver=0xa3252d8, e=0xbfffeb10) at kernel/qapplication.cpp:2402
#9  0x409af7dd in KApplication::notify(QObject*, QEvent*) (this=0xbffff080, 
    receiver=0xa3252d8, event=0xbfffeb10)
    at /home/ingo/cvs/kde/3.2/kdelibs/kdecore/kapplication.cpp:506
#10 0x40dc74d5 in QApplication::sendSpontaneousEvent(QObject*, QEvent*) (
    receiver=0xa3252d8, event=0xbfffeb10) at kernel/qapplication.h:495
#11 0x40dc0d9c in QETWidget::translateWheelEvent(int, int, int, int, Qt::Orientation) (this=0xa3252d8, global_x=511, global_y=641, delta=-120, state=0, 
    orient=Vertical) at kernel/qapplication_x11.cpp:4374
#12 0x40dc0495 in QETWidget::translateMouseEvent(_XEvent const*) (
    this=0xa3252d8, event=0xbfffef70) at kernel/qapplication_x11.cpp:4175
#13 0x40dbe99a in QApplication::x11ProcessEvent(_XEvent*) (this=0xbffff080, 
    event=0xbfffef70) at kernel/qapplication_x11.cpp:3529
#14 0x40dd862e in QEventLoop::processEvents(unsigned) (this=0x80d85e8, flags=4)
    at kernel/qeventloop_x11.cpp:192
#15 0x40e462ea in QEventLoop::enterLoop() (this=0x80d85e8)
    at kernel/qeventloop.cpp:198
#16 0x40e46206 in QEventLoop::exec() (this=0x80d85e8)
    at kernel/qeventloop.cpp:145
#17 0x40e309fd in QApplication::exec() (this=0xbffff080)
    at kernel/qapplication.cpp:2705
#18 0x0805c815 in main (argc=2, argv=0xbffff224)
    at /home/ingo/cvs/kde/head/kdepim/kontact/src/main.cpp:159
#19 0x41840857 in __libc_start_main () from /lib/libc.so.6
Comment 2 Volker Krause 2005-02-12 15:20:06 UTC
*** Bug 79653 has been marked as a duplicate of this bug. ***
Comment 3 Volker Krause 2005-02-12 15:20:38 UTC
*** Bug 94432 has been marked as a duplicate of this bug. ***
Comment 4 Volker Krause 2005-02-12 15:21:28 UTC
*** Bug 99185 has been marked as a duplicate of this bug. ***
Comment 5 Volker Krause 2005-02-12 15:21:45 UTC
*** Bug 99186 has been marked as a duplicate of this bug. ***
Comment 6 Maksim Orlovich 2005-04-26 14:52:11 UTC
*** Bug 104588 has been marked as a duplicate of this bug. ***
Comment 7 Volker Krause 2005-05-12 19:20:13 UTC
*** Bug 104528 has been marked as a duplicate of this bug. ***
Comment 8 Thomas Zander 2005-10-28 15:10:47 UTC
As this bug is still present I'm wondering how many more releases I can not spell-check my emails if ispell does not happen to already be in the correct language. :(

I changed the priority to vhi since this affects a _lot_ of applications for all us that speak more then one language.
Comment 9 Tristan Miller 2005-10-28 15:26:07 UTC
KMail seems to have worked around this by providing a "Dictionary" drop-down list in the message composer.  However, other KDE applications such as KNode lack this feature.
Comment 10 Volker Krause 2005-12-27 17:09:28 UTC
*** Bug 118950 has been marked as a duplicate of this bug. ***
Comment 11 greatbunzinni 2006-02-12 17:12:59 UTC
Problem persists with KDE 3.5.1 and knode 0.10.1. There is also a similar problem with KMail. Maybe the two bugs are related.
Comment 12 greatbunzinni 2006-02-12 17:14:24 UTC
Created attachment 14657 [details]
Knode spellchecker crash backtrace

This is the backtrace of the spellchecker crash.

System: KDE 3.5.1, Knode 0.10.1
Comment 13 Volker Krause 2006-02-14 11:34:50 UTC
*** Bug 121946 has been marked as a duplicate of this bug. ***
Comment 14 Volker Krause 2006-04-29 19:41:27 UTC
*** Bug 124417 has been marked as a duplicate of this bug. ***
Comment 15 Carsten Lohrke 2006-05-07 19:40:09 UTC
I'd say bug 73074 is a dupe of this one.
Comment 16 Gunnar Wegner 2006-05-10 11:02:20 UTC
I have this bug (or any of its duplicates) with KMail 1.9.1 on OpenSuSE 10.0. It regularly, but not always, crashes Kontact when I change the language in the very moment I click on ok in the me message box telling me I have to restart the dialogue.
Comment 17 Martin Koller 2006-12-03 20:06:46 UTC
Testing with KDE-3.5.5 I always get a dialog "You have to restart the dialog for changes to take effect" after changing language.
No crash, no message box only visible for a fraction of a second.

Can anybody reproduce the problem with 3.5.5 (and if so, how) ?
Comment 18 Gunnar Wegner 2006-12-04 08:37:56 UTC
You are right: it is gone in KDE 3.5.5 on OpenSuSE.
Comment 19 Martin Koller 2006-12-28 14:45:46 UTC
So then let's close it.
If someone can still reproduce, please reopen.