Menu

#2257 gather: UnixProcess plugins occasionally crashes

Stability
pending-fixed
5
2011-10-18
2011-08-24
No

metricUnixProcess plugin uses the auto allocation extension of fscanf when reading in strings. This worked out of the box on olders distros, but appears to break on newer platforms with out _GNU_SOURCE explicitly defined.

Discussion

  • Tyrel Datwyler

    Tyrel Datwyler - 2011-08-24

    Patch attached.

    Committed to CVS Head.

     
  • Tyrel Datwyler

    Tyrel Datwyler - 2011-08-24
    • status: open --> pending-fixed
     
  • Tyrel Datwyler

    Tyrel Datwyler - 2011-09-21

    Re-opening. Need to review the existing code and probably move away from the buffer auto-allocation extension provided in scanf.

     
  • Tyrel Datwyler

    Tyrel Datwyler - 2011-09-21
    • summary: gather: gcc extensions not available on new distros --> gather: UnixProcess plugins occasionally crashes
    • status: pending-fixed --> open-rejected
     
  • Tyrel Datwyler

    Tyrel Datwyler - 2011-09-22

    Rolled committed patch back out of CVS.

     
  • Tyrel Datwyler

    Tyrel Datwyler - 2011-10-18

    Statically allocate resname and procname buffers

     
  • Tyrel Datwyler

    Tyrel Datwyler - 2011-10-18
    • status: open-rejected --> pending-fixed
     
  • Tyrel Datwyler

    Tyrel Datwyler - 2011-10-18

    Patch attached.

    Committed to CVS Head

     

Log in to post a comment.