Thanks to Harald Volz and Arrigo Triulzi, who pointed me in the right
direction. The problem was caused by the fact that I was running the new
resolver, and did not compile sendmail using the new resolver libs and
includes. The changes that I had to make in the sendmail Makefile were as
follows:
# include directories
INCDIRS= -I/usr/local/bind/include
# library directories
LIBDIRS= -L/usr/local/bind/lib
# libraries required on your system
# delete -l44bsd if you are not running BIND 4.9.x
LIBS= -ldb -lbind -ldbm
^^^^^^
The resolver library installed in /usr/local/bind/lib is libbind.a. Making
these changes have made sendmail much happier.
--Sheila
On Aug 27, 12:49pm, Sheila Hollenbaugh wrote:
> Subject: Problems with sendmail-8.9.1a (8.9.1 also)
>
> I am working on getting sendmail version 8.9.1a working on a system which is
> running dunix 4.0d with the latest patch set, and is also running bind 8.8.2.
> When some messages are processed, sendmail seg faults, I have appended the
dbx
> output at the end of this message. These are normal messages which are
> delivered normally with sendmail 8.8.7. Has anyone seen this before or have
any
> ideas? Thanks in advance!
>
> --Sheila
>
> dbx version 3.11.10
> Type 'help' for help.
> Core file created by program "sendmail.valhall"
>
> signal Segmentation fault at >*[_doprnt, 0x3ff800db478] ldq_u r23,
> 0(r12)
> (dbx) where
> 1 sprintf(0x11fff1f80, 0x3ff800c09d8, 0x100, 0x11fff6b50, 0x100)
> [0x3ff800d7864]
> 2 __res_querydomain(0x11fff2a50, 0x2000, 0x140004638, 0x401, 0x11fff6b50)
> [0x3ff800f3458]
> 3 dns_getcanonname(0x120030d48, 0x11fff6b50, 0x11fff6fb0, 0x0,
0x11fff6a90)
> [0x120020d8c]
> 4 getcanonname(0x11fff6b50, 0x101, 0x140011738, 0x11fff6fb0, 0x140090fe0)
> [0x120030e18]
> 5 host_map_lookup(0x0, 0x0, 0x0, 0x0, 0x0) [0x120017a14]
> 6 map_lookup(0x11fff7280, 0x140050c40, 0x9e, 0x10, 0x0) [0x12003dd44]
> 7 rewrite(0x0, 0x0, 0x11fff9078, 0x0, 0x0) [0x12003d5c0]
> 8 callsubr(0x0, 0x0, 0x0, 0x0, 0x0) [0x12003db20]
> 9 rewrite(0x11fffe481, 0x0, 0x0, 0x14001eb88, 0x11fffabd4) [0x12003d730]
> 10 remotename(0x11fffe481, 0x0, 0x100000000, 0x14001eb88, 0x11fffae0c)
> [0x12003f12c]
> 11 commaize(0x14006c430, 0x1400054b8, 0x140078000, 0x4d494d6b00000000,
> 0x1200075d8) [0x1200280dc]
> 12 putheader(0x1400117a8, 0x140036600, 0x12001c148, 0x14002f1c0, 0x2)
> [0x120027910]
> 13 deliver(0x2000, 0x31ef614300000060, 0x120019640, 0x14002f1c0, 0x69)
> [0x12001c378]
> 14 sendenvelope(0x7265696e72616772, 0x2e63706365786540, 0x657765202c6d6f63,
> 0x7374656e6d6f6340, 0x61612d680077722e) [0x120019720]
> More (n if no)?
> 15 sendall(0x1400157a8, 0x14007d640, 0x14002f1c0, 0x100000069, 0x0)
> [0x1200193b8]
> 16 dowork(0x3, 0x14007e9c0, 0x35e5571c, 0x0, 0x0) [0x120042f38]
> 17 runqueue(0x1400058f8, 0x1400152f8, 0x1, 0x140028af0, 0x1000000f6)
> [0x120041bec]
> 18 main(0x3ff80016130, 0x14001a780, 0x14000fd80, 0x140000220, 0x12000c000)
> [0x12002c7a0]
> (dbx)
>
--
Sheila Hollenbaugh Sr. Computer System Administrator (O-)
Wright State University College of Engineering & Computer Science
Dayton, OH 45435 http://www.cs.wright.edu/people/staff/shollen/
shollen_at_cs.wright.edu Voice: (937) 775-5077 FAX: (937) 775-5009
Received on Wed Sep 02 1998 - 13:52:49 NZST