Bug 290661 - kmail-4.7.95 hangs looking at unread mail [@ KMSystemTray::updateCount]
Summary: kmail-4.7.95 hangs looking at unread mail [@ KMSystemTray::updateCount]
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.8
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-05 06:27 UTC by Darin McBride
Modified: 2012-08-31 10:53 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 Darin McBride 2012-01-05 06:27:30 UTC
Version:           unspecified (using Devel) 
OS:                Linux

kontact/kmail becomes unresponsive when reading a new message in a filtered folder.  When I grab the current stacktrace by attaching with gdb, I get:


#0  0x00007f4a0a25e353 in poll () from /lib64/libc.so.6
#1  0x00007f4a0005bb5a in _xcb_conn_wait () from /usr/lib64/libxcb.so.1
#2  0x00007f4a0005e129 in xcb_wait_for_reply () from /usr/lib64/libxcb.so.1
#3  0x00007f4a0621060d in _XReply () from /usr/lib64/libX11.so.6
#4  0x00007f4a061f0cb4 in XGetImage () from /usr/lib64/libX11.so.6
#5  0x00007f4a0ab03d98 in QX11PixmapData::toImage (this=<optimized out>, 
    rect=...) at image/qpixmap_x11.cpp:1545
#6  0x00007f4a0aaffed8 in QX11PixmapData::toImage (this=<optimized out>)
    at image/qpixmap_x11.cpp:1576
#7  0x00007f4a0ab03ee6 in QX11PixmapData::transformed (this=0x4e886e0, 
    transform=..., mode=Qt::SmoothTransformation) at image/qpixmap_x11.cpp:1859
#8  0x00007f4a0aaec100 in QPixmap::transformed (this=0x7fff134da2d0, 
    transform=..., mode=Qt::SmoothTransformation) at image/qpixmap.cpp:1573
#9  0x00007f4a0aaec489 in QPixmap::scaled (this=0x7fff134da2d0, 
    s=<optimized out>, aspectMode=<optimized out>, 
    mode=Qt::SmoothTransformation) at image/qpixmap.cpp:1489
#10 0x00007f4a0aab4064 in QPixmapIconEngine::pixmap (this=<optimized out>, 
    size=..., mode=QIcon::Normal, state=QIcon::Off) at image/qicon.cpp:287
#11 0x00007f4a0aab0705 in QIcon::pixmap (this=<optimized out>, 
    size=<optimized out>, mode=<optimized out>, state=<optimized out>)
    at image/qicon.cpp:676
#12 0x00007f4a0c36c9ca in KStatusNotifierItemPrivate::iconToVector (
    this=0x2a7ce50, icon=...)
    at /var/tmp/portage/kde-base/kdelibs-4.7.95/work/kdelibs-4.7.95/kdeui/notifications/kstatusnotifieritem.cpp:1029
#13 0x00007f4a0c36cfcd in KStatusNotifierItem::setIconByPixmap (
    this=0x2a7c870, icon=...)
    at /var/tmp/portage/kde-base/kdelibs-4.7.95/work/kdelibs-4.7.95/kdeui/notifications/kstatusnotifieritem.cpp:196
#14 0x00007f49eff2409d in KMSystemTray::updateCount (this=0x2a7c870)
    at /var/tmp/portage/kde-base/kmail-4.7.95/work/kmail-4.7.95/kmail/kmsystemtray.cpp:213
#15 0x00007f49eff24410 in KMSystemTray::unreadMail (this=0x2a7c870, 
    model=<optimized out>, parentIndex=...)
    at /var/tmp/portage/kde-base/kmail-4.7.95/work/kmail-4.7.95/kmail/kmsystemtray.cpp:372
#16 0x00007f49eff243a0 in KMSystemTray::unreadMail (this=0x2a7c870, 
    model=0x2b15a00, parentIndex=...)
    at /var/tmp/portage/kde-base/kmail-4.7.95/work/kmail-4.7.95/kmail/kmsystemtray.cpp:357
#17 0x00007f49eff243a0 in KMSystemTray::unreadMail (this=0x2a7c870, 
    model=0x2b15a00, parentIndex=...)
    at /var/tmp/portage/kde-base/kmail-4.7.95/work/kmail-4.7.95/kmail/kmsystemtray.cpp:357
