Just testing tux; tuxstat always crashes for me. # gdb /usr/sbin/tuxstat (gdb) run Starting program: /usr/sbin/tuxstat Program received signal SIGSEGV, Segmentation fault. 0x004ca1d7 in rawmemchr () from /lib/tls/libc.so.6 (gdb) where #0 0x004ca1d7 in rawmemchr () from /lib/tls/libc.so.6 #1 0x085c9613 in ?? () #2 0x004be200 in _IO_str_init_static_internal () from /lib/tls/libc.so.6 #3 0x004b19e7 in vsscanf () from /lib/tls/libc.so.6 #4 0x004ac8ad in sscanf () from /lib/tls/libc.so.6 #5 0x080486a2 in main (argc=1, argv=0x85c9613) at tuxstat.c:79 (gdb) sscanf(tmp, "%i\n%n", &objectname_len, &parsed_chars); at which point tmp = buf + 61 and len = 61 i.e. the sscanf is reading past the end of the read() dat. I'll attach my /proc/net/tux/stat.
Created attachment 94324 [details] /proc/net/tux/stat
*** Bug 107057 has been marked as a duplicate of this bug. ***