Question on rrdtool dump

"Martin, Stefan (IT.N)" <[email protected]>
Newsgroups gmane.comp.db.rrdtool.user
Message-ID <06445A5A66A34A4E905DECE30C67F851378F92B3@LV-MX-22203.LV.ads.niedersachsen.de>
Hello,

i compiled rrdtool on aix 7.1 with gcc. I run rrdtool dump in order check the files gmond generated.
That command generates a core file. Truss shows me the following system calls:
23986386: 23658713: __loadx(0x01480080, 0x2FF21370, 0x00000A50, 0x2FF21ED0, 0x00000000) = 0xD0542128
23986386: 23658713: kopen("/var/lib/ganglia/rrds/__SummaryInfo__/swap_free.rrd", O_RDONLY) = 3
23986386: 23658713: fstatx(3, 0x2FF220F8, 76, 0)                = 0
23986386: 23658713: mmap(0x00000000, 1260920, PROT_READ, MAP_FILE|MAP_VARIABLE|MAP_PRIVATE, 3, 0) = 0xB0000000
23986386: 23658713: madvise(0xB0000000, 1260920, 1)     = 0
23986386: 23658713: kioctl(1, 22528, 0x00000000, 0x00000000) = 0
23986386: 23658713: kwrite(1, " < ? x m l   v e r s i o".., 39) = 39
23986386: 23658713: kwrite(1, " < ! D O C T Y P E   r r".., 66) = 66
23986386: 23658713: kwrite(1, " < ! - -   R o u n d   R".., 35) = 35
23986386: 23658713: kwrite(1, " < r r d >\n", 6)                = 6
23986386: 23658713: kwrite(1, "\t < v e r s i o n > 0 0".., 25) = 25
23986386: 23658713: kwrite(1, "\t < s t e p > 1 5 < / s".., 34) = 34
23986386:     Received signal #11, SIGSEGV [default]
23986386: *** process killed ***

And dbx will show me this information:
[email protected] # dbx /opt/freeware/rrdtool-1.5.3/bin/rrdtool core
Type 'help' for help.
[using memory image in core]
reading symbolic information ...warning: no source compiled with -g


Segmentation fault in fmtstr at 0xd1faf54c ($t1)
0xd1faf54c (fmtstr+0x18) 89460000         lbz   r10,0x0(r6)
(dbx) where
fmtstr(??, ??, ??, ??, ??, ??, ??) at 0xd1faf54c
rrd_vsnprintf(??, ??, ??, ??) at 0xd1fb0dc4
rrd_snprintf(??, ??, ??) at 0xd1fb11f0
rrd_dump_cb_r(??, ??, ??, ??) at 0xd1fb1814
rrd_dump_opt_r(??, ??, ??) at 0xd1fb34c8
rrd_dump(??, ??) at 0xd1fb37b8
HandleInputLine(??, ??, ??) at 0x10001524
main(??, ??) at 0x10001d2c
(dbx) registers
  $r0:0x2ff221dc  $stkp:0x2ff22010   $toc:0xf10cf018    $r3:0x2ff22347
  $r4:0x2ff22048    $r5:0x00000100    $r6:0x55c1f02c    $r7:0x00000000
  $r8:0xffffffff    $r9:0x00000000   $r10:0x00000020   $r11:0x00000001
$r12:0x00000000   $r13:0x7fffffff   $r14:0x2ff22048   $r15:0x2ff22248
$r16:0x2ff221f8   $r17:0xdeadbeef   $r18:0x2ff22347   $r19:0x00000000
$r20:0x00000000   $r21:0x00000000   $r22:0x2ff221dc   $r23:0x00000100
$r24:0x2ff22347   $r25:0xd224084e   $r26:0x2ff2221c   $r27:0x3000d758
$r28:0x00000001   $r29:0x00000022   $r30:0xf06b6cd0   $r31:0xffffffff
$iar:0xd1faf54c   $msr:0x0000d032    $cr:0x42228048  $link:0xd1fb0dc8
$ctr:0xd1fb0d98   $xer:0x00000022
          Condition status = 0:g 1:e 2:e 3:e 4:l 6:g 7:l
        [unset $noflregs to view floating point registers]
        [unset $novregs to view vector registers]
        [unset $novsregs to view vector scalar registers]
in fmtstr at 0xd1faf54c ($t1)
0xd1faf54c (fmtstr+0x18) 89460000         lbz   r10,0x0(r6)
(dbx)


Mit freundlichen Grüßen
Im Auftrag

Stefan Martin

IT.Niedersachsen
- Fachgebiet 34 - Unix und Linux Server -
Göttinger Chaussee 259
30459 Hannover
Telefon: 0511 9898-7067
E-Mail: [email protected]<mailto:[email protected]>
Internet: www.it.niedersachsen.de<http://www.it.niedersachsen.de/>
! Achtung: Neue E-Mail-Adresse und Internet-Adresse!

_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.