lm_sensors current CVS on 2.6.0-test10

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

 



> Program received signal SIGSEGV, Segmentation fault.
> 0x009402bc in _int_free () from /lib/tls/libc.so.6
> (gdb) bt
> #0  0x009402bc in _int_free () from /lib/tls/libc.so.6
> #1  0x0093f28b in free () from /lib/tls/libc.so.6
> #2  0x40015618 in free_bus (bus=
>       {number = -1, adapter = 0x8065330 "\231\006\bmain adapter",
>       algorithm = 0x40019746 "ISA bus algorithm", lineno =
>       1073795018}) at lib/init.c:98
> #3  0x40015553 in sensors_cleanup () at lib/init.c:78
> #4  0x0804936c in main (argc=1, argv=0xbffff944) at
> #prog/sensors/main.c:237

I could reproduce the bug and fix. It was caused by sysfs algorithm
labels being filled statically, while the same labels are dynamically
allocated with procfs. Calling free on the labels would crash sensors in
the first case, of course.

You can check an up-to-date version from CVS, should work :)

Thanks for the report.

-- 
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/



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

  Powered by Linux