Re: Stack size for BEAST checks

On 12 Mar 2004, Rasmus Kaj wrote:

> Hi!  Is allocating huge amounts of stack part of what testwavechunk in
> bse/test is supposed to test?

no ;)

>  If not, here's a patch to allocate the
> tmpstorage for the tests on the heap rather than on the stack.

thanks, applied with mods to use g_new/g_free.

> With this patch, "make check" completes successfully on FreeBSD 5.2.1
> (without having to raise the default (at least default with my rather
> small size of RAM) limit for stack size), even if there is some
> messages that seems rather problematic.  I attach the "worst" part of
> my log, is it something that should be further investigated?

the warnings are triggered, because the test case tests a mechanism
(C++ closures) which is not yet implemented.

> --
> Rasmus Kaj -----------------------------------------------


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]