user prog sensors seg faults

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi:

* lloyd <millerlf at telus.net> [2006-05-08 07:48:54 -0600]:
> 
> I did a debuging link of sensors and got the exact place where it crashes:
> 
> 
> | Program received signal SIGSEGV, Segmentation fault.
> | 0x000000000041e910 in sensors_read_one_sysfs_chip (dev=0x550230)
> |     at lib/sysfs.c:57
> | 57              if (attr->len >= 11 && !strcmp(attr->value + attr->len 
> - 11,
> 
> 
> (gdb) backtrace
> #0  0x000000000041e910 in sensors_read_one_sysfs_chip (dev=0x550230)
>    at lib/sysfs.c:57
> #1  0x000000000041eb82 in sensors_read_sysfs_chips () at lib/sysfs.c:154
> #2  0x000000000041e609 in sensors_init (input=0x54e6a0) at lib/init.c:45
> #3  0x000000000040210c in main (argc=2, argv=0x7ffffb0a2168)
>    at prog/sensors/main.c:237

Can you set a breakpoint at that line (lib/sysfs.c:57) and tell me what are
the contents of attr->len and attr->value?  Thanks.

> attached is the sensors.conf file generated by sensors-detect
> 
> 
> 
> | > We have a dual Opteron 285 system on a Tyan Tiger K8WE (S2877)
> | > motherboard. The make user ; make user_install went fine. The
> | > sensor-detect script seemed to run ok and the modprobes seemed to work
> | > but the "sensors -s" command segfaults. Is it a 64 bit problem? Using
> | > Suse 10.1 x86_64 beta atm.
> |
> |
> | Which version of lm_sensors is this?
> 
> 2.10.0
> 
> | Which beta is this?
> 
> 10.1 beta 9
> 
> >uname -a
> Linux wsiopt64 2.6.16-8-smp #1 SMP Tue Mar 28 11:00:06 UTC 2006 x86_64 
> x86_64 x86_64 GNU/Linux
> 
> thanks

[sensors.conf snipped]

Regards,

-- 
Mark M. Hoffman
mhoffman at lightlink.com





[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux