Bug 161208 - History Plugin cause crashes when opening chat window for specific users(s)
Summary: History Plugin cause crashes when opening chat window for specific users(s)
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kopete
Classification: Applications
Component: History Plugin (show other bugs)
Version: 0.12.7
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-23 20:16 UTC by miffoljud
Modified: 2009-10-31 10:46 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
A chat log (.xml) causing crash (819.91 KB, text/xml)
2008-04-27 17:29 UTC, miffoljud
Details

Note You need to log in before you can comment on or make changes to this bug.
Description miffoljud 2008-04-23 20:16:26 UTC
Version:            (using KDE 3.5.8)
Installed from:    Ubuntu Packages
OS:                Linux

Kopete crashes when I open a chat with a specific person on my list. It is clearly because of the History Plugin overloading.

The cause is the History Plugin, however. a identical crash occurs when I right-click him and press 'View History'. But only when I press on one of the chatting session's history I get a crash(only the history of one session cause the crash).

Note however, when I disable the History Plugin and open a chat with my friend, it works fine.



I don't know if it is a spam-war or some very strange character in the logs that cripples Kopete, however, I would love to fish it out :).

However I don't know where the log files are placed :'(. I'll gladly post it here (unless the logs contain something too personal (unlikely)).

I use the Ubuntu distro, so where are the log files?


Thanks in advance

//Arash
Comment 1 Dennis Nienhüser 2008-04-27 12:39:58 UTC
You'll find the log files in ${KDEHOME}/share/apps/kopete/logs/
The logs are xml files, stored individually for protocol, person and month. For example, /home/myuser/.kde4/share/apps/kopete/logs/MSNProtocol/myuser@myprovider/anotheruser@hisprovider.200804.xml contains the log for my msn contact anotheruser@hisprovider for april this year. You can attach the log here or send it my way.
Comment 2 miffoljud 2008-04-27 17:29:09 UTC
Created attachment 24538 [details]
A chat log (.xml) causing crash

The log causes mine Kopete to crash (or load forever). The log contains a spam
war :p.

I wouldn't download/check out the log. The problem is most likely that since
Kopete is loading such a huge log-file it'll never stop the loading. Just in
case you're certain you can't reproduce the bug you can test with mine
log-file.

819.9 kB .xml file.

Of course Kopete isn't made for spamming each other, but it shouldn't crash if
you open a chat with one on your contact list.

the chat-protocol was MSN, and I think it was a group-conversation.
Comment 3 Dennis Nienhüser 2008-04-27 21:46:32 UTC
I tested with Kopete 4.03 (Ubuntu packages and from SVN branches/4.0) and Kopete from SVN trunk. Although it takes somes seconds to load (one line is rather long in the file), all parse and display the log file fine (except that the long line gets cut off).

Are you using a localised (non-english) version?
Comment 4 Dennis Nienhüser 2008-04-27 21:53:59 UTC
Kopete 0.12.7 from KDE 3.5.9 does hang though. I'll confirm this bug, though it might be QT related and I don't plan to investigate further as it will work in KDE 4.0 and later.
Comment 5 miffoljud 2008-04-28 16:47:44 UTC
Thanks for the confirmation. I use the English version of Kopete.
Comment 6 Roman Jarosz 2009-10-31 10:46:54 UTC
We don't have manpower to fix KDE 3 bugs so I'm closing it as it works in KDE 4.