Bug 162765 - Moving the Trashcan to the Panel makes plasma crash
Summary: Moving the Trashcan to the Panel makes plasma crash
Status: RESOLVED WORKSFORME
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-systemtray (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 162829 163142 163813 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-05-28 20:29 UTC by Arnout Boelens
Modified: 2008-09-09 22:16 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Plasma crash traceback (3.87 KB, application/octet-stream)
2008-08-13 01:08 UTC, Alberto Gonzalez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arnout Boelens 2008-05-28 20:29:35 UTC
Version:           4.00.80 (KDE 4.0.80 >= (KDE 4.1 Beta1) (using 4.00.80 (KDE 4.0.80 >= (KDE 4.1 Beta1), Debian packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.24-1-686

First adding the Trashcan widget to the desktop, and then moving it to the Panel, results in a Plasma crash.
Comment 1 FiNeX 2008-05-28 23:02:28 UTC
Cannot reproduce using trunk r813587.
Comment 2 Arnout Boelens 2008-05-28 23:42:50 UTC
I could be that this is fixed in trunk, but here is the backtrace, just in case:

Application: Plasma Workspace (plasma), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb5559720 (LWP 20717)]
[New Thread 0xb2606b90 (LWP 20719)]
[New Thread 0xb39dab90 (LWP 20718)]
[KCrash handler]
#6  0x01240000 in ?? ()
#7  0xb75c9ff6 in QObject::connect (sender=0x81cc650, 
    signal=0xb2d00e55 "2clientIsEmbedded()", receiver=0x81c8c60, 
    method=0xb2d00b9b "2sizeShouldChange()", type=Qt::AutoConnection)
    at kernel/qobject.cpp:2369
#8  0xb2d00375 in SystemTrayWidget::x11Event (this=0x81c8c60, 
    event=0xbf8de62c)
    at /tmp/buildd/kdebase-workspace-4.0.80/plasma/applets/systemtray/systemtraywidget.cpp:92
#9  0xb6d2569f in QApplication::x11ProcessEvent (this=0x805af30, 
    event=0xbf8de62c) at kernel/qapplication_x11.cpp:3063
#10 0xb6d4dfc4 in x11EventSourceDispatch (s=0x8077ae8, callback=0, 
    user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#11 0xb5990978 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#12 0xb5993bce in ?? () from /usr/lib/libglib-2.0.so.0
#13 0x08076e88 in ?? ()
#14 0x00000000 in ?? ()
#0  0xffffe410 in __kernel_vsyscall ()
Comment 3 Jonathan Thomas 2008-06-02 22:57:22 UTC
I can't reproduce this with KDE 4.1 Beta1, Kubuntu packages.
Comment 4 Pino Toscano 2008-06-03 17:31:01 UTC
*** Bug 163142 has been marked as a duplicate of this bug. ***
Comment 5 Sebastian Sauer 2008-06-03 18:48:35 UTC
Could anybody who's able to reproduce this please attach there /home/kde4/.kde4/share/config/plasma-appletsrc or at least report if probably more then one systray is used and where (panel, desktop, ...) and maybe even what app-trayicons got embedded before. Thans in advance.
Comment 6 Arnout Boelens 2008-06-03 19:41:18 UTC
Here you go:

[ContainmentGlobals][plasma_containment_desktop][DesktopIcons]
alignToGrid=true
showIcons=true

[Containments][1]
backgroundmode=0
formfactor=0
geometry=0,0,1280,800
immutability=1
location=0
locked=false
opacity=1
plugin=desktop
screen=0
selected=
wallpaper=/usr/share/wallpapers/Finally_Summer_in_Germany/contents/images/1024x768.jpg
wallpapercolor=224,223,222
wallpaperposition=2
zvalue=0.007

[Containments][1][Applets][39]
geometry=1015.86564878153,582.188647405752,130.268702436936,140.289371855162
immutability=1
locked=false
opacity=1
plugin=battery
zvalue=286

[Containments][1][Applets][41]
geometry=792.357530823002,583.197216584334,217.284938353998,138.272233497998
immutability=1
locked=false
opacity=1
plugin=digital-clock
zvalue=289

