|
From: | Bruce Dubbs |
Subject: | Re: [platform-testers] bug#21755: new snapshot available: grep-2.21.82-fbc5 |
Date: | Sun, 25 Oct 2015 18:02:26 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:35.0) Gecko/20100101 Firefox/35.0 SeaMonkey/2.32 |
Paul Eggert wrote:
Bruce Dubbs wrote:I would think that the tests in grep should account for both pcre and pcre2, at least for a couple of years.Grep currently supports only PCRE. I'd be surprised if it worked with PCRE2. My test was with PCRE 8.35 with Debian and Ubuntu patches (I'm up-to-date with Ubuntu 15.10 on x86-64). Yours was with 8.37, I assume with no patches. Perhaps if I find the time I can try building PCRE 8.37 on Ubuntu 15.10 and see whether it exhibits the bug, but to be honest I was hoping someone else could debug this. Perhaps you can try it with 8.35 on linuxfromscratch?
Yes, I can do that. The main Upstream repo doesn't have 8.35, but it was at sourceforge. I installed that:
-rwxr-xr-x 1 root root 762440 Oct 25 17:43 /lib/libpcre.so.1.2.3but the pcre-jitstack test still aborts with a segfault. I could try with a smaller pcrejit.txt file if that would help.
OK, I think I have it. I had a default ulimit: stack size (kbytes, -s) 8192when I changed that to unlimited, the test passed. More testing and ulimit -s 16000 fails but ulimit -s 32000 passes.
I assume you're doing your test on x86-64? (Sorry, don't recall.)
Yes: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 12 On-line CPU(s) list: 0-11 Thread(s) per core: 2 Core(s) per socket: 6 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 63 Model name: Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz -- Bruce
[Prev in Thread] | Current Thread | [Next in Thread] |