Application that crashed: kopete Version of the application: 0.70.90 KDE Version: 4.3.00 (KDE 4.3.0) Qt Version: 4.5.2 Operating System: Linux 2.6.30-ARCH x86_64 What I was doing when the application crashed: This crash occurs when the style that is currently in use is deleted, and one selects a new style. Reproduce by opening the settings window, selecting the chat window options. Select the current style, delete it (if it is not deletable, first apply a style that is), and then apply another style. -- Backtrace: Application: Kopete (kopete), signal: Segmentation fault [Current thread is 0 (LWP 3229)] Thread 4 (Thread 0x7fb9e8c12910 (LWP 3234)): #0 0x00007fb9fae1b9b3 in poll () from /lib/libc.so.6 #1 0x00007fb9f6abd34c in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #2 0x00007fb9f6abd690 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007fb9fc0d622e in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4 #4 0x00007fb9fc0ac612 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4 #5 0x00007fb9fc0ac9e4 in QEventLoop::exec () from /usr/lib/libQtCore.so.4 #6 0x00007fb9e979a473 in QCA::SyncThread::run () from /usr/lib/libqca.so.2 #7 0x00007fb9fbfc8285 in ?? () from /usr/lib/libQtCore.so.4 #8 0x00007fb9fa8f457a in start_thread () from /lib/libpthread.so.0 #9 0x00007fb9fae2416d in clone () from /lib/libc.so.6 #10 0x0000000000000000 in ?? () Thread 3 (Thread 0x7fb9e8411910 (LWP 3235)): #0 0x00007fb9f6f4d1f0 in g_private_get_posix_impl () from /usr/lib/libgthread-2.0.so.0 #1 0x00007fb9f6ae1c79 in g_thread_self () from /usr/lib/libglib-2.0.so.0 #2 0x00007fb9f6abba10 in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0 #3 0x00007fb9f6abd0e2 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #4 0x00007fb9f6abd690 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #5 0x00007fb9fc0d622e in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4 #6 0x00007fb9fc0ac612 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4 #7 0x00007fb9fc0ac9e4 in QEventLoop::exec () from /usr/lib/libQtCore.so.4 #8 0x00007fb9e9be9082 in XMPP::SyncThread::run (this=0x2e6a030) at /var/abs/local/kdenetwork/src/kdenetwork-4.3.0/kopete/protocols/jabber/libiris/iris/irisnet/corelib/netinterface.cpp:151 #9 0x00007fb9fbfc8285 in ?? () from /usr/lib/libQtCore.so.4 #10 0x00007fb9fa8f457a in start_thread () from /lib/libpthread.so.0 #11 0x00007fb9fae2416d in clone () from /lib/libc.so.6 #12 0x0000000000000000 in ?? () Thread 2 (Thread 0x7fb9e7c10910 (LWP 3238)): #0 0x00007fb9fa8f8dd9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007fb9fbfc934b in QWaitCondition::wait () from /usr/lib/libQtCore.so.4 #2 0x00007fb9f91d144c in ?? () from /usr/lib/libQtNetwork.so.4 #3 0x00007fb9fbfc8285 in ?? () from /usr/lib/libQtCore.so.4 #4 0x00007fb9fa8f457a in start_thread () from /lib/libpthread.so.0 #5 0x00007fb9fae2416d in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 1 (Thread 0x7fb9fe7cf760 (LWP 3229)): [KCrash Handler] #5 ChatWindowStyle::getFooterHtml (this=0x2514760) at /usr/include/QtCore/qatomic_x86_64.h:121 #6 0x00007fb9ef4b38a3 in ChatMessagePart::writeTemplate (this=0x33636b0) at /var/abs/local/kdenetwork/src/kdenetwork-4.3.0/kopete/kopete/chatwindow/chatmessagepart.cpp:1339 #7 0x00007fb9ef4b7f9b in ChatMessagePart::changeStyle (this=0x33636b0) at /var/abs/local/kdenetwork/src/kdenetwork-4.3.0/kopete/kopete/chatwindow/chatmessagepart.cpp:1273 #8 0x00007fb9ef4b83c1 in ChatMessagePart::qt_metacall (this=0x33636b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1a9b2680) at /var/abs/local/kdenetwork/src/build/kopete/kopete/chatwindow/chatmessagepart.moc:138 #9 0x00007fb9fc0c2e0c in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #10 0x00007fb9fdf19a70 in Kopete::AppearanceSettings::usrWriteConfig (this=0x2401a50) at /var/abs/local/kdenetwork/src/build/kopete/libkopete/kopeteappearancesettings.cpp:199 #11 0x00007fb9fc6c5244 in KCoreConfigSkeleton::writeConfig () from /usr/lib/libkdecore.so.5 #12 0x00007fb9df959227 in ChatWindowConfig::save (this=0x3fbda40) at /var/abs/local/kdenetwork/src/kdenetwork-4.3.0/kopete/kopete/config/chatwindow/chatwindowconfig.cpp:274 #13 0x00007fb9fa47a6b7 in KCModuleProxy::save () from /usr/lib/libkutils.so.4 #14 0x00007fb9fa4753b8 in KCMultiDialogPrivate::apply () from /usr/lib/libkutils.so.4 #15 0x00007fb9fa4777ec in KCMultiDialog::qt_metacall () from /usr/lib/libkutils.so.4 #16 0x00007fb9fa490b50 in KSettings::Dialog::qt_metacall () from /usr/lib/libkutils.so.4 #17 0x00007fb9fc0c2e0c in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #18 0x00007fb9fcc3039a in KDialog::slotButtonClicked () from /usr/lib/libkdeui.so.5 #19 0x00007fb9fcc326a9 in KDialog::qt_metacall () from /usr/lib/libkdeui.so.5 #20 0x00007fb9fcce6d10 in KPageDialog::qt_metacall () from /usr/lib/libkdeui.so.5 #21 0x00007fb9fa477700 in KCMultiDialog::qt_metacall () from /usr/lib/libkutils.so.4 #22 0x00007fb9fa490b50 in KSettings::Dialog::qt_metacall () from /usr/lib/libkutils.so.4 #23 0x00007fb9fc0c2e0c in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #24 0x00007fb9fc0c593e in QSignalMapper::mapped () from /usr/lib/libQtCore.so.4 #25 0x00007fb9fc0c6b30 in QSignalMapper::map () from /usr/lib/libQtCore.so.4 #26 0x00007fb9fc0c6da0 in QSignalMapper::qt_metacall () from /usr/lib/libQtCore.so.4 #27 0x00007fb9fc0c2e0c in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #28 0x00007fb9fbb59017 in QAbstractButton::clicked () from /usr/lib/libQtGui.so.4 #29 0x00007fb9fb8bab2b in ?? () from /usr/lib/libQtGui.so.4 #30 0x00007fb9fb8bc73b in ?? () from /usr/lib/libQtGui.so.4 #31 0x00007fb9fb8bc985 in QAbstractButton::mouseReleaseEvent () from /usr/lib/libQtGui.so.4 #32 0x00007fb9fb5a8810 in QWidget::event () from /usr/lib/libQtGui.so.4 #33 0x00007fb9fb559e2c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 #34 0x00007fb9fb560f41 in QApplication::notify () from /usr/lib/libQtGui.so.4 #35 0x00007fb9fccbbff6 in KApplication::notify () from /usr/lib/libkdeui.so.5 #36 0x00007fb9fc0add0c in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 #37 0x00007fb9fb560810 in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4 #38 0x00007fb9fb5c6714 in ?? () from /usr/lib/libQtGui.so.4 #39 0x00007fb9fb5c5409 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4 #40 0x00007fb9fb5ed5fc in ?? () from /usr/lib/libQtGui.so.4 #41 0x00007fb9f6ab9dbe in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #42 0x00007fb9f6abd568 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #43 0x00007fb9f6abd690 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #44 0x00007fb9fc0d61d6 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4 #45 0x00007fb9fb5ecdde in ?? () from /usr/lib/libQtGui.so.4 #46 0x00007fb9fc0ac612 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4 #47 0x00007fb9fc0ac9e4 in QEventLoop::exec () from /usr/lib/libQtCore.so.4 #48 0x00007fb9fc0aeb99 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4 #49 0x00000000004154f6 in main (argc=<value optimized out>, argv=<value optimized out>) at /var/abs/local/kdenetwork/src/kdenetwork-4.3.0/kopete/kopete/main.cpp:104 Reported using DrKonqi
*** Bug 193075 has been marked as a duplicate of this bug. ***
How are you deleting the style?
(In reply to comment #2) > How are you deleting the style? Configure -> Chat Window -> Style There select a style that is deletable by the user, press the Apply button. Then press the delete button. Kopete reports that the style was successfully deleted. When now pressing the Apply or OK button, kopete crashes.
Awesome. Thanks for the information! However, I couldn't reproduce this with my KDE 4.3.1 install on Fedora 12 Alpha. I installed a style from kde-look.org, installed it, then deleted it, and got no crash on clicking 'Apply' or 'Ok' Do I need to have at least one chat window open in order to see the bug?
The crash happens always, with or without open chat windows. I'm on KDE 4.3.1 / arch, and compiled kopete from source.
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