procinfo segfaults

Bug #217624 reported by Jussi Saarinen
6
Affects Status Importance Assigned to Milestone
procinfo (Debian)
Fix Released
Unknown
procinfo (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: procinfo

Running procinfo in my 64bit Hardy causes segfault

Tags: 64bit procinfo
Revision history for this message
Jussi Saarinen (jms) wrote :
Revision history for this message
Jussi Saarinen (jms) wrote :
Revision history for this message
Peter Nelson (peter+launchpad) wrote :

This is because procinfo.c limits the read of the intr line is /proc/stat to 1024 characters, but on recent systems the line is longer than this. Not enough IRQ entries are allocated and an overflow occurs.

The patch below doubles the limit and also understands PCI-MSI-edge interrupts.

Revision history for this message
Peter Nelson (peter+launchpad) wrote :

The previous patch and some lsdev improvements are listed at http://fuzzle.org/procinfo/

Revision history for this message
David Futcher (bobbo) wrote :

Confirming due to confirmed Debian bug.

Changed in procinfo:
status: New → Confirmed
Changed in procinfo:
status: Unknown → Fix Released
Revision history for this message
David Futcher (bobbo) wrote :

This will be fixed when Bug #264735 is synced.

Changed in procinfo:
status: Confirmed → In Progress
Revision history for this message
Colin Watson (cjwatson) wrote :

procinfo (1:2.0.217-1) unstable; urgency=low

  * New upstream release
    + kernel 2.6.24 added another column (actually, 2 columns) to /proc/stat,
      and the position of cpuTotals in the vector was expected to be fixed
      (Closes: #496023)

 -- Giuseppe Iuculano <email address hidden> Fri, 22 Aug 2008 09:44:56 +0200

procinfo (1:2.0.208-1) unstable; urgency=low

  * New Upstream release (Closes: #492780), this is the new procinfo-ng
    (Closes: #492780)
    This version fixes:
    + 32-bit wraparound (Closes: #285880)
    + Times do not display on Alpha (Closes: #391420)
    + reports gcc [can't parse] (Closes: #402620)
    + Reports out by 10x; disk duplicated (Closes: #355623)
    + garbles numbers on AMD64 (Closes: #379592)
    + segfaults at fresh amd64 etch install (Closes: #421924)
    + displays improper amount of context switches (Closes: #99827)
    + shows non-existent disks (Closes: #99828)
    + procinfo misses the second hard drive (Closes: #265131)
    + unable to parse GCC version with GCC 3.3. (Closes: #247039)
  * New maintainer, thanks to Antonio Jos▒ Calder▒n for the prior work on
    procinfo
  * Bump epoch

 -- Giuseppe Iuculano <email address hidden> Wed, 20 Aug 2008 09:45:06 +0200

Changed in procinfo:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.