From:             sergiu dot ionescu at gmail dot com
Operating system: Ubuntu 10.04.4 LTS
PHP version:      Irrelevant
Package:          *General Issues
Bug Type:         Bug
Bug description:Segmentation fault on Zend Framework application

Description:
------------
I randomly get segmentation faults while running cli scripts.
The fault occurs at the end of the script run and happens in more than 50%
of the cases.



Expected result:
----------------
No seg fault.

Actual result:
--------------
syslog: [24766.653698] php[8084]: segfault at 30 ip 00000000006b7241 sp
00007fff508cc110 error 4 in php5[400000+70e000]

The GDB backtrace is:

#0  0x00000000006b7241 in ?? ()
#1  0x00000000006b771b in ?? ()
#2  0x00000000006a3a38 in zend_hash_destroy ()
#3  0x0000000000696a3f in _zval_dtor_func ()
#4  0x000000000068aa9d in _zval_ptr_dtor ()
#5  0x00000000006a3a38 in zend_hash_destroy ()
#6  0x0000000000696a3f in _zval_dtor_func ()
#7  0x000000000068aa9d in _zval_ptr_dtor ()
#8  0x00000000006a3a38 in zend_hash_destroy ()
#9  0x0000000000696a3f in _zval_dtor_func ()
#10 0x000000000068aa9d in _zval_ptr_dtor ()
#11 0x00000000006a3a38 in zend_hash_destroy ()
#12 0x00000000006b8a89 in zend_object_std_dtor ()
#13 0x00000000006b8aa9 in zend_objects_free_object_storage ()
#14 0x00000000006bc16c in zend_objects_store_free_object_storage ()
#15 0x000000000068ae95 in ?? ()
#16 0x0000000000697782 in ?? ()
#17 0x0000000000643165 in php_request_shutdown ()
#18 0x00000000007273e4 in ?? ()
#19 0x00007ffff52a5c4d in __libc_start_main (main=<value optimized out>,
    argc=<value optimized out>, ubp_av=<value optimized out>, init=<value
optimized out>,
    fini=<value optimized out>, rtld_fini=<value optimized out>,
stack_end=0x7fffffffe6a8)
    at libc-start.c:226
#20 0x000000000042c6f9 in _start ()

The php version i am running is PHP 5.3.2-1ubuntu4.17 with Suhosin-Patch
(cli) (built: Jun 19 2012 03:21:35).
What is your recommendation.
Thanks.

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

Reply via email to