Bug 171498 - Binary clock widget/internal extender container bug crashes plasma
Summary: Binary clock widget/internal extender container bug crashes plasma
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: containment-desktop (show other bugs)
Version: unspecified
Platform: unspecified Linux
: HI crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 173192 174079 177005 177229 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-23 11:18 UTC by Paweł Prażak
Modified: 2008-12-15 20:19 UTC (History)
15 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
plasma binary clock widget bug (41.82 KB, image/png)
2008-09-23 11:19 UTC, Paweł Prażak
Details
backtrace of plasma >= 2008-12-04 (6.91 KB, text/plain)
2008-12-05 11:52 UTC, Dennis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paweł Prażak 2008-09-23 11:18:59 UTC
Version:           unknown (using 4.1.67 (KDE 4.1.67 (KDE 4.2 >= 20080918)) "release 1.2", KDE:KDE4:UNSTABLE:Desktop / openSUSE_11.0)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.25.16-0.1-default

On plasma start binary clock shows its internal containment ( context menu calendar) and when you move it, this containment separates from widget. Often when you remove widget in this state - it crashes plasma. This behavior don't occur in analog clock. I'll try to make a screenshot.
Comment 1 Paweł Prażak 2008-09-23 11:19:54 UTC
Created attachment 27524 [details]
plasma binary clock widget bug
Comment 2 Paweł Prażak 2008-09-23 11:24:09 UTC
This binary clock widget also displays white text "no items".
Comment 3 Anne-Marie Mahfouf 2008-09-23 11:26:32 UTC
You need to add the backtrace of the crash please.
Look here:
http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
to create a useful report, thanks in advance!
Comment 4 Paweł Prażak 2008-09-23 13:57:10 UTC
some output from gdb, when mousemove event cause segfault in plasma. I hope it's helpful. Do you need valgrind log?

"Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fb0523b4740 (LWP 31192)]
0x00007fb051dbb982 in Plasma::ExtenderItem::mouseReleaseEvent () from /usr/lib64/libplasma.so.3
(gdb) thread apply all backtrace

Thread 4 (Thread 0x4249c950 (LWP 31193)):
#0  0x00007fb04da77dd9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fb04dce8fd9 in QWaitCondition::wait (this=0x83ba80, mutex=0x83ba78, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  0x00007fb041363298 in ?? () from /usr/lib64/kde4/plasma_wallpaper_image.so                                                                
#3  0x00007fb04dce8022 in QThreadPrivate::start (arg=0x83ba68) at thread/qthread_unix.cpp:191                                                 
#4  0x00007fb04da74040 in start_thread () from /lib64/libpthread.so.0                                                                         
#5  0x00007fb04d06e0cd in clone () from /lib64/libc.so.6                                                                                      

Thread 3 (Thread 0x42c9d950 (LWP 31194)):
#0  0x00007fb04da77dd9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fb04dce8fd9 in QWaitCondition::wait (this=0x83b270, mutex=0x83b268, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  0x00007fb041363298 in ?? () from /usr/lib64/kde4/plasma_wallpaper_image.so                                                                
#3  0x00007fb04dce8022 in QThreadPrivate::start (arg=0x83b258) at thread/qthread_unix.cpp:191                                                 
#4  0x00007fb04da74040 in start_thread () from /lib64/libpthread.so.0                                                                         
#5  0x00007fb04d06e0cd in clone () from /lib64/libc.so.6                                                                                      

Thread 2 (Thread 0x4349e950 (LWP 31215)):
#0  0x00007fb04da77dd9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fb04dce8fd9 in QWaitCondition::wait (this=0xeb7750, mutex=0xeb7748, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  0x00007fb050b7a7bc in QHostInfoAgent::run (this=0xeb7730) at kernel/qhostinfo.cpp:247                                                     
#3  0x00007fb04dce8022 in QThreadPrivate::start (arg=0xeb7730) at thread/qthread_unix.cpp:191                                                 
#4  0x00007fb04da74040 in start_thread () from /lib64/libpthread.so.0                                                                         
---Type <return> to continue, or q <return> to quit---                                                                                        
#5  0x00007fb04d06e0cd in clone () from /lib64/libc.so.6                                                                                      

Thread 1 (Thread 0x7fb0523b4740 (LWP 31192)):
#0  0x00007fb051dbb982 in Plasma::ExtenderItem::mouseReleaseEvent () from /usr/lib64/libplasma.so.3
#1  0x00007fb05020dace in QGraphicsItem::sceneEvent (this=0x7fb04d2efa00, event=0x7fb04d0bdf50) at graphicsview/qgraphicsitem.cpp:4007
#2  0x00007fb05022d4f2 in QGraphicsScenePrivate::sendMouseEvent (this=0x700510, mouseEvent=0x7fff5a4fbb50) at graphicsview/qgraphicsscene.cpp:1107
#3  0x00007fb050234ac1 in QGraphicsScene::mouseReleaseEvent (this=<value optimized out>, mouseEvent=0x7fff5a4fbb50) at graphicsview/qgraphicsscene.cpp:3603
#4  0x00007fb050234e30 in QGraphicsScene::event (this=0x6fe1e0, event=0x7fff5a4fbb50) at graphicsview/qgraphicsscene.cpp:2972                              
#5  0x00007fb04fcf1c6d in QApplicationPrivate::notify_helper (this=0x631960, receiver=0x6fe1e0, e=0x7fff5a4fbb50) at kernel/qapplication.cpp:3809          
#6  0x00007fb04fcf9a1a in QApplication::notify (this=0x623560, receiver=0x6fe1e0, e=0x7fff5a4fbb50) at kernel/qapplication.cpp:3774                        
#7  0x00007fb05147eccb in KApplication::notify (this=0x623560, receiver=0x6fe1e0, event=0x7fff5a4fbb50)                                                    
    at /usr/src/debug/kdelibs-4.1.67/kdeui/kernel/kapplication.cpp:307                                                                                     
#8  0x00007fb04ddd0e71 in QCoreApplication::notifyInternal (this=0x623560, receiver=0x6fe1e0, event=0x7fff5a4fbb50) at kernel/qcoreapplication.cpp:593     
#9  0x00007fb050244a4b in QGraphicsView::mouseReleaseEvent (this=0xadf5f0, event=0x7fff5a4fc3b0)                                                           
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215                                                                                
#10 0x00007fb04fd44489 in QWidget::event (this=0x7fb04d2efa00, event=0x7fff5a4fc3b0) at kernel/qwidget.cpp:7169                                            
#11 0x00007fb0502429bb in QGraphicsView::viewportEvent (this=0xadf5f0, event=0x7fff5a4fc3b0) at graphicsview/qgraphicsview.cpp:2343                        
#12 0x00007fb04ddd0138 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0xae0280, event=0x7fff5a4fc3b0)     
    at kernel/qcoreapplication.cpp:700
#13 0x00007fb04fcf1c3c in QApplicationPrivate::notify_helper (this=0x631960, receiver=0xae0280, e=0x7fff5a4fc3b0) at kernel/qapplication.cpp:3805
#14 0x00007fb04fcfa28a in QApplication::notify (this=<value optimized out>, receiver=0xae0280, e=0x7fff5a4fc3b0) at kernel/qapplication.cpp:3534
#15 0x00007fb05147eccb in KApplication::notify (this=0x623560, receiver=0xae0280, event=0x7fff5a4fc3b0)
    at /usr/src/debug/kdelibs-4.1.67/kdeui/kernel/kapplication.cpp:307
---Type <return> to continue, or q <return> to quit---
#16 0x00007fb04ddd0e71 in QCoreApplication::notifyInternal (this=0x623560, receiver=0xae0280, event=0x7fff5a4fc3b0) at kernel/qcoreapplication.cpp:593
#17 0x00007fb04fcf9628 in QApplicationPrivate::sendMouseEvent (receiver=0xae0280, event=0x7fff5a4fc3b0, alienWidget=0xae0280, nativeWidget=0xadf5f0,
    buttonDown=<value optimized out>, lastMouseReceiver=@0x7fb05066b760) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#18 0x00007fb04fd5dd49 in QETWidget::translateMouseEvent (this=0xadf5f0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4046
#19 0x00007fb04fd5c767 in QApplication::x11ProcessEvent (this=0x1a6, event=0x7fff5a4fce30) at kernel/qapplication_x11.cpp:3164
#20 0x00007fb04fd8304c in x11EventSourceDispatch (s=0x634f60, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#21 0x00007fb04a29593a in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#22 0x00007fb04a299040 in ?? () from /usr/lib64/libglib-2.0.so.0
#23 0x00007fb04a2991dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#24 0x00007fb04ddf939f in QEventDispatcherGlib::processEvents (this=0x6256e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:325
#25 0x00007fb04fd827bf in QGuiEventDispatcherGlib::processEvents (this=0x7fb04d2efa00, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#26 0x00007fb04ddcf772 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1515180320}) at kernel/qeventloop.cpp:149
#27 0x00007fb04ddcf8fd in QEventLoop::exec (this=0x7fff5a4fd160, flags={i = 1515180400}) at kernel/qeventloop.cpp:200
#28 0x00007fb04ddd1ded in QCoreApplication::exec () at kernel/qcoreapplication.cpp:851
#29 0x00007fb0520c58f3 in kdemain () from /usr/lib64/libkdeinit4_plasma.so
#30 0x00007fb04cfb9436 in __libc_start_main () from /lib64/libc.so.6
#31 0x00000000004007d9 in _start ()
"


Comment 5 Paweł Prażak 2008-09-23 14:32:23 UTC
And this one is when I separate calendar in plasma unlock mode, and hit close:

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7f6a5aa57740 (LWP 31724)]
0x00007f6a556705c5 in raise () from /lib64/libc.so.6
(gdb) thread apply all backtrace

Thread 4 (Thread 0x40d91950 (LWP 31725)):
#0  0x00007f6a5611add9 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib64/libpthread.so.0                             
#1  0x00007f6a5638bfd9 in QWaitCondition::wait (this=0x814ed0, mutex=0x814ec8, 
    time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88            
#2  0x00007f6a49a06298 in RenderThread::run (this=0x814eb8)                    
    at /usr/src/debug/kdebase-workspace-4.1.67/plasma/wallpapers/image/renderthread.cpp:90                                                                      
#3  0x00007f6a5638b022 in QThreadPrivate::start (arg=0x814eb8)                  
    at thread/qthread_unix.cpp:191                                              
#4  0x00007f6a56117040 in start_thread () from /lib64/libpthread.so.0           
#5  0x00007f6a557110cd in clone () from /lib64/libc.so.6                        

Thread 3 (Thread 0x41f95950 (LWP 31726)):
#0  0x00007f6a5611add9 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib64/libpthread.so.0                             
#1  0x00007f6a5638bfd9 in QWaitCondition::wait (this=0x7f4c70, mutex=0x7f4c68, 
    time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88            
