Subject: toolchain/37143: nbmtree dumps core
To: None <,,>
From: None <>
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 <>
>Release:        NetBSD 4.99.33
	NetBSD 4.99.33 amd64
	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.
	run on 64bit -current with jemalloc.