pkgsrc-Bugs archive

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

Re: pkg/31250: running the self-test for devel/pcre leads to Signal 11



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

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/31250: running the self-test for devel/pcre leads to Signal 11
Date: Tue, 13 Sep 2005 14:34:09 +0200

 This looks like a simple stack space issue. Changing the test code to:
 
   // Test that recursion is stopped: there will be some errors reported
   int matchlimit = 500;
   int bytes = 15 * 1024;  // enough to crash if there was no match limit
   TestRecursion(bytes, ".", matchlimit);
   TestRecursion(bytes, "a", matchlimit);
   ...
 
 makes it pass all tests. I have no idea if this is a sensible change though,
 what those values mean, nor what good values to put in there. Someone please
 ask the author for clarification.
 
 Martin
 



Home | Main Index | Thread Index | Old Index