Subject: toolchain/37143: nbmtree dumps core
To: None <toolchain-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 10/18/2007 01:15:01
>Number:         37143
>Category:       toolchain
>Synopsis:       nbmtree dumps core
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 18 01:15:01 +0000 2007
>Originator:     YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
>Release:        NetBSD 4.99.33
>Organization:
	
>Environment:
	NetBSD 4.99.33 amd64
>Description:
	it seems that nbmtree is compiled without a proper function
	prototype of user_from_uid.  (-Wall yields "implicit decl" warnings)
	it makes the return value truncated to int.
	malloc used to return a pointer to heap, which might be small enough
	to fit in int.  after jemalloc, it isn't the case anymore.
>How-To-Repeat:
	run build.sh on 64bit -current with jemalloc.
>Fix:
	

>Unformatted: