debugging a "Segmentation fault".

Jaime Ventura <[email protected]>
Newsgroups gmane.comp.db.rrdtool.devel
Message-ID <[email protected]>
Hello,
    I have a rrd file that was migrated (via dump and restore) from
64bit to 32bit, using the latest version of rrdtool.
    The migration occurred without errors, but when getting data from
the 32bit file, rrdtool ends with a "Segmentation fault".
    The rrd file is 1.2GB. (the dump is 12GB)
    Im sending to this list, because I was trying debug this, but I'm
lacking some experience with rrdtool internals.
   
    Going through the code, I've rediscovered where the segmentation
fault is done.
   
    Apparently, the call to function rrd_read on line 450 of
rrd_fetch.c, tries to write onto an area beyond the allocated area.
    Before any further debug, is there any way to assure that the
restored rrd file inst corrupted?
   

    ( The rrd file compressed is only 1.8MB, so I can sent it if you wish)
    Thanks

Jaime
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.