From:             
Operating system: rhel4.8_x86_64
PHP version:      5.2SVN-2010-07-12 (snap)
Package:          Reproducible crash
Bug Type:         Bug
Bug description:Segmentation fault when using mail() on a rhel 4.x (only 64 bit)

Description:
------------
Since the patch for "headers_trimmed" was added in the mail.c I always get
a segmentation fault when using mail(). This only affects rhel4.x 64 bit
os. rhel 5.x 64 bit or rhel4.x 32 bit works fine.



Using mail.c from a snapshot before 2010-04-22 in the actual snapshot
source everything works fine.



--- php/php-src/branches/PHP_5_2/ext/standard/mail.c    2010-04-22 01:07:48
UTC (rev 298290) -> works fine

+++ php/php-src/branches/PHP_5_2/ext/standard/mail.c    2010-04-22 02:22:49
UTC (rev 298291) -> segmentation fault when using mail() in a php script on
a rhel4.x 64 bit host









Test script:
---------------
running "make test" after building php from source.



the provided test script also reports the problem.


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

Reply via email to