[Bug 199026] New: Kmail crashed when changing text position

Sergei Andreev seajey.serg at gmail.com
Sun Jul 5 15:14:06 BST 2009


https://bugs.kde.org/show_bug.cgi?id=199026

           Summary: Kmail crashed when changing text position
           Product: kmail
           Version: unspecified
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: seajey.serg at gmail.com


Application that crashed: kmail
Version of the application: 1.12.0
KDE Version: 4.2.95 (KDE 4.2.95 (KDE 4.3 RC1))
Qt Version: 4.5.2
Operating System: Linux 2.6.28-13-generic x86_64
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
Accidentally I removed my .kde folder so I have to configure my applications
anew.
After perfoming  Antispam wizard  two icons appeared on toolbar - to classify
message as SPAM or Good one.
But a could not change there icons so I've delete two entries:
toolbar_filter_actions and toolbar_messagetag_actions and adding configurable
filters kmail began to eat all available memory and CPU. After manually killing
kmail and restarting it there is no icons of "Classify as spam" and "Classify
as not spam" filters in toolbar though they are added to list.

After changing text position to text under icons or adding this filters to
toolbar kmail crashes.


 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#5  QFontDatabase::load (d=0x3077ba0, script=0) at
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:121
#6  0x00007fb008735376 in QFontPrivate::engineForScript (this=0x3077ba0,
script=0) at text/qfont.cpp:265
#7  0x00007fb00874e14e in QFontMetricsF::leading (this=<value optimized out>)
at text/qfontmetrics.cpp:1182
#8  0x00007fb00867c9f9 in qt_format_text (fnt=@0x7fff14a72940, _r=<value
optimized out>, tf=134236177, option=0x0, str=@0x7fff14a72a70,
brect=0x7fff14a72910, tabstops=0, tabarraylen=0, painter=0x0)
    at painting/qpainter.cpp:7594
#9  0x00007fb00867d391 in qt_format_text (fnt=@0x3077ba0, _r=@0x0, tf=37186756,
str=<value optimized out>, brect=<value optimized out>, tabstops=<value
optimized out>, ta=0x0, tabarraylen=0, 
    painter=0x0) at painting/qpainter.cpp:7439
#10 0x00007fb00874f77c in QFontMetrics::boundingRect (this=<value optimized
out>, rect=<value optimized out>, flags=18432, text=@0x7fff14a72a70,
tabStops=0, tabArray=0x0) at text/qfontmetrics.cpp:772
#11 0x00007fb00874f7fd in QFontMetrics::size (this=0x3077ba0, flags=0,
text=<value optimized out>, tabStops=<value optimized out>, tabArray=<value
optimized out>) at text/qfontmetrics.cpp:802
#12 0x00007fb0089aefa9 in QToolButton::sizeHint (this=0x2f0ebd0) at
widgets/qtoolbutton.cpp:427
#13 0x00007fb0089ac06a in QToolButton::minimumSizeHint (this=0x3077ba0) at
widgets/qtoolbutton.cpp:457
#14 0x00007fb00858a279 in qSmartMaxSize (i=<value optimized out>, align={i =
346499968}) at kernel/qlayoutengine.cpp:414
#15 0x00007fb00858cec6 in QWidgetItem::maximumSize (this=0x2e60760) at
kernel/qlayoutitem.cpp:636
#16 0x00007fb0089a712b in QToolBarLayout::updateGeomArray (this=0x2f60380) at
widgets/qtoolbarlayout.cpp:283
#17 0x00007fb0089a7ca4 in QToolBarLayout::layoutActions (this=0x2f60380,
size=@0x7fff14a72f90) at widgets/qtoolbarlayout.cpp:430
#18 0x00007fb0089a91a2 in QToolBarLayout::setGeometry (this=0x2f60380,
rect=@0x7fff14a73000) at widgets/qtoolbarlayout.cpp:383
#19 0x00007fb008587f97 in QLayoutPrivate::doResize (this=0x2f60400,
r=@0x7fff14a73080) at kernel/qlayout.cpp:637
#20 0x00007fb0085880ee in QLayout::activate (this=0x2f60380) at
kernel/qlayout.cpp:1215
#21 0x00007fb00855cf0e in QApplicationPrivate::notify_helper (this=0x233b040,
receiver=0x3072de0, e=0x3108590) at kernel/qapplication.cpp:4047
#22 0x00007fb00856518a in QApplication::notify (this=0x7fff14a739a0,
receiver=0x3072de0, e=0x3108590) at kernel/qapplication.cpp:4021
#23 0x00007fb00c45e62b in KApplication::notify (this=0x7fff14a739a0,
receiver=0x3072de0, event=0x3108590) at
/build/buildd/kde4libs-4.2.95/kdeui/kernel/kapplication.cpp:302
#24 0x00007fb007e536ac in QCoreApplication::notifyInternal
(this=0x7fff14a739a0, receiver=0x3072de0, event=0x3108590) at
kernel/qcoreapplication.cpp:610
#25 0x00007fb007e5431a in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, event_type=0, data=0x23048f0) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#26 0x00007fb007e7ce03 in postEventSourceDispatch (s=<value optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#27 0x00007faffed0e20a in IA__g_main_context_dispatch (context=0x233d520) at
/build/buildd/glib2.0-2.20.1/glib/gmain.c:1814
#28 0x00007faffed118e0 in g_main_context_iterate (context=0x233d520, block=1,
dispatch=1, self=<value optimized out>) at
/build/buildd/glib2.0-2.20.1/glib/gmain.c:2448
#29 0x00007faffed11a7c in IA__g_main_context_iteration (context=0x233d520,
may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#30 0x00007fb007e7ca8f in QEventDispatcherGlib::processEvents (this=0x23044e0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#31 0x00007fb0085f5bdf in QGuiEventDispatcherGlib::processEvents
(this=0x3077ba0, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:202
#32 0x00007fb007e51f42 in QEventLoop::processEvents (this=<value optimized
out>, flags={i = 346503088}) at kernel/qeventloop.cpp:149
#33 0x00007fb007e52314 in QEventLoop::exec (this=0x7fff14a737f0, flags={i =
346503168}) at kernel/qeventloop.cpp:201
#34 0x00007fb007e545e4 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:888
#35 0x00000000004030bb in main (argc=<value optimized out>, argv=<value
optimized out>) at /build/buildd/kdepim-4.2.95a/kmail/main.cpp:146

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list