[Containments][1][Applets][45]
geometry=797.069896209626,359.675431367543,96,192
immutability=1
plugin=lockout
zvalue=288

[Containments][1][Applets][46]
geometry=1012.55501254871,291.55501254871,262.88997490258,262.88997490258
immutability=1
plugin=notifier
zvalue=280

[Containments][1][Applets][52]
geometry=1160,589,80,90
immutability=1
plugin=trash
zvalue=283

[Containments][1][Applets][52][Configuration]
filterFiles=*
url=desktop:/

[Containments][1][Applets][53]
geometry=16.7299035369775,9.83756345177667,153.840122634769,277.894238068875
immutability=1
plugin=folderview
zvalue=226

[Containments][1][Applets][53][Configuration]
filterFiles=*
url=desktop:/

[Containments][2]
formfactor=2
geometry=0,-73,1280,67
immutability=1
location=4
locked=false
opacity=1
plugin=panel
screen=0
zvalue=150

[Containments][2][Applets][3]
geometry=0,7,50,60
immutability=1
locked=false
opacity=1
plugin=launcher
zvalue=9

[Containments][2][Applets][4]
geometry=54,7,899,60
immutability=1
locked=false
opacity=1
plugin=tasks
zvalue=0

[Containments][2][Applets][4][Configuration]
showOnlyCurrentDesktop=true

[Containments][2][Applets][5]
geometry=957,7,95,60
immutability=1
locked=false
opacity=1
plugin=pager
zvalue=11

[Containments][2][Applets][5][Configuration]
showWindowIcons=false

[Containments][2][Applets][50]
geometry=1056,7,100,60
immutability=1
plugin=systemtray
zvalue=0

[Containments][2][Applets][51]
geometry=1160,7,120,60
immutability=1
plugin=digital-clock
zvalue=0

[Containments][2][Configuration]
maximumSize=1280,67
minimumSize=1280,67

[Containments][54]
formfactor=0
geometry=1288,0,1280,800
immutability=1
location=0
plugin=desktop
screen=-1
zvalue=0

[General]
immutability=2
locked=true
Comment 7 Sebastian Sauer 2008-06-04 03:14:38 UTC
Thanks for it A.M.P. :) Looks as only one systray is used (I did run into some issues if multiple are used) and seems I cannot reproduce it with my setup + your plasma-appletsrc :-/

But it may the case that bug #163129 and bug #162762 are related.
Comment 8 Jonathan Thomas 2008-06-05 00:52:16 UTC
It seems that initializing Plasma with a custom-ly sized panel that contains a systray applet will cause this crash every time.
Comment 9 Christophe Marin 2008-06-11 22:46:47 UTC
*** Bug 163813 has been marked as a duplicate of this bug. ***
Comment 10 Luke Channings 2008-06-11 23:11:48 UTC
I am running the latest SVN trunk and I can't duplicate this bug.
Comment 11 Aaron J. Seigo 2008-06-16 01:13:07 UTC
seems to work nicely these days..
Comment 12 Sebastian Sauer 2008-06-17 01:11:10 UTC
*** Bug 162829 has been marked as a duplicate of this bug. ***
Comment 13 Sebastian Sauer 2008-06-17 21:24:32 UTC
*** Bug 164320 has been marked as a duplicate of this bug. ***
Comment 14 Alberto Gonzalez 2008-08-13 01:07:11 UTC
Not sure if related to this bug, but placing the trashcan on the panel and moving some files to it crashes plasma here. Not always, but the best way to reproduce it I've found is:

1) Empty trashcan
2) Place trashcan widget in panel
3) log out
4) log in
5) Move some files to the trashcan (bigger files or many files crash it more often, I think).

I'm using 4.1.0. Unfortunately my build doesn't have debugging symbols, but I'll attach the traceback anyway in case it's useful.

If you think it's not related and I should open a new report, let me know.
Comment 15 Alberto Gonzalez 2008-08-13 01:08:36 UTC
Created attachment 26817 [details]
Plasma crash traceback
Comment 16 Johan M 2008-09-09 22:16:15 UTC
I think my plasma crash i related to this bug. I had a TrashCan in the bottom panel when empty the trash can in Dolphin.  After the crash the trash can in the panel is gone.  Sorry, no debug info, this is what I have.