Bug 199599 - error occurs after you remove the style used the chat window.
Summary: error occurs after you remove the style used the chat window.
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Unmaintained
Component: Chat Window (other bugs)
Version First Reported In: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-09 22:08 UTC by unisolger
Modified: 2009-10-31 18:26 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 unisolger 2009-07-09 22:08:00 UTC
Application that crashed: kopete
Version of the application: 0.70.90
KDE Version: 4.2.95 (KDE 4.2.95 (KDE 4.3 RC1))
Qt Version: 4.5.2
Operating System: Linux 2.6.30-gentoo-r2 x86_64

What I was doing when the application crashed:
error occurs after you remove the style used the chat window.

 -- Backtrace:
Application: Kopete (kopete), signal: Segmentation fault
[Current thread is 0 (LWP 474)]

Thread 2 (Thread 0x7ffabba17910 (LWP 519)):
#0  0x00007ffac6286239 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ffac64f3799 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007ffac7844084 in ?? () from /usr/lib64/qt4/libQtNetwork.so.4
#3  0x00007ffac64f2a14 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007ffac62822e7 in start_thread () from /lib/libpthread.so.0
#5  0x00007ffac4b48c2d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffaca510750 (LWP 474)):
[KCrash Handler]
#5  0x00007ffac6539b20 in QStringMatcher::indexIn () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007ffac6539d94 in QString::replace () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007ffac653a0f9 in QString::replace () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007ffab9854dba in ChatMessagePart::formatStyleKeywords () from /usr/lib64/libkopetechatwindow_shared.so.1
#9  0x00007ffab98557f7 in ChatMessagePart::writeTemplate () from /usr/lib64/libkopetechatwindow_shared.so.1
#10 0x00007ffab985a0db in ChatMessagePart::changeStyle () from /usr/lib64/libkopetechatwindow_shared.so.1
#11 0x00007ffab985a3c5 in ChatMessagePart::qt_metacall () from /usr/lib64/libkopetechatwindow_shared.so.1
#12 0x00007ffac65d8dfd in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#13 0x00007ffac92572d0 in Kopete::AppearanceSettings::usrWriteConfig () from /usr/lib64/libkopete.so.4
#14 0x00007ffac6baa514 in KCoreConfigSkeleton::writeConfig () from /usr/lib64/libkdecore.so.5
#15 0x00007ffaaf1a95c3 in ?? () from /usr/lib64/kde4/kcm_kopete_chatwindowconfig.so
#16 0x00007ffac2d97e17 in KCModuleProxy::save () from /usr/lib64/libkutils.so.4
#17 0x00007ffac2d92be0 in ?? () from /usr/lib64/libkutils.so.4
#18 0x00007ffac2d94ed8 in KCMultiDialog::qt_metacall () from /usr/lib64/libkutils.so.4
#19 0x00007ffac2dad6b5 in KSettings::Dialog::qt_metacall () from /usr/lib64/libkutils.so.4
#20 0x00007ffac65d8dfd in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#21 0x00007ffac7107d05 in KDialog::slotButtonClicked () from /usr/lib64/libkdeui.so.5
#22 0x00007ffac7109f1d in KDialog::qt_metacall () from /usr/lib64/libkdeui.so.5
#23 0x00007ffac71bf506 in KPageDialog::qt_metacall () from /usr/lib64/libkdeui.so.5
#24 0x00007ffac2d94e15 in KCMultiDialog::qt_metacall () from /usr/lib64/libkutils.so.4
#25 0x00007ffac2dad6b5 in KSettings::Dialog::qt_metacall () from /usr/lib64/libkutils.so.4
#26 0x00007ffac65d8dfd in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#27 0x00007ffac65dcffe in QSignalMapper::mapped () from /usr/lib64/qt4/libQtCore.so.4
#28 0x00007ffac65dd0a0 in QSignalMapper::map () from /usr/lib64/qt4/libQtCore.so.4
#29 0x00007ffac65de290 in QSignalMapper::qt_metacall () from /usr/lib64/qt4/libQtCore.so.4
#30 0x00007ffac65d8dfd in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#31 0x00007ffac5c88807 in QAbstractButton::clicked () from /usr/lib64/qt4/libQtGui.so.4
#32 0x00007ffac5a214cb in ?? () from /usr/lib64/qt4/libQtGui.so.4
#33 0x00007ffac5a22382 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#34 0x00007ffac5a225b5 in QAbstractButton::mouseReleaseEvent () from /usr/lib64/qt4/libQtGui.so.4
#35 0x00007ffac5760300 in QWidget::event () from /usr/lib64/qt4/libQtGui.so.4
#36 0x00007ffac5712cbd in QApplicationPrivate::notify_helper () from /usr/lib64/qt4/libQtGui.so.4
#37 0x00007ffac571ae4b in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4
#38 0x00007ffac7193deb in KApplication::notify () from /usr/lib64/libkdeui.so.5
#39 0x00007ffac65c6cfb in QCoreApplication::notifyInternal () from /usr/lib64/qt4/libQtCore.so.4
#40 0x00007ffac571c368 in QApplicationPrivate::sendMouseEvent () from /usr/lib64/qt4/libQtGui.so.4
#41 0x00007ffac5775e0c in ?? () from /usr/lib64/qt4/libQtGui.so.4
#42 0x00007ffac5774925 in QApplication::x11ProcessEvent () from /usr/lib64/qt4/libQtGui.so.4
#43 0x00007ffac579989c in ?? () from /usr/lib64/qt4/libQtGui.so.4
#44 0x00007ffac1362e29 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#45 0x00007ffac1366498 in ?? () from /usr/lib/libglib-2.0.so.0
#46 0x00007ffac136665c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#47 0x00007ffac65ebe9f in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#48 0x00007ffac579915f in ?? () from /usr/lib64/qt4/libQtGui.so.4
#49 0x00007ffac65c56a2 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#50 0x00007ffac65c583c in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#51 0x00007ffac65c78dc in QCoreApplication::exec () from /usr/lib64/qt4/libQtCore.so.4
#52 0x00000000004162d8 in _start ()

