[Goodies-dev] genmon-plugin not working on OpenBSD

Landry Breuil landry at fr.homeunix.org
Fri Aug 4 23:55:49 CEST 2006


Jasper Huijsmans wrote:
> Landry wrote:
>> Hello list,
>>
>> I've successfully built genmon-plugin-svn (running xfce-svn), but when i 
>> add it to the panel, it immediately disappears (i can't configure it), 
>> and i get this in ~/.xsession-errors :
>>
> ...
>> Any idea for this crash ?
> 
>  > 168         if (!(*argv)) {
> 
> Maybe argv is NULL? Changing this to '(!argv || !(*argv))' might help.
I've tried this, but as the plugin is _not_ configured when this code is 
  called, it crashes because argv points to somewhere it shouldn't.
(gdb) p *argv
Cannot access memory at address 0x807dc000

To make a workaround, i commented the crashing call to SetTimer() in 
genmon_construct() at the end of main.c . Now i'm presented the 
configuration window !! Sweeeet ! Got to figure how to make it monitor 
my temperatures and cpu speed :)
Dunno if it's a permanent fix to apply, as it seems to work with Linux...

As Julien Devemy rewritten/taken maintainership over this plugin, i'd 
like to have its point of view about it..

Landry



More information about the Goodies-dev mailing list