Subject: bin/14691: tail core dumps after the recent changes
To: None <,>
From: None <>
List: netbsd-bugs
Date: 11/23/2001 09:40:09
>Number:         14691
>Category:       bin
>Synopsis:       tail core dumps after the recent changes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 23 00:41:00 PST 2001
>Originator:     Bernd Ernesti
>Release:        NetBSD 1.5Y (as of Nov 22th)
System: NetBSD 1.5Y NetBSD 1.5Y (ARRESUM) #636: Thu Nov 22 20:58:57 CET 2001 i386
Architecture: i386
Machine: i386
	tail core dumps while configuring pkgsrc/mail/procmail:
===> Building for procmail-3.22
Waiting for the kernel-locking tests to finish...
25088: Segmentation fault - core dumped

Thats tail:
-rw-------  1 bernd  wheel  127288 Nov 23 09:31 work.i386/procmail-3.22/src/tail.core

(gdb) where
#0  0x8049361 in rlines (fp=0x480f7a60, off=5, sbp=0xbfbfcfc0)
    at /src/usr.bin/tail/forward.c:285
#1  0x8049073 in forward (fp=0x480f7a60, style=RLINES, off=10, sbp=0xbfbfcfc0)
    at /src/usr.bin/tail/forward.c:165
#2  0x804a380 in main (argc=1, argv=0xbfbfd09c) at /src/usr.bin/tail/tail.c:187
#3  0x8048c9c in ___start ()

	Try to build procmail with a new tail.
	Unknown. But the developer who wants to fix that, can get the core dump and
	the tail programm (build with -g) from