Article View: comp.mail.sendmail
Article #2791Re: Sendmail 5.59 on HP-UX
From: Allyn Fratkin
Date: Wed, 07 Sep 1988 18:23
Date: Wed, 07 Sep 1988 18:23
21 lines
1459 bytes
1459 bytes
In article <3077@hermes.ai.mit.edu>, wisner@altdorf.AI.MIT.EDU (Bill Wisner) writes:
> When I run sendmail -bz, sendmail silently exits. This makes it seem
> like the freeze was successful, but when a later sendmail tries to read
> the frozen configuration it says "No local mailer defined" and dies
> with a segmentation error.
to fix the problem, remove the word "static" from the declaration
of SymTab on or about line 38 of stab.c.
this is due to a difference in the way arrays declared "static" are
handled by the different (berkeley vs. system v) compilers. system v
compilers put static data into the data section of the code file
while static data goes into bss under berkeley. sendmail's freeze/thaw
routines work by writing out and later restoring only the bss and
dynamically allocated sections of the executing image. so the SymTab
wasn't saved and it was empty in the new core image.
--
From the virtual mind of Allyn Fratkin allyn%hpsdlx@sde.hp.com
San Diego Division - or -
Hewlett-Packard Company uunet!ucsd!hp-sdd!allyn
Technical Details
Message-ID:
<1488@hp-sdd.HP.COM>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!rutgers!ucsd!ucsdhub!hp-sdd!allynReferences:
<3077@hermes.ai.mit.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!rutgers!ucsd!ucsdhub!hp-sdd!allyn From: allyn@hp-sdd.hp.com (Allyn Fratkin) Newsgroups: comp.mail.sendmail Subject: Re: Sendmail 5.59 on HP-UX Message-ID: <1488@hp-sdd.HP.COM> Date: 7 Sep 88 18:23:07 GMT References: <3077@hermes.ai.mit.edu> Sender: netnews@hp-sdd.HP.COM Lines: 21