On Fri, 30 Nov 2007 15:20:04 +0100 bardo <ilbardo@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