Bug 167771 - [patch] net-mgmt/mrtg fix rateup's coredump
Summary: [patch] net-mgmt/mrtg fix rateup's coredump
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Michael Scheidell
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-10 11:50 UTC by Alexey V. Panfilov
Modified: 2012-05-11 20:23 UTC (History)
0 users

See Also:


Attachments
file.diff (931 bytes, patch)
2012-05-10 11:50 UTC, Alexey V. Panfilov
no flags Details | Diff
mrtg_diff.txt (1.46 KB, text/plain; charset=KOI8-R)
2012-05-10 11:57 UTC, Alexey V. Panfilov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey V. Panfilov 2012-05-10 11:50:10 UTC
Reported via private mail:

"problem appeared after 2.16.4,1 => 2.17.4,7, my log is flooded by
every run with:
kernel: pid 90528 (rateup), uid 0: exited on signal 11 (core dumped)

a tipical KMG setting is kMG[whatever]: ,M,G,

when I comment this line rateup conlcudes without error

funny is, the graph is still updated, so seems rateup dies after doing
it's job"

Fix: Apply diff (between 2.17.4 release and current):
http://oss.oetiker.ch/mrtg-trac/changeset?reponame=&new=402@trunk%2Fsrc%2Fsrc%2Frateup.c&old=397@trunk%2Fsrc%2Fsrc%2Frateup.c

Patch attached with submission follows:
How-To-Repeat: Compose config with option kMG.
Comment 1 Alexey V. Panfilov 2012-05-10 11:57:22 UTC
Forgot add PORTREVISION to Makefile

--
Simple Lehisnoe ;-)
Comment 2 Michael Scheidell freebsd_committer 2012-05-11 20:09:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->scheidell

I'll take it.
Comment 3 Michael Scheidell freebsd_committer 2012-05-11 20:23:43 UTC
State Changed
From-To: open->closed

Committed, minor change: used standardized name for patch-src__rateup.c. 
Thanks!