On Wednesday 02 August 2006 02:23, Jo Rhett wrote: > Kern -- I would think that this issue would concern you...?
For the moment, not especially, because my assessment of your previous problems are different from yours. > > How does the director use client-supplied data? You will need to read the code as the answer would require volumes of writing to describe. > Could an insane client cause the director to crash? Anything is possible, but I think it unlikely. There is a good deal of code in all the Bacula daemons that attempt to defend themselves from insane input and to ensure security. Everyone is welcome to review it and provide improvements. > Can this be prevented? I believe (as I briefly indicated to you) that your problem was two fold: principally a problem of SIGPIPE (your hardware problems) which is not a Bacula problem and which Bacula handles quite well. The second problem was when Bacula attempted to write the error message to the working directory, it did not have write permission and thus it seg faulted. It should not seg fault, and there is code to prevent that, so I don't know exactly what did happen, but I have taken note of it. In any case, the root of the problem, IMO, was with the permissions at least in the output that I saw in your bug report. I am very busy at the moment trying to get the 1.39.18 beta release out. > > On Jul 28, 2006, at 4:45 PM, Jo Rhett wrote: > > So I'm quoting from WAY back in the thread because it has relevant > > information. > > > > We found the problem, and it had nothing to do with bacula. (Which > > means that the Director code has a real flaw that can cause > > segfaults.) > > > > The network card being used to back up the server was fried/frying/ > > whatever. It took a long time to figure this out - we weren't > > certain until we used a pci interrupt analyzer, and watched it go > > haywire during a backup. > > > > I don't know what about bacula backups caused this interrupt fload > > but rsync didn't do it. But it was clearly the card going nuts. A > > replacement card solved the problem. > > > > But anyway -- to bring this back to bacula -- so a client goes insane > > and starts sending nonsense to bacula (one assumes). What would make > > the director crash with a segfault? > > > > Sadly, I've now lost my replication ability for this bug... > > > > On Jul 9, 2006, at 11:45 AM, Kern Sibbald wrote: > >> The "Broken pipe" is a network error and is quite common if you are > >> having > >> networking problems. > >> > >> I've never seen the Director silently die as you say. > >> > >> The seg fault, is not good. However, I cannot do anything without > >> the proper > >> kind of information as indicated on the Support page as well as a > >> traceback > >> as described in the Kaboom chapter of the manual. If you have that > >> information (traceback and your system info) and the problem is a > >> seg fault, > >> then please open a bug report in the bugs database. > >> > >> On Sunday 09 July 2006 18:07, Jo Rhett wrote: > >>> * Resending this directly to you, since I've now sent it to the > >>> list 4 > >>> times. > >>> > >>> Okay, this is starting to drive me nuts. I have one system - same > >>> OS, same > >>> installed binary package, everything - that is causing the > >>> director to > >>> crash. I can't for the life of me figure out why. > >>> > >>> bacula logfile shows this: > >>> > >>> backup0-sd: Volume "clients-0001" previously written, moving to > >>> end of > >>> data. > >>> triceratops-fd: Filesystem change prohibited. Will not > >>> descend into > >>> /dev > >>> triceratops-fd: Filesystem change prohibited. Will not > >>> descend into /d > >>> triceratops-fd: Filesystem change prohibited. Will not > >>> descend into > >>> /var > >>> 07-Jul 18:34 triceratops-fd: triceratops.2006-07-07_17.57.19 Fatal > >>> error: > >>> backup.c:500 Network send error to SD. ERR=Broken pipe > >>> 07-Jul 18:34 backup0-dir: triceratops.2006-07-07_17.57.19 Error: > >>> Bacula > >>> 1.38.5 (18Jan06): 07-Jul-2006 18:34:48 > >>> JobId: 9 > >>> Job: triceratops.2006-07-07_17.57.19 > >>> Backup Level: Full > >>> Client: "triceratops-fd" > >>> i386-portbld-freebsd6.0,freebsd,6.0-RELEASE FileSet: > >>> "generic-unix" 2006-07-05 14:49:53 > >>> Pool: "clients_Pool" > >>> Storage: "Disk_clients" > >>> Scheduled time: 07-Jul-2006 17:57:13 > >>> Start time: 07-Jul-2006 17:57:21 > >>> End time: 07-Jul-2006 18:34:48 > >>> Priority: 10 > >>> FD Files Written: 127,760 > >>> SD Files Written: 0 > >>> FD Bytes Written: 673,071,788 > >>> SD Bytes Written: 0 > >>> Rate: 299.5 KB/s > >>> Software Compression: None > >>> Volume name(s): > >>> Volume Session Id: 9 > >>> Volume Session Time: 1152197183 > >>> Last Volume Bytes: 1 > >>> Non-fatal FD errors: 0 > >>> SD Errors: 0 > >>> FD termination status: Error > >>> SD termination status: Running > >>> Termination: *** Backup Error *** > >>> > >>> And shortly after logging this the director will silently die. > >>> I'm very > >>> confused. > >>> > >>> POSTNOTE: I noticed this morning that the error included > >>> > >>> 08-Jul 22:07 backup0-dir: Fatal Error because: Bacula interrupted > >>> by signal > >>> 11: Segmentation violation > >> > >> > >> --------------------------------------------------------------------- > >> - > >> --- > >> Using Tomcat but need to do more? Need to support web services, > >> security? > >> Get stuff done quickly with pre-integrated technology to make your > >> job easier > >> Download IBM WebSphere Application Server v.1.0.1 based on Apache > >> Geronimo > >> http://sel.as-us.falkag.net/sel? > >> cmd=lnk&kid=120709&bid=263057&dat=121642 > >> _______________________________________________ > >> Bacula-users mailing list > >> Bacula-users@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/bacula-users > > > > -- > > Jo Rhett > > senior geek > > Silicon Valley Colocation > > > > > > ---------------------------------------------------------------------- > > --- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to > > share your > > opinions on IT & business topics through brief surveys -- and earn > > cash > > http://www.techsay.com/default.php? > > page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Bacula-users mailing list > > Bacula-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/bacula-users > > -- > Jo Rhett > senior geek > Silicon Valley Colocation > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users