Reported using DrKonqi
Comment 1 Matt Rogers 2009-09-05 21:10:38 UTC
How did you remove the chat window style?
Comment 2 unisolger 2009-09-05 21:36:55 UTC
An error occurs if you delete the current (selected), ie used at the moment, style. And then, not choosing a different style to replace the remote style, click the "Apply"
Comment 3 Roman Jarosz 2009-10-30 21:31:36 UTC
SVN commit 1042833 by rjarosz:

Fix crash when removing current style.
BUG: 199599



 M  +15 -9     chatwindow/chatmessagepart.cpp  
 M  +5 -0      chatwindow/chatmessagepart.h  
 M  +2 -2      chatwindow/kopetechatwindowstyle.cpp  
 M  +1 -1      chatwindow/kopetechatwindowstyle.h  
 M  +1 -0      config/chatwindow/chatwindowconfig.cpp  
 M  +3 -1      config/chatwindow/chatwindowconfig.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1042833
Comment 4 Roman Jarosz 2009-10-31 18:26:59 UTC
SVN commit 1043065 by rjarosz:

Backport commit 1042833.

Fix crash when removing current style.
CCBUG: 199599



 M  +15 -9     chatwindow/chatmessagepart.cpp  
 M  +5 -0      chatwindow/chatmessagepart.h  
 M  +2 -2      chatwindow/kopetechatwindowstyle.cpp  
 M  +1 -1      chatwindow/kopetechatwindowstyle.h  
 M  +1 -0      config/chatwindow/chatwindowconfig.cpp  
 M  +3 -1      config/chatwindow/chatwindowconfig.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1043065