From:             
Operating system: *Nix
PHP version:      Irrelevant
Package:          *General Issues
Bug Type:         Bug
Bug description:GDB:____executor_globals fails when EG/CG symbol may not 
visible in some module

Description:
------------
when debug using GDB, sometime ____executor_globals failed to execute 
because in some module eg:zend_gc.c did have zend_executor_global
exposed(Only ZTS 
model affected,since executor_globals always available).

Test script:
---------------
(gdb) b gc_zval_possible_root
Breakpoint 1 at 0x1005aa7d0: file zend_gc.c, line 132.
(gdb) r circle.php 
Starting program: /Users/reeze/Opensource/php-src/sapi/cli/php circle.php
Reading symbols for shared libraries ++++++.......................... done

Breakpoint 1, gc_zval_possible_root (zv=0x100dcbb58, tsrm_ls=0x100e009b0)
at zend_gc.c:132
warning: Source file is more recent than executable.
132             if (UNEXPECTED(GC_G(free_list) != NULL &&
(gdb) printzv zv
No symbol "zend_executor_globals" in current context.

Expected result:
----------------
print zval correctly

Actual result:
--------------
No symbol "zend_executor_globals" in current context.

-- 
Edit bug report at https://bugs.php.net/bug.php?id=61936&edit=1
-- 
Try a snapshot (PHP 5.4):            
https://bugs.php.net/fix.php?id=61936&r=trysnapshot54
Try a snapshot (PHP 5.3):            
https://bugs.php.net/fix.php?id=61936&r=trysnapshot53
Try a snapshot (trunk):              
https://bugs.php.net/fix.php?id=61936&r=trysnapshottrunk
Fixed in SVN:                        
https://bugs.php.net/fix.php?id=61936&r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=61936&r=needdocs
Fixed in release:                    
https://bugs.php.net/fix.php?id=61936&r=alreadyfixed
Need backtrace:                      
https://bugs.php.net/fix.php?id=61936&r=needtrace
Need Reproduce Script:               
https://bugs.php.net/fix.php?id=61936&r=needscript
Try newer version:                   
https://bugs.php.net/fix.php?id=61936&r=oldversion
Not developer issue:                 
https://bugs.php.net/fix.php?id=61936&r=support
Expected behavior:                   
https://bugs.php.net/fix.php?id=61936&r=notwrong
Not enough info:                     
https://bugs.php.net/fix.php?id=61936&r=notenoughinfo
Submitted twice:                     
https://bugs.php.net/fix.php?id=61936&r=submittedtwice
register_globals:                    
https://bugs.php.net/fix.php?id=61936&r=globals
PHP 4 support discontinued:          
https://bugs.php.net/fix.php?id=61936&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=61936&r=dst
IIS Stability:                       
https://bugs.php.net/fix.php?id=61936&r=isapi
Install GNU Sed:                     
https://bugs.php.net/fix.php?id=61936&r=gnused
Floating point limitations:          
https://bugs.php.net/fix.php?id=61936&r=float
No Zend Extensions:                  
https://bugs.php.net/fix.php?id=61936&r=nozend
MySQL Configuration Error:           
https://bugs.php.net/fix.php?id=61936&r=mysqlcfg

Reply via email to