[pcre-dev] [Bug 1223] New: Test failure on 10.7/i386 with JI…

Página superior
Eliminar este mensaje
Autor: Daniel Johnson
Fecha:  
A: pcre-dev
Temas nuevos: [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT, [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT
Asunto: [pcre-dev] [Bug 1223] New: Test failure on 10.7/i386 with JIT
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1223
           Summary: Test failure on 10.7/i386 with JIT
           Product: PCRE
           Version: 8.30
          Platform: x86
        OS/Version: MacOS X
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: daniel@???
                CC: pcre-dev@???



I get a segfault during the tests on 10.7/i386 when built with --enable-jit.
I've also heard that a similar failure occurs on powerpc Macs with jit but I
can't find the report now. All tests pass with --disable-jit and also pass with
or without jit when built for x86_64. The output is:

---- Testing 8-bit library ----

Test 1: main functionality (Compatible with Perl >= 5.10)
OK
OK with study
./RunTest: line 299: 69991 Segmentation fault: 11 $sim $valgrind ./pcretest -q
$bmode $opt $testdata/testinput1 testtry
FAIL: RunTest

Crash report is:

Process:         pcretest [69991]
Path:            /Users/USER/Downloads/*/pcretest
Identifier:      pcretest
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  sh [69861]


Date/Time:       2012-03-27 09:06:21.019 -0400
OS Version:      Mac OS X 10.7.3 (11D50)
Report Version:  9


Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: 0x000000000000000d, 0x0000000000000000

VM Regions Near 0:
--> __PAGEZERO             0000000000000000-0000000000001000 [    4K] ---/---
SM=NUL  /Users/USER/Downloads/*
    VM_ALLOCATE            0000000000001000-0000000000009000 [   32K] ---/---
SM=NUL  


Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libdyld.dylib                       0x905fe820 misaligned_stack_error_ + 0
1   libpcre.1.dylib                     0x000b1b1f do_searchovector + 223
(pcre_jit_compile.c:4102)
2   ???                                 0x00192a66 0 + 1649254


Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000137 ebx: 0x78a7754b ecx: 0x7867ba57 edx: 0x7867ba55
edi: 0xc00035d0 esi: 0x78a77550 ebp: 0xbfffb4cc esp: 0xbfffb464
ss: 0x00000023 efl: 0x00010286 eip: 0x905fe820 cs: 0x0000001b
ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f
cr2: 0x00083b1d
Logical CPU: 0

It looks like the crash is due to a misaligned stack at pcre_jit_compile.c line
4102.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email