Bug#535568: lxpanel: Segfaults randomly in cpu.so plugin

2009-09-15 Thread Marcin Szewczyk
Andrew Lee wrote: > Thank you very much for the patch. I am a bit busy now. I'd test it > ASAP. If there is no problem, I'd included it in next upload. > > BTW, the latest version of lxpanel is in experimental. If you are > interested, please test it and report bugs. :) Roger that. Sorry for the

Bug#535568: lxpanel: Segfaults randomly in cpu.so plugin

2009-09-15 Thread Andrew Lee
Hi Marcin, Thank you very much for the patch. I am a bit busy now. I'd test it ASAP. If there is no problem, I'd included it in next upload. BTW, the latest version of lxpanel is in experimental. If you are interested, please test it and report bugs. :) Cheers, -Andrew -- To UNSUBSCRIBE, em

Bug#535568: lxpanel: Segfaults randomly in cpu.so plugin

2009-09-15 Thread Marcin Szewczyk
I had some time to debug. An explanation and a patch included. Explanation: in cpu.c in cpu_update() there is a loop with a condition: i < (c->Wwg - BORDER_SIZE) The SEGFAULT appears when a problem with GTK widget allocation occurs. As the GTK documentation[1] states: "gtk_widget_set_size_request

Bug#535568: lxpanel: Segfaults randomly in cpu.so plugin

2009-09-15 Thread Marcin Szewczyk
I had some time to debug. An explanation and a patch included. Explanation: in cpu.c in cpu_update() there is a loop with a condition: i < (c->Wwg - BORDER_SIZE) The SEGFAULT appears when a problem with GTK widget allocation occurs. As the GTK documentation[1] states: "gtk_widget_set_size_request

Bug#535568: lxpanel: Segfaults randomly in cpu.so plugin

2009-07-03 Thread Marcin Szewczyk, Wodny
Package: lxpanel Version: 0.4.1+svn20090524-1 Severity: normal Lxpanel segfaults randomly in cpu.so plugin during its startup. Some output from $gdb lxpanel: ** (lxpanel:5042): DEBUG: cache file_name = /home/wodny/.cache/menus/8ee9cbaa190888694876f62889f53d6f lxpanel : X error: BadAlloc (insuff