Opened 13 years ago

Closed 11 years ago

Last modified 9 years ago

#61 closed defect (invalid)

Rateup or fedora error?

Reported by: human Owned by: oetiker
Version: 2.x Keywords:
Cc:

Description (last modified by oetiker)

I'm using Fedora 9 x86_64, kernel 2.6.27, mrtg version: 2.16.1-4 The problem is, when mrtg calls:

/usr/bin/rateup /var/lib/mrtg/ cacheservererrors 1229952445 -Z u 0 0 10000000 c #00cc00 #0000ff #006600 #ff00ff l errorssec k 1000 i /var/www/mrtg/cacheservererrors-day.png -10000000 -10000000 400 100 1 1 1 300 0 4 1 %Y-%m-%d %H:%M 0

I see

Segmentation fault

and new chart is not generated. Data from SNMP is correct and logs from mrtg look fine.

[root@front1 mibs]# gdb --args /usr/bin/rateup /var/lib/mrtg/ cacheservererrors 1229952629 -Z u 0 0 10000000 c #00cc00 #0000ff #006600 #ff00ff l errorssec k 1000 i /var/www/mrtg/cacheservererrors-day.png -10000000 -10000000 400 100 1 1 1 300 0 4 1 %Y-%m-%d %H:%M 0
GNU gdb Fedora (6.8-23.fc9)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu"...
(gdb) run
Starting program: /usr/bin/rateup /var/lib/mrtg/ cacheservererrors 1229952629 -Z u 0 0 10000000 c

Program received signal SIGSEGV, Segmentation fault.
0x00007f982b73f829 in __rawmemchr (s=<value optimized out>, c_in=0) at rawmemchr.c:149
149           longword = *longword_ptr++ ^ charmask;
Missing separate debuginfos, use: debuginfo-install expat.x86_64 fontconfig.x86_64 freetype.x86_64 libX11.x86_64 libXau.x86_64 libXdmcp.x86_64 libXpm.x86_64 libjpeg.x86_64 libpng.x86_64 libxcb.x86_64 zlib.x86_64

If it's not enough info, I can install other debuginfos.

Change History (4)

comment:1 Changed 11 years ago by oetiker

  • Description modified (diff)

comment:2 Changed 11 years ago by oetiker

  • Owner changed from somebody to oetiker

please try 2.17.0. If it is still failing, it would be great if you could create a mrtg.cfg file with as little content as neccessary to provoke the problem. cheers tobi

comment:3 Changed 11 years ago by oetiker

  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.
 

NOTE: The content of this website is accessible with any browser. The graphical design though relies completely on CSS2 styles. If you see this text, this means that your browser does not support CSS2. Consider upgrading to a standard conformant browser like Mozilla Firefox or Opera but also Apple's Safari or KDE's Konqueror for example.