#18 0x00007f49eff243a0 in KMSystemTray::unreadMail (this=0x2a7c870, 
    model=0x2b15a00, parentIndex=...)
    at /var/tmp/portage/kde-base/kmail-4.7.95/work/kmail-4.7.95/kmail/kmsystemtray.cpp:357
#19 0x00007f49eff243a0 in KMSystemTray::unreadMail (this=0x2a7c870, 
    model=0x2b15a00, parentIndex=...)
    at /var/tmp/portage/kde-base/kmail-4.7.95/work/kmail-4.7.95/kmail/kmsystemtray.cpp:357
#20 0x00007f49eff243a0 in KMSystemTray::unreadMail (this=0x2a7c870, 
    model=0x2b15a00, parentIndex=...)
    at /var/tmp/portage/kde-base/kmail-4.7.95/work/kmail-4.7.95/kmail/kmsystemtray.cpp:357
#21 0x00007f49eff243a0 in KMSystemTray::unreadMail (this=0x2a7c870, 
    model=0x2b15a00, parentIndex=...)
    at /var/tmp/portage/kde-base/kmail-4.7.95/work/kmail-4.7.95/kmail/kmsystemtray.cpp:357
#22 0x00007f49eff243a0 in KMSystemTray::unreadMail (this=0x2a7c870, 
    model=0x2b15a00, parentIndex=...)
    at /var/tmp/portage/kde-base/kmail-4.7.95/work/kmail-4.7.95/kmail/kmsystemtray.cpp:357
#23 0x00007f49eff243a0 in KMSystemTray::unreadMail (this=0x2a7c870, 
    model=0x2b15a00, parentIndex=...)
    at /var/tmp/portage/kde-base/kmail-4.7.95/work/kmail-4.7.95/kmail/kmsystemtray.cpp:357
#24 0x00007f49eff243a0 in KMSystemTray::unreadMail (this=0x2a7c870, 
    model=0x2b15a00, parentIndex=...)
    at /var/tmp/portage/kde-base/kmail-4.7.95/work/kmail-4.7.95/kmail/kmsystemtray.cpp:357
#25 0x00007f49eff243a0 in KMSystemTray::unreadMail (this=0x2a7c870, 
    model=0x2b15a00, parentIndex=...)
    at /var/tmp/portage/kde-base/kmail-4.7.95/work/kmail-4.7.95/kmail/kmsystemtray.cpp:357
#26 0x00007f49eff243a0 in KMSystemTray::unreadMail (this=0x2a7c870, 
    model=0x2b15a00, parentIndex=...)
    at /var/tmp/portage/kde-base/kmail-4.7.95/work/kmail-4.7.95/kmail/kmsystemtray.cpp:357
#27 0x00007f49eff243a0 in KMSystemTray::unreadMail (this=0x2a7c870, 
    model=0x2b15a00, parentIndex=...)
    at /var/tmp/portage/kde-base/kmail-4.7.95/work/kmail-4.7.95/kmail/kmsystemtray.cpp:357
#28 0x00007f49eff243a0 in KMSystemTray::unreadMail (this=0x2a7c870, 
    model=0x2b15a00, parentIndex=...)
    at /var/tmp/portage/kde-base/kmail-4.7.95/work/kmail-4.7.95/kmail/kmsystemtray.cpp:357
#29 0x00007f49eff243a0 in KMSystemTray::unreadMail (this=0x2a7c870, 
    model=0x2b15a00, parentIndex=...)
    at /var/tmp/portage/kde-base/kmail-4.7.95/work/kmail-4.7.95/kmail/kmsystemtray.cpp:357
#30 0x00007f49eff243a0 in KMSystemTray::unreadMail (this=0x2a7c870, 
    model=0x2b15a00, parentIndex=...)
    at /var/tmp/portage/kde-base/kmail-4.7.95/work/kmail-4.7.95/kmail/kmsystemtray.cpp:357

This continues on - the trace I have repeats the unreadMail line another 1500+ times, and I suspect the only reason it doesn't go back more is because I quit looking.  There is apparently some sort of infinite loop happening here.

Reproducible: Didn't try

Steps to Reproduce:
Read some unread mail by moving to a new folder.  Not sure what else it takes.


Expected Results:  
Able to copy&paste from an email that wasn't read prior to this (i.e., no hang)
Comment 1 Laurent Montel 2012-08-31 10:53:48 UTC
Please verify with new kmail