NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/44818: bogus libpthread test

The following reply was made to PR lib/44818; it has been noted by GNATS.

From: Jukka Ruohonen <>
Subject: Re: lib/44818: bogus libpthread test
Date: Wed, 6 Apr 2011 13:12:43 +0300

 On Sat, Apr 02, 2011 at 01:50:00PM +0000, wrote:
 > The test case creates lots of threads in loops, each malloc()'ing some
 > random amount of memory upto 7 times the current stack size limit and
 > leaks that memory. The testcase (and code) is basically undocumented, and
 > I don't see why the leaking is important for the test case (or how the size
 > of the allocation matters, besides being kind of random). However, on small
 > memory systems, we just run out of memory most of the time, causing an 
 > overall
 > test failure.
 I concur. I don't understand the test either. When one can not analytically
 conclude even what is being tested, I propose alternatively that such a test
 should be removed.

Home | Main Index | Thread Index | Old Index