Bug 120172 - current svn crashes when changing "lines shown in chat-window"
Summary: current svn crashes when changing "lines shown in chat-window"
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Unmaintained
Component: Chat Window (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-15 15:48 UTC by S. Burmeister
Modified: 2006-03-31 18:16 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description S. Burmeister 2006-01-15 15:48:21 UTC
Version:           0.12 (using KDE KDE 3.5.0)
Installed from:    SuSE RPMs
OS:                Linux

I have a chat opened with mor than x lines. I open kopete's settings and change "show max of x lines in chat-window" to something <x. As soon as the next message arrives kopete crashes.

Using host libthread_db library "/lib/tls/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread 1104532832 (LWP 6124)]
[KCrash handler]
#4  0x400fdc9c in KSharedPtr (this=0xbfc655b0, p=@0x9) at ksharedptr.h:120
#5  0x400fa6bf in Message (this=0xbfc655b0, other=@0x9)
    at kopetemessage.cpp:140
#6  0x4382dbc1 in ChatMessagePart::changeStyle (this=0x85b8a30)
    at chatmessagepart.cpp:1089
#7  0x4382da0f in ChatMessagePart::appendMessage (this=0x85b8a30, 
    message=@0xbfc65740, restoring=true) at chatmessagepart.cpp:503
#8  0x4382dbd5 in ChatMessagePart::changeStyle (this=0x85b8a30)
    at chatmessagepart.cpp:1090
#9  0x4382da0f in ChatMessagePart::appendMessage (this=0x85b8a30, 
    message=@0xbfc658d0, restoring=true) at chatmessagepart.cpp:503
#10 0x4382dbd5 in ChatMessagePart::changeStyle (this=0x85b8a30)
    at chatmessagepart.cpp:1090
#11 0x4382da0f in ChatMessagePart::appendMessage (this=0x85b8a30, 
    message=@0xbfc65a60, restoring=true) at chatmessagepart.cpp:503
#12 0x4382dbd5 in ChatMessagePart::changeStyle (this=0x85b8a30)
    at chatmessagepart.cpp:1090
#13 0x4382da0f in ChatMessagePart::appendMessage (this=0x85b8a30, 
    message=@0xbfc65bf0, restoring=true) at chatmessagepart.cpp:503
#14 0x4382dbd5 in ChatMessagePart::changeStyle (this=0x85b8a30)
    at chatmessagepart.cpp:1090
#15 0x4382da0f in ChatMessagePart::appendMessage (this=0x85b8a30, 
    message=@0xbfc65d80, restoring=true) at chatmessagepart.cpp:503
#16 0x4382dbd5 in ChatMessagePart::changeStyle (this=0x85b8a30)
    at chatmessagepart.cpp:1090
#17 0x4382da0f in ChatMessagePart::appendMessage (this=0x85b8a30, 
    message=@0xbfc65f10, restoring=true) at chatmessagepart.cpp:503
#18 0x4382dbd5 in ChatMessagePart::changeStyle (this=0x85b8a30)
    at chatmessagepart.cpp:1090
#19 0x4382da0f in ChatMessagePart::appendMessage (this=0x85b8a30, 
    message=@0xbfc660a0, restoring=true) at chatmessagepart.cpp:503
#20 0x4382dbd5 in ChatMessagePart::changeStyle (this=0x85b8a30)
    at chatmessagepart.cpp:1090
#21 0x4382da0f in ChatMessagePart::appendMessage (this=0x85b8a30, 
    message=@0xbfc66230, restoring=true) at chatmessagepart.cpp:503
#22 0x4382dbd5 in ChatMessagePart::changeStyle (this=0x85b8a30)
    at chatmessagepart.cpp:1090
#23 0x4382da0f in ChatMessagePart::appendMessage (this=0x85b8a30, 
    message=@0xbfc663c0, restoring=true) at chatmessagepart.cpp:503
#24 0x4382dbd5 in ChatMessagePart::changeStyle (this=0x85b8a30)
    at chatmessagepart.cpp:1090
#25 0x4382da0f in ChatMessagePart::appendMessage (this=0x85b8a30, 
    message=@0xbfc66550, restoring=true) at chatmessagepart.cpp:503
#26 0x4382dbd5 in ChatMessagePart::changeStyle (this=0x85b8a30)
    at chatmessagepart.cpp:1090
#27 0x4382da0f in ChatMessagePart::appendMessage (this=0x85b8a30, 
    message=@0xbfc666e0, restoring=true) at chatmessagepart.cpp:503
#28 0x4382dbd5 in ChatMessagePart::changeStyle (this=0x85b8a30)
    at chatmessagepart.cpp:1090
#29 0x4382da0f in ChatMessagePart::appendMessage (this=0x85b8a30, 
    message=@0xbfc66870, restoring=true) at chatmessagepart.cpp:503
