oetiker / rrdtool-1.x

RRDtool 1.x - Round Robin Database
http://www.rrdtool.org
GNU General Public License v2.0
999 stars 263 forks source link

rrdtool restore --> Segmentation fault auf AIX #339

Open oetiker opened 11 years ago

oetiker commented 11 years ago

{{{

rpm -qa | grep rrd

rrdtool-1.4.7-1 Quelle: www.perzl.org

oslevel -s

7100-01-03-1207

}}}

Schritt 1:

{{{ $ rrdtool dump cpu_used.rrd cpuu.xml }}}

Schritt 2:

{{{ $ rrdtool restore cpuu.xml cpu1.rrd Segmentation fault (core dumped) }}}

--> dbx

{{{

dbx /usr/bin/rrdtool core

Type 'help' for help. [using memory image in core] reading symbolic information ...warning: no source compiled with -g

Segmentation fault in glink.fflush at 0xd2a87ac8 ($t1) 0xd2a87ac8 (fflush+0x30) 800c0000 lwz r0,0x0(r12) (dbx) where glink.fflush() at 0xd2a87ac8 __xmlParserInputBufferCreateFilename() at 0xd2a4fe38 xmlParserInputBufferCreateFilename() at 0xd2a5076c xmlNewTextReaderFilename() at 0xd2afbe44 parse_file() at 0xd3dce4e0 rrd_restore() at 0xd3dd0b90 .() at 0x10001074 .() at 0x10000808

}}}

Schritt 2b:

{{{ $ rrdtool_64 restore cpuu.xml cpu1.rrd Illegal instruction (core dumped) }}}

--> dbx

{{{

dbx /usr/bin/rrdtool_64 core

Type 'help' for help. [using memory image in core] reading symbolic information ...

Illegal instruction (illegal opcode) in . at 0x7c ($t1) warning: Unable to access address 0x7c from core (dbx) where .() at 0x7c __xmlParserInputBufferCreateFilename() at 0x900000003cf7684 xmlParserInputBufferCreateFilename() at 0x900000003cf80e4 xmlNewTextReaderFilename() at 0x900000003db0114 parse_file() at 0x9000000039abf28 rrd_restore() at 0x9000000039aea74 .() at 0x100001224 .() at 0x10000089c }}}

oetiker commented 11 years ago

[oetiker] googling for segfault and glink.fflush would indicate that this is some AIX specific issue ... have a look!