[Bug 1522422] Re: Update to php 7.0
Nish Aravamudan
nish.aravamudan at canonical.com
Tue Jan 26 20:24:21 UTC 2016
On 26.01.2016 [19:53:20 -0000], Nish Aravamudan wrote:
> > > Re: xdebug segfaults
> >
> > I just updated xdebug to rc4 today - retry with that. I had some users reporting the segfaults in rc3 but fixed in git.
>
> Yeah, I actually built RC4 myself last night to test and it didn't seem
> to make any difference. Note that I'm using the pkg-php-tools from
> http://anonscm.debian.org/cgit/pkg-php/pkg-php-
> tools.git/log/?h=master-7.0, but I don't think the issue should be
> there, but in xdebug itself.
>
> Here's the debug I've gotten so far. The segfault is line 1150 in
> xdebug_stack.c:
>
> } else if (edata && edata->prev_execute_data &&
> edata->prev_execute_data->opline &&
> edata->prev_execute_data->opline->opcode == ZEND_INCLUDE_OR_EVAL) {
>
> I added some manual debugging (as I learn how to build non-optimized
> versions of packages) and got:
Figured it out and got:
(gdb) print *edata->prev_execute_data
$7 = {opline = 0x3, call = 0x4, return_value = 0x0, func = 0xfbcd80, This = {
value = {lval = 0, dval = 0, counted = 0x0, str = 0x0, arr = 0x0,
obj = 0x0, res = 0x0, ref = 0x0, ast = 0x0, zv = 0x0, ptr = 0x0,
ce = 0x0, func = 0x0, ww = {w1 = 0, w2 = 0}}, u1 = {v = {type = 8 '\b',
type_flags = 12 '\f', const_flags = 0 '\000', reserved = 2 '\002'},
type_info = 33557512}, u2 = {var_flags = 1, next = 1, cache_slot = 1,
lineno = 1, num_args = 1, fe_pos = 1, fe_iter_idx = 1}},
called_scope = 0x7ffff3203018, prev_execute_data = 0x7ffff3213f20,
symbol_table = 0x7ffff327d090, run_time_cache = 0x40000c08,
literals = 0x1069c20}
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/1522422
Title:
Update to php 7.0
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1522422/+subscriptions
More information about the Ubuntu-server-bugs
mailing list