Re: Fwd: Re: Amanda 3.5.1 on MacOSX 10.11.6 problems...

Robert Heller <[email protected]> Tue, 27 Aug 2019 10:22:49 -0400 (EDT)
Newsgroups gmane.comp.archivers.amanda.devel
Organization Deepwoods Software
Message-ID <[email protected]>
At Tue, 27 Aug 2019 15:28:56 +0200 Michael Weiser <[email protected]> wrote:

> 
> Hi Robert,
> 
> On Tue, Aug 27, 2019 at 08:16:04AM -0400, Robert Heller wrote:
> 
> > > 
> > > I think I've seen that recently too.  If you can reproduce it
> > > specifically we may jump after it too .. now that I'm getting time.
> > Oh, it is reproducable.  I am now backing up the machine with a simple Tcl 
> > script that implements a Tower of Hanoi sequence.  If I had some way to debug 
> > it (or any advise on how to do that), I'd be willing to help.  Sendbackup, 
> > when run interactively (-t option) works just fine.  It seems that when run 
> > from amandad things go bad.
> 
> There was (or is) a problem with semaphores on macOS which presented
> similarly. See
> https://marc.info/?l=amanda-hackers&m=151899743314645&w=2 for the
> problem description and
> https://marc.info/?l=amanda-hackers&m=151904969226603&w=2 for the fix.
> With this patch applied, amanda 3.5.1 runs fine for me on 10.14. I don't
> think, the patch ever made it into a release.

OK, I applied the patches, recompiled, and I am doing a test run now...

> 
> > > > I am trying to get Amanda working on a MacMini running MacOSX 10.11.6, and I
> > > > am having troubles.  It compiles (I had to make a minor change to the code),
> > > > but fails to run properly.  I am not sure how to debug it and want to know if
> > > > there is any special magic needed to get Amanda to work under MacOSX 10.11.6.
> 
> > > >> But there is a problem with sendbackup: "compress" is is crashing:
> > > >>
> > > >> Tue Aug 13 10:53:32 2019: pid 1284: thd-0x7faffb503400: sendbackup: critical (fatal): error [compress (1286) compress returned 1]
> > > >> 0   libamanda-3.5.1.dylib               0x0000000104d321f0 debug_logging_handler + 528
> > > >> 1   libglib-2.0.0.dylib                 0x0000000104e672ab g_logv + 874
> > > >> 2   libglib-2.0.0.dylib                 0x0000000104e66f2c g_log + 134
> > > >> 3   sendbackup                          0x0000000104ce69d7 parse_backup_messages + 983
> > > >> 4   sendbackup                          0x0000000104ce47ad main + 5389
> > > >> 5   libdyld.dylib                       0x00007fff876fd5ad start + 1
> > > >> 6   ???                                 0x0000000000000005 0x0 + 5
> 

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
[email protected]       -- Webhosting Services