[Bug 2106] New: systemload plugin crashes when trying to change bar color.

[email protected] Wed, 2 Aug 2006 07:50:10 +0000 (UTC)
Newsgroups gmane.comp.desktop.xfce.goodies.devel
Message-ID <[email protected]/>
Do NOT reply to this email.  To make further comments on this bug, use
the URL below:
http://bugzilla.xfce.org/show_bug.cgi?id=2106

           Summary: systemload plugin crashes when trying to change bar
                    color.
           Product: Xfce Panel Plugins
           Version: unspecified
          Platform: Macintosh
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: systemload
        AssignedTo: [email protected]
        ReportedBy: [email protected]


User-Agent:       Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.8.0.4)
Gecko/20060608 (Debian-1.8.0.4-2) Epiphany/2.14
Build Identifier: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.8.0.4)
Gecko/20060608 (Debian-1.8.0.4-2) Epiphany/2.14

When one tries to change the bars color in the systemload plugin (xfce4-panel
4.3.90.2, xfce4-systemload-plugin 0.4), the plugin disappears.

.xsession-errors contains:

** (xfce4-panel:3110): CRITICAL **: An item was unexpectedly removed: "System
Load Monitor".

An strace on the running process shows a segmentation fault:

open("/usr/lib/gconv/ISO8859-15.so", O_RDONLY) = 4
read(4, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0\5"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0644, st_size=9544, ...}) = 0
mmap(0xeefd000, 73960, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) =
0xeefd000
mprotect(0xeeff000, 65768, PROT_NONE)   = 0
mmap(0xef0e000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x1000) = 0xef0e000
close(4)                                = 0
mprotect(0xef0e000, 4096, PROT_READ)    = 0
open("/usr/share/locale/en_IE@euro/LC_MESSAGES/atk10.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/share/locale/en@euro/LC_MESSAGES/atk10.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/share/locale/en_IE/LC_MESSAGES/atk10.mo", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/atk10.mo", O_RDONLY) = -1 ENOENT (No
such file or directory)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 22054 detached

I don't really know if I can gdb the running process, currently gdb seems to
detach when I try gdb --pid <PID>

Reproducible: Always

Steps to Reproduce:
1. add systemload plugin to panel
2. try to change a bar color
3.

Actual Results:  
plugin crashes

Expected Results:  
should display a color chooser


-- 
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.