[Bug 1522422] Re: Update to php 7.0
Nish Aravamudan
nish.aravamudan at canonical.com
Tue Jan 26 19:53:20 UTC 2016
> > 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:
edata = 0x7f5b23214030
edata = 0x7f5b23214220
edata->prev_execute_data = 0x7f5b232141b0
edata = 0x7f5b23214380
edata->prev_execute_data = 0x7f5b23214310
edata = 0x7f5b23214850
edata->prev_execute_data = 0x7f5b232147e0
edata->prev_execute_data->opline = 0x7f5b2328d500
Usage:
pkgtools COMMAND
Options:
--help: print help
-h: print help
--verbose: increase verbosity
-v: increase verbosity
--sourcedirectory: set source directory
-D: set source directory
Commands:
: Without arguments: print help
edata = 0x7f5b23215000
edata->prev_execute_data = 0x7f5b23214f90
edata->prev_execute_data->opline = 0x3
Segmentation fault (core dumped)
Seems like prev_execute_data is corrupt?
--
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