Bug 220494 - Kopete crash after trying to open History [QFontEngineMulti::boundingBox, QTextEngine::boundingBox, QFontMetrics::boundingRect]
Summary: Kopete crash after trying to open History [QFontEngineMulti::boundingBox, QTe...
Status: RESOLVED UPSTREAM
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: qt (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
: 221399 230919 243429 268343 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-12-29 04:46 UTC by Dan
Modified: 2011-03-19 03:08 UTC (History)
4 users (show)

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


Attachments
Fonts screenshot (49.68 KB, image/jpeg)
2010-01-07 00:06 UTC, Dan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan 2009-12-29 04:46:33 UTC
Application: kopete (0.99.80)
KDE Platform Version: 4.3.85 (KDE 4.3.85 (KDE 4.4 Beta2)) (Compiled from sources)
Qt Version: 4.6.0
Operating System: Linux 2.6.32 x86_64

-- Information about the crash:
1) click on a offline WLM contact
2) click on the history button

The crash can be reproduced everytime.

 -- Backtrace:
Application: Kopete (kopete), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 0 (LWP 963)]

Thread 4 (Thread 140446286317328 (LWP 969)):
#0  0x00007fbc433b392b in g_main_context_prepare () from /usr/local/lib/libglib-2.0.so.0
#1  0x00007fbc433b56c8 in g_main_context_iterate () from /usr/local/lib/libglib-2.0.so.0
#2  0x00007fbc433b5bec in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.0
#3  0x00007fbc490ebe56 in QEventDispatcherGlib::processEvents (this=0x16a0f10, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#4  0x00007fbc490c1ae2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fbc490c1ebd in QEventLoop::exec (this=0x1cf1c00, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fbc38983dee in QCA::SyncThread::run () from /usr/local/Trolltech/qt/lib/libqca.so.2
#7  0x00007fbc48fd2da5 in QThreadPrivate::start (arg=0x1919b40) at thread/qthread_unix.cpp:244
#8  0x00007fbc48d3995a in start_thread () from /lib64/libpthread.so.0
#9  0x00007fbc473fe2cd in clone () from /lib64/libc.so.6

Thread 3 (Thread 140446277924624 (LWP 970)):
#0  0x00007fbc473f5a23 in poll () from /lib64/libc.so.6
#1  0x00007fbc433b58b3 in g_main_context_iterate () from /usr/local/lib/libglib-2.0.so.0
#2  0x00007fbc433b5bec in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.0
#3  0x00007fbc490ebe56 in QEventDispatcherGlib::processEvents (this=0x192dfd0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#4  0x00007fbc490c1ae2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fbc490c1ebd in QEventLoop::exec (this=0x1b74c00, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fbc38d8cc12 in XMPP::SyncThread::run (this=0x1947d00) at /home/fraga/svn/kdenetwork/kopete/protocols/jabber/libiris/iris/irisnet/corelib/netinterface.cpp:151
#7  0x00007fbc48fd2da5 in QThreadPrivate::start (arg=0x1947d00) at thread/qthread_unix.cpp:244
#8  0x00007fbc48d3995a in start_thread () from /lib64/libpthread.so.0
#9  0x00007fbc473fe2cd in clone () from /lib64/libc.so.6

Thread 2 (Thread 140446269531920 (LWP 974)):
#0  0x00007fbc48d3e084 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbc48fd3d2b in QWaitCondition::wait (this=<value optimized out>, mutex=0x1f96888, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007fbc4a1fb7ac in QHostInfoAgent::run (this=0x1f96870) at kernel/qhostinfo.cpp:252
#3  0x00007fbc48fd2da5 in QThreadPrivate::start (arg=0x1f96870) at thread/qthread_unix.cpp:244
#4  0x00007fbc48d3995a in start_thread () from /lib64/libpthread.so.0
#5  0x00007fbc473fe2cd in clone () from /lib64/libc.so.6