#30 0x4382dbd5 in ChatMessagePart::changeStyle (this=0x85b8a30)
    at chatmessagepart.cpp:1090
#31 0x4382da0f in ChatMessagePart::appendMessage (this=0x85b8a30, 
    message=@0xbfc66a00, restoring=true) at chatmessagepart.cpp:503
#32 0x4382dbd5 in ChatMessagePart::changeStyle (this=0x85b8a30)
    at chatmessagepart.cpp:1090
#33 0x4382da0f in ChatMessagePart::appendMessage (this=0x85b8a30, 
    message=@0xbfc66b90, restoring=true) at chatmessagepart.cpp:503
#34 0x4382dbd5 in ChatMessagePart::changeStyle (this=0x85b8a30)
    at chatmessagepart.cpp:1090
#35 0x4382da0f in ChatMessagePart::appendMessage (this=0x85b8a30, 
    message=@0xbfc66d20, restoring=true) at chatmessagepart.cpp:503
#36 0x4382dbd5 in ChatMessagePart::changeStyle (this=0x85b8a30)
    at chatmessagepart.cpp:1090
#37 0x4382da0f in ChatMessagePart::appendMessage (this=0x85b8a30, 
    message=@0xbfc67190, restoring=false) at chatmessagepart.cpp:503
#38 0x43815ccf in ChatView::appendMessage (this=0x8c64da0, message=@0xbfc67190)
    at chatview.cpp:735
#39 0x4017edec in KopeteViewManager::messageAppended (this=0x82a6828, 
    msg=@0xbfc67190, manager=0x886b3d8) at kopeteviewmanager.cpp:167
#40 0x4017f90a in KopeteViewManager::qt_invoke (this=0x82a6828, _id=4, 
    _o=0xbfc67044) at kopeteviewmanager.moc:125
#41 0x41431a49 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#42 0x401032d4 in Kopete::ChatSessionManager::display (this=0x8243628, 
    t0=@0xbfc67190, t1=0x886b3d8) at kopetechatsessionmanager.moc:234
#43 0x401035ae in Kopete::ChatSessionManager::qt_emit (this=0x8243628, _id=9, 
    _o=0xbfc67124) at kopetechatsessionmanager.moc:276
#44 0x41431a06 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#45 0x400fed00 in Kopete::ChatSession::messageAppended (this=0x886b3d8, 
    t0=@0xbfc67190, t1=0x886b3d8) at kopetechatsession.moc:295
#46 0x40101715 in Kopete::TemporaryKMMCallbackAppendMessageHandler::handleMessage (this=0x885cb10, event=0x86503a0) at kopetechatsession.cpp:208
#47 0x401487d4 in Kopete::MessageHandler::handleMessageInternal (
    this=0x885cb10, event=0x86503a0) at kopetemessagehandler.cpp:60
#48 0x40148821 in Kopete::MessageHandler::messageAccepted (this=0x8a4c8b0, 
    event=0x86503a0) at kopetemessagehandler.cpp:71
#49 0x4014884b in Kopete::MessageHandler::handleMessage (this=0x8a4c8b0, 
    event=0x86503a0) at kopetemessagehandler.cpp:65
#50 0x42d66305 in HistoryMessageLogger::handleMessage (this=0x8a4c8b0, 
    event=0x86503a0) at historyplugin.cpp:97
#51 0x401487d4 in Kopete::MessageHandler::handleMessageInternal (
    this=0x8a4c8b0, event=0x86503a0) at kopetemessagehandler.cpp:60
#52 0x4014a08f in Kopete::ProcessMessageTask::slotStart (this=0x8833638)
    at kopetemessagehandlerchain.cpp:166
#53 0x4014a431 in Kopete::ProcessMessageTask::qt_invoke (this=0x8833638, 
    _id=5, _o=0xbfc67304) at kopetemessagehandlerchain.moc:159
#54 0x41431a49 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#55 0x417735d2 in QSignal::signal () from /usr/lib/qt3/lib/libqt-mt.so.3
#56 0x4144e66b in QSignal::activate () from /usr/lib/qt3/lib/libqt-mt.so.3
#57 0x41455fc3 in QSingleShotTimer::event ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#58 0x413d1d41 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#59 0x413d26b9 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#60 0x4104c14e in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#61 0x413c6ab8 in QEventLoop::activateTimers ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#62 0x4137ff4f in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#63 0x413e8c39 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#64 0x413e8b36 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#65 0x413d168f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#66 0x080729de in main (argc=3, argv=0xbfc679f4) at main.cpp:104
Comment 1 Matt Rogers 2006-01-31 01:52:52 UTC
that looks like it's bordering on infinite recursion
Comment 2 Olivier Goffart 2006-03-31 18:16:35 UTC
It seems it fixed  (looking the code, there is no more call to changeStyle in appendMessage)