[pcre-dev] [Bug 1335] New: Test failure with 32-bit library …

Páxina inicial
Borrar esta mensaxe
Autor: Lawrence Velázquez
Data:  
Para: pcre-dev
Asunto: [pcre-dev] [Bug 1335] New: Test failure with 32-bit library and JIT on OS X 10.8.2 (x86-64)
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1335
           Summary: Test failure with 32-bit library and JIT on OS X 10.8.2
                    (x86-64)
           Product: PCRE
           Version: 8.32
          Platform: x86-64
        OS/Version: MacOS X
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: larryv@???
                CC: ph10@???, pcre-dev@???,
                    hzmester@???, dangelog@???,
                    fang@???
        Depends on: 1223



Created an attachment (id=603)
--> (http://bugs.exim.org/attachment.cgi?id=603)
MacPorts log for universal build and test

+++ This bug was initially created as a clone of Bug #1223 +++

I get a segmentation fault while running the JIT tests for the 32-bit library,
for both x86-64 and i386. All tests pass when PCRE is compiled without the JIT
compiler.

I'm using the latest MacPorts from SVN, on OS X 10.8.2 build 12C60 with Xcode
4.5.2 build 4G2008a and Apple clang 4.1 (tags/Apple/clang-421.11.66) (based on
LLVM 3.1svn).

Here are the crash logs. I'm also attaching the MacPorts log for a universal
build and test. The stdout from configuring, building, and testing starts at
around line 100.



=== x86-64 ===

Process:         pcretest [58587]
Path:            /opt/local/var/macports/*/pcretest
Identifier:      pcretest
Version:         0
Code Type:       X86-64 (Native)
Parent Process:  sh [57228]
User ID:         502


Date/Time:       2013-01-25 00:14:02.071 -0500
OS Version:      Mac OS X 10.8.2 (12C60)
Report Version:  10


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

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000104dcd000

VM Regions Near 0x104dcd000:
    MALLOC_LARGE           0000000104dad000-0000000104dcd000 [  128K] rw-/rwx
SM=PRV  
--> 
    MALLOC_TINY            00007f9540c00000-00007f9540d00000 [ 1024K] rw-/rwx
SM=PRV  


Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   ???                                 0x0000000104dacd30 0 + 4376415536
1   libpcre32.0.dylib                   0x0000000104d2790e pcre32_exec + 494
2   pcretest                            0x0000000104bb038e main + 20542
3   libdyld.dylib                       0x00007fff8b4f57e1 start + 1


Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000078 rbx: 0x0000000104dcd000 rcx: 0x000000000000006f
rdx: 0x0000000000000013
rdi: 0x00007fff5b04b168 rsi: 0x00007fff5b04b1d0 rbp: 0x00007fff5b053200
rsp: 0x00007fff5b04b0e0
r8: 0x0000000000000000 r9: 0x00007f9540c03680 r10: 0x0000000104d6c440
r11: 0x0000000104d27720
r12: 0x0000000000989680 r13: 0x00007fff5b04b168 r14: 0x00007fff5b0531d0
r15: 0x0000000104dcd000
rip: 0x0000000104dacd30 rfl: 0x0000000000010246 cr2: 0x0000000104dcd000
Logical CPU: 1



=== i386 ===

Process:         pcretest [67175]
Path:            /opt/local/var/macports/*/pcretest
Identifier:      pcretest
Version:         0
Code Type:       X86 (Native)
Parent Process:  sh [65816]
User ID:         502


Date/Time:       2013-01-25 00:44:45.903 -0500
OS Version:      Mac OS X 10.8.2 (12C60)
Report Version:  10


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

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000002e0000

VM Regions Near 0x2e0000:
    MALLOC_LARGE           00000000002c0000-00000000002e0000 [  128K] rw-/rwx
SM=PRV  
--> 
    MALLOC_TINY            000000007be00000-000000007bf00000 [ 1024K] rw-/rwx
SM=PRV  


Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   ???                                 0x002bfed9 0 + 2883289


Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000078 ebx: 0x002e0000 ecx: 0x0000006f edx: 0xbff07248
edi: 0xbff0f248 esi: 0x002e0000 ebp: 0x00989680 esp: 0xbff071b0
ss: 0x00000023 efl: 0x00010246 eip: 0x002bfed9 cs: 0x0000001b
ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f
cr2: 0x002e0000
Logical CPU: 1


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