[rrd-users] Re: rrdcgi --filter leads to Segmentation Fault...

Chris Milkosky cmilkosk at comcast.net
Wed Apr 16 13:12:39 MEST 2003


Looks like it was just a version issue.  I tried the latest rrdtool on
RH9, and all was OK!

Thanks!

Chris

-----Original Message-----
From: rrd-users-bounce at list.ee.ethz.ch
[mailto:rrd-users-bounce at list.ee.ethz.ch] On Behalf Of Chris Milkosky
Sent: Monday, April 14, 2003 10:00 PM
To: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] rrdcgi --filter leads to Segmentation Fault...


Hi!  I've got a little problem with rrdcgi...  It appears that since I
moved my rrdtool setup to a new machine I keep get segmentation faults
when running "rrdcgi --filter".  

I was running Redhat 8 then just upgraded to 9 to see if that would
change the situation.  No luck.  The machine itself has very little
hardware in it, and hasn't had problems before with memory, so I'm not
quite so sure what the deal is there...

To see what was going on I ran "strace rrdcgi --filter" and got the
following:

execve("/usr/local/bin/rrdcgi", ["rrdcgi", "--filter"], [/* 28 vars */])
= 0 uname({sys="Linux", node="cjmapps.bayber01.nj.comcast.net", ...}) =
0
brk(0)                                  = 0x8088768
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x40016000
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=114193, ...}) = 0
old_mmap(NULL, 114193, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000
close(3)                                = 0
open("/lib/tls/libm.so.6", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2004\0"...,
512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=211948, ...}) = 0
old_mmap(NULL, 138496, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40033000 old_mmap(0x40054000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x20000) = 0x40054000
close(3)                                = 0
open("/lib/tls/libc.so.6", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`V\1B4\0"...,
512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1531064, ...}) = 0
old_mmap(0x42000000, 1257224, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x42000000 old_mmap(0x4212e000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x12e000) = 0x4212e000 old_mmap(0x42131000,
7944, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0)
= 0x42131000
close(3)                                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x40055000 set_thread_area({entry_number:-1 -> 6,
base_addr:0x40055280, limit:1048575, seg_32bit:1, contents:0,
read_exec_on ly:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0x40017000, 114193)              = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

Anyone have any ideas what could be the cause?  I can't seem to get rid
of it...

Thanks for any input!

Chris

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list