Bug 258925

Summary: KWin crash in Plasma::Corona::popupPosition triggered by Aurorae's Tooltips [~QImageIOHandler, ~QBmpHandler, Plasma::Corona::popupPosition, Plasma::ToolTipManagerPrivate::showToolTip]
Product: [Unmaintained] plasma4 Reporter: magist3r
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: blizzz, captaintrunky, drt, hsantanna, illumilore, kwin-bugs-null, magist3r, salcolon, vans9, x545
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 4.7
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description magist3r 2010-12-05 17:56:29 UTC
Application: kwin (4.5.82 (4.6 >=20101201) "release 6")
KDE Platform Version: 4.5.82 (4.6 >=20101201) "release 6"
Qt Version: 4.7.1
Operating System: Linux 2.6.34.7-0.5-desktop i686
Distribution: "openSUSE 11.3 (i586)"

-- Information about the crash:
Kwin has crashed after switching of windows in title of kopete. I use the aurorae engine.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
[Current thread is 1 (Thread 0xb2533710 (LWP 31170))]

Thread 2 (Thread 0xa90dfb70 (LWP 31188)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb629e125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb764724c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb6cd3167 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0xb6df31a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0xb6cd31af in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0xb6df31a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0xb6299b25 in start_thread () from /lib/libpthread.so.0
#6  0xb763946e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb2533710 (LWP 31170)):
[KCrash Handler]
#7  0xb59e8d4c in cleanup (this=0xbfd518f8, __in_chrg=<value optimized out>) at ../../src/corelib/tools/qscopedpointer.h:62
#8  ~QScopedPointer (this=0xbfd518f8, __in_chrg=<value optimized out>) at ../../src/corelib/tools/qscopedpointer.h:100
#9  QImageIOHandler::~QImageIOHandler (this=0xbfd518f8, __in_chrg=<value optimized out>) at image/qimageiohandler.cpp:273
#10 0xb5a19b9a in ~QBmpHandler (this=0xbfd518f8, __in_chrg=<value optimized out>) at ../../src/gui/image/qbmphandler_p.h:85
#11 QBmpHandler::~QBmpHandler (this=0xbfd518f8, __in_chrg=<value optimized out>) at ../../src/gui/image/qbmphandler_p.h:85
#12 0xb6f3bc46 in Plasma::Corona::popupPosition (this=0x88f27a8, item=0x8a25600, s=..., alignment=Qt::AlignCenter) at /usr/src/debug/kdelibs-4.5.82svn1202688/plasma/corona.cpp:859
#13 0xb6fe9821 in Plasma::ToolTipManagerPrivate::showToolTip (this=0x85f0800) at /usr/src/debug/kdelibs-4.5.82svn1202688/plasma/tooltipmanager.cpp:399
#14 0xb6fe9fff in Plasma::ToolTipManager::qt_metacall (this=0x8313830, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfd51aec)
    at /usr/src/debug/kdelibs-4.5.82svn1202688/build/plasma/tooltipmanager.moc:88
#15 0xb6419e5d in QMetaObject::metacall (object=0x8313830, cl=QMetaObject::InvokeMetaMethod, idx=6, argv=0xbfd51aec) at kernel/qmetaobject.cpp:237
#16 0xb6429ffc in QMetaObject::activate (sender=0x8293e28, m=0xb654d5a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3272
#17 0xb6479425 in QTimer::timeout (this=0x8293e28) at .moc/release-shared/moc_qtimer.cpp:134
#18 0xb64305e6 in QTimer::timerEvent (this=0x8293e28, e=0xbfd5203c) at kernel/qtimer.cpp:271
#19 0xb64289c4 in QObject::event (this=0x8293e28, e=0xbfd5203c) at kernel/qobject.cpp:1175
#20 0xb5910414 in QApplicationPrivate::notify_helper (this=0x8071f78, receiver=0x8293e28, e=0xbfd5203c) at kernel/qapplication.cpp:4445
#21 0xb5919137 in QApplication::notify (this=0xbfd52374, receiver=0x8293e28, e=0xbfd5203c) at kernel/qapplication.cpp:3845
#22 0xb732aba1 in KApplication::notify (this=0xbfd52374, receiver=0x8293e28, event=0xbfd5203c) at /usr/src/debug/kdelibs-4.5.82svn1202688/kdeui/kernel/kapplication.cpp:311
#23 0xb771e951 in KWin::Application::notify (this=0xbfd52374, o=0x8293e28, e=0xbfd5203c) at /usr/src/debug/kdebase-workspace-4.5.82svn1202688/kwin/main.cpp:376
#24 0xb64135be in QCoreApplication::notifyInternal (this=0xbfd52374, receiver=0x8293e28, event=0xbfd5203c) at kernel/qcoreapplication.cpp:732
#25 0xb64449a8 in sendEvent (this=0x8072758) at kernel/qcoreapplication.h:215
#26 QTimerInfoList::activateTimers (this=0x8072758) at kernel/qeventdispatcher_unix.cpp:618
#27 0xb644510d in QEventDispatcherUNIX::processEvents (this=0x8071978, flags=...) at kernel/qeventdispatcher_unix.cpp:937
#28 0xb59c7a9a in QEventDispatcherX11::processEvents (this=0x8071978, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#29 0xb641289d in QEventLoop::processEvents (this=0xbfd522a4, flags=...) at kernel/qeventloop.cpp:149
#30 0xb6412ac9 in QEventLoop::exec (this=0xbfd522a4, flags=...) at kernel/qeventloop.cpp:201
#31 0xb6417570 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#32 0xb590e114 in QApplication::exec () at kernel/qapplication.cpp:3719
#33 0xb77213e7 in kdemain (argc=3, argv=0xbfd525e4) at /usr/src/debug/kdebase-workspace-4.5.82svn1202688/kwin/main.cpp:542
#34 0x0804860b in main (argc=3, argv=0xbfd525e4) at /usr/src/debug/kdebase-workspace-4.5.82svn1202688/build/kwin/kwin_dummy.cpp:3

Reported using DrKonqi
Comment 1 Martin Flöser 2010-12-18 11:45:19 UTC
It dies in Plasma code, therefore reassigning
Comment 2 magist3r 2010-12-24 16:29:23 UTC
Created attachment 55209 [details]
New crash information added by DrKonqi

kwin (4.5.90 (4.6 RC1)) on KDE Platform 4.5.90 (4.6 RC1) using Qt 4.7.1

- What I was doing when the application crashed: Kwin has crashed after switching of windows in title of kopete. I use the aurorae engine.

-- Backtrace (Reduced):
#14 0xb5a03ba2 in QBmpHandler::~QBmpHandler (this=0xbfcdeda8, __in_chrg=<value optimized out>) at ../../src/gui/image/qbmphandler_p.h:85
#15 0xb6f0ff56 in Plasma::Corona::popupPosition (this=0x8a3db60, item=0x84b1e80, s=..., alignment=Qt::AlignCenter) at /usr/src/debug/kdelibs-4.5.90/plasma/corona.cpp:859
#16 0xb6fbdfe1 in Plasma::ToolTipManagerPrivate::showToolTip (this=0x85c4390) at /usr/src/debug/kdelibs-4.5.90/plasma/tooltipmanager.cpp:399
#17 0xb6fbe7bf in Plasma::ToolTipManager::qt_metacall (this=0x82b2e58, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfcdef9c)
    at /usr/src/debug/kdelibs-4.5.90/build/plasma/tooltipmanager.moc:88
[...]
#20 0xb6463425 in QTimer::timeout (this=0x835aed8) at .moc/release-shared/moc_qtimer.cpp:134
Comment 3 Thomas Lübking 2011-01-10 18:33:00 UTC
*** Bug 262666 has been marked as a duplicate of this bug. ***
Comment 4 Thomas Lübking 2011-04-04 02:00:05 UTC
*** Bug 270051 has been marked as a duplicate of this bug. ***
Comment 5 magist3r 2011-05-31 09:55:27 UTC
*** Bug 274581 has been marked as a duplicate of this bug. ***
Comment 6 magist3r 2011-05-31 12:18:20 UTC
This bug appears when you move mouse pointer to the window title, which should bring up a tooltip. 
Instead of this Kwin crashes.
Comment 7 Martin Flöser 2011-06-02 13:58:55 UTC
*** Bug 274748 has been marked as a duplicate of this bug. ***
Comment 8 Martin Flöser 2011-06-02 13:59:06 UTC
*** Bug 273579 has been marked as a duplicate of this bug. ***
Comment 9 Thomas Lübking 2011-06-08 11:05:15 UTC
*** Bug 275183 has been marked as a duplicate of this bug. ***
Comment 10 Thomas Lübking 2011-07-05 13:22:40 UTC
*** Bug 277135 has been marked as a duplicate of this bug. ***
Comment 11 captaintrunky 2011-08-14 15:48:36 UTC
Created attachment 62823 [details]
New crash information added by DrKonqi

kwin (4.6.5 (4.6.5)) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.3

- What I was doing when the application crashed:
1. Activate desktop effects (without it everything going in normal way)
2. Enable window grouping
3. Set cursor to any window title
4. When should appear title - KWin crashes

-- Backtrace (Reduced):
#7  0x494fe4d7 in Plasma::Corona::popupPosition (this=0x98cc868, item=0x9aa9a00, s=..., alignment=Qt::AlignCenter) at /usr/src/debug/kdelibs-4.6.5/plasma/corona.cpp:888
#8  0x495b2a9b in Plasma::ToolTipManagerPrivate::showToolTip (this=0x97ef608) at /usr/src/debug/kdelibs-4.6.5/plasma/tooltipmanager.cpp:399
#9  0x495b323f in Plasma::ToolTipManager::qt_metacall (this=0x97ef670, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbffbd554) at /usr/src/debug/kdelibs-4.6.5/i686-redhat-linux-gnu/plasma/tooltipmanager.moc:88
#10 0x4435ce9e in metacall (argv=0xbffbd554, idx=6, cl=QMetaObject::InvokeMetaMethod, object=0x97ef670) at kernel/qmetaobject.cpp:237
[...]
#13 0x443baf66 in QTimer::timeout (this=0x97eeff8) at .moc/release-shared/moc_qtimer.cpp:134
Comment 12 Thomas Lübking 2011-08-14 23:20:42 UTC
*** Bug 280097 has been marked as a duplicate of this bug. ***
Comment 13 Martin Flöser 2011-09-23 18:15:11 UTC
*** Bug 282637 has been marked as a duplicate of this bug. ***
Comment 14 drt 2011-09-23 19:16:41 UTC
Hi Martin,
  thanks for the email. I'm confused, I've read through the bug report and
don't see how it shows it been resolved in a later version. And later
version of what? Kwin, KDE, Kubuntu?

   Peace

Tim Shannon, ND
4405 SE Division Street
Portland, OR 97206
office: 503-236-8853
fax:    503-821-6999
drt@drtshannon.com
http://www.drtshannon.com


On Fri, Sep 23, 2011 at 11:15 AM, Martin Gräßlin <mgraesslin@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=258925
>
>
> Martin Gräßlin <mgraesslin@kde.org> changed:
>
>           What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                 CC|                            |drt@drtshannon.com
>
>
>
>
> --- Comment #13 from Martin Gräßlin <mgraesslin kde org>  2011-09-23
> 18:15:11 ---
> *** Bug 282637 has been marked as a duplicate of this bug. ***
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
Comment 15 Martin Flöser 2011-09-23 19:50:01 UTC
(In reply to comment #14)
> Hi Martin,
>   thanks for the email.
just to let you know: you actualy received an automated mail from the bugtracker and also your answer ended up on the tracker
> I'm confused, I've read through the bug report and
> don't see how it shows it been resolved in a later version.
I think that there has been a fix which is just not synced with this report - there were several reports for this issue.
> And later version of what? Kwin, KDE, Kubuntu?
Kubuntu is shipping 4.6.2, the most recent version of the 4.6 series is 4.6.5 and there has already been a later version of 4.7. I think the fix is in 4.7.
Comment 16 Thomas Lübking 2011-09-29 14:07:40 UTC
*** Bug 283023 has been marked as a duplicate of this bug. ***