[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: zmailer-2.99-42 /SPARC /Solaris smtp dumps core




> Hello all,
> 
> zmailer-2.99-42 persists in segfaulting and dropping core for smtp
> on a SPARC:

	Oops.  Forgot to clear one part of the "SmtpState" structure.
	Diff here:  (I did test things with verbose logging on, of course..)


--- transports/smtp/smtp.c~	Sun Nov 24 16:59:01 1996
+++ transports/smtp/smtp.c	Tue Nov 26 14:08:23 1996
@@ -364,6 +364,7 @@
 	SS.smtpfp	 = NULL;
 	SS.pipebuf       = NULL;
 	SS.pipecmds	 = NULL;
+	SS.verboselog    = NULL;
 
 	for (i = 0; i < argc; ++i)
 	  eocmdline += strlen(argv[i]) + 1;

....
> Just earlier on I discovered that smtp insists on looking in:
> 
> 	/var/spool/postoffice/transport

	No it does not, however see what the  .gdbinit  in the
	source directory contains...  (You do see it when debugging
	with the gdb, don't you ?)

...
> There are still sections of the new configure which really still don't do 
> the "right" thing perhaps ( for instance, binaries get thrown into 
> /usr/local/bin unless '--with-prefix=/zmailer' or some other location is
> explicitly specified - my thinking on this is that they should go to 
> $MAILBIN as SiteConfig requests that they should... ).

	The  SiteConfig  is autogenerated from the configuration,
	thus it too has  MAILBIN  set from the configure params.
	It does follow, what the  --prefix=  -parameter contains.

> Any ideas appreciated.
> 
> back to 2.99-31 for now.
> 
> Cheers,
> --
> James S. MacKinnon           Office: P-139 Avahd-Bhatia Physics Lab
> University of Alberta        email : Jim.MacKinnon@Phys.UAlberta.CA

	/Matti Aarnio <mea@nic.funet.fi>