Re: Core dumps from 2.0a18

---------

From: Paul Haldane (Paul.Haldane@newcastle.ac.uk)
Date: Thu Apr 08 1999 - 05:14:28 CDT


The error (I think) is in threadprint.c - a
stray variable left in the arg list of a printf...

Paul

*** src/threadprint.c Thu Apr 8 11:08:44 1999
--- cvs/hypermail/src//threadprint.c Wed Apr 7 15:48:20 1999
***************
*** 89,94 ****
--- 89,95 ----
      fprintf(fp,"<li><A HREF=\"%.4d.%s\">"
              "<STRONG>%s</STRONG></A> "
              "<A NAME=\"%d\"><EM>%s <small>(%s)</small></EM></A>\n",
+ level,
              email->msgnum, set_htmlsuffix,
              subj,
              email->msgnum, email->name, email->datestr);

On 7 Apr 1999 HyperMail_www@associate.com wrote:

> Hi,
>
> HyperMail 2.0a17 and 18 both have a problem generating index files...at least on my Linux system.
> Cores are dumped when any message is sent. Here's info on the core file:
>
> This GDB was configured as "powerpc-unknown-linux-gnulibc1"...
> Core was generated by `/usr/local/bin/hypermail2 -uic /pub/www/html/hypermail.rc -l Test Message -d /p'.
> Program terminated with signal 11, Segmentation fault.
> find_solib: Can't read pathname for load map: I/O error
>
> #0 0x1806e30 in fixthreadheader (dir=0x185f508 "/pub/www/web/", num=1) at parse.c:2466
> 2466 if (rp->next != NULL &&
> (gdb) where
> #0 0x1806e30 in fixthreadheader (dir=0x185f508 "/pub/www/web/", num=1) at parse.c:2466
> #1 0x1802914 in main (argc=0, argv=0x0) at hypermail.c:465
> #2 0x1802914 in main (argc=0, argv=0x0) at hypermail.c:465
> #3 0x1800f7c in _start ()
> (gdb)
>
> ...and here's the hypermail.rc file I'm using:
> Thanks,
>
> Glen_Stewart@associate.com


---------

This archive was generated by hypermail 2.1.5.