[pcre-dev] [Bug 1803] segfault in pcre jit when running twig…

Top Page
Delete this message
Author: admin
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 1803] segfault in pcre jit when running twig test suite (PHP7)
https://bugs.exim.org/show_bug.cgi?id=1803

--- Comment #7 from Nish Aravamudan <nish.aravamudan@???> ---
(In reply to Zoltan Herczeg from comment #6)
> > (gdb) print offsets[0]
> > $5 = 2
>
> please print offsets[1], which is the end.
>
> The value 0x1999999999999999 is so strange that if feels like an
> uninitialized variable (I mean a stack protector filled the stack frame with
> this value to trigger such issues).


#3  php_pcre_split_impl (pce=pce@entry=0x555555e3a9e0, 
    subject=0x7fffe199df90 "\303\251\303\204\303\237\343\201\224a", 
    subject_len=10, return_value=return_value@entry=0x7ffff381b240, 
    limit_val=-1, flags=<optimized out>)
    at /build/php7.0-WHFaJZ/php7.0-7.0.3/ext/pcre/php_pcre.c:1808
1808    /build/php7.0-WHFaJZ/php7.0-7.0.3/ext/pcre/php_pcre.c: No such file or
directory.
(gdb) print offsets
$1 = (int *) 0x7fffffff9150
(gdb) print offsets[0]     
$2 = 2
(gdb) print offsets[1]
$3 = 4


I'm still at gdb so I can grab any other relevant information.

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