Your message dated Tue, 14 Oct 2008 18:44:11 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#502219: procinfo: Segfaults with large number of
interrupts.
has caused the Debian Bug report #502219,
regarding procinfo: Segfaults with large number of interrupts.
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
502219: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502219
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: procinfo
Version: 18-1
Severity: important
When running on a modern server with many interrupts, procinfo
segfaults.
I have one MSI interrupt which is assigned number 1269. This causes
/proc/stat to have a very long 'intr' line since it has to show that
many interrupts. procinfo assumed that no line in /proc/stat would ever
exceed 1024 characters, so when it reads the line it only reads part of
it, and as a result ends up thinking there are only about 500 interrupts
in the system, so later when it tries to print the value for interrupt
1269, it segfaults.
The simplest fix is to increase the size of 'line' on procinfo.c:80 to
something much larger, I tried 102400 instead of 1024 and it works fine,
although perhaps a better algorithm could be determined.
With the current size, it will always segfault on a machine like this
one. This appears to also affect procinfo in Lenny. Of course on most
machines it will work fine since most have a much lower number as their
highest interrupt.
-- System Information:
Debian Release: 4.0
APT prefers proposed-updates
APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: i386 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.24-etchnhalf.1-amd64
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages procinfo depends on:
ii libc6 2.3.6.ds1-13etch7 GNU C Library: Shared libraries
ii libncurses5 5.5-5 Shared libraries for terminal hand
ii perl 5.8.8-7etch3 Larry Wall's Practical Extraction
procinfo recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: procinfo
Source-Version: 1:2.0.208-1
I believe that the bug you reported is fixed in the latest version of
procinfo.
Len Sorensen ha scritto:
> This appears to also affect procinfo in Lenny. Of course on most
> machines it will work fine since most have a much lower number as their
> highest interrupt.
Unfortunately release team rejected my freeze exception request.
Giuseppe Iuculano.
signature.asc
Description: OpenPGP digital signature
--- End Message ---