Re: SHOULD NOT GET HERE!

Bruno Cornec <[email protected]>
Newsgroups gmane.linux.mondo.devel
Message-ID <[email protected]>
David C. Partridge said on Sat, Dec 17, 2016 at 09:33:59AM +0000:
>First off fix wrong_marker() to allow for the fact the marker_to_string
>result is a static!

You should use the latest source code version, which has wrong_marker using marker_to_string which does dynamic allocation of memory.

>INFO: Skipping data disks on stream
>INFO:     Skipping data disks on stream
>INFO: Skipping data disks on stream
>INFO: Wrong marker! (Should be BLK_START_OF_TAPE, is actually
>BLK_START_AN_AFIO_OR_SLICE)
>INFO: Wrong marker! (Should be BLK_START_OF_BACKUP, is actually
>BLK_START_FILE)
>DBG2: [Main] libmondo-stream.c->openin_tape#866: Saved all.tar.gz to
>'/tmp/mondo.tmp.fkhcSw/tmp/all.tar.gz'
>INFO: Verifying regular archives on tape

IIRC, there has been issues with Verify and tape for quite some time now, and I don't have acess to a tape drive atm to make tests with this and try to fix it.
But at the same time, the restore was working despite that ! I know it's weird, and I don't know what was done to break verify.

>Please let me know what debug information I can gather.  I couldn't find the
>core file :(  I think apport has eaten it (not sure how to stop that).

The best is to run valgrind + log files.
Now, in that case, this is probably an error with the logic of the program, rather than a code error tat valgrind can find :-(

Bruno.
-- 
Open Source Profession, WW Linux Community Lead     http://www.hpintelco.net
HPE EMEA EG FLOSS Technology Strategist http://www.hpe.com/engage/opensource
FLOSS projects:    http://mondorescue.org         http://project-builder.org
Musique ancienne?   http://www.musique-ancienne.org  http://www.medieval.org

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
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.