Re: [pcre-dev] Release candidate for 10.10

2015-04-23 Thread Zoltán Herczeg
Thank you for the help. The fix is landed in r1551. Regards, Zoltan Petr Pisar ppi...@redhat.com írta: On Thu, Apr 23, 2015 at 11:51:36AM +0200, Zoltán Herczeg wrote: I think the following instruction is the problem: 0x03ffb7cc0010: stp x29, x30, [sp,#-56]! sp must be 16 byte

Re: [pcre-dev] Release candidate for 10.10

2015-04-23 Thread Petr Pisar
On Wed, Apr 22, 2015 at 06:39:01PM +0200, Zoltán Herczeg wrote: Thank you for tracking this down. Revision 1506 is a big commit, and a quite a few lines were changed in AARCH64. Perhaps I created an invalid instruction form. Could you capture the crash, execute disassemble $pc-64,$pc+64

Re: [pcre-dev] Release candidate for 10.10

2015-04-23 Thread Zoltán Herczeg
I think the following instruction is the problem: 0x03ffb7cc0010: stp x29, x30, [sp,#-56]! sp must be 16 byte aligned all the time. Petr, I will send you a patch. Let me know if it fixes the problem. Regards, Zoltan -- ## List details at

Re: [pcre-dev] Release candidate for 10.10

2015-04-23 Thread Petr Pisar
On Thu, Apr 23, 2015 at 11:51:36AM +0200, Zoltán Herczeg wrote: I think the following instruction is the problem: 0x03ffb7cc0010: stp x29, x30, [sp,#-56]! sp must be 16 byte aligned all the time. Petr, I will send you a patch. Let me know if it fixes the problem. Excelent.

Re: [pcre-dev] Release candidate for 10.10

2015-04-22 Thread Zoltán Herczeg
Thank you for tracking this down. Revision 1506 is a big commit, and a quite a few lines were changed in AARCH64. Perhaps I created an invalid instruction form. Could you capture the crash, execute disassemble $pc-64,$pc+64 x/128xw $pc-64 in gdb and send me the output? Seeing the actual

Re: [pcre-dev] Release candidate for 10.10

2015-04-22 Thread Petr Pisar
On Thu, Feb 26, 2015 at 12:39:13PM +0100, Zoltán Herczeg wrote: The AArch64 is worse. It compiles with JIT but crashes on tests: FAIL: RunTest = PCRE2 C library tests using test data from ./testdata PCRE2 version 10.10-RC1 2015-02-20 Testing 8-bit library Test 0:

Re: [pcre-dev] Release candidate for 10.10

2015-04-22 Thread Petr Pisar
On Thu, Feb 26, 2015 at 12:39:13PM +0100, Zoltán Herczeg wrote: The AArch64 is worse. It compiles with JIT but crashes on tests: FAIL: RunTest = PCRE2 C library tests using test data from ./testdata PCRE2 version 10.10-RC1 2015-02-20 Testing 8-bit library Test 0:

Re: [pcre-dev] Release candidate for 10.10

2015-02-26 Thread ph10
On Thu, 26 Feb 2015, Giuseppe D'Angelo wrote: On 26 February 2015 at 12:39, Zoltán Herczeg hzmes...@freemail.hu wrote: The message bus error is also interesting, not the usual segmentation fault. I don't know this error, but according to wikipedia, a bus error is a fault raised by

Re: [pcre-dev] Release candidate for 10.10

2015-02-26 Thread Zoltán Herczeg
I don't think these are related. The problem is in test2, not in test19 (the serialization test). Sparc64 JIT has not implemented yet. ARM 64 supports unaligned access, so a possible alignment issue is unusual. Perhaps the program counter is executing something from a wrong address. Petr,

Re: [pcre-dev] Release candidate for 10.10

2015-02-26 Thread Zoltán Herczeg
Hi Petr, thank you for running PCRE2 on many environments. The AArch64 is worse. It compiles with JIT but crashes on tests: FAIL: RunTest = PCRE2 C library tests using test data from ./testdata PCRE2 version 10.10-RC1 2015-02-20 Testing 8-bit library Test 0: Unchecked

Re: [pcre-dev] Release candidate for 10.10

2015-02-26 Thread Giuseppe D'Angelo
On 26 February 2015 at 12:39, Zoltán Herczeg hzmes...@freemail.hu wrote: The message bus error is also interesting, not the usual segmentation fault. I don't know this error, but according to wikipedia, a bus error is a fault raised by hardware when a process is trying to access memory that

Re: [pcre-dev] Release candidate for 10.10

2015-02-24 Thread Giuseppe D'Angelo
On 24 February 2015 at 16:10, p...@hermes.cam.ac.uk wrote: I've changed my mind, mainly because I can't find a way of getting gcc to disable that warning while still turning on -Wformat to do format checking. Pass -std=c99 to it? $ gcc -x c -std=c99 -pedantic -Wall -Wextra -Werror

Re: [pcre-dev] Release candidate for 10.10

2015-02-24 Thread ph10
On Tue, 24 Feb 2015, Giuseppe D'Angelo wrote: On 24 February 2015 at 16:10, p...@hermes.cam.ac.uk wrote: I've changed my mind, mainly because I can't find a way of getting gcc to disable that warning while still turning on -Wformat to do format checking. Pass -std=c99 to it? I tried

Re: [pcre-dev] Release candidate for 10.10

2015-02-22 Thread Zoltán Herczeg
Hi, src/sljit/sljitNativeARM_32.c:340:28: error: 'compiler' undeclared (first use in this function) SLJIT_FREE(curr_patch, compiler-allocator_data); ^ src/pcre2_jit_compile.c:60:61: note: in definition of macro 'SLJIT_FREE' #define SLJIT_FREE(ptr,

Re: [pcre-dev] Release candidate for 10.10

2015-02-21 Thread ph10
On Fri, 20 Feb 2015, Petr Pisar wrote: Indeed, it was caused by the hard limit beeing smaller than soft limit which pcre2test tried to test. Attached patch improved the error message: Thanks for running all the tests that your do, and thanks for this patch. I have, in fact, implemented a

[pcre-dev] Release candidate for 10.10

2015-02-20 Thread ph10
I have put a release candidate for PCRE2 release 10.10 on the FTP site: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/pcre2-10.10-RC1.tar.gz ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/pcre2-10.10-RC1.tar.bz2

Re: [pcre-dev] Release candidate for 10.10

2015-02-20 Thread Petr Pisar
On Fri, Feb 20, 2015 at 12:26:21PM +, p...@hermes.cam.ac.uk wrote: I have put a release candidate for PCRE2 release 10.10 on the FTP site: I'm giving a try to this release for the first time of PCRE2, and I experience a test failure on 32-bit PowerPC: FAIL: RunTest = PCRE2 C

Re: [pcre-dev] Release candidate for 10.10

2015-02-20 Thread Petr Pisar
On Fri, Feb 20, 2015 at 03:54:20PM +0100, Petr Pisar wrote: On Fri, Feb 20, 2015 at 12:26:21PM +, p...@hermes.cam.ac.uk wrote: I have put a release candidate for PCRE2 release 10.10 on the FTP site: I'm giving a try to this release for the first time of PCRE2, and I experience a test

Re: [pcre-dev] Release candidate for 10.10

2015-02-20 Thread Petr Pisar
On Fri, Feb 20, 2015 at 12:26:21PM +, p...@hermes.cam.ac.uk wrote: I have put a release candidate for PCRE2 release 10.10 on the FTP site: * No compiler warnings, all tests pass on GNU/Linux with these configurations: s390, disabled JIT x86_64, enabled JIT s390x, disabled JIT * All tests