Xref: utzoo comp.mail.sendmail:3323 alt.sys.sun:4119 Newsgroups: comp.mail.sendmail,alt.sys.sun Path: utzoo!utgpu!watserv1!watmath!gamiddle From: gamiddle@watmath.waterloo.edu (Guy Middleton) Subject: sendmail frozen config and Sun shared libraries Message-ID: <1991Jun4.173143.29157@watmath.waterloo.edu> Organization: Yoyodyne Propulsion Systems Date: Tue, 4 Jun 1991 17:31:43 GMT Lines: 27 I just installed a new sendmail (5.65+IDA from DECWRL), and encountered the strangest bug. On a Sun, SunOS 4.1: % sendmail -bz # create frozen config file % unlimit stacksize % mail somebody@some.where.edu % Who are you? # getpwuid(getuid()) in conf.c fails even better: % unlimit stacksize % sendmail -bz % limit stacksize 8192 % mail somebody@some.where.edu /usr/lib/sendmail: 8164 Memory fault % All of this works fine on other systems, and on a Sun if I compile without shared libraries (using cc -Bstatic). There is obviously some trick to saving the data segment of a dynamically-linked program (as is done by sendmail -bz). Does anybody know what it is? -Guy Middleton, University of Waterloo gamiddleton@watmath.waterloo.edu (+1 519 885 1211 x3472) gamiddleton@watmath.uwaterloo.ca