[aur-general] Help needed with the xsensors package

JJDaNiMoTh jjdanimoth at gmail.com
Sat Dec 1 04:53:36 EST 2007


On Fri, 30 Nov 2007 15:20:04 +0100
bardo <ilbardo at gmail.com> wrote:

> Hi guys.
> I'm asking for a little help with xsensors. I'm trying to make it work
> with the new lm_sensors: there's a patch and it fixes compilation
> errors, but I can only get a segfault when I run the program.

Hi bardo, I try debugging and I found that errors aren't related to gtk code.
The main problem is when current->next (line 476 of gui.c) point to 0x00 
(is null). Then , the sigsegv is caused on line 502, by 
switch ( current->feattype ), because current is null. I insert some control,
now I can't receive sigsegv anymore, but I think that the program doesn't run
properly.
The controls that I've insert are like if ( current != NULL ) { ... }.
If you want to see proof-of-concept patch, conctact me in pvt, I think
that we're annoying the readers :D

> I can't get beyond this: gtk is not in my knowledge base, and the
> function just looks ok to me.
> Can anybody help me? Attached you can find the PKGBUILD.
> 
> Thanks,
> Corrado
> 


-- 
JJDaNiMoTh - ArchLinux Trusted User
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/aur-general/attachments/20071201/394d17a2/attachment.pgp>


More information about the aur-general mailing list