Thread 1 (Thread 140446721447776 (LWP 963)):
[KCrash Handler]
#5  QFontEngineMulti::boundingBox (this=<value optimized out>, glyph=<value optimized out>) at text/qfontengine.cpp:1632
#6  0x00007fbc4826358d in QTextEngine::boundingBox (this=0x7fff1a5a11f0, from=<value optimized out>, len=<value optimized out>) at text/qtextengine.cpp:1654
#7  0x00007fbc4823d3a3 in QFontMetrics::boundingRect (this=<value optimized out>, text=@0x7fff1a5a13f0) at text/qfontmetrics.cpp:664
#8  0x00007fbc483d4af3 in QComboBoxPrivate::recomputeSizeHint (this=0x304a200, sh=@0x304a438) at widgets/qcombobox.cpp:299
#9  0x00007fbc483d4d04 in QComboBox::sizeHint (this=<value optimized out>) at widgets/qcombobox.cpp:2279
#10 0x00007fbc48048181 in QWidgetItemV2::updateCacheIfNecessary (this=0x2640c50) at kernel/qlayoutitem.cpp:702
#11 0x00007fbc48048d48 in QWidgetItemV2::maximumSize (this=0x2640c50) at kernel/qlayoutitem.cpp:790
#12 0x00007fbc4802287d in QBoxLayoutPrivate::setupGeom (this=0x304d8d0) at kernel/qboxlayout.cpp:304
#13 0x00007fbc48023700 in QBoxLayout::maximumSize (this=0x2f08f10) at kernel/qboxlayout.cpp:697
#14 0x00007fbc4802287d in QBoxLayoutPrivate::setupGeom (this=0x304d7a0) at kernel/qboxlayout.cpp:304
#15 0x00007fbc480234fd in QBoxLayout::setGeometry (this=<value optimized out>, r=<value optimized out>) at kernel/qboxlayout.cpp:817
#16 0x00007fbc48044873 in QLayoutPrivate::doResize (this=0x304d7a0, r=@0x7fff1a5a1a60) at kernel/qlayout.cpp:681
#17 0x00007fbc480449ce in QLayout::activate (this=0x26d11a0) at kernel/qlayout.cpp:1259
#18 0x00007fbc4801379e in QApplicationPrivate::notify_helper (this=0x11ddae0, receiver=0x2da4da0, e=0x2da2640) at kernel/qapplication.cpp:4233
#19 0x00007fbc48019dda in QApplication::notify (this=0x7fff1a5a22f0, receiver=<value optimized out>, e=0x2da2640) at kernel/qapplication.cpp:4125
#20 0x00007fbc49d1a626 in KApplication::notify (this=0x7fff1a5a22f0, receiver=0x2da4da0, event=0x2da2640) at /home/fraga/svn/kdelibs/kdeui/kernel/kapplication.cpp:302
#21 0x00007fbc490c314b in QCoreApplication::notifyInternal (this=0x7fff1a5a22f0, receiver=0x2da4da0, event=0x2da2640) at kernel/qcoreapplication.cpp:704
#22 0x00007fbc490c5866 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0xff7da0)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#23 0x00007fbc490ec2a3 in postEventSourceDispatch (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#24 0x00007fbc433b525d in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.0
#25 0x00007fbc433b5ac8 in g_main_context_iterate () from /usr/local/lib/libglib-2.0.so.0
#26 0x00007fbc433b5bec in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.0
#27 0x00007fbc490ebe03 in QEventDispatcherGlib::processEvents (this=0xff73c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#28 0x00007fbc480bf2ee in QGuiEventDispatcherGlib::processEvents (this=0x7fff1a5a1120, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#29 0x00007fbc490c1ae2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#30 0x00007fbc490c1ebd in QEventLoop::exec (this=0x7fff1a5a2240, flags=) at kernel/qeventloop.cpp:201
#31 0x00007fbc490c5b03 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#32 0x0000000000415112 in main (argc=<value optimized out>, argv=<value optimized out>) at /home/fraga/svn/kdenetwork/kopete/kopete/main.cpp:105

Reported using DrKonqi
Comment 1 Christoph Feck 2010-01-05 15:33:29 UTC
Since this looks like a Qt bug, I reported it as http://bugreports.qt.nokia.com/browse/QTBUG-7139
Comment 2 Christoph Feck 2010-01-06 23:35:26 UTC
If the bug is reproducable on your system anytime, could you please provide the following information:
- the used locale ("set | grep LANG")
- the DPI setting ("xdpyinfo | grep inch")
- the used font and font size ("kcmshell4 fonts", General font)

If you use a non-standard font, please provide the location where you downloaded it.

This information would be helpful to reproduce the crash and find a fix. Thanks!
Comment 3 Dan 2010-01-07 00:05:43 UTC
(In reply to comment #2)
> If the bug is reproducable on your system anytime, could you please provide the
> following information:
> - the used locale ("set | grep LANG")
> - the DPI setting ("xdpyinfo | grep inch")
> - the used font and font size ("kcmshell4 fonts", General font)
> 
> If you use a non-standard font, please provide the location where you
> downloaded it.

Hi Christoph. Unfortunately I can't reproduce it anymore. Anyway, here is the requested information:

1) LANG=en_US.UTF-8

2) resolution:    96x96 dots per inch

3) image attached
Comment 4 Dan 2010-01-07 00:06:39 UTC
Created attachment 39632 [details]
Fonts screenshot
Comment 5 Dario Andres 2010-03-16 12:30:17 UTC
*** Bug 230919 has been marked as a duplicate of this bug. ***
Comment 6 Christoph Feck 2010-03-25 16:50:00 UTC
Nokia confirmed it as a bug in Qt, see http://bugreports.qt.nokia.com/browse/QTBUG-9374
Comment 7 Christoph Feck 2010-03-25 16:51:06 UTC
*** Bug 221399 has been marked as a duplicate of this bug. ***
Comment 8 Anne-Marie Mahfouf 2010-07-03 19:31:31 UTC
*** Bug 243429 has been marked as a duplicate of this bug. ***
Comment 9 Myriam Schweingruber 2011-03-19 03:08:54 UTC
*** Bug 268343 has been marked as a duplicate of this bug. ***