Subject: bin/14691: tail core dumps after the recent changes
To: None <gnats-bugs@gnats.netbsd.org, explorer@netbsd.org>
From: None <bernd@arresum.inka.de>
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
>Closed-Date:
>Last-Modified:
>Originator:     Bernd Ernesti
>Release:        NetBSD 1.5Y (as of Nov 22th)
>Organization:
	
>Environment:
System: NetBSD arresum.inka.de 1.5Y NetBSD 1.5Y (ARRESUM) #636: Thu Nov 22 20:58:57 CET 2001 bernd@arresum.inka.de:/home/work/obj_i386/src.i386/sys/arch/i386/compile/ARRESUM i386
Architecture: i386
Machine: i386
>Description:
	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 ()

>How-To-Repeat:
	Try to build procmail with a new tail.
>Fix:
	Unknown. But the developer who wants to fix that, can get the core dump and
	the tail programm (build with -g) from cvs.netbsd.org:~veego/
>Release-Note:
>Audit-Trail:
>Unformatted: