[comp.sys.next] Sendmail binary

cattelan@umn-cs.CS.UMN.EDU (Russell Cattelan) (08/09/89)

We are having trouble with ower sendmail binary
every time it is run it comes back with a bus error

I ran it through gdb and this is what I get 

I don't know what other information might be usefull 
but see what you can come up with.


Script started on Tue Aug  8 00:02:07 1989
jeckle-=>gdb sendmail
GDB 9i0.83, Copyright (C) 1988 Free Software Foundation, Inc.
There is ABSOLUTELY NO WARRANTY for GDB; type "info warranty" for details.
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "info copying" to see the conditions.
Reading symbol data from /home/staff/cattelan/tmp/sendmail...done.
Type "help" for a list of commands.
(gdb) run
Starting program: /home/staff/cattelan/tmp/sendmail 

Program generated: Memory access exception on address 0x11 (protection failure).
0x290ea in ?? ()
(gdb) backtrace
#0  0x290ea in ?? ()
#1  0x675c in ?? ()
#2  0x6790 in ?? ()
#3  0x653e in ?? ()
#4  0x4f8e in ?? ()
#5  0x3ffa in ?? ()
(gdb) quit
The program is running.  Quit anyway? (y or n) y
jeckle-=>exit
jeckle-=>

script done on Tue Aug  8 00:02:35 1989

the only thing that does not give a bus error is

sendmail -C/etc/sendmail/sendmail.cf 

which I don't understand because shouldn't sendmail be useing this
config file already

<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<> :-{             :-\<>  Russell Cattelan       University of Minnesota    <>
<>    :-}       :-`)  <>  cattelan@umn-cs.cs.umn.edu                        <>
<>       :-) :-(      <>  {...!rutgers!umn-cs!cattelan}                     <>
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>

dls@mentor.cc.purdue.edu (David L Stevens) (08/09/89)

	If you've frozen the configuration file (a sendmail.fc exists), that's
your problem. NeXT/Mach doesn't implement brk(2) (or sbrk(2), I forget which)
and sendmail uses it for the frozen configuration file processing.
	Deleting the .fc file and never running "sendmail -bz" will keep it
happy (if that's the problem).
-- 
					+-DLS  (dls@mentor.cc.purdue.edu)