! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
systemload plugin crashes when trying to change bar color.
Status:
RESOLVED: FIXED
Product:
Xfce4-systemload-plugin
Component:
General

Comments

Description Yves-Alexis Perez editbugs 2006-08-02 07:50:09 CEST
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
Comment 1 Yves-Alexis Perez editbugs 2006-08-02 08:43:33 CEST
Here is a backtrace from gdb. I guess the "no symbol times available" means I should install some packages with debugging symbols of gtk ?

Program received signal SIGSEGV, Segmentation fault.
0x0f600130 in g_type_check_instance_cast () from /usr/lib/libgobject-2.0.so.0
(gdb) bt full
#0  0x0f600130 in g_type_check_instance_cast ()
   from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#1  0x100040a4 in ?? ()
No symbol table info available.
#2  0x0f5ee0b0 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#3  0x0f5dd38c in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#4  0x0f5f1954 in g_signal_chain_from_overridden ()
   from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#5  0x0f5f2c5c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#6  0x0f5f2e2c in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#7  0x0fc48f80 in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#8  0x0fc4b3a4 in _gtk_button_set_depressed ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#9  0x0fc4b3a4 in _gtk_button_set_depressed ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#10 0x0fc4b3a4 in _gtk_button_set_depressed ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#11 0x0fc4b3a4 in _gtk_button_set_depressed ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#12 0x0fc4b3a4 in _gtk_button_set_depressed ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#13 0x0fc4b3a4 in _gtk_button_set_depressed ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#14 0x0fc4b3a4 in _gtk_button_set_depressed ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#15 0x0fc4b3a4 in _gtk_button_set_depressed ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#16 0x0fc4b3a4 in _gtk_button_set_depressed ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#17 0x0fc4b3a4 in _gtk_button_set_depressed ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#18 0x0fc4b3a4 in _gtk_button_set_depressed ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#19 0x0fc4b3a4 in _gtk_button_set_depressed ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#20 0x0fc4b3a4 in _gtk_button_set_depressed ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#21 0x0fc4b3a4 in _gtk_button_set_depressed ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#22 0x0fc4b3a4 in _gtk_button_set_depressed ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#23 0x0fc4b3a4 in _gtk_button_set_depressed ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#24 0x0fc4b3a4 in _gtk_button_set_depressed ()
   from /usr/lib/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#25 0x0fc4b3a4 in _gtk_button_set_depressed ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#26 0x0fc4b3a4 in _gtk_button_set_depressed ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#27 0x0fc4b3a4 in _gtk_button_set_depressed ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#28 0x0fc4b3a4 in _gtk_button_set_depressed ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#29 0x0fc4b3a4 in _gtk_button_set_depressed ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#30 0x0fc4b3a4 in _gtk_button_set_depressed ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#31 0x0fc4b3a4 in _gtk_button_set_depressed ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#32 0x0fc4b3a4 in _gtk_button_set_depressed ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#33 0x0fc4b3a4 in _gtk_button_set_depressed ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#34 0x0fc4b3a4 in _gtk_button_set_depressed ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
Previous frame inner to this frame (corrupt stack?)
Comment 2 Yves-Alexis Perez editbugs 2006-08-02 09:17:04 CEST
Created attachment 699 
Stacktrace with gtk debuggin symbols

Backtrace from xfce4-systemload plugin with debugging symbols.
Comment 3 Jasper Huijsmans editbugs 2006-08-16 09:57:25 CEST
*** Bug 2108 has been marked as a duplicate of this bug. ***
Comment 4 Jasper Huijsmans editbugs 2006-08-16 10:21:15 CEST
Created attachment 739 
Fix crash when changing bar color.

A pointer to the properties dialog was not initialized properly.
Comment 5 Jasper Huijsmans editbugs 2006-08-16 13:35:39 CEST
Ok, committed in SVN revision 1905. If you could try this patch, or update from SVN, that would be helpful.
Comment 6 Jasper Huijsmans editbugs 2006-08-16 13:38:42 CEST
(In reply to comment #5)
> Ok, committed in SVN revision 1905. If you could try this patch, or update from
> SVN, that would be helpful.
> 

Oops, sorry, that's revision 1906.
Comment 7 Yves-Alexis Perez editbugs 2006-08-16 13:44:23 CEST
It works with patch applied. Thank you :)

Bug #2106

Reported by:
Yves-Alexis Perez
Reported on: 2006-08-02
Last modified on: 2010-10-14
Duplicates (1):
  • 2108 Systemload-plugin crash when changing color

People

Assignee:
Xfce-Goodies Maintainers
CC List:
2 users

Version

Version:
unspecified
Target Milestone:
0.4.2 or older

Attachments

Stacktrace with gtk debuggin symbols (39.25 KB, text/plain)
2006-08-02 09:17 CEST , Yves-Alexis Perez
no flags
Fix crash when changing bar color. (636 bytes, patch)
2006-08-16 10:21 CEST , Jasper Huijsmans
no flags

Additional information