From: diego dot malatesta at mottaeditore dot it Operating system: Ubuntu Server 7.04 PHP version: 5.2.3 PHP Bug Type: Mail related Bug description: Segmentation Fault when calling mail()
Description: ------------ When I run the script the browser asks me if I want to save the file or view it as if I were downloading it and I get a blank page. Reproduce code: --------------- <?php mail("[EMAIL PROTECTED]","bla","blabla"); ?> Expected result: ---------------- I expect the mail to be sent =) Actual result: -------------- Apache reports this in the error_log file: [Fri Jun 22 10:22:01 2007] [notice] child pid 22502 exit signal Segmentation fault (11) [Fri Jun 22 10:22:01 2007] [notice] child pid 22503 exit signal Segmentation fault (11) The Backtrace: (gdb) run -X Starting program: /usr/local/apache2/bin/httpd -X [Thread debugging using libthread_db enabled] [New Thread -134829856 (LWP 22573)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -134829856 (LWP 22573)] _zval_ptr_dtor (zval_ptr=0xfff1ef9c) at /root/php-5.2.3/Zend/zend_execute_API.c:412 412 (*zval_ptr)->refcount--; (gdb) bt #0 _zval_ptr_dtor (zval_ptr=0xfff1ef9c) at /root/php-5.2.3/Zend/zend_execute_API.c:412 #1 0xf79541ec in zend_do_fcall_common_helper_SPEC (execute_data=0xfff1f034) at /root/php-5.2.3/Zend/zend_execute.h:155 #2 0xf7944860 in execute (op_array=0x20af60) at /root/php-5.2.3/Zend/zend_vm_execute.h:92 #3 0xf7922ac0 in zend_execute_scripts (type=8, retval=<value optimized out>, file_count=3) at /root/php-5.2.3/Zend/zend.c:1134 #4 0xf78dc7dc in php_execute_script (primary_file=0xfff1f110) at /root/php-5.2.3/main/main.c:1794 #5 0xf79ad374 in php_handler (r=0x246b40) at /root/php-5.2.3/sapi/apache2handler/sapi_apache2.c:623 #6 0x0003fb4c in ap_run_handler (r=0x246b40) at config.c:157 #7 0x00042c28 in ap_invoke_handler (r=0x246b40) at config.c:372 #8 0x00058744 in ap_process_request (r=0x246b40) at http_request.c:258 #9 0x000557ac in ap_process_http_connection (c=0x242b70) at http_core.c:184 #10 0x000465b0 in ap_run_process_connection (c=0x242b70) at connection.c:43 #11 0x0006b2d4 in child_main (child_num_arg=<value optimized out>) at prefork.c:640 #12 0x0006b4a4 in make_child (s=<value optimized out>, slot=0) at prefork.c:680 #13 0x0006c1c4 in ap_mpm_run (_pconf=0xa40a8, plog=<value optimized out>, s=0xa8c80) at prefork.c:956 #14 0x0002ce3c in main (argc=2, argv=0xfff21ad4) at main.c:717 -- Edit bug report at http://bugs.php.net/?id=41777&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41777&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41777&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41777&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=41777&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=41777&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=41777&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=41777&r=needscript Try newer version: http://bugs.php.net/fix.php?id=41777&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=41777&r=support Expected behavior: http://bugs.php.net/fix.php?id=41777&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=41777&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=41777&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=41777&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41777&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=41777&r=dst IIS Stability: http://bugs.php.net/fix.php?id=41777&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=41777&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=41777&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=41777&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=41777&r=mysqlcfg