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

Etusivu
Poista viesti
Lähettäjä: admin
Päiväys:  
Vastaanottaja: pcre-dev
Aihe: [pcre-dev] [Bug 1803] segfault in pcre jit when running twig test suite (PHP7)
https://bugs.exim.org/show_bug.cgi?id=1803

--- Comment #14 from Nish Aravamudan <nish.aravamudan@???> ---
(gdb) break ext/pcre/php_pcre.c:1794 if strcmp(subject,
"\303\251\303\204\303\237\343\201\224a") == 0
(gdb) c
...
(gdb) print offsets[0]
$5 = 2
(gdb) print last_match
$6 = 0x7fffed42e248 "\303\251\303\204\303\237\343\201\224a"
(gdb) print offsets[0]
$7 = 2
(gdb) print offsets[1]
$8 = 2
(gdb) c
...
(gdb) print last_match
$9 = 0x7fffed42e24a "\303\204\303\237\343\201\224a"
(gdb) print offsets[0]
$10 = -1
(gdb) print offsets[1]
$11 = -1
...
(gdb) print last_match
$12 = 0x7fffed42e24a "\303\204\303\237\343\201\224a"
(gdb) print offsets[0]
$13 = 2
(gdb) print offsets[1]
$14 = 4
(gdb) c
...
(gdb) print last_match
$15 = 0x7fffed42e24c "\303\237\343\201\224a"
(gdb) print offsets[0]
$16 = 2
(gdb) print offsets[1]
$17 = 4
(gdb) c
...
SIGSEGV

count's value was optimized out, and I'd need to recompile PHP to get that
value, I think.

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