Bug 170236 - Crash during spell correction on some words only
Summary: Crash during spell correction on some words only
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-02 07:42 UTC by de.payns
Modified: 2008-09-21 11:24 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description de.payns 2008-09-02 07:42:11 UTC
Version:           0.60.80 (using Devel)
Compiler:          GCC 4.1.2 
OS:                Linux
Installed from:    Compiled sources

I am using Kopete with french locale by default and no english locale. In kopete while typing in english the spell checker crashes on some words only.

Typically the word "better" makes it crash when typing the "R".

Funny enough it does not do it on all words, just some of them.

If trying to type backwards the word, starting with the "R" it crashes when reaching the B
Comment 1 Oliver Putz 2008-09-02 12:37:27 UTC
Thanks for your report. Regrettably I cannot reproduce the crash. Can have a look at http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports, try to install the debugging packages for your distribution and post a backtrace for the crash?
Comment 2 John Groszko 2008-09-10 00:43:25 UTC
Also experiencing this crash. Today it's on the words "compiler" "interesting" and "obviously". I was trying to debug this myself earlier this week, at first I thought it was only when using the Yahoo protocol, until I got this backtrace...

kopete(4134)/kopete (yahoo - raw protocol) ClientStream::write:
kopete(4134)/kopete (yahoo - raw protocol) CoreProtocol::outgoingTransfer:
kopete(4134)/kopete (yahoo - raw protocol) CoreProtocol::outgoingTransfer:  got YMSGTransfer
kopete(4134)/kopete (yahoo - raw protocol) YMSGTransfer::serialize:  Serializing key  4  value  "john.groszko_debug2"
kopete(4134)/kopete (yahoo - raw protocol) YMSGTransfer::serialize:  Serializing key  5  value  "john.groszko_debug"
kopete(4134)/kopete (yahoo - raw protocol) YMSGTransfer::serialize:  Serializing key  14  value  " "
kopete(4134)/kopete (yahoo - raw protocol) YMSGTransfer::serialize:  Serializing key  13  value  "1"
kopete(4134)/kopete (yahoo - raw protocol) YMSGTransfer::serialize:  Serializing key  49  value  "TYPING"
kopete(4134)/kopete (yahoo - raw protocol) YMSGTransfer::serialize:  pos= 0  (packet size) "YMSG
kopete(4134)/kopete (yahoo - raw protocol) ClientStream::cp_outgoingData: [data size:  93 ]
kopete(4134)/kopete (yahoo - raw protocol) KNetworkByteStream::tryWrite: [writeData.size() =  93 ]
CLIENT: SendNotifyTask: Task::done()
CLIENT: SendNotifyTask: emitting finished
kopete(4134)/kopete (yahoo - raw protocol) KNetworkByteStream::slotBytesWritten: [int bytes]:  93
kopete(4134)/kopete (yahoo - raw protocol) ClientStream::bs_bytesWritten:  written:  93  bytes

Program received signal SIGSEGV, Segmentation fault.
0xb6d24df7 in ?? () from /usr/lib/libQtGui.so.4
(gdb) backtrace
#0  0xb6d24df7 in ?? () from /usr/lib/libQtGui.so.4
#1  0xb6d03108 in QPainterPath::arcTo () from /usr/lib/libQtGui.so.4
#2  0x4004cccc in ?? ()
Cannot access memory at address 0xcccccccd
Comment 3 Pierre Maurier 2008-09-12 12:31:22 UTC
I experience the same thing ! But I don't have any debugging package, so I launched Kopete in Konsole and that's what I got :
$ kopete
kopete(10653)/libkopete Kopete::PluginManager::loadPluginInternal: Unable to find a plugin named ' "" '!
QObject: Do not delete object, 'unnamed', during its event handler!
QFSFileEngine::open: No file name specified
kopete(10653)/kdeui (kdelibs): No such XML file  "jabberchatui.rc"