#2  0x00007f6a49a06298 in RenderThread::run (this=0x7f4c58)                    
    at /usr/src/debug/kdebase-workspace-4.1.67/plasma/wallpapers/image/renderthread.cpp:90                                                                      
#3  0x00007f6a5638b022 in QThreadPrivate::start (arg=0x7f4c58)                  
---Type <return> to continue, or q <return> to quit---
    at thread/qthread_unix.cpp:191                    
#4  0x00007f6a56117040 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f6a557110cd in clone () from /lib64/libc.so.6             

Thread 2 (Thread 0x42796950 (LWP 31751)):
#0  0x00007f6a5611add9 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib64/libpthread.so.0                             
#1  0x00007f6a5638bfd9 in QWaitCondition::wait (this=0xeb73e0, mutex=0xeb73d8, 
    time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88            
#2  0x00007f6a5921d7bc in QHostInfoAgent::run (this=0xeb73c0)                  
    at kernel/qhostinfo.cpp:247                                                
#3  0x00007f6a5638b022 in QThreadPrivate::start (arg=0xeb73c0)                 
    at thread/qthread_unix.cpp:191                                             
#4  0x00007f6a56117040 in start_thread () from /lib64/libpthread.so.0          
#5  0x00007f6a557110cd in clone () from /lib64/libc.so.6                       

Thread 1 (Thread 0x7f6a5aa57740 (LWP 31724)):
#0  0x00007f6a556705c5 in raise () from /lib64/libc.so.6
#1  0x00007f6a55671bb3 in abort () from /lib64/libc.so.6
#2  0x00007f6a55ecc1d4 in __gnu_cxx::__verbose_terminate_handler ()
   from /usr/lib64/libstdc++.so.6                                  
#3  0x00007f6a55eca5f6 in ?? () from /usr/lib64/libstdc++.so.6     
#4  0x00007f6a55eca623 in std::terminate () from /usr/lib64/libstdc++.so.6
---Type <return> to continue, or q <return> to quit---                    
#5  0x00007f6a55ecaecf in __cxa_pure_virtual () from /usr/lib64/libstdc++.so.6
#6  0x00007f6a588b16c1 in QGraphicsItem::sceneBoundingRect (this=0x7bec)      
    at graphicsview/qgraphicsitem.cpp:2661                                    
#7  0x00007f6a588d408a in QGraphicsScenePrivate::estimateItemsInRect (        
    this=<value optimized out>, rect=@0x7fff62b9f750)                         
    at graphicsview/qgraphicsscene.cpp:356                                    
#8  0x00007f6a588e6bfc in QGraphicsViewPrivate::itemsInArea (this=0xb30ff0,   
    path=@0x7fff62b9f8b0, mode=Qt::IntersectsItemShape)                       
    at graphicsview/qgraphicsview.cpp:1768                                    
#9  0x00007f6a588e75f3 in QGraphicsView::items (this=<value optimized out>,   
    pos=@0x7fff62b9fad0) at graphicsview/qgraphicsview.cpp:1827               
#10 0x00007f6a588e7682 in QGraphicsView::itemAt (this=0x7bec, pos=@0x6)       
    at graphicsview/qgraphicsview.cpp:1934                                    
#11 0x00007f6a588ba94b in QGraphicsItem::unsetCursor (this=0x11cedd0)         
    at graphicsview/qgraphicsitem.cpp:1370                                    
#12 0x00007f6a588ffa0b in QGraphicsProxyWidgetPrivate::setWidget_helper (     
    this=0xff4140, newWidget=0x0, autoShow=true)                              
    at graphicsview/qgraphicsproxywidget.cpp:571                              
#13 0x00007f6a5890005b in ~QGraphicsProxyWidget (this=0x7bec)                 
    at graphicsview/qgraphicsproxywidget.cpp:525                              
#14 0x00007f6a5a4a1491 in ~Label (this=0x11cedc0)                             
    at /usr/src/debug/kdebase-workspace-4.1.67/libs/plasma/widgets/label.cpp:101
---Type <return> to continue, or q <return> to quit---                          
#15 0x00007f6a588b778c in ~QGraphicsItem (this=0x11dd960)                       
    at graphicsview/qgraphicsitem.cpp:822                                       
#16 0x00007f6a588f0585 in ~QGraphicsWidget (this=0x11dd950)                     
    at graphicsview/qgraphicswidget.cpp:224                                     
#17 0x00007f6a5a45b5e6 in ~Extender (this=0x11dd950)                            
    at /usr/src/debug/kdebase-workspace-4.1.67/libs/plasma/extender.cpp:62      
#18 0x00007f6a588b778c in ~QGraphicsItem (this=0xe8bae0)                        
    at graphicsview/qgraphicsitem.cpp:822                                       
#19 0x00007f6a588f0585 in ~QGraphicsWidget (this=0xe8bad0)                      
    at graphicsview/qgraphicswidget.cpp:224                                     
#20 0x00007f6a5a424a4d in ~Applet (this=0xe8bad0)                               
    at /usr/src/debug/kdebase-workspace-4.1.67/libs/plasma/applet.cpp:150       
#21 0x00007f6a5a475029 in ~ExtenderApplet (this=0x7bec)                         
    at /usr/src/debug/kdebase-workspace-4.1.67/libs/plasma/private/extenderapplet.cpp:38                                                                        
#22 0x00007f6a56482f5d in QObject::event (this=0xe8bad0, e=0x7bec)              
    at kernel/qobject.cpp:1145                                                  
#23 0x00007f6a588f145b in QGraphicsWidget::event (this=0xe8bad0,                
    event=0x10df2c0) at graphicsview/qgraphicswidget.cpp:1245                   
#24 0x00007f6a58394c6d in QApplicationPrivate::notify_helper (this=0x631960,    
    receiver=0xe8bad0, e=0x10df2c0) at kernel/qapplication.cpp:3809             
#25 0x00007f6a5839ca1a in QApplication::notify (this=0x623560,                  
    receiver=0xe8bad0, e=0x10df2c0) at kernel/qapplication.cpp:3774             
---Type <return> to continue, or q <return> to quit---                          
#26 0x00007f6a59b21ccb in KApplication::notify (this=0x623560,                  
    receiver=0xe8bad0, event=0x10df2c0)                                         
    at /usr/src/debug/kdelibs-4.1.67/kdeui/kernel/kapplication.cpp:307          
#27 0x00007f6a56473e71 in QCoreApplication::notifyInternal (this=0x623560,      
    receiver=0xe8bad0, event=0x10df2c0) at kernel/qcoreapplication.cpp:593      
#28 0x00007f6a56474b2a in QCoreApplicationPrivate::sendPostedEvents (           
    receiver=0x0, event_type=0, data=0x6047e0) at kernel/qcoreapplication.h:215 
#29 0x00007f6a5649c713 in postEventSourceDispatch (s=<value optimized out>)
    at kernel/qcoreapplication.h:220
#30 0x00007f6a5293893a in g_main_context_dispatch ()
   from /usr/lib64/libglib-2.0.so.0
#31 0x00007f6a5293c040 in ?? () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f6a5293c1dc in g_main_context_iteration ()
   from /usr/lib64/libglib-2.0.so.0
#33 0x00007f6a5649c39f in QEventDispatcherGlib::processEvents (this=0x6256e0,
    flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:325
#34 0x00007f6a584257bf in QGuiEventDispatcherGlib::processEvents (this=0x7bec,
    flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f6a56472772 in QEventLoop::processEvents (
    this=<value optimized out>, flags={i = 1656358864})
    at kernel/qeventloop.cpp:149
#36 0x00007f6a564728fd in QEventLoop::exec (this=0x7fff62ba0810, flags=
      {i = 1656358944}) at kernel/qeventloop.cpp:200
---Type <return> to continue, or q <return> to quit---
#37 0x00007f6a56474ded in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:851
#38 0x00007f6a5a7688f3 in kdemain (argc=2, argv=0x7fff62ba0b88)
    at /usr/src/debug/kdebase-workspace-4.1.67/plasma/shells/desktop/main.cpp:58
#39 0x00007f6a5565c436 in __libc_start_main () from /lib64/libc.so.6
#40 0x00000000004007d9 in _start ()
Comment 6 Paweł Prażak 2008-09-23 14:40:51 UTC
The only way to get rid of calendar window, is to move it in unlock mode, right click->remove. But it returns after login, of course.
Comment 7 Riccardo Iaconelli 2008-10-19 14:00:03 UTC
Can't reproduce it from several days, so marking as fixed.
In case it is not for you, please feel free to re-open it. =)
Comment 8 JP Rosevear 2008-10-31 18:19:06 UTC
*** Bug 173192 has been marked as a duplicate of this bug. ***
Comment 9 JP Rosevear 2008-10-31 18:19:50 UTC
There is a dupe of this and bug 172671 looks closely related, I think it should be re-opened for now.
Comment 10 JP Rosevear 2008-10-31 19:04:40 UTC
This looks like it is bug 170175 and bug 170564.  But its still being seen with qt 4.4.3 on openSUSE 11.1.  See https://bugzilla.novell.com/show_bug.cgi?id=440118
Comment 11 Rob Scheepmaker 2008-11-13 14:10:37 UTC
*** Bug 174079 has been marked as a duplicate of this bug. ***
Comment 12 Aaron J. Seigo 2008-11-14 10:24:52 UTC
Rob: is this still an open issue?
Comment 13 Mike 2008-11-17 14:55:46 UTC
Are you sure this is related to #173192?

This relates to the extender, but the other bug relates to removing the actual applet.

I am using 4.1.73 and do NOT see this bug (I used to see it a few revisions ago), but I still get the removing widgets crashes plasma problem.

It seems that #173192 IS (possibly) related to #172671 but they are not related to this one, I can still replicate both of them.
Comment 14 SlashDevDsp 2008-11-20 13:05:11 UTC
still crashing with svn: 886841

similar to the previous bt, not sure its the same, so posting here:

Application: Plasma Workspace (plasma), signal SIGSEGV
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[New Thread -1264642336 (LWP 17222)]
[New Thread -1474163824 (LWP 17227)]
[New Thread -1465676912 (LWP 17225)]
[New Thread -1456899184 (LWP 17224)]
[Current thread is 0 (LWP 17222)]

Thread 4 (Thread -1456899184 (LWP 17224)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6713676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb6776cc6 in QWaitCondition::wait (this=0x84e3a40, mutex=0x84e3a3c, time=4294967295) at /home/kde-devel/kdesvn/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:82
#3  0xb791783d in QHostInfoAgent::run (this=0x84e3a30) at /home/kde-devel/kdesvn/qt-copy/src/network/kernel/qhostinfo.cpp:241
#4  0xb67762f3 in QThreadPrivate::start (arg=0x84e3a30) at /home/kde-devel/kdesvn/qt-copy/src/corelib/thread/qthread_unix.cpp:185
#5  0xb670f46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb65706de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread -1465676912 (LWP 17225)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb65692a1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb6833adf in QProcessManager::run (this=0x8087638) at /home/kde-devel/kdesvn/qt-copy/src/corelib/io/qprocess_unix.cpp:301
#3  0xb67762f3 in QThreadPrivate::start (arg=0x8087638) at /home/kde-devel/kdesvn/qt-copy/src/corelib/thread/qthread_unix.cpp:185
#4  0xb670f46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb65706de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread -1474163824 (LWP 17227)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6713676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb6776cc6 in QWaitCondition::wait (this=0x83873f8, mutex=0x83873f4, time=4294967295) at /home/kde-devel/kdesvn/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:82
#3  0xa93edcc6 in RenderThread::run (this=0x83873ec) at /home/kde-devel/kdesvn/kdebase/workspace/plasma/wallpapers/image/renderthread.cpp:90
#4  0xb67762f3 in QThreadPrivate::start (arg=0x83873ec) at /home/kde-devel/kdesvn/qt-copy/src/corelib/thread/qthread_unix.cpp:185
#5  0xb670f46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb65706de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread -1264642336 (LWP 17222)):
[KCrash Handler]
#6  0xb7de3f1c in Plasma::ExtenderItem::mouseReleaseEvent (this=0x85db3f0, event=0xbfe8cc40) at /home/kde-devel/kdesvn/kdelibs/plasma/extenderitem.cpp:726
#7  0xb6fb3ff7 in QGraphicsItem::sceneEvent (this=0x85db3f8, event=0xbfe8cc40) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsitem.cpp:4001
#8  0xb6ff158f in QGraphicsWidget::sceneEvent (this=0x85db3f0, event=0xbfe8cc40) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicswidget.cpp:1011
#9  0xb6fca8e4 in QGraphicsScenePrivate::sendEvent (this=0x8109df0, item=0x85db3f8, event=0xbfe8cc40) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsscene.cpp:1030
#10 0xb6fce153 in QGraphicsScenePrivate::sendMouseEvent (this=0x8109df0, mouseEvent=0xbfe8cc40) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsscene.cpp:1101
#11 0xb6fd6ca7 in QGraphicsScene::mouseReleaseEvent (this=0x8068ca0, mouseEvent=0xbfe8cc40) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsscene.cpp:3597
#12 0xb6fd71b4 in QGraphicsScene::event (this=0x8068ca0, event=0xbfe8cc40) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsscene.cpp:2966
#13 0xb6aaf77f in QApplicationPrivate::notify_helper (this=0x8081bb0, receiver=0x8068ca0, e=0xbfe8cc40) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3803
#14 0xb6ab6199 in QApplication::notify (this=0x8068818, receiver=0x8068ca0, e=0xbfe8cc40) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3393
#15 0xb76f227a in KApplication::notify (this=0x8068818, receiver=0x8068ca0, event=0xbfe8cc40) at /home/kde-devel/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:307
#16 0xb684f119 in QCoreApplication::notifyInternal (this=0x8068818, receiver=0x8068ca0, event=0xbfe8cc40) at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583
#17 0xb6fea10b in QGraphicsView::mouseReleaseEvent (this=0x85f6e38, event=0xbfe8d26c) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:209
#18 0xb6af9f43 in QWidget::event (this=0x85f6e38, event=0xbfe8d26c) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:7163
#19 0xb6dfd923 in QFrame::event (this=0x85f6e38, e=0xbfe8d26c) at /home/kde-devel/kdesvn/qt-copy/src/gui/widgets/qframe.cpp:651
#20 0xb6e8349c in QAbstractScrollArea::viewportEvent (this=0x85db3f0, e=0xb68eead4) at /home/kde-devel/kdesvn/qt-copy/src/gui/widgets/qabstractscrollarea.cpp:943
#21 0xb6fe9388 in QGraphicsView::viewportEvent (this=0x85f6e38, event=0xbfe8d26c) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsview.cpp:2337
#22 0xb6e84685 in QAbstractScrollAreaFilter::eventFilter (this=0x85e3ff0, o=0x8644120, e=0xbfe8d26c) at /home/kde-devel/kdesvn/qt-copy/src/gui/widgets/qabstractscrollarea_p.h:96
#23 0xb684f6f9 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8081bb0, receiver=0x8644120, event=0xbfe8d26c)
    at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:694
#24 0xb6aaf759 in QApplicationPrivate::notify_helper (this=0x8081bb0, receiver=0x8644120, e=0xbfe8d26c) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3799
#25 0xb6ab63d1 in QApplication::notify (this=0x8068818, receiver=0x8644120, e=0xbfe8d26c) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3528
#26 0xb76f227a in KApplication::notify (this=0x8068818, receiver=0x8644120, event=0xbfe8d26c) at /home/kde-devel/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:307
#27 0xb684f119 in QCoreApplication::notifyInternal (this=0x8068818, receiver=0x8644120, event=0xbfe8d26c) at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583
#28 0xb6ab59d0 in QApplicationPrivate::sendMouseEvent (receiver=0x8644120, event=0xbfe8d26c, alienWidget=0x0, nativeWidget=0x86599b8, buttonDown=0xb70ef1f0, lastMouseReceiver=@0xb70ef1f4)
    at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:212
#29 0xb6b11d3c in QETWidget::translateMouseEvent (this=0x86599b8, event=0xbfe8d728) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication_x11.cpp:4042
#30 0xb6b11206 in QApplication::x11ProcessEvent (this=0x8068818, event=0xbfe8d728) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication_x11.cpp:3038
#31 0xb6b365a4 in x11EventSourceDispatch (s=0x8087410, callback=0, user_data=0x0) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:142
#32 0xb5a6011c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#33 0xb5a6355f in ?? () from /usr/lib/libglib-2.0.so.0
#34 0x08086878 in ?? ()
#35 0x00000000 in ?? ()

Comment 15 Marco Martin 2008-11-20 21:39:55 UTC
this should be fixed in trunk, does it still happens?

the crashing on close looks like a qt bug fixed in qt-copy
Comment 16 SlashDevDsp 2008-11-22 06:37:40 UTC
still happening with qt svn: 886727, kdetrunk svn: 887466
Comment 17 Beat Wolf 2008-12-01 12:11:40 UTC
Seems fixed in recent trunk. Probably commit 891037 fixed it
Comment 18 Rob Scheepmaker 2008-12-02 16:26:07 UTC
Can somebody else who experienced this problem confirm it has been fixed?
Comment 19 SlashDevDsp 2008-12-05 08:07:25 UTC
Yes I can still confirm this crash happens with svn trunk build from about 8 hours ago.
Comment 20 Rob Scheepmaker 2008-12-05 11:15:20 UTC
@SlashDevDsp: If that is the case, could you provide an up to date backtrace?
And which version of qt are you using? One crash that could occur when detaching an extenderitem has been solved in qt-copy.
Comment 21 Dennis 2008-12-05 11:52:33 UTC
Created attachment 29061 [details]
backtrace of plasma >= 2008-12-04

kdebase rev 892566
kdelibs rev 892430
Comment 22 Dennis 2008-12-05 11:55:03 UTC
(In reply to comment #21)
> Created an attachment (id=29061) [details]
> backtrace of plasma >= 2008-12-04
> 
> kdebase rev 892566
> kdelibs rev 892430
> 
qt-4.4.2, gentoo amd64 ports
Comment 23 Anne-Marie Mahfouf 2008-12-05 12:30:44 UTC
can you install qt-copy and apply the patches please?
slashdevdsp: are you using qt-copy with patches?

Comment 24 SlashDevDsp 2008-12-05 14:06:54 UTC
kde and qt-copy with patches svn: 892691.
This is what happens now, I tried to move the calendar out from the clock to the desktop and plasma crashes, with no crash dialog for a backtrace. I will try to get one with gdb soon.
Comment 25 SlashDevDsp 2008-12-05 14:13:54 UTC
Ignore my previous comment about plasma crash dialog not being generated, when plasma crashes i get the crash dialog, and here is the updated backtrace.

Application: Plasma Workspace (plasma), signal SIGSEGV
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[New Thread -1265530624 (LWP 7636)]
[New Thread -1609819248 (LWP 7641)]
[New Thread -1441105008 (LWP 7639)]
[New Thread -1432302704 (LWP 7637)]
[Current thread is 0 (LWP 7636)]

Thread 4 (Thread -1432302704 (LWP 7637)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6747676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb67aacc6 in QWaitCondition::wait (this=0x8513710, mutex=0x851370c, time=4294967295) at /home/kde-devel/kdesvn/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:82
#3  0xb795f83d in QHostInfoAgent::run (this=0x8513700) at /home/kde-devel/kdesvn/qt-copy/src/network/kernel/qhostinfo.cpp:241
#4  0xb67aa2f3 in QThreadPrivate::start (arg=0x8513700) at /home/kde-devel/kdesvn/qt-copy/src/corelib/thread/qthread_unix.cpp:185
#5  0xb674346b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb65a46de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread -1441105008 (LWP 7639)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb659d2a1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb6867adf in QProcessManager::run (this=0x808d838) at /home/kde-devel/kdesvn/qt-copy/src/corelib/io/qprocess_unix.cpp:301
#3  0xb67aa2f3 in QThreadPrivate::start (arg=0x808d838) at /home/kde-devel/kdesvn/qt-copy/src/corelib/thread/qthread_unix.cpp:185
#4  0xb674346b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb65a46de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread -1609819248 (LWP 7641)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6747676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb67aacc6 in QWaitCondition::wait (this=0x83b96a0, mutex=0x83b969c, time=4294967295) at /home/kde-devel/kdesvn/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:82
#3  0xaab6fe76 in RenderThread::run (this=0x83b9694) at /home/kde-devel/kdesvn/kdebase/workspace/plasma/wallpapers/image/renderthread.cpp:90
#4  0xb67aa2f3 in QThreadPrivate::start (arg=0x83b9694) at /home/kde-devel/kdesvn/qt-copy/src/corelib/thread/qthread_unix.cpp:185
#5  0xb674346b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb65a46de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread -1265530624 (LWP 7636)):
[KCrash Handler]
#6  0xb7e1ea0c in Plasma::ExtenderItem::mouseReleaseEvent (this=0x8386668, event=0xbfce82a0) at /home/kde-devel/kdesvn/kdelibs/plasma/extenderitem.cpp:772
#7  0xb6fe7fa7 in QGraphicsItem::sceneEvent (this=0x8386670, event=0xbfce82a0) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsitem.cpp:4001
#8  0xb702553f in QGraphicsWidget::sceneEvent (this=0x8386668, event=0xbfce82a0) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicswidget.cpp:1011
#9  0xb6ffe894 in QGraphicsScenePrivate::sendEvent (this=0x80f7f80, item=0x8386670, event=0xbfce82a0) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsscene.cpp:1030
#10 0xb7002103 in QGraphicsScenePrivate::sendMouseEvent (this=0x80f7f80, mouseEvent=0xbfce82a0) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsscene.cpp:1101
#11 0xb700ac57 in QGraphicsScene::mouseReleaseEvent (this=0x80cc948, mouseEvent=0xbfce82a0) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsscene.cpp:3597
#12 0xb700b164 in QGraphicsScene::event (this=0x80cc948, event=0xbfce82a0) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsscene.cpp:2966
#13 0xb6ae377f in QApplicationPrivate::notify_helper (this=0x808a210, receiver=0x80cc948, e=0xbfce82a0) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3803
#14 0xb6aea199 in QApplication::notify (this=0x806a248, receiver=0x80cc948, e=0xbfce82a0) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3393
#15 0xb77265ba in KApplication::notify (this=0x806a248, receiver=0x80cc948, event=0xbfce82a0) at /home/kde-devel/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:307
#16 0xb6883119 in QCoreApplication::notifyInternal (this=0x806a248, receiver=0x80cc948, event=0xbfce82a0) at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583
#17 0xb701e0bb in QGraphicsView::mouseReleaseEvent (this=0x8628308, event=0xbfce88cc) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:209
#18 0xb6b2df43 in QWidget::event (this=0x8628308, event=0xbfce88cc) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:7163
#19 0xb6e31943 in QFrame::event (this=0x8628308, e=0xbfce88cc) at /home/kde-devel/kdesvn/qt-copy/src/gui/widgets/qframe.cpp:651
#20 0xb6eb74bc in QAbstractScrollArea::viewportEvent (this=0xbfce7c70, e=0xb6922ad4) at /home/kde-devel/kdesvn/qt-copy/src/gui/widgets/qabstractscrollarea.cpp:943
#21 0xb701d338 in QGraphicsView::viewportEvent (this=0x8628308, event=0xbfce88cc) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsview.cpp:2337
#22 0xb6eb86a5 in QAbstractScrollAreaFilter::eventFilter (this=0x88bc620, o=0x88bb3a0, e=0xbfce88cc) at /home/kde-devel/kdesvn/qt-copy/src/gui/widgets/qabstractscrollarea_p.h:96
#23 0xb68836f9 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x808a210, receiver=0x88bb3a0, event=0xbfce88cc)
    at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:694
#24 0xb6ae3759 in QApplicationPrivate::notify_helper (this=0x808a210, receiver=0x88bb3a0, e=0xbfce88cc) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3799
#25 0xb6aea3d1 in QApplication::notify (this=0x806a248, receiver=0x88bb3a0, e=0xbfce88cc) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3528
#26 0xb77265ba in KApplication::notify (this=0x806a248, receiver=0x88bb3a0, event=0xbfce88cc) at /home/kde-devel/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:307
#27 0xb6883119 in QCoreApplication::notifyInternal (this=0x806a248, receiver=0x88bb3a0, event=0xbfce88cc) at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583
#28 0xb6ae99d0 in QApplicationPrivate::sendMouseEvent (receiver=0x88bb3a0, event=0xbfce88cc, alienWidget=0x88bb3a0, nativeWidget=0x8628308, buttonDown=0xb7123c70, lastMouseReceiver=@0xb7123c74)
    at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:212
#29 0xb6b45d5c in QETWidget::translateMouseEvent (this=0x8628308, event=0xbfce8d88) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication_x11.cpp:4044
#30 0xb6b45226 in QApplication::x11ProcessEvent (this=0x806a248, event=0xbfce8d88) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication_x11.cpp:3040
#31 0xb6b6a5c4 in x11EventSourceDispatch (s=0x808d0c0, callback=0, user_data=0x0) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:142
#32 0xb5a7d11c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#33 0xb5a8055f in ?? () from /usr/lib/libglib-2.0.so.0
#34 0x0808c478 in ?? ()
#35 0x00000000 in ?? ()

Comment 26 Anne-Marie Mahfouf 2008-12-06 09:43:28 UTC
*** Bug 177005 has been marked as a duplicate of this bug. ***
Comment 27 FiNeX 2008-12-08 16:25:11 UTC
*** Bug 177229 has been marked as a duplicate of this bug. ***
Comment 28 Sebastian Sauer 2008-12-08 21:11:55 UTC
Confirmed with trunk compiled some minutes ago. This is for me 100% reproducable on trying to e.g. close the digital clock applet pressing the x on the applethandler (same with analog clock and most other applets).
So, set priority to high since that crash is *very* visible and does exist iirc since a very long time.

My backtrace;

[KCrash Handler]
#6  0xb7fa2410 in __kernel_vsyscall ()
#7  0xb64a9085 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb64aaa01 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb66b8480 in __gnu_cxx::__verbose_terminate_handler () from /usr/lib/libstdc++.so.6
#10 0xb66b5d05 in ?? () from /usr/lib/libstdc++.so.6
#11 0xb66b5d42 in std::terminate () from /usr/lib/libstdc++.so.6
#12 0xb66b6605 in __cxa_pure_virtual () from /usr/lib/libstdc++.so.6
#13 0xb70a49c1 in QGraphicsItem::sceneBoundingRect (this=0x80b1f98) at graphicsview/qgraphicsitem.cpp:2655
#14 0xb70bfa2f in QGraphicsScenePrivate::estimateItemsInRect (this=0x8116398, rect=@0xbf8393e0) at graphicsview/qgraphicsscene.cpp:350
#15 0xb70d26c2 in QGraphicsViewPrivate::itemsInArea (this=0x819c558, path=@0xbf83950c, mode=Qt::IntersectsItemShape) at graphicsview/qgraphicsview.cpp:1762
#16 0xb70d2de1 in QGraphicsView::items (this=0x843ff10, pos=@0xbf839628) at graphicsview/qgraphicsview.cpp:1821
#17 0xb70d2e57 in QGraphicsView::itemAt (this=0x843ff10, pos=@0xbf839628) at graphicsview/qgraphicsview.cpp:1928
#18 0xb70a8a94 in QGraphicsItem::unsetCursor (this=0x80bb350) at graphicsview/qgraphicsitem.cpp:1364
#19 0xb70f3722 in QGraphicsProxyWidgetPrivate::setWidget_helper (this=0x8794568, newWidget=0x0, autoShow=true) at graphicsview/qgraphicsproxywidget.cpp:565
#20 0xb70f3d86 in QGraphicsProxyWidget::setWidget (this=0x80bb348, widget=0x0) at graphicsview/qgraphicsproxywidget.cpp:550
#21 0xb70f3fd5 in ~QGraphicsProxyWidget (this=0x80bb348) at graphicsview/qgraphicsproxywidget.cpp:519
#22 0xb7eb46c7 in ~ToolButton (this=0x80bb348) at /home/kde4/svn/_src/kdelibs/plasma/widgets/toolbutton.cpp:162
#23 0xb70ad711 in ~QGraphicsItem (this=0x87539d0) at graphicsview/qgraphicsitem.cpp:816
#24 0xb70e1bf1 in ~QGraphicsWidget (this=0x87539c8) at graphicsview/qgraphicswidget.cpp:218
#25 0xb2cae679 in ~Calendar (this=0x87539c8) at /home/kde4/svn/_src/kdebase/workspace/libs/libplasmaclock/calendar.cpp:146
#26 0xb7e510ea in ~ExtenderItemPrivate (this=0x871d588) at /home/kde4/svn/_src/kdelibs/plasma/extenderitem.cpp:811
#27 0xb7e5510e in ~ExtenderItem (this=0x80b30d8) at /home/kde4/svn/_src/kdelibs/plasma/extenderitem.cpp:137
#28 0xb70ad711 in ~QGraphicsItem (this=0x80b1f98) at graphicsview/qgraphicsitem.cpp:816
#29 0xb70e1bf1 in ~QGraphicsWidget (this=0x80b1f90) at graphicsview/qgraphicswidget.cpp:218
#30 0xb7e4e144 in ~Extender (this=0x80b1f90) at /home/kde4/svn/_src/kdelibs/plasma/extender.cpp:102
#31 0xb7e15135 in ~AppletPrivate (this=0x80b2f50) at /home/kde4/svn/_src/kdelibs/plasma/applet.cpp:1798
#32 0xb7e1dacc in ~Applet (this=0x80b2a28) at /home/kde4/svn/_src/kdelibs/plasma/applet.cpp:155
#33 0xb7e61e0b in ~PopupApplet (this=0x80b2a28) at /home/kde4/svn/_src/kdelibs/plasma/popupapplet.cpp:58
#34 0xb2cab6f3 in ~ClockApplet (this=0x80b2a28) at /home/kde4/svn/_src/kdebase/workspace/libs/libplasmaclock/clockapplet.cpp:108
#35 0xa8388ed8 in ~Clock (this=0x80b2a28) at /home/kde4/svn/_src/kdebase/workspace/plasma/applets/digital-clock/clock.cpp:69
#36 0xb6867ac9 in qDeleteInEventHandler (o=0x80b2a28) at kernel/qobject.cpp:3650

short solution? eh, go the Java way (heh);

Index: widgets/toolbutton.cpp
===================================================================
--- widgets/toolbutton.cpp      (Revision 894461)
+++ widgets/toolbutton.cpp      (Arbeitskopie)
@@ -158,6 +158,9 @@

 ToolButton::~ToolButton()
 {
+    try {
+        setWidget(0);
+    } catch(...) {}
     delete d;
 }

(needs plasma to add exception-support - better solution would be probably to have TT/QtS to fix it :-)
Comment 29 Sebastian Sauer 2008-12-08 21:18:04 UTC
see also https://qa.mandriva.com/show_bug.cgi?id=44338
Comment 30 Aaron J. Seigo 2008-12-08 21:28:13 UTC
this is an upstream bug in Qt. they have fixed it upstream. the fix needs to percolate down .. via Qt.
Comment 31 Rob Scheepmaker 2008-12-08 23:00:19 UTC
Yeah, I also thought it was an upstream bug, since with my up to date qt-copy it doesn't occur. What still worries me though, is that there are apparently people with an up to date qt-copy that report this bug. Or is this problem still in qt-copy and does it just not show up for everybody?
Comment 32 SlashDevDsp 2008-12-09 01:19:42 UTC
Aaron, does that mean the fix is not in qt-copy in trunk yet? I will try to update and do a clean build of everything qt-copy/kdelibs/kdebase etc. tonight and report back.
Comment 33 SlashDevDsp 2008-12-10 01:02:01 UTC
ok updated about 10 hours ago, qt-copy svn: 889120, kdebase: 894691, kdelibs: 894713 and the plasma crash still happens. This is after deleting all existing builds and doing a complete reconfigure (make clean) and i still get a crash when trying to move the calendar extender from the digital clock applet in the panel to the default desktop containment. latest bt below:

Application: Plasma Workspace (plasma), signal SIGSEGV
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[New Thread -1265415936 (LWP 7811)]
[New Thread -1623848048 (LWP 8437)]
[New Thread -1440142448 (LWP 8112)]
[New Thread -1431540848 (LWP 7884)]
[Current thread is 0 (LWP 7811)]

Thread 4 (Thread -1431540848 (LWP 7884)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6763676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb67c6cc6 in QWaitCondition::wait (this=0x850d0f8, mutex=0x850d0f4, time=4294967295) at /home/kde-devel/kdesvn/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:82
#3  0xb797b83d in QHostInfoAgent::run (this=0x850d0e8) at /home/kde-devel/kdesvn/qt-copy/src/network/kernel/qhostinfo.cpp:241
#4  0xb67c62f3 in QThreadPrivate::start (arg=0x850d0e8) at /home/kde-devel/kdesvn/qt-copy/src/corelib/thread/qthread_unix.cpp:185
#5  0xb675f46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb65c06de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread -1440142448 (LWP 8112)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6763676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb67c6cc6 in QWaitCondition::wait (this=0x81a00b8, mutex=0x81a00b4, time=4294967295) at /home/kde-devel/kdesvn/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:82
#3  0xaae184b6 in RenderThread::run (this=0x81a00ac) at /home/kde-devel/kdesvn/kdebase/workspace/plasma/wallpapers/image/renderthread.cpp:91
#4  0xb67c62f3 in QThreadPrivate::start (arg=0x81a00ac) at /home/kde-devel/kdesvn/qt-copy/src/corelib/thread/qthread_unix.cpp:185
#5  0xb675f46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb65c06de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread -1623848048 (LWP 8437)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb65b92a1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb6883adf in QProcessManager::run (this=0x808bc80) at /home/kde-devel/kdesvn/qt-copy/src/corelib/io/qprocess_unix.cpp:301
#3  0xb67c62f3 in QThreadPrivate::start (arg=0x808bc80) at /home/kde-devel/kdesvn/qt-copy/src/corelib/thread/qthread_unix.cpp:185
#4  0xb675f46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb65c06de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread -1265415936 (LWP 7811)):
[KCrash Handler]
#6  0xb7e3aa6c in Plasma::ExtenderItem::mouseReleaseEvent (this=0x839d8f8, event=0xbfe5a400) at /home/kde-devel/kdesvn/kdelibs/plasma/extenderitem.cpp:772
#7  0xb7003fa7 in QGraphicsItem::sceneEvent (this=0x839d900, event=0xbfe5a400) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsitem.cpp:4001
#8  0xb704153f in QGraphicsWidget::sceneEvent (this=0x839d8f8, event=0xbfe5a400) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicswidget.cpp:1011
#9  0xb701a894 in QGraphicsScenePrivate::sendEvent (this=0x80db730, item=0x839d900, event=0xbfe5a400) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsscene.cpp:1030
#10 0xb701e103 in QGraphicsScenePrivate::sendMouseEvent (this=0x80db730, mouseEvent=0xbfe5a400) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsscene.cpp:1101
#11 0xb7026c57 in QGraphicsScene::mouseReleaseEvent (this=0x80eb1c8, mouseEvent=0xbfe5a400) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsscene.cpp:3597
#12 0xb7027164 in QGraphicsScene::event (this=0x80eb1c8, event=0xbfe5a400) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsscene.cpp:2966
#13 0xb6aff77f in QApplicationPrivate::notify_helper (this=0x8088660, receiver=0x80eb1c8, e=0xbfe5a400) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3803
#14 0xb6b06199 in QApplication::notify (this=0x806a248, receiver=0x80eb1c8, e=0xbfe5a400) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3393
#15 0xb77426aa in KApplication::notify (this=0x806a248, receiver=0x80eb1c8, event=0xbfe5a400) at /home/kde-devel/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:307
#16 0xb689f119 in QCoreApplication::notifyInternal (this=0x806a248, receiver=0x80eb1c8, event=0xbfe5a400) at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583
#17 0xb703a0bb in QGraphicsView::mouseReleaseEvent (this=0x8511480, event=0xbfe5aa2c) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:209
#18 0xb6b49f43 in QWidget::event (this=0x8511480, event=0xbfe5aa2c) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:7163
#19 0xb6e4d943 in QFrame::event (this=0x8511480, e=0xbfe5aa2c) at /home/kde-devel/kdesvn/qt-copy/src/gui/widgets/qframe.cpp:651
#20 0xb6ed34bc in QAbstractScrollArea::viewportEvent (this=0xbfe59dd0, e=0xb693ead4) at /home/kde-devel/kdesvn/qt-copy/src/gui/widgets/qabstractscrollarea.cpp:943
#21 0xb7039338 in QGraphicsView::viewportEvent (this=0x8511480, event=0xbfe5aa2c) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsview.cpp:2337
#22 0xb6ed46a5 in QAbstractScrollAreaFilter::eventFilter (this=0x8366438, o=0x836b6e8, e=0xbfe5aa2c) at /home/kde-devel/kdesvn/qt-copy/src/gui/widgets/qabstractscrollarea_p.h:96
#23 0xb689f6f9 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8088660, receiver=0x836b6e8, event=0xbfe5aa2c)
    at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:694
#24 0xb6aff759 in QApplicationPrivate::notify_helper (this=0x8088660, receiver=0x836b6e8, e=0xbfe5aa2c) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3799
#25 0xb6b063d1 in QApplication::notify (this=0x806a248, receiver=0x836b6e8, e=0xbfe5aa2c) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3528
#26 0xb77426aa in KApplication::notify (this=0x806a248, receiver=0x836b6e8, event=0xbfe5aa2c) at /home/kde-devel/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:307
#27 0xb689f119 in QCoreApplication::notifyInternal (this=0x806a248, receiver=0x836b6e8, event=0xbfe5aa2c) at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583
#28 0xb6b059d0 in QApplicationPrivate::sendMouseEvent (receiver=0x836b6e8, event=0xbfe5aa2c, alienWidget=0x0, nativeWidget=0x83bda70, buttonDown=0xb713fc70, lastMouseReceiver=@0xb713fc74)
    at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:212
#29 0xb6b61d5c in QETWidget::translateMouseEvent (this=0x83bda70, event=0xbfe5aee8) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication_x11.cpp:4044
#30 0xb6b61226 in QApplication::x11ProcessEvent (this=0x806a248, event=0xbfe5aee8) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication_x11.cpp:3040
#31 0xb6b865c4 in x11EventSourceDispatch (s=0x808b4d0, callback=0, user_data=0x0) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:142
#32 0xb5a9911c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#33 0xb5a9c55f in ?? () from /usr/lib/libglib-2.0.so.0
#34 0x0808a898 in ?? ()
#35 0x00000000 in ?? ()

Comment 34 Rob Scheepmaker 2008-12-10 02:06:05 UTC
Notice that there are 2 different bt's in this bugreport and it's comments. I think one is the qt bug that got fixed, and the other didn't get fixed but doesn't happen for everyone.

I had a similar crash though when making an otherwise seemingly unrelated change, and fixed that crash in that same revision. So r895118 might solve this issue for the people who still have the problem. Could someone experiencing this crash please test this?
Comment 35 SlashDevDsp 2008-12-10 14:35:01 UTC
seems like there is a partial fix. This is what happened.

I can move the extender calendar from the panel digital clock to the desktop without crashing plasma. Then I closed the calendar and tried to move the calendar extender again from the panel digital clock, did this a few times and bam crash again. bt below:

 Application: Plasma Workspace (plasma), signal SIGSEGV
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[New Thread -1265731328 (LWP 27372)]
[New Thread -1440617584 (LWP 27703)]
[New Thread -1431995504 (LWP 27676)]
[Current thread is 0 (LWP 27372)]

Thread 3 (Thread -1431995504 (LWP 27676)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6716676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb6779cc6 in QWaitCondition::wait (this=0x84d6dd0, mutex=0x84d6dcc, time=4294967295) at /home/kde-devel/kdesvn/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:82
#3  0xb792e83d in QHostInfoAgent::run (this=0x84d6dc0) at /home/kde-devel/kdesvn/qt-copy/src/network/kernel/qhostinfo.cpp:241
#4  0xb67792f3 in QThreadPrivate::start (arg=0x84d6dc0) at /home/kde-devel/kdesvn/qt-copy/src/corelib/thread/qthread_unix.cpp:185
#5  0xb671246b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb65736de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread -1440617584 (LWP 27703)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6716676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb6779cc6 in QWaitCondition::wait (this=0x81544d0, mutex=0x81544cc, time=4294967295) at /home/kde-devel/kdesvn/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:82
#3  0xaadd94b6 in RenderThread::run (this=0x81544c4) at /home/kde-devel/kdesvn/kdebase/workspace/plasma/wallpapers/image/renderthread.cpp:91
#4  0xb67792f3 in QThreadPrivate::start (arg=0x81544c4) at /home/kde-devel/kdesvn/qt-copy/src/corelib/thread/qthread_unix.cpp:185
#5  0xb671246b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb65736de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread -1265731328 (LWP 27372)):
[KCrash Handler]
#6  0x089c0cab in ?? ()
#7  0xb7dec8ab in Plasma::ExtenderItem::mouseMoveEvent (this=0x83be590, event=0xbf8d0000) at /home/kde-devel/kdesvn/kdelibs/plasma/extenderitem.cpp:627
#8  0xb6fb6f75 in QGraphicsItem::sceneEvent (this=0x83be598, event=0xbf8d0000) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsitem.cpp:3995
#9  0xb6ff453f in QGraphicsWidget::sceneEvent (this=0x83be590, event=0xbf8d0000) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicswidget.cpp:1011
#10 0xb6fcd894 in QGraphicsScenePrivate::sendEvent (this=0x80d6f90, item=0x83be598, event=0xbf8d0000) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsscene.cpp:1030
#11 0xb6fd1103 in QGraphicsScenePrivate::sendMouseEvent (this=0x80d6f90, mouseEvent=0xbf8d0000) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsscene.cpp:1101
#12 0xb6fd9dc0 in QGraphicsScene::mouseMoveEvent (this=0x8085c70, mouseEvent=0xbf8d0000) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsscene.cpp:3571
#13 0xb6fda132 in QGraphicsScene::event (this=0x8085c70, event=0xbf8d0000) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsscene.cpp:2960
#14 0xb6ab277f in QApplicationPrivate::notify_helper (this=0x8088498, receiver=0x8085c70, e=0xbf8d0000) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3803
#15 0xb6ab9199 in QApplication::notify (this=0x806aae8, receiver=0x8085c70, e=0xbf8d0000) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3393
#16 0xb76f56aa in KApplication::notify (this=0x806aae8, receiver=0x8085c70, event=0xbf8d0000) at /home/kde-devel/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:307
#17 0xb6852119 in QCoreApplication::notifyInternal (this=0x806aae8, receiver=0x8085c70, event=0xbf8d0000) at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583
#18 0xb6feaee8 in QGraphicsViewPrivate::mouseMoveEventHandler (this=0x8341950, event=0x8341bb0) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:209
#19 0xb6feb44e in QGraphicsViewPrivate::replayLastMouseEvent (this=0x89d3f78) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsview.cpp:524
#20 0xb6febced in QGraphicsView::scrollContentsBy (this=0x8344a38, dx=0, dy=16777214) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsview.cpp:3254
#21 0xb6e84b15 in QAbstractScrollAreaPrivate::_q_vslide (this=0x8341950, y=-16777214) at /home/kde-devel/kdesvn/qt-copy/src/gui/widgets/qabstractscrollarea.cpp:1211
#22 0xb6e869f7 in QAbstractScrollArea::qt_metacall (this=0x8344a38, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbf8d032c) at .moc/release-shared/moc_qabstractscrollarea.cpp:78
#23 0xb6fe6e3d in QGraphicsView::qt_metacall (this=0x8344a38, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0xbf8d032c) at .moc/release-shared/moc_qgraphicsview.cpp:133
#24 0xb686285a in QMetaObject::activate (sender=0x830dac0, from_signal_index=<value optimized out>, to_signal_index=27, argv=<value optimized out>)
    at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3028
#25 0xb6862da2 in QMetaObject::activate (sender=0x830dac0, m=0xb70e6dd4, local_signal_index=0, argv=0xbf8d032c) at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3101
#26 0xb701e453 in QAbstractSlider::valueChanged (this=0x830dac0, _t1=-16777214) at .moc/release-shared/moc_qabstractslider.cpp:161
#27 0xb6dbd9f7 in QAbstractSlider::setValue (this=0x830dac0, value=-16777214) at /home/kde-devel/kdesvn/qt-copy/src/gui/widgets/qabstractslider.cpp:527
#28 0xb6dbe011 in QAbstractSlider::setRange (this=0x830dac0, min=-16777215, max=-16777214) at /home/kde-devel/kdesvn/qt-copy/src/gui/widgets/qabstractslider.cpp:239
#29 0xb6fe3344 in QGraphicsViewPrivate::recalculateContentSize (this=0x8341950) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsview.cpp:428
#30 0xb6fe36b8 in QGraphicsView::setSceneRect (this=0x8344a38, rect=@0xbf8d0508) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsview.cpp:1267
#31 0xb7de2efb in Plasma::DialogPrivate::adjustView (this=0x835e478) at /home/kde-devel/kdesvn/kdelibs/plasma/dialog.cpp:159
#32 0xb7de363f in Plasma::Dialog::eventFilter (this=0x8397f28, watched=0x857f108, event=0xbf8d0a20) at /home/kde-devel/kdesvn/kdelibs/plasma/dialog.cpp:385
#33 0xb68526f9 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8088498, receiver=0x857f108, event=0xbf8d0a20)
    at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:694
#34 0xb6ab2759 in QApplicationPrivate::notify_helper (this=0x8088498, receiver=0x857f108, e=0xbf8d0a20) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3799
#35 0xb6ab9199 in QApplication::notify (this=0x806aae8, receiver=0x857f108, e=0xbf8d0a20) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3393
#36 0xb76f56aa in KApplication::notify (this=0x806aae8, receiver=0x857f108, event=0xbf8d0a20) at /home/kde-devel/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:307
#37 0xb6852119 in QCoreApplication::notifyInternal (this=0x806aae8, receiver=0x857f108, event=0xbf8d0a20) at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583
#38 0xb6ff3e87 in QGraphicsWidget::setGeometry (this=0x857f108, rect=@0xbf8d0bf8) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:209
#39 0xb6ff0a5d in QGraphicsWidget::resize (this=0x857f108, size=@0xbf8d0c58) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicswidget.cpp:250
#40 0xb6ff1dac in QGraphicsWidget::adjustSize (this=0x857f108) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicswidget.cpp:671
#41 0xb7de58ba in Plasma::ExtenderPrivate::adjustSizeHints (this=0x84a3a58) at /home/kde-devel/kdesvn/kdelibs/plasma/extender.cpp:489
#42 0xb7de61f2 in Plasma::Extender::itemRemovedEvent (this=0x857f108, item=0x83be590) at /home/kde-devel/kdesvn/kdelibs/plasma/extender.cpp:248
#43 0xb7de6a42 in Plasma::ExtenderPrivate::removeExtenderItem (this=0x84a3a58, item=0x83be590) at /home/kde-devel/kdesvn/kdelibs/plasma/extender.cpp:357
#44 0xb7ded281 in Plasma::ExtenderItem::mouseMoveEvent (this=0x83be590, event=0xbf8d15e0) at /home/kde-devel/kdesvn/kdelibs/plasma/extenderitem.cpp:534
#45 0xb6fb6f75 in QGraphicsItem::sceneEvent (this=0x83be598, event=0xbf8d15e0) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsitem.cpp:3995
#46 0xb6ff453f in QGraphicsWidget::sceneEvent (this=0x83be590, event=0xbf8d15e0) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicswidget.cpp:1011
#47 0xb6fcd894 in QGraphicsScenePrivate::sendEvent (this=0x80d6f90, item=0x83be598, event=0xbf8d15e0) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsscene.cpp:1030
#48 0xb6fd1103 in QGraphicsScenePrivate::sendMouseEvent (this=0x80d6f90, mouseEvent=0xbf8d15e0) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsscene.cpp:1101
#49 0xb6fd9dc0 in QGraphicsScene::mouseMoveEvent (this=0x8085c70, mouseEvent=0xbf8d15e0) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsscene.cpp:3571
#50 0xb6fda132 in QGraphicsScene::event (this=0x8085c70, event=0xbf8d15e0) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsscene.cpp:2960
#51 0xb6ab277f in QApplicationPrivate::notify_helper (this=0x8088498, receiver=0x8085c70, e=0xbf8d15e0) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3803
#52 0xb6ab9199 in QApplication::notify (this=0x806aae8, receiver=0x8085c70, e=0xbf8d15e0) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3393
#53 0xb76f56aa in KApplication::notify (this=0x806aae8, receiver=0x8085c70, event=0xbf8d15e0) at /home/kde-devel/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:307
#54 0xb6852119 in QCoreApplication::notifyInternal (this=0x806aae8, receiver=0x8085c70, event=0xbf8d15e0) at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583
#55 0xb6feaee8 in QGraphicsViewPrivate::mouseMoveEventHandler (this=0x8341950, event=0xbf8d1cac) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:209
#56 0xb6feb096 in QGraphicsView::mouseMoveEvent (this=0x8344a38, event=0xbf8d1cac) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsview.cpp:2748
#57 0xb6afcf11 in QWidget::event (this=0x8344a38, event=0xbf8d1cac) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:7148
#58 0xb6e00943 in QFrame::event (this=0x8344a38, e=0xbf8d1cac) at /home/kde-devel/kdesvn/qt-copy/src/gui/widgets/qframe.cpp:651
#59 0xb6e864bc in QAbstractScrollArea::viewportEvent (this=0x83be590, e=0x89d3f78) at /home/kde-devel/kdesvn/qt-copy/src/gui/widgets/qabstractscrollarea.cpp:943
#60 0xb6fec338 in QGraphicsView::viewportEvent (this=0x8344a38, event=0xbf8d1cac) at /home/kde-devel/kdesvn/qt-copy/src/gui/graphicsview/qgraphicsview.cpp:2337
#61 0xb6e876a5 in QAbstractScrollAreaFilter::eventFilter (this=0x8353680, o=0x8342dd0, e=0xbf8d1cac) at /home/kde-devel/kdesvn/qt-copy/src/gui/widgets/qabstractscrollarea_p.h:96
#62 0xb68526f9 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8088498, receiver=0x8342dd0, event=0xbf8d1cac)
    at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:694
#63 0xb6ab2759 in QApplicationPrivate::notify_helper (this=0x8088498, receiver=0x8342dd0, e=0xbf8d1cac) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3799
#64 0xb6ab93d1 in QApplication::notify (this=0x806aae8, receiver=0x8342dd0, e=0xbf8d1cac) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3528
#65 0xb76f56aa in KApplication::notify (this=0x806aae8, receiver=0x8342dd0, event=0xbf8d1cac) at /home/kde-devel/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:307
#66 0xb6852119 in QCoreApplication::notifyInternal (this=0x806aae8, receiver=0x8342dd0, event=0xbf8d1cac) at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583
#67 0xb6ab89d0 in QApplicationPrivate::sendMouseEvent (receiver=0x8342dd0, event=0xbf8d1cac, alienWidget=0x8342dd0, nativeWidget=0x8397f28, buttonDown=0xb70f2c70, lastMouseReceiver=@0xb70f2c74)
    at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:212
#68 0xb6b14d5c in QETWidget::translateMouseEvent (this=0x8397f28, event=0xbf8d2168) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication_x11.cpp:4044
#69 0xb6b14226 in QApplication::x11ProcessEvent (this=0x806aae8, event=0xbf8d2168) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication_x11.cpp:3040
#70 0xb6b395c4 in x11EventSourceDispatch (s=0x808b388, callback=0, user_data=0x0) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:142
#71 0xb5a4c11c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#72 0xb5a4f55f in ?? () from /usr/lib/libglib-2.0.so.0
#73 0x0808a678 in ?? ()
#74 0x00000000 in ?? ()

Comment 36 Mike 2008-12-10 14:47:52 UTC
I am also still seeing a crash, not sure if it is the same as the initial report or even comment #35.  I am using qt-copy (which seemed to fix the consistent crash) and nvidia 180.06.

This crash is caused by dragging out the calendar, closing it and then repeating about 8 times.

Here is my bt

Application: Plasma Workspace (plasma), signal SIGSEGV
Using host libthread_db library "/lib/libthread_db.so.1".
0x0000003389a927e1 in nanosleep () from /lib/libc.so.6
Current language:  auto; currently c
[Current thread is 0 (LWP 3902)]

Thread 3 (Thread 0x40e51950 (LWP 3908)):
#0  0x000000338a20a696 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x000000338f65e575 in QWaitCondition::wait (this=<value optimized out>, mutex=<value optimized out>, time=<value optimized out>) at thread/qwaitcondition_unix.cpp:82
#2  0x00007f244f4baf7e in RenderThread::run (this=0x8cfe38) at /var/tmp/portage/kde-base/plasma-workspace-9999/work/plasma-workspace/plasma/wallpapers/image/renderthread.cpp:91
#3  0x000000338f65d590 in QThreadPrivate::start (arg=<value optimized out>) at thread/qthread_unix.cpp:185
#4  0x000000338a206037 in start_thread (arg=<value optimized out>) at pthread_create.c:296
#5  0x0000003389ac028d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x419db950 (LWP 3917)):
#0  0x000000338a20a696 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x000000338f65e575 in QWaitCondition::wait (this=<value optimized out>, mutex=<value optimized out>, time=<value optimized out>) at thread/qwaitcondition_unix.cpp:82
#2  0x00007f244f4baf7e in RenderThread::run (this=0x90c7d8) at /var/tmp/portage/kde-base/plasma-workspace-9999/work/plasma-workspace/plasma/wallpapers/image/renderthread.cpp:91
#3  0x000000338f65d590 in QThreadPrivate::start (arg=<value optimized out>) at thread/qthread_unix.cpp:185
#4  0x000000338a206037 in start_thread (arg=<value optimized out>) at pthread_create.c:296
#5  0x0000003389ac028d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2455322750 (LWP 3902)):
[KCrash Handler]
#5  0x000000338f7441e7 in QMetaObject::cast (this=<value optimized out>, obj=<value optimized out>) at kernel/qmetaobject.cpp:211
#6  0x00000030228d3aa0 in QGraphicsScenePrivate::itemsAtPosition (this=<value optimized out>, screenPos=<value optimized out>, scenePos=<value optimized out>, widget=<value optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qobject.h:438
#7  0x00000030228d42b5 in QGraphicsScenePrivate::dispatchHoverEvent (this=<value optimized out>, hoverEvent=<value optimized out>) at graphicsview/qgraphicsscene.cpp:3371
#8  0x00000030228d4421 in QGraphicsScene::mouseReleaseEvent (this=<value optimized out>, mouseEvent=<value optimized out>) at graphicsview/qgraphicsscene.cpp:3613
#9  0x00000030228d8941 in QGraphicsScene::event (this=<value optimized out>, event=<value optimized out>) at graphicsview/qgraphicsscene.cpp:2966
#10 0x00000030223971b0 in QApplicationPrivate::notify_helper (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:3803
#11 0x0000003022398d9b in QApplication::notify (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:3768
#12 0x0000003bcd3fadf2 in KApplication::notify (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/kernel/kapplication.cpp:307
#13 0x000000338f73e23f in QCoreApplication::notifyInternal (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at kernel/qcoreapplication.cpp:587
#14 0x00000030228e60ce in QGraphicsView::mouseReleaseEvent (this=<value optimized out>, event=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209
#15 0x00000030223e15ae in QWidget::event (this=<value optimized out>, event=<value optimized out>) at kernel/qwidget.cpp:7163
#16 0x00000030226f8b08 in QFrame::event (this=<value optimized out>, e=<value optimized out>) at widgets/qframe.cpp:651
#17 0x0000003022779d36 in QAbstractScrollArea::viewportEvent (this=<value optimized out>, e=<value optimized out>) at widgets/qabstractscrollarea.cpp:943
#18 0x00000030228e1d61 in QGraphicsView::viewportEvent (this=<value optimized out>, event=<value optimized out>) at graphicsview/qgraphicsview.cpp:2337
#19 0x000000302277b524 in QAbstractScrollAreaFilter::eventFilter (this=<value optimized out>, o=<value optimized out>, e=<value optimized out>) at widgets/qabstractscrollarea_p.h:96
#20 0x000000338f73e5c5 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>)
    at kernel/qcoreapplication.cpp:694
#21 0x000000302239718f in QApplicationPrivate::notify_helper (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:3799
#22 0x0000003022398f39 in QApplication::notify (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:3528
#23 0x0000003bcd3fadf2 in KApplication::notify (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/kernel/kapplication.cpp:307
#24 0x000000338f73e23f in QCoreApplication::notifyInternal (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at kernel/qcoreapplication.cpp:587
#25 0x000000302239cec7 in QApplicationPrivate::sendMouseEvent (receiver=<value optimized out>, event=<value optimized out>, alienWidget=<value optimized out>, nativeWidget=<value optimized out>, 
    buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:212
#26 0x00000030223f95bc in QETWidget::translateMouseEvent (this=<value optimized out>, event=<value optimized out>) at kernel/qapplication_x11.cpp:4044
#27 0x00000030223f85e1 in QApplication::x11ProcessEvent (this=<value optimized out>, event=<value optimized out>) at kernel/qapplication_x11.cpp:3162
#28 0x000000302241c67b in QEventDispatcherX11::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventdispatcher_x11.cpp:128
#29 0x000000338f73d7db in QEventLoop::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:143
#30 0x000000338f73d931 in QEventLoop::exec (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:194
#31 0x000000338f73f670 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#32 0x0000003bcf235a34 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/plasma-workspace-9999/work/plasma-workspace/plasma/shells/desktop/main.cpp:58
#33 0x0000003389a1db74 in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=) at libc-start.c:229
#34 0x0000000000400829 in _start ()

Comment 37 Rob Scheepmaker 2008-12-10 15:06:17 UTC
Hmm, someone noticed that this bugreport now has 4 different bt's of which 2 now apparently are fixed, and 2 others have taken their place? And still i can't reproduce any of them :'(
Anyway: could you details this new crash some more? Does the crash happen while dragging? after releasing the mouse button? how do you 'close' the extender (return-to-source icon on X on applet handle). Any details would be welcome.
Comment 38 SlashDevDsp 2008-12-10 15:15:00 UTC
well i closed the calendar extender applet with the close button that gets displayed when mouse over applet. There is also another close-button-built-into-the-calendar-applet. I did try to close with that one too a few times, just before the crash i closed the calendar applet using the close button that gets displayed for all the other applets.

another problem is, if you resize the calendar applet i.e., make the size/applet bigger you cannot make the size smaller. 
Comment 39 Mike 2008-12-10 15:49:09 UTC
I am closing with the plasma close button that pops out.  I thought the other button was a reattach button.  I have a xinerama setup, I sometimes drag over to the other monitor but the crashes seem to happen on the same screen as plasma.

I just had another crash while dragging (ie. before releasing the mouse) but no backtrace appeared this time.  This last crash left me with an empty containment on the desktop which was initially sized for the calendar, as soon as plasma had fully started it resized it to a small circle.
Comment 40 Mike 2008-12-10 15:56:29 UTC
Here is the output from plasma as it crashes.  It sometimes takes a lot of opening and closing to reproduce it.  The 'in wrong parent' message appeared every time I dragged the calendar out.  The 'Invalid size' message was when I dragged it back to its original containment.

Object::connect: No such signal OrgKdeKephalConfigurationsInterface::statusChanged()
Object::connect: No such slot Kickoff::FavoritesModel::sortFavoritesAscending()                            
Object::connect: No such slot Kickoff::FavoritesModel::sortFavoritesDescending()                           
QFSFileEngine::open: No file name specified                                                                
QFSFileEngine::open: No file name specified                                                                
Object::connect: Attempt to bind non-signal TaskManager::TaskGroup::editRequest()                          
QGraphicsLayout::addChildWidget: Plasma::IconWidget "" in wrong parent; moved to correct parent            
Couldn't resolve property: linearGradient3229                                                              
QGraphicsLayout::addChildLayout: layout already has a parent                                               
QGraphicsLayout::addChildLayout: layout already has a parent                                               
Couldn't resolve property: linearGradient3229                                                              
QGraphicsLayout::addChildLayout: layout already has a parent                                               
QGraphicsLayout::addChildLayout: layout already has a parent                                               
plasma(10810)/kdecore (KWin) KWindowInfo::windowClassName: Pass NET::WM2WindowClass to KWindowInfo         

plasma(10810)/kdecore (KWin) KWindowInfo::windowClassName: Pass NET::WM2WindowClass to KWindowInfo 

plasma(10810)/kdecore (KWin) KWindowInfo::windowClassName: Pass NET::WM2WindowClass to KWindowInfo 

plasma(10810)/kdecore (KWin) KWindowInfo::windowClassName: Pass NET::WM2WindowClass to KWindowInfo 

plasma(10810)/kdecore (KWin) KWindowInfo::windowClassName: Pass NET::WM2WindowClass to KWindowInfo 

QEventDispatcherUNIX::unregisterTimer: invalid argument
QGraphicsLayout::addChildWidget: Plasma::IconWidget "" in wrong parent; moved to correct parent
QGraphicsLayout::addChildWidget: Plasma::IconWidget "" in wrong parent; moved to correct parent
QGraphicsLayout::addChildWidget: Plasma::IconWidget "" in wrong parent; moved to correct parent
QGraphicsLayout::addChildWidget: Plasma::IconWidget "" in wrong parent; moved to correct parent
QGraphicsLayout::addChildWidget: Plasma::IconWidget "" in wrong parent; moved to correct parent
QGraphicsLayout::addChildWidget: Plasma::IconWidget "" in wrong parent; moved to correct parent
plasma(10810)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 11)              
QGraphicsLayout::addChildWidget: Plasma::IconWidget "" in wrong parent; moved to correct parent
plasma(10810)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 11)              
QGraphicsLayout::addChildWidget: Plasma::IconWidget "" in wrong parent; moved to correct parent
QGraphicsLayout::addChildWidget: Plasma::IconWidget "" in wrong parent; moved to correct parent
QGraphicsLayout::addChildWidget: Plasma::IconWidget "" in wrong parent; moved to correct parent
QGraphicsLayout::addChildWidget: Plasma::IconWidget "" in wrong parent; moved to correct parent
QGraphicsLayout::addChildWidget: Plasma::IconWidget "" in wrong parent; moved to correct parent
QGraphicsLayout::addChildWidget: Plasma::IconWidget "" in wrong parent; moved to correct parent
QGraphicsLayout::addChildWidget: Plasma::IconWidget "" in wrong parent; moved to correct parent
QGraphicsLayout::addChildWidget: Plasma::IconWidget "" in wrong parent; moved to correct parent
QGraphicsLayout::addChildWidget: Plasma::IconWidget "" in wrong parent; moved to correct parent
QGraphicsLayout::addChildWidget: Plasma::IconWidget "" in wrong parent; moved to correct parent
QGraphicsLayout::addChildWidget: Plasma::IconWidget "" in wrong parent; moved to correct parent
QObject: Do not delete object, 'unnamed', during its event handler!
QGraphicsLayout::addChildWidget: Plasma::IconWidget "" in wrong parent; moved to correct parent
KCrash: Application 'plasma' crashing...
sock_file=/home/mike/.kde4/socket-gentoo/kdeinit4__0
Comment 41 SlashDevDsp 2008-12-10 15:56:57 UTC
ok, this is how i can reproduce the bug every single time now.

I wrote lengthy paragraphs about reproducing the bugs, then i realised its getting too complicated, i just recorded my desktop and here is the link:
http://rapidshare.com/files/172082378/out.ogv.html

one thing to note is that after removing the calendar I try to put it back into the same container as shown from 8sec in the clip until 11sec thus producing the crash at 16sec.

I hope this is clear.
Comment 42 Rob Scheepmaker 2008-12-10 16:04:50 UTC
@SlashDevDsp: sweet :) thanks for the video, I can now reproduce this bug myself. I also think I know what's causing it. I first have to do some other work now, but expect a fix later today or tomorrow.
Comment 43 SlashDevDsp 2008-12-10 16:13:58 UTC
Btw, I think this is the same bug that Mike is having when moving the applet from  the desktop on one monitor to the 2nd monitor desktop. i.e., the applet gets detached from the firstdesktop and gets attached to the same? container in the 2nd desktop.

fantastic Rob :) finally i can see this bug being closed :) hurray...
Comment 44 Rob Scheepmaker 2008-12-10 18:29:43 UTC
SVN commit 895405 by scheepmaker:

