-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Fixed bug #61936 ____executor_globals fails when EG/CG symbol may not visible #74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
… visible in some module
Hi: about your words: "because in some module eg:zend_gc.c did have I think you mean "didn't", right?
on my box: Breakpoint 1, gc_zval_possible_root (zv=0x14b13d8, tsrm_ls=0x123d090) thanks On Fri, May 4, 2012 at 12:02 PM, Reeze Xia
Laruence Xinchen Hui |
在 2012年5月4日星期五,下午11:38,Account for PHP Pull Requests 写道:
Oh I forgot to mention one key point, when using backtrace command gdb seems to load all of the symbol,
|
Maybe this is related to gdb lazy symbol loading . ➜ php-src git:(PHP-5.4) ✗ gdb -v reeze | simpie.com 在 2012年5月4日星期五,下午11:38,Account for PHP Pull Requests 写道:
|
I can confirm that, if I add a test varible zend_executor_globals a; in zend_gc.c and compile It seems that if the symbol not used in a module, it will not be saved for debug. 在 2012年5月4日星期五,下午11:38,Account for PHP Pull Requests 写道:
|
On Fri, May 4, 2012 at 11:49 PM, Reeze Xia
please DO NOT fix sth just by a wild guessing. thanks
I am not sure what's going wrong with your box, and I really can not thanks
Laruence Xinchen Hui |
Comment on behalf of laruence at php.net: bogus, as we disccussed |
* PHP-5.5: Fixed issue #74 (Allowed per request OPcache disabling)
Hi,
I've fill bug ticket #61936 since @pierre says we need a bug ticket to record.
see: https://bugs.php.net/bug.php?id=61936.
since struct _zend_executor_globals is always available so use this struct is more portable.
This affect any command defined need $eg such as print_ht print_cvs printzv etc..
BTW: This happened only in ZTS build and if you didn't call backtrace command.
Thanks。