Enchant dict for "fr" 0x883af58
Enchant dict for "fr" 0x885be98
QObject: Do not delete object, 'unnamed', during its event handler!
QObject: Do not delete object, 'unnamed', during its event handler!
QObject: Do not delete object, 'unnamed', during its event handler!
QObject: Do not delete object, 'unnamed', during its event handler!
QObject: Do not delete object, 'unnamed', during its event handler!
QObject: Do not delete object, 'unnamed', during its event handler!
QObject: Do not delete object, 'unnamed', during its event handler!
KCrash: Application 'kopete' crashing...

I don't know if it's related, but the word "better" make kopete crash immediately with this output.

In a strange way, disabling the auto-spellchecking in the settings don't seems to work, wrong words are always underlined and kopete still crashes when typing some words.

PS : I have Kopete 0.60.1 under KDE 4.1.2 (KDE 4.1.1 (KDE 4.1 >= 20080828)) "release 32.4" from openSUSE repo.
Comment 4 Jost Schönleben 2008-09-16 21:30:44 UTC
Hi,

i have the same problem with some special german words. For example "stürzt" or "führerschein".
After turning of the spell checking everything works fine.

I use Kopete 0.60.1 and KDE 4.1.2 too
(Opensuse 11)
Comment 5 Roman Jarosz 2008-09-19 21:33:46 UTC
This should be Qt bug which has been fixed in Qt 4.4.2.
Anybody can confirm this?
Comment 6 Jost Schönleben 2008-09-20 11:18:28 UTC
As it seems i have Qt 4.4.0 installed.
Suse Linux doesnt update to 4.4.2 automatically?!

I downloaded Qt 4.4.2 from http://trolltech.com/developer/downloads/qt/x11

As it seems this are only the sourcecodes, which i need to compile ...
I am pretty new to linux, so i dont feel comfortable with compiling important system tools myself ..

I am waiting for an offical release from Suse

PS: If i understood something wrong, please tell me ;-)
Comment 7 Jan Ritzerfeld 2008-09-20 12:12:51 UTC
Are you using the KDE:KDE4:Factory:Desktop repository? Then, you should read opensuse-kde: http://lists.opensuse.org/opensuse-kde/2008-09/msg00052.html
Comment 8 Jost Schönleben 2008-09-20 16:12:05 UTC
Thanks for your hint!
I added this repository as you can see here on a screenshot:
http://www.jost.cx/yast_repo.png

I started the automatic update and gues what? I am still on Qt 4.4.0.
No updates were installed.

So i started the packet-manager and searched for libqt. The result is here on another screenshot:
http://www.jost.cx/yast_libqt.png

Which box do i need to check? Is the right packet listed?

--------------------------

I found another little thingy:
Turning of the spellcheck doesnt work really good. For some users on my list its still activated. I found the kopete config file and in this file you can set automatic spell check per user?!
It is here:
/home/jost/.kde4/share/config/kopeterc

Whats the use of this option, if i cant even access it from kopete itself?!

-----------------------------------

Again thanks alot for your help!
Comment 9 Jan Ritzerfeld 2008-09-20 17:39:05 UTC
In general, please consult an appropriate openSUSE forum/mailing list/newsgroup (http://en.opensuse.org/Communicate) to get support for upgrading your KDE4 installation.

Personally, I upgrade my KDE4/Qt4 by selecting the YaST menu item "Paket"->"Alle Pakete"->"Aktualisieren, falls neuere Version verfügbar". This way, dependencies get resolved automatically.

BTW, the openSUSE Updater applet in the system tray must be reconfigured in order to show upgrades(sic!), too. And replacing Qt 4.4.0 by 4.4.2 is an upgrade, not just an update. Thus, the automatic update works correctly as designed.
Comment 10 Jost Schönleben 2008-09-20 18:42:46 UTC
Ok, i dit it your way! Now i have Qt4.4.2 (and 120 other patches) and there are no more crashes, when the spell correction is enabled.

Thanks alot!

(Viele Grüße aus Nürnberg!)
Comment 11 Roman Jarosz 2008-09-21 11:24:21 UTC
Closing this as Jost Schönleben confirmed that it was Qt bug.
To resolve the crash please update to Qt 4.4.2

Jost: Turning of the spellcheck in configuration dialog is only for new users. The per user spellchecker setting can be changed in chat window menu: Settings->Automatic Spell Checking.