On 15 Sep 2007 at 4:59, Marc Schiffbauer wrote:

> Hi,
> 
> I have a problem with one of my SD's.
> 
> Since upgrade from 2.0.3 to 2.2.3 it is always segfaulting when a
> job starts to use it.

I suggest upgrading to 2.2.4 released today, and check the release 
notes (see announce mailing list) for possible bug fixes related to 
this issue.

If you are getting .core files, try supplying the output of this:

# gdb bacula-sd bacula-sd.core
backtrace

FWIW, we've been working on a core of bacula-sd the past couple of 
days.

> 
> -> SD startup
> -> job starts
> -> Tape is being requestet
> -> mount
> -> SD positions tape
> -> kaboom
> 
> 
> Device status:
> Device "DLT8000" (/dev/nst0) is not open.
>     Device is BLOCKED waiting for mount of volume "Tape_12",
>        Pool:        Default
>        Media type:  DLT-IV
> ====
> 
> In Use Volume status:
> Tape_12 on device "DLT8000" (/dev/nst0)
>     Reader=0 writers=0 reserved=1
> ====
> 
> ====
> mount storage=lisa-sd
> 3001 OK mount. Device="DLT8000" (/dev/nst0)
> 15-Sep 04:09 lisa-sd: Ready to append to end of Volume "Tape_12" at file=52.
> 15-Sep 04:12 lisa-sd: Job write elapsed time = 00:02:56, Transfer rate = 
> 4.149 M bytes/second
> 15-Sep 04:12 lisa-sd: Sending spooled attrs to the Director.  Despooling 
> 25,139 bytes ...
> 15-Sep 04:12 lisa-dir: lisa-ImportantData.2007-09-15_03.23.10 Error:
> Bacula lisa-dir 2.2.3 (09Sep07): 15-Sep-2007 04:12:57
>   Build OS:               i386-pc-linux-gnu debian 3.1
>   JobId:                  525
>   Job:                    lisa-ImportantData.2007-09-15_03.23.10
>   Backup Level:           Incremental, since=2007-09-14 03:06:16
>   Client:                 "lisa-fd" 2.2.3 (09Sep07)
> i386-pc-linux-gnu,debian,3.1
>   FileSet:                "lisa ImportantData FileSet" 2007-03-29
> 13:23:26
>   Pool:                   "Default" (From Job resource)
>   Storage:                "lisa-sd" (From command line)
>   Scheduled time:         15-Sep-2007 03:22:44
>   Start time:             15-Sep-2007 03:58:10
>   End time:               15-Sep-2007 04:12:57
>   Elapsed time:           14 mins 47 secs
>   Priority:               10
>   FD Files Written:       98
>   SD Files Written:       0
>   FD Bytes Written:       730,370,516 (730.3 MB)
>   SD Bytes Written:       0 (0 B)
>   Rate:                   823.4 KB/s
>   Software Compression:   None
>   VSS:                    no
>   Encryption:             no
>   Volume name(s):         Tape_12
>   Volume Session Id:      1
>   Volume Session Time:    1189819221
>   Last Volume Bytes:      39,001,374,720 (39.00 GB)
>   Non-fatal FD errors:    0
>   SD Errors:              0
>   FD termination status:  OK
>   SD termination status:  Error
>   Termination:            *** Backup Error ***
> 
> => Then on stdout/stderr:
> 
> Kaboom! bacula-sd, lisa-sd got signal 11 - Segmentation violation.
> Attempting traceback.
> Kaboom! exepath=/usr/sbin/
> Calling: /usr/sbin/btraceback /usr/sbin/bacula-sd 9140
> Traceback complete, attempting cleanup ...
> Orphaned buffer:  lisa-sd    528 bytes buf=80cd248 allocated at jcr.c:255
> Orphaned buffer:  lisa-sd    272 bytes buf=80d6738 allocated at jcr.c:253
> Orphaned buffer:  lisa-sd    528 bytes buf=80eb818 allocated at bnet.c:674
> Orphaned buffer:  lisa-sd    528 bytes buf=80eba48 allocated at bnet.c:673
> Orphaned buffer:  lisa-sd    128 bytes buf=80ec130 allocated at bnet.c:667
> Orphaned buffer:  lisa-sd      7 bytes buf=80daa58 allocated at bnet.c:675
> Orphaned buffer:  lisa-sd     12 bytes buf=80dace8 allocated at bnet.c:676
> Orphaned buffer:  lisa-sd      8 bytes buf=80ec1d0 allocated at workq.c:167
> Orphaned buffer:  lisa-sd     16 bytes buf=80ec1f8 allocated at jcr.c:247
> Orphaned buffer:  lisa-sd     24 bytes buf=80d88a8 allocated at dircmd.c:185
> Orphaned buffer:  lisa-sd    146 bytes buf=80dbfa8 allocated at job.c:114
> Orphaned buffer:  lisa-sd    146 bytes buf=80dc058 allocated at job.c:117
> Orphaned buffer:  lisa-sd    146 bytes buf=80dc108 allocated at job.c:120
> Orphaned buffer:  lisa-sd    146 bytes buf=80dc1b8 allocated at job.c:128
> Orphaned buffer:  lisa-sd     40 bytes buf=80dc2c0 allocated at job.c:140
> Orphaned buffer:  lisa-sd     24 bytes buf=80daa80 allocated at reserve.c:583
> Orphaned buffer:  lisa-sd     40 bytes buf=80dc550 allocated at alist.c:53
> Orphaned buffer:  lisa-sd     24 bytes buf=80dc598 allocated at reserve.c:606
> Orphaned buffer:  lisa-sd      8 bytes buf=80dc5d0 allocated at reserve.c:621
> Orphaned buffer:  lisa-sd     40 bytes buf=80dc5f8 allocated at alist.c:53
> Orphaned buffer:  lisa-sd    528 bytes buf=80dcda0 allocated at bnet.c:674
> Orphaned buffer:  lisa-sd    128 bytes buf=80dcd00 allocated at bnet.c:667
> Orphaned buffer:  lisa-sd      7 bytes buf=80dcb90 allocated at bnet.c:675
> Orphaned buffer:  lisa-sd     12 bytes buf=80dcb60 allocated at bnet.c:676
> Orphaned buffer:  lisa-sd  65652 bytes buf=80fc180 allocated at bsock.c:583
> 
> 
> Any hints what to do now? I never had such segfaults before. Its
> since the upgrade to 2.2.3.


-- 
Dan Langille - http://www.langille.org/
Available for hire: http://www.freebsddiary.org/dan_langille.php



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to