Runtime error in dar-manager

Richard Gray <[email protected]>
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <CAJeHhNP5-x1vY=JVvE318kbLcwfH7uH4avutqT1ZfAa7LKTc-g@mail.gmail.com>
Hi Denis,

I think I've found a nasty bug in dar_manager...

Firstly, I have created an alias, thus:

alias dar-manager='/usr/bin/dar_manager -B ~/Backups/.dar_manager/dar.dmd'

That saves me having to type the -B command every time I use dar_manager.

Hence, I can now use the command...

~ # dar-manager -@ create-index.dar
---- exception type = [BUG] ----------
[source]
        File dar_manager.cpp line 1302 : it seems to be a bug here
        stack dump :
/usr/lib64/libdar64.so.6000(_ZN6libdar4EbugC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi+0xf2)
[0x7faeeccb77f2]
        stack dump : /usr/bin/dar_manager(+0x17b66) [0x558bbb408b66]
        stack dump : /usr/bin/dar_manager(+0x1a609) [0x558bbb40b609]
        stack dump : /usr/bin/dar_manager(+0x10f65) [0x558bbb401f65]
        stack dump : /usr/bin/dar_manager(+0x106a5) [0x558bbb4016a5]
        stack dump : /lib64/libc.so.6(__libc_start_main+0xee)
[0x7faeec443eea]
        stack dump : /usr/bin/dar_manager(+0x1079a) [0x558bbb40179a]
[most outside call]
-----------------------------------

INTERNAL ERROR, PLEASE REPORT THE PREVIOUS OUTPUT TO MAINTAINER

The create-index file contains...

cat create-index.dar
-A /root/Backups/2019.06.04.02.30/Backup --min-digits=4
-A /root/Backups/2019.06.07.00.39/Backup --min-digits=4
-A /root/Backups/2019.06.07.20.04/Backup --min-digits=4
-A /root/Backups/2019.06.08.00.04/Backup --min-digits=4
-A /root/Backups/2019.06.22.09.48/Backup --min-digits=4
-A /root/Backups/2019.06.24.06.41/Backup --min-digits=4
-A /root/Backups/2019.06.25.00.38/Backup --min-digits=4
-A /root/Backups/2019.06.25.22.02/Backup --min-digits=4
-A /root/Backups/2019.06.27.01.43/Backup --min-digits=4
-A /root/Backups/2019.06.29.02.43/Backup --min-digits=4
-A /root/Backups/2019.06.30.01.44/Backup --min-digits=4
-A /root/Backups/2019.07.02.09.32/Backup --min-digits=4
-A /root/Backups/2019.07.03.03.24/Backup --min-digits=4
-A /root/Backups/2019.07.04.16.53/Backup --min-digits=4
-A /root/Backups/2019.07.06.08.50/Backup --min-digits=4
-A /root/Backups/2019.07.07.01.14/Backup --min-digits=4
-A /root/Backups/2019.07.08.00.20/Backup --min-digits=4
-A /root/Backups/2019.07.09.01.11/Backup --min-digits=4
-A /root/Backups/2019.07.10.00.03/Backup --min-digits=4
-A /root/Backups/2019.07.11.06.39/Backup --min-digits=4
-A /root/Backups/2019.07.14.00.47/Backup --min-digits=4
-A /root/Backups/2019.07.14.23.27/Backup --min-digits=4
-A /root/Backups/2019.07.19.02.58/Backup --min-digits=4
-A /root/Backups/2019.07.26.00.53/Backup --min-digits=4
-A /root/Backups/2019.07.28.00.19/Backup --min-digits=4
-A /root/Backups/2019.07.29.02.03/Backup --min-digits=4
-A /root/Backups/2019.07.29.23.29/Backup --min-digits=4
-A /root/Backups/2019.08.03.22.35/Backup --min-digits=4
-A /root/Backups/2019.08.06.00.37/Backup --min-digits=4

To get around this problem, I created a shell script simply by inserting
dar-manager before each line; but doing it that way is very inefficient,
and it took around an hour to run on my system. The initial empty index
file was created with the following command:-

dar_manager -C dar.dmd -z none

It's not on fire Denis, but I thought you might like to know.

Richard.

_______________________________________________
Dar-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dar-support
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.