Bug 205540 - Konversation crashes after font change
Summary: Konversation crashes after font change
Status: RESOLVED FIXED
Alias: None
Product: konversation
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Konversation Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-28 23:58 UTC by Pauline Emily
Modified: 2010-07-01 16:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pauline Emily 2009-08-28 23:58:58 UTC
Application that crashed: konversation
Version of the application: 1.2-alpha4
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.29.6-desktop586-2mnb i686
Distribution: "Mandriva Linux 2009.1"

What I was doing when the application crashed:
Konversation crashed after I changed a chat text font, and then pressed „Apply” button. I weren't able to reproduce the crash after that.

 -- Backtrace:
Application: Konversation (konversation), signal: Aborted
[Current thread is 1 (Thread 0xb54976d0 (LWP 7309))]

Thread 6 (Thread 0xb2995b90 (LWP 7328)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb5df1f72 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb5ee9934 in pthread_cond_timedwait () from /lib/i686/libc.so.6
#3  0xb36a9a11 in ?? () from /usr/lib/libxine.so.1
#4  0xb5dee315 in start_thread () from /lib/i686/libpthread.so.0
#5  0xb5edc25e in clone () from /lib/i686/libc.so.6

Thread 5 (Thread 0xb2194b90 (LWP 7329)):
#0  0xb5def7e4 in pthread_mutex_lock () from /lib/i686/libpthread.so.0
#1  0xb5ee9aa6 in pthread_mutex_lock () from /lib/i686/libc.so.6
#2  0xb5a425ae in g_main_context_release () from /usr/lib/libglib-2.0.so.0
#3  0xb5a44256 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb5a444df in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb6b8c6f7 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#6  0xb6b5e0b3 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#7  0xb6b5e50d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#8  0xb6a6002b in QThread::exec () from /usr/lib/libQtCore.so.4
#9  0xb36fe8dd in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#10 0xb6a633e3 in ?? () from /usr/lib/libQtCore.so.4
#11 0xb5dee315 in start_thread () from /lib/i686/libpthread.so.0
#12 0xb5edc25e in clone () from /lib/i686/libc.so.6

Thread 4 (Thread 0xb1989b90 (LWP 7332)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb5ed16e7 in poll () from /lib/i686/libc.so.6
#2  0xb198dbc8 in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#3  0xb5dee315 in start_thread () from /lib/i686/libpthread.so.0
#4  0xb5edc25e in clone () from /lib/i686/libc.so.6

Thread 3 (Thread 0xb1146b90 (LWP 7333)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb5df1c45 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb5ee98dd in pthread_cond_wait () from /lib/i686/libc.so.6
#3  0xb36bbbfb in ?? () from /usr/lib/libxine.so.1
#4  0xb5dee315 in start_thread () from /lib/i686/libpthread.so.0
#5  0xb5edc25e in clone () from /lib/i686/libc.so.6

Thread 2 (Thread 0xb07ffb90 (LWP 7654)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb5df1c45 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb5ee98dd in pthread_cond_wait () from /lib/i686/libc.so.6
#3  0xb6a644eb in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb73e0c84 in ?? () from /usr/lib/libQtNetwork.so.4
#5  0xb6a633e3 in ?? () from /usr/lib/libQtCore.so.4
#6  0xb5dee315 in start_thread () from /lib/i686/libpthread.so.0
#7  0xb5edc25e in clone () from /lib/i686/libc.so.6

Thread 1 (Thread 0xb54976d0 (LWP 7309)):
[KCrash Handler]
#6  0xffffe430 in __kernel_vsyscall ()
#7  0xb5e29c00 in raise () from /lib/i686/libc.so.6
#8  0xb5e2b668 in abort () from /lib/i686/libc.so.6
#9  0xb6a5ad45 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb6a5ae3c in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb6a5af35 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0x0814a681 in ViewContainer::updateAppearance (this=0x8c1fd20) at /usr/src/debug/konversation-1.2-alpha4/src/viewer/viewcontainer.cpp:376
#13 0x0814b1f5 in ViewContainer::qt_metacall (this=0x8c1fd20, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfcd5888) at /usr/src/debug/konversation-1.2-alpha4/build/src/viewcontainer.moc:243
#14 0xb6b75925 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb6b76625 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0x0807d827 in Application::appearanceChanged (this=0xbfcd6058) at /usr/src/debug/konversation-1.2-alpha4/build/src/application.moc:133
#17 0x08084700 in Application::qt_metacall (this=0xbfcd6058, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfcd5978) at /usr/src/debug/konversation-1.2-alpha4/build/src/application.moc:96
#18 0xb6b75925 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#19 0xb6b76625 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#20 0xb6b7b975 in ?? () from /usr/lib/libQtCore.so.4
#21 0xb6b7babc in ?? () from /usr/lib/libQtCore.so.4
#22 0xb6b7067b in QObject::event () from /usr/lib/libQtCore.so.4
#23 0xb6153b5c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#24 0xb615c2b6 in QApplication::notify () from /usr/lib/libQtGui.so.4
#25 0xb70e596b in KApplication::notify () from /usr/lib/libkdeui.so.5
#26 0xb6b5faee in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#27 0xb6b8ff9d in ?? () from /usr/lib/libQtCore.so.4
#28 0xb6b8c77e in ?? () from /usr/lib/libQtCore.so.4
#29 0xb5a40cea in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#30 0xb5a44354 in ?? () from /usr/lib/libglib-2.0.so.0
#31 0xb5a444df in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#32 0xb6b8c6da in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#33 0xb61f8b4a in ?? () from /usr/lib/libQtGui.so.4
#34 0xb6b5e0b3 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#35 0xb6b5e50d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#36 0xb6b60a66 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#37 0xb61539c4 in QApplication::exec () from /usr/lib/libQtGui.so.4
#38 0x08097c48 in main (argc=-1077058540, argv=0x21) at /usr/src/debug/konversation-1.2-alpha4/src/main.cpp:97

Reported using DrKonqi
Comment 1 Dario Andres 2009-08-29 13:52:39 UTC
This could be related to bug 196533.
Thanks
Comment 2 Peter Simonsson 2009-08-29 16:11:45 UTC
SVN commit 1016992 by psn:

Remove pointless Q_ASSERT (0) which always will assert and crash konvi
in debug mode.
BUG: 205540


 M  +1 -1      viewcontainer.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1016992
Comment 3 Peter Simonsson 2010-07-01 16:17:21 UTC
commit 291fda41ece3026f6726a4b645eda1d67813ed0c
Author: Peter Simonsson <peter.simonsson@gmail.com>
Date:   Sat Aug 29 14:11:41 2009 +0000

    Remove pointless Q_ASSERT (0) which always will assert and crash konvi
    in debug mode.
    BUG: 205540
    
    svn path=/trunk/extragear/network/konversation/; revision=1016992

diff --git a/src/viewer/viewcontainer.cpp b/src/viewer/viewcontainer.cpp
index 27780f5..167eef6 100644
--- a/src/viewer/viewcontainer.cpp
+++ b/src/viewer/viewcontainer.cpp
@@ -373,7 +373,7 @@ void ViewContainer::updateAppearance()
             font = Preferences::self()->textFont();
         else
             font = KGlobalSettings::generalFont();
-        Q_ASSERT(0);
+
         m_insertCharDialog->setFont(font);
     }
 }