[pcre-dev] [Bug 2357] Bus error crash is observed in libpcre…

Kezdőlap
Üzenet törlése
Szerző: admin
Dátum:  
Címzett: pcre-dev
Tárgy: [pcre-dev] [Bug 2357] Bus error crash is observed in libpcre JIT test code (pcre_jit_test) on x32 (X86-64 && __ILP32__ ) platform.
https://bugs.exim.org/show_bug.cgi?id=2357

--- Comment #1 from Durga Prasad <ndprasad09@???> ---
(In reply to Durga Prasad from comment #0)
> When libpcre is cross compiled for x32 (32-bit x86_64) platform, bus error
> crash is observed on running pcre_jit_test code.


disassemble output in gdb during crash:

Running JIT regression tests
target CPU of SLJIT compiler: x86 64bit (little endian + unaligned)
in 8 bit mode with UTF-8 disabled and ucp disabled:

Program received signal SIGBUS, Bus error.
0xf7fe4030 in ?? ()
(gdb)
(gdb)
(gdb) disassemble $pc-64, $pc+64
Dump of assembler code from 0xf7fe3ff0 to 0xf7fe4070:
   0xf7fe3ff0:  add    %al,(%rax)
   0xf7fe3ff2:  add    %al,(%rax)
   0xf7fe3ff4:  add    %al,(%rax)
   0xf7fe3ff6:  add    %al,(%rax)
   0xf7fe3ff8:  add    %al,(%rax)
   0xf7fe3ffa:  add    %al,(%rax)
   0xf7fe3ffc:  add    %al,(%rax)
   0xf7fe3ffe:  add    %al,(%rax)
   0xf7fe4000:  movabs 0x5300000000000004,%al
   0xf7fe4009:  push   %r15
   0xf7fe400b:  push   %r14
   0xf7fe400d:  push   %r13
   0xf7fe400f:  push   %rbp
   0xf7fe4010:  mov    %rdi,%rbx
   0xf7fe4013:  sub    $0x28,%rsp
   0xf7fe4017:  movabs $0xb048b4a00000008,%r9
   0xf7fe4021:  movabs $0x49d0294800000001,%rdx
   0xf7fe402b:  mov    $0x1c,%ecx
=> 0xf7fe4030:  mov    %rax,(%rsp,%r9,1)
   0xf7fe4034:  movabs $0xc04894a00000014,%r9
   0xf7fe403e:  mov    %rbx,%rbp
   0xf7fe4041:  mov    %rbx,%rax
---Type <return> to continue, or q <return> to quit---
   0xf7fe4044:  movabs $0x81c8b4a00000004,%r9
   0xf7fe404e:  movabs $0x83c8b4e0000000c,%r9
   0xf7fe4058:  movabs $0x80c8b4a00000000,%r9
   0xf7fe4062:  movabs $0x8048b4200000020,%r9
   0xf7fe406c:  movabs $0x9348b4a00000004,%r9
End of assembler dump.


--
You are receiving this mail because:
You are on the CC list for the bug.