Yeah, finally! Fixed a crash that occurs when moving an extenderitem back to its source from an extender that was also the last one to have a spacer inserted because the same item was hovering over it. Phew, that was a mouthfull... With this fix we monitor if previousTargetExtender get's destoryed so we don't accidently try to remove it's spacer.
BUG: 171498



 M  +16 -0     extenderitem.cpp  
 M  +1 -0      extenderitem.h  
 M  +1 -0      private/extenderitem_p.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=895405
Comment 45 SlashDevDsp 2008-12-11 06:21:58 UTC
with the latest svn build, plasma does not crash, but dragging the calendar extender to the desktop it just disappears, without staying on the desktop.
Comment 46 Rob Scheepmaker 2008-12-11 07:50:48 UTC
You don't have your widgets locked by any chance?
Comment 47 SlashDevDsp 2008-12-11 09:56:47 UTC
yes you were right, i had the widgets locked. What should be the behaviour when the widgets are locked? I certainly assumed it is a bug. When it is not locked though it works without crashing :)
Comment 48 Rob Scheepmaker 2008-12-11 17:54:34 UTC
What the behavior should be, and is here, is that the item returns to where it came from. Maybe I should pop up the extender again when that happens to make it clearer.
Anyway, thanks for confirming.
Comment 49 Dario Andres 2008-12-13 19:04:34 UTC
I ended with a similar crash using:

