I have sent you the debug trace. Let me know if I can provide further information. Kind Regards Andreas Sebastian Sura schrieb am Mittwoch, 28. Mai 2025 um 09:45:20 UTC+2:
> Thanks for that traceback. Something really weird is happening. It looks > like the fd tries to decrypt your encrypted backup, and it thinks it > succeeds, but it actually went wrong. > > Could you redo the restore, but with debug tracing enabled ? I.e. do > > setdebug client=<clientname> level=500 trace=1 > before the restore. > This command should print a filename where the debug messages will be > stored. It would be great if you could send this file to me (after the > filedaemon crashed). > > I created an internal issue to track this as there is clearly something > going wrong here. > > Kind Regards > Sebastian Sura > > Am 27.05.25 um 13:23 schrieb 'Andreas R' via bareos-users: > > Thank you for looking into this matter. > Here is the debug report. > > Best Regards, > Andreas > > Sebastian Sura schrieb am Dienstag, 27. Mai 2025 um 10:07:07 UTC+2: > >> Thanks for the crash report. This looks very weird. I have not seen >> this kind of crash before. >> Would it be possible for you to install the debug packages and recreate >> the crash ? >> >> See here on how to install the debug symbol packages: >> https://docs.bareos.org/Appendix/Debugging.html#installing-debug-symbols-packages >> >> Kind Regards >> Sebastian Sura >> Am 26.05.25 um 16:42 schrieb 'Andreas R' via bareos-users: >> >> Hi Sebastian, >> >> thank you for your reply. >> I have attached both files. >> >> Kind Regards, >> Andreas >> >> Sebastian Sura schrieb am Montag, 26. Mai 2025 um 14:38:07 UTC+2: >> >>> Hi Andreas, >>> >>> you attached the `.bactrace` file that the fd created. It would be very >>> helpful if you could also send us the `.traceback` file that was created >>> during the crash, as that file contains the stacktrace. >>> Without it we would have to guess were the problem occured. >>> >>> As this problem occured on a restore, could you >>> >>> 1) check if this is reproducable, and if so, >>> 2) send us the bootstrap record file of that restore job ? >>> >>> If you give the restore command the option `bootstrap=<path>`, then >>> bareos will write the bsr file to that path and will not delete it. >>> >>> Kind Regards >>> Sebastian Sura >>> Am 26.05.25 um 12:23 schrieb 'Andreas R' via bareos-users: >>> >>> Hi, >>> >>> I have trouble restoring from tape. Jobs start as expected, but at some >>> point during the restore, the filedaemon is killed with signal 11. >>> >>> *restore jobid=213438 client=prestore01-fd all done yes >>> >>> May 23 05:16:57 prestore01 bareos-fd[30717]: bareos-fd, prestore01-fd >>> got signal 11 - Segmentation violation. Attempting traceback. >>> May 23 05:16:57 prestore01 bareos-fd[30717]: exepath=/usr/sbin/ >>> May 23 05:16:57 prestore01 bareos-fd[30717]: BAREOS interrupted by >>> signal 11: Segmentation violation >>> May 23 05:16:57 prestore01 bareos-fd[30917]: Calling: >>> /usr/sbin/btraceback /usr/sbin/bareos-fd 30717 /var/lib/bareos >>> May 23 05:16:57 prestore01 bareos-fd[30924]: bsmtp: tools/bsmtp.cc:455-0 >>> Failed to connect to mailhost localhost >>> May 23 05:16:57 prestore01 bareos-fd[30717]: The btraceback call >>> returned 1 >>> May 23 05:16:57 prestore01 bareos-fd[30717]: Dumping: >>> /var/lib/bareos/prestore01-fd.30717.bactrace >>> >>> cat /var/lib/bareos/prestore01-fd.30717.bactrace >>> Attempt to dump current JCRs. njcrs=1 >>> threadid=0x00007f399fdfe6c0 JobId=213439 JobStatus=R jcr=0x7f3998047ec0 >>> name=RestoreFiles.2025-05-23_10.16.37_28 >>> threadid=0x00007f399fdfe6c0 killable=1 JobId=213439 JobStatus=R >>> jcr=0x7f3998047ec0 name=RestoreFiles.2025-05-23_10.16.37_28 >>> UseCount=1 >>> JobType=R JobLevel= >>> sched_time=23-May-2025 05:16 start_time=23-May-2025 05:16 >>> end_time=31-Dec-1969 18:00 wait_time=31-Dec-1969 18:00 >>> db=(nil) db_batch=(nil) batch_started=0 >>> >>> Steps to reproduce: >>> 1. Full backup to disk >>> 2. Copy to tape via next pool >>> 3. Restore from disk is ok >>> 4. Restore from tape is not ok >>> >>> What I tried without success so far: >>> - Deleted the jobs from tape and copied them again >>> The error occourred after the same amount of restored files >>> - Tried a different Tape >>> - Tried other fd versions. 22(debian), 23(suse) and 24(suse) >>> - Changed the blocksize to 512 in the sd >>> - Disabled compression and rerun everything >>> >>> Client { >>> Name = prestore01-fd >>> #Maximum Concurrent Jobs = 20 >>> FDport = 9102 >>> PKI Signatures = Yes >>> PKI Encryption = Yes >>> PKI Keypair = "/etc/bareos/master.pem" >>> PKI Master Key = "/etc/bareos/prestore01.cert" >>> PkiCipher = AES256 >>> } >>> >>> Pool { >>> Name = Full >>> Pool Type = Backup >>> Recycle = Yes >>> Volume Retention = 12 months >>> Maximum Volumes = 125 >>> Maximum Volume Bytes = 125G >>> Next Pool = "TapeFull" >>> Label Format = "Full-" >>> Storage = LocalStorage >>> } >>> >>> Pool { >>> Name = TapeFull >>> Pool Type = Backup >>> Recycle = Yes >>> Volume Retention = 13 month >>> Storage = TL1000 >>> Cleaning Prefix = CLN >>> } >>> >>> Job { >>> Name = CopyFull2Tape >>> JobDefs = "CycleJob" >>> Type = Copy >>> Selection Type = PoolUncopiedJobs >>> Level = Full >>> Pool = Full >>> Messages = Standard >>> Client = pbackup01-fd >>> FileSet = "SuseBase" >>> Storage = "LocalStorage" >>> Schedule = "CopyFull2Tape" >>> } >>> >>> System Info: >>> Bareos: 24.0.4~pre0.1014be830-74 >>> OS: openSUSE Leap 15.6 >>> Catalog: Postgresql >>> Tape: LTO8 >>> >>> Thanks in advance -- >>> You received this message because you are subscribed to the Google >>> Groups "bareos-users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion visit >>> https://groups.google.com/d/msgid/bareos-users/08776ca6-2a98-4901-a228-524922713a9en%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/bareos-users/08776ca6-2a98-4901-a228-524922713a9en%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >>> -- >>> Sebastian Sura [email protected] >>> Bareos GmbH & Co. KG Phone: +49 221 630693-0 >>> https://www.bareos.com >>> Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646 >>> Komplementär: Bareos Verwaltungs-GmbH >>> Geschäftsführer: Stephan Dühr, Jörg Steffens, Philipp Storz >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "bareos-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> >> To view this discussion visit >> https://groups.google.com/d/msgid/bareos-users/93ba060d-c6bf-46e4-8679-874fbc7e6754n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/bareos-users/93ba060d-c6bf-46e4-8679-874fbc7e6754n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> -- >> Sebastian Sura [email protected] >> Bareos GmbH & Co. KG Phone: +49 221 630693-0 >> https://www.bareos.com >> Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646 >> Komplementär: Bareos Verwaltungs-GmbH >> Geschäftsführer: Stephan Dühr, Jörg Steffens, Philipp Storz >> >> -- > You received this message because you are subscribed to the Google Groups > "bareos-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > > To view this discussion visit > https://groups.google.com/d/msgid/bareos-users/f0156028-ac9f-4930-91a6-b5b59c45b59bn%40googlegroups.com > > <https://groups.google.com/d/msgid/bareos-users/f0156028-ac9f-4930-91a6-b5b59c45b59bn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > -- > Sebastian Sura [email protected] > Bareos GmbH & Co. KG Phone: +49 221 630693-0 > https://www.bareos.com > Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646 > Komplementär: Bareos Verwaltungs-GmbH > Geschäftsführer: Stephan Dühr, Jörg Steffens, Philipp Storz > > -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/bareos-users/c7d2965e-c03f-497c-8c64-d7e4997ec8fan%40googlegroups.com.
