Bugs - bin extraction, date related core dump

From: Henry Houh <hhh_at_wasabi.lcs.mit.edu_at_hypermail-project.org>
Date: Thu, 17 Dec 1998 12:32:29 -0500
Message-Id: <199812171732.MAA12459_at_wasabi.lcs.mit.edu>

Hi,

I am using Hypermail v2b3 in batch mode where I run it nightly (as opposed to incrementally on every message). Before I look into the following bugs, I thought I'd ask if anyone else has seen/fixed them. I've looked through the todo list and the mailing list archives for the past few months and can't find any mention.

The first is that every night when I run hypermail, it re-extracts all attached binaries into a new file. So, while not with binxxxx files (as reported in the list previously), it replicates messages. For example, someone had attached the file "seshan.ppt." The first time you run it, it extracts the file correctly. The second time it is run, it creates an identical file "aseshan.ppt", the third time "bseshan.ppt" and on and on. All these new files are orphaned (no links to them), as the first message was written only once with the correct filename.

The second problem appears to be with header parsing the date field. For some reason, it doesn't extract the date correctly. I have attached a stack trace and a sample header.

If no one has looked into these yet, I will volunteer.

Thanks,

Henry Houh


(gdb) run -m ~/htdocs/ietf/dhc/dhc.9801 -d ~/htdocs/ietf/dhc/www/1998.01 -p -l "DHC WG Mailing List 1998/01 Archive" -a "http://www.sds.lcs.mit.edu/ietf/dhc/" -b "http://www.sds.lcs.mit.edu/ietf/dhc/" Starting program: /home/wasabi/hhh/ftp/hypermail/hypermail -m ~/htdocs/ietf/dhc/dhc.9801 -d ~/htdocs/ietf/dhc/www/1998.01 -p -l "DHC WG Mailing List 1998/01 Archive" -a "http://www.sds.lcs.mit.edu/ietf/dhc/" -b "http://www.sds.lcs.mit.edu/ietf/dhc/" Creating directory "/home/wasabi/hhh/htdocs/ietf/dhc/www/1998.01", mode 755. Date: [ÉCA]

Program received signal SIGSEGV, Segmentation fault. 0x804f7eb in getyearsecs (shortdate=0xbfffc7c8 "\a") at date.c:197 (gdb) printf "%s\n", shortdate
_at_
(gdb)backtrace
#0 0x804f7eb in getyearsecs (shortdate=0xbfffc7c8 "\a") at date.c:197
#1 0x804f86c in convtoyearsecs (date=0xbfffd4c8 "\220C\006\b\037A")

    at date.c:220
#2 0x804f0c9 in addheader (hp=0x0, num=0,

    name=0xbfffe0b8 "Mustafa Buyukalpelli",     subject=0xbfffde18 "NT DHCP problem", date=0xbfffd4c8 "\220C\006\b\037A",     sorttype=2) at struct.c:447
#3 0x804dc2d in loadheaders (

    mbox=0xbffff170 "/home/wasabi/hhh/htdocs/ietf/dhc/dhc.9801", use_stdin=0,     readone=0, dir=0xbfffe970 "/home/wasabi/hhh/htdocs/ietf/dhc/www/1998.01")     at parse.c:1682
#4 0x8050bd6 in main (argc=12, argv=0xbffff594) at hypermail.c:439
#5 0x8048d9e in ___crt_dummy__ ()

(gdb)

>From Mustafa.Buyukalpelli_at_ege.edu.tr Fri Jan 2 10:17:56 1998 Received: from marge.bucknell.edu by reef.bucknell.edu with SMTP

        (5.65/IDA-1.2.8) id AA23538; Fri, 2 Jan 1998 10:17:56 -0500 Received: from baum02.ege.edu.tr (baum02.ege.edu.tr [155.223.2.2])

	by mail.bucknell.edu (8.8.8/8.8.8) with SMTP id KAA11290
	for <dhcp-v4_at_bucknell.edu>; Fri, 2 Jan 1998 10:17:53 -0500 (EST)
Received: from ege.edu.tr ([155.223.1.17]) by baum02.ege.edu.tr (8.6.12/8.6.12) with ESMTP id RAA07559 for <dhcp-v4_at_bucknell.edu>; Fri, 2 Jan 1998 17:30:55 +0300 Message-Id: <34AD05CD.91002B86_at_ege.edu.tr> Date: Fri, 02 Jan 1998 17:20:45 +0200
From: Mustafa Buyukalpelli <Mustafa.Buyukalpelli_at_ege.edu.tr> X-Mailer: Mozilla 4.04 [en] (Win95; I)
Mime-Version: 1.0
To: dhcp-v4_at_bucknell.edu
Subject: NT DHCP problem
Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit

First my network:

        
                 
               Fddi bridge---fddi bridge------Router    
Received on Thu 17 Dec 1998 07:36:30 PM GMT

This archive was generated by hypermail 2.3.0 : Sat 13 Mar 2010 03:46:11 AM GMT GMT