Amanda-Users

Re: Amanda 2.4.4b1 fails on Linux

2003-02-20 13:59:11
Subject: Re: Amanda 2.4.4b1 fails on Linux
From: Chris Marble <cmarble AT odin.ac.hmc DOT edu>
To: martinea AT IRO.UMontreal DOT CA (Jean-Louis Martineau)
Date: Thu, 20 Feb 2003 09:29:17 -0800 (PST)
Jean-Louis Martineau wrote:
> 
> Could you send a backtrace?
> In gdb, type 'where' after the Segmentation fault.
> 
> Could you also try to run amcheck with the MALLOC_CHECK_ variable set.
> For more details on it, see the man page for malloc.
> 
> export MALLOC_CHECK_=2

[9:23am] operator@Chris (~): setenv MALLOC_CHECK_ 2
[9:24am] operator@Chris (~): amcheck -c hmcis
Abort
[9:24am] operator@Chris (~): gdb amcheck
GNU gdb 19991004
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(gdb) run -c hmcis
Starting program: /usr/local/pkg/amanda/sbin/amcheck -c hmcis

Program received signal SIGABRT, Aborted.
0x400d1d21 in __kill () from /lib/libc.so.6
(gdb) where
#0  0x400d1d21 in __kill () from /lib/libc.so.6
#1  0x400d1996 in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x400d30b8 in abort () at ../sysdeps/generic/abort.c:88
#3  0x4010ee83 in free_check (mem=0x40028a23, caller=0x4003c3c5)
    at malloc.c:4520
#4  0x4010cf17 in __libc_free (mem=0x40028a23) at malloc.c:2991
#5  0x4003c3c5 in debug_newstralloc (s=0x40028a18 "conffile.c", l=2318, 
    oldstr=0x40028a23 "", newstr=0x4002cf00 "ruffy") at alloc.c:366
#6  0x4001eaf7 in get_simple (var=0x4002cb3c, seen=0x4002ce30, type=STRING)
    at conffile.c:2318
#7  0x4001c3b9 in read_confline () at conffile.c:1068
#8  0x4001bc15 in read_conffile_recursively (
    filename=0x8053658 
"/usr/local/pkg/amanda-2.4.4b1/etc/amanda/hmcis/amanda.conf") at conffile.c:884
#9  0x4001a9d0 in read_conffile (
    filename=0x8053658 
"/usr/local/pkg/amanda-2.4.4b1/etc/amanda/hmcis/amanda.conf") at conffile.c:339
#10 0x804a1ef in main (argc=1, argv=0xbffffadc) at amcheck.c:210


[9:25am] operator@Chris (~): unsetenv MALLOC_CHECK_
[9:25am] operator@Chris (~): amcheck -c hmcis
Segmentation fault
[9:25am] operator@Chris (~): gdb amcheck
GNU gdb 19991004
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(gdb) run -c hmcis
Starting program: /usr/local/pkg/amanda/sbin/amcheck -c hmcis

Program received signal SIGSEGV, Segmentation fault.
chunk_free (ar_ptr=0x464c457f, p=0x40028a1b) at malloc.c:3049
3049    malloc.c: No such file or directory.
(gdb) where
#0  chunk_free (ar_ptr=0x464c457f, p=0x40028a1b) at malloc.c:3049
#1  0x4010cf9a in __libc_free (mem=0x40028a23) at malloc.c:3023
#2  0x4003c3c5 in debug_newstralloc (s=0x40028a18 "conffile.c", l=2318, 
    oldstr=0x40028a23 "", newstr=0x4002cf00 "ruffy") at alloc.c:366
#3  0x4001eaf7 in get_simple (var=0x4002cb3c, seen=0x4002ce30, type=STRING)
    at conffile.c:2318
#4  0x4001c3b9 in read_confline () at conffile.c:1068
#5  0x4001bc15 in read_conffile_recursively (
    filename=0x80535a0 
"/usr/local/pkg/amanda-2.4.4b1/etc/amanda/hmcis/amanda.conf") at conffile.c:884
#6  0x4001a9d0 in read_conffile (
    filename=0x80535a0 
"/usr/local/pkg/amanda-2.4.4b1/etc/amanda/hmcis/amanda.conf") at conffile.c:339
#7  0x804a1ef in main (argc=1, argv=0xbffffaec) at amcheck.c:210



Does this say it's looking at my amanda.conf file and blowing up?
When I tried installing 2.4.4b1 on the server I first went with my
classic cmanda.conf file.  Then I took the latest example file and
started putting my customizations in it.  It's running with the
latter file now.
-- 
  Chris_Marble AT hmc DOT edu - HMC UNIX Systems Manager

<Prev in Thread] Current Thread [Next in Thread>