Qt: 4.4.3
KDE: 4.1.85 (KDE 4.1.85 (KDE 4.2 Beta2))
kdelibs svn rev. 896338 / kdebase svn rev. 896338

while trying to reproduce bug 168427 (and may be , de-attaching the "buggy moving file dialog/plasmoid" or may be related to bug 168427 itself.)

I don't know if it's related to the original bug report, but it's similar to the one in comment 36

Here is the backtrace:

Application: Plasma Workspace (plasma), signal SIGSEGV
0x00007ff4f1791ed1 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 23992)]

Thread 3 (Thread 0x411b5950 (LWP 23993)):
#0  0x00007ff4f21f7d49 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ff4f2466b55 in QWaitCondition::wait (this=0x1ba7580, mutex=0x1ba7578, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:82
#2  0x00007ff4f5a3bde4 in QHostInfoAgent::run (this=0x1ba7560) at kernel/qhostinfo.cpp:241
#3  0x00007ff4f2465f99 in QThreadPrivate::start (arg=0x1ba7560) at thread/qthread_unix.cpp:185
#4  0x00007ff4f21f3fe7 in start_thread () from /lib/libpthread.so.0
#5  0x00007ff4f17c223d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x41f85950 (LWP 23994)):
#0  0x00007ff4f21f7d49 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ff4f2466b55 in QWaitCondition::wait (this=0x1787f80, mutex=0x1787f78, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:82
#2  0x00007ff4d9d9a650 in RenderThread::run (this=0x1787f68) at /home/kde-devel/kde/src/KDE/kdebase/workspace/plasma/wallpapers/image/renderthread.cpp:91
#3  0x00007ff4f2465f99 in QThreadPrivate::start (arg=0x1787f68) at thread/qthread_unix.cpp:185
#4  0x00007ff4f21f3fe7 in start_thread () from /lib/libpthread.so.0
#5  0x00007ff4f17c223d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff4f6dc9760 (LWP 23992)):
[KCrash Handler]
#5  0x00007ff4f33523ec in QGraphicsScenePrivate::itemsAtPosition (this=0x1210f80, screenPos=@0x7ffffef0b440, scenePos=@0x7ffffef0b400, widget=0x1e66060)
    at ../../include/QtCore/../../src/corelib/kernel/qobject.h:438
#6  0x00007ff4f3353aa9 in QGraphicsScenePrivate::dispatchHoverEvent (this=0x1210f80, hoverEvent=0x7ffffef0b490) at graphicsview/qgraphicsscene.cpp:3371
#7  0x00007ff4f335609c in QGraphicsScene::mouseReleaseEvent (this=<value optimized out>, mouseEvent=0x7ffffef0ba40) at graphicsview/qgraphicsscene.cpp:3613
#8  0x00007ff4f3353da0 in QGraphicsScene::event (this=0x124d090, event=0x7ffffef0ba40) at graphicsview/qgraphicsscene.cpp:2966
#9  0x00007ff4f2e490ad in QApplicationPrivate::notify_helper (this=0x116df20, receiver=0x124d090, e=0x7ffffef0ba40) at kernel/qapplication.cpp:3803
#10 0x00007ff4f2e5040e in QApplication::notify (this=0x1158bf0, receiver=0x124d090, e=0x7ffffef0ba40) at kernel/qapplication.cpp:3768
#11 0x00007ff4f53c50eb in KApplication::notify (this=0x1158bf0, receiver=0x124d090, event=0x7ffffef0ba40) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#12 0x00007ff4f2543d90 in QCoreApplication::notifyInternal (this=0x1158bf0, receiver=0x124d090, event=0x7ffffef0ba40) at kernel/qcoreapplication.cpp:583
#13 0x00007ff4f336939a in QGraphicsView::mouseReleaseEvent (this=0x1e66840, event=0x7ffffef0c400) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209
#14 0x00007ff4f2e9bcb4 in QWidget::event (this=0x1e66840, event=0x7ffffef0c400) at kernel/qwidget.cpp:7163
#15 0x00007ff4f336532b in QGraphicsView::viewportEvent (this=0x1e66840, event=0x7ffffef0c400) at graphicsview/qgraphicsview.cpp:2337
#16 0x00007ff4f25437f7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x1e66060, event=0x7ffffef0c400) at kernel/qcoreapplication.cpp:694
#17 0x00007ff4f2e4907c in QApplicationPrivate::notify_helper (this=0x116df20, receiver=0x1e66060, e=0x7ffffef0c400) at kernel/qapplication.cpp:3799
#18 0x00007ff4f2e50c65 in QApplication::notify (this=<value optimized out>, receiver=0x1e66060, e=0x7ffffef0c400) at kernel/qapplication.cpp:3528
#19 0x00007ff4f53c50eb in KApplication::notify (this=0x1158bf0, receiver=0x1e66060, event=0x7ffffef0c400) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#20 0x00007ff4f2543d90 in QCoreApplication::notifyInternal (this=0x1158bf0, receiver=0x1e66060, event=0x7ffffef0c400) at kernel/qcoreapplication.cpp:583
#21 0x00007ff4f2e4ffe2 in QApplicationPrivate::sendMouseEvent (receiver=0x1e66060, event=0x7ffffef0c400, alienWidget=0x1e66060, nativeWidget=0x1e66840, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7ff4f3739450) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:212
#22 0x00007ff4f2eadbec in QETWidget::translateMouseEvent (this=0x1e66840, event=<value optimized out>) at kernel/qapplication_x11.cpp:4044
#23 0x00007ff4f2eacd47 in QApplication::x11ProcessEvent (this=0x78, event=0x7ffffef0ccd0) at kernel/qapplication_x11.cpp:3162
#24 0x00007ff4f2ed1724 in x11EventSourceDispatch (s=0x11714a0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142
#25 0x00007ff4ee8e4aa2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0x00007ff4ee8e821d in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#27 0x00007ff4ee8e83db in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0x00007ff4f256acdf in QEventDispatcherGlib::processEvents (this=0x1112b40, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:319
#29 0x00007ff4f2ed0f7f in QGuiEventDispatcherGlib::processEvents (this=0x7ff4f3727a60, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:198
#30 0x00007ff4f25429c2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -17772608}) at kernel/qeventloop.cpp:143
#31 0x00007ff4f2542b55 in QEventLoop::exec (this=0x7ffffef0d000, flags={i = -17772528}) at kernel/qeventloop.cpp:190
#32 0x00007ff4f25478f7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#33 0x00007ff4f6ab05b3 in kdemain (argc=1, argv=0x7ffffef0d378) at /home/kde-devel/kde/src/KDE/kdebase/workspace/plasma/shells/desktop/main.cpp:58
#34 0x00007ff4f17113f6 in __libc_start_main () from /lib/libc.so.6
#35 0x00000000004007d9 in _start ()

Comment 50 Rob Scheepmaker 2008-12-13 19:14:46 UTC
@Dario, That specific crash was a Qt bug which is solved in qt-copy.
Comment 51 Sebastian Sauer 2008-12-15 20:19:20 UTC
just for the record;
* the patch that fixes it in qt-copy is 0254-fix-qgraphicsproxywidget-deletion-crash.diff
* it should be part of Qt 4.4.4

as addition to my comment #28 following is a better workaround and less java-like :)~

Index: kdebase/workspace/plasma/applets/systemtray/ui/notificationwidget.cpp
===================================================================
--- kdebase/workspace/plasma/applets/systemtray/ui/notificationwidget.cpp   (revision 897269)
+++ kdebase/workspace/plasma/applets/systemtray/ui/notificationwidget.cpp   (working copy)
@@ -145,6 +145,12 @@
     actions.clear();
     actionOrder.clear();

+    if (actionsWidget) {
+        foreach(QGraphicsItem *childitem, actionsWidget->childItems())
+            if (QGraphicsProxyWidget* proxy = dynamic_cast<QGraphicsProxyWidget*>(childitem))
+                proxy->setWidget(0);
+    }
+
     delete actionsWidget;
     actionsWidget = 0;
 }