On Tue, 25 Sep 2001 14:04:11 +0200 (CEST) Volker Apelt <[EMAIL PROTECTED]> wrote:
> Hello,
>
> amreport creates huge report file which eat up the entire disk space if
> allowed. This will keep the mailed reports failing, too.
>
> Version 2.4.2 and 2.4.2p2 on SuSE 7.2 (suse supplied and self made
> version)
#### amanda.conf
with bug:
columnspec \ all on one line
"HostName=1:10,Disk=1:17,DumpTime=1:-1,Level=1:-1,OrigKB=1:-1,OutKB=1:-1,TapeRate=1:-1"
without bug:
columnspec
"HostName=1:10,Disk=1:17,DumpTime=1:-1,Level=1:-1,OrigKB=1:-1,OutKB=1:-1,TapeRate=1:7"
####
Additional information: from a gdb session i got:
line 1130 hangs: fprintf(mailf, "%*s", h, "");
h is huge !
(gdb) ba
#0 0x4018ff44 in write () from /lib/libc.so.6
#1 0x401e0828 in __DTOR_END__ () from /lib/libc.so.6
#2 0x40138ff9 in new_do_write () from /lib/libc.so.6
#3 0x401381ba in _IO_new_file_overflow () from /lib/libc.so.6
#4 0x4013888c in _IO_new_file_xsputn () from /lib/libc.so.6
#5 0x401307da in _IO_padn () from /lib/libc.so.6
#6 0x4011a128 in vfprintf () from /lib/libc.so.6
#7 0x40121627 in fprintf () from /lib/libc.so.6
#8 0x804bf9a in output_summary () at reporter.c:1130
#9 0x804a78d in main (argc=4, argv=0xbffff750) at reporter.c:664
#10 0x400e5c6f in __libc_start_main () from /lib/libc.so.6
(gdb) .. up until 8 is reached
#8 0x804bf9a in output_summary () at reporter.c:1130
1130 in reporter.c
(gdb) print h
$1 = 2147483645
(gdb) print wTape
$2 = 7
(gdb) print ts
No symbol "ts" in current context.
(gdb) print TapeTime
$3 = 8
(gdb) print TapeRate
$4 = 9
--
Volker Apelt volker_apelt .@. yahoo.de (remove the dots, please)
Dipl. Chem. +49 6172 31126