I think you should try 2.4.5p1.  This code is broken in 2.4.5.

In 2.4.5, read_diskfile() returns pointer to static variable and it is
set to diskqp which
is being referenced in the crash.

It is fixed in 2.5.0b1.

Thanks,
Paddy


On 1/3/06, Wayne Johnson <[EMAIL PROTECTED]> wrote:
> Found the debug packages for FC4...
>
>  Traceback I'm seeing is:
>
>  Program received signal SIGSEGV, Segmentation fault.
>  diskloop (argc=4, argv=0xbfb2bb94, cmdname=0x804f04c "force",
> func=0x8049bf1 <force_one>)
>      at amadmin.c:329
>  329         for(dp = diskqp->head; dp != NULL; dp = dp->next) {
>  (gdb) where
>  #0  diskloop (argc=4, argv=0xbfb2bb94, cmdname=0x804f04c "force",
> func=0x8049bf1 <force_one>)
>      at amadmin.c:329
>  #1  0x08049bef in force (argc=65, argv=0x41) at amadmin.c:374
>  #2  0x0804dc1e in main (argc=4, argv=0xbfb2bb94) at amadmin.c:164
>  #3  0x0028ed5f in __libc_start_main () from /lib/libc.so.6
>  #4  0x08049501 in _start ()
>
>  It looks like diskqp->head is corrupted...
>  (gdb) print diskqp->head
>  Attempt to extract a component of a value that is not a structure pointer.
>
>  I'd try installing the newer release, but this machine is destined to be a
> production server and I'm not sure I want to put development level code on
> there.
>
>  If necessary, I could build from scratch, but that would take me a while to
> figure out.
>
>  Advice?
>
> Paddy Sreenivasan <[EMAIL PROTECTED]> wrote:
>  Can you try 2.4.5p1?
>
> http://rpmfind.net//linux/RPM/fedora/devel/i386/amanda-2.4.5p1-2.1.i386.html
>
> Paddy
>
> On 1/3/06, Wayne Johnson wrote:
> > The rpms are fresh from the FC4 yum repository.
> >
> > The rpm header says 2.4.5-2 and an amadmin version shows build:
> > VERSION="Amanda-2.4.5"
> >
> > Maybe the FC folks need to pick up a new patch level?
> >
> > Paddy Sreenivasan wrote:
> > Are you using amanda rpms from FC4 distribution? Is it Amanda 2.4.5? or
> > 2.4.5p1
> > rpms?
> >
> > Can you see if debuginfo rpms are available for Amanda? If they are
> > available,
> > you can install them to get gdb symbols. You need not reproduce the
> problem.
> >
> > Paddy
> >
> > On 1/3/06, Wayne Johnson wrote:
> > > I've just installed Amanda on a new Fedora Core 4 system. All seems to
> be
> > > working except that when I attempt to do an amadmin force host disk, I
> get
> > a
> > > segmentation fault. I have it configured for a VTAPE system.
> > >
> > > Unfortunatly the FC4 binaries appear to be stripped, so gdb does not
> give
> > > much for a stack trace.
> > >
> > > Any suggestions?
> > >
> > >
> > > ---
> > > Wayne Johnson, | There are two kinds of people: Those
> > > 3943 Penn Ave. N. | who say to God, "Thy will be done,"
> > > Minneapolis, MN 55412-1908 | and those to whom God says, "All right,
> > > (612) 522-7003 | then, have it your way." --C.S. Lewis
> > >
> > > ________________________________
> > > Yahoo! for Good - Make a difference this year.
> >
> >
> > --
> >
> > Amanda documentation: http://wiki.zmanda.com
> > Amanda forums: http://forums.zmanda.com
> >
> >
> >
> > ---
> >
> > Wayne Johnson, | There are two kinds of people: Those
> > 3943 Penn Ave. N. | who say to God, "Thy will be done,"
> > Minneapolis, MN 55412-1908 | and those to whom God says, "All right,
> > (612) 522-7003 | then, have it your way." --C.S. Lewis
> >
> > ________________________________
> > Yahoo! DSL Something to write home about. Just $16.99/mo. or less
> >
> >
>
>
> --
>
> Amanda documentation: http://wiki.zmanda.com
> Amanda forums: http://forums.zmanda.com
>
>
>
> ---
>
> Wayne Johnson, | There are two kinds of people: Those
> 3943 Penn Ave. N. | who say to God, "Thy will be done,"
> Minneapolis, MN 55412-1908 | and those to whom God says, "All right,
> (612) 522-7003 | then, have it your way." --C.S. Lewis
>
>  ________________________________
> Yahoo! Photos
>  Ring in the New Year with Photo Calendars. Add photos, events, holidays,
> whatever.
>
>


--

Amanda documentation: http://wiki.zmanda.com
Amanda forums: http://forums.zmanda.com

Reply via email to