From: Operating system: Debian 5 PHP version: 5.3.10 Package: *General Issues Bug Type: Bug Bug description:various crashes after upgrading to 5.3
Description: ------------ After upgrading from 5.2.17 na 5.3.10 there are rare crashes and segfaults: [Mon Mar 26 10:03:39 2012] [notice] child pid 22804 exit signal Segmentation fault (11), possible coredump in /usr/local/var/apache_cores [Mon Mar 26 10:05:06 2012] [notice] child pid 26428 exit signal Segmentation fault (11), possible coredump in /usr/local/var/apache_cores [Mon Mar 26 11:32:01 2012] [notice] child pid 1083 exit signal Bus error (7), possible coredump in /usr/local/var/apache_cores [Mon Mar 26 12:13:17 2012] [notice] child pid 26574 exit signal Segmentation fault (11), possible coredump in /usr/local/var/apache_cores Some of the stacktraces: #0 0x00007fad2a19b67b in zend_vm_set_opcode_handler (op=0x1dca348) at /data/install/php-5.3.10/Zend/zend_vm_execute.h:34020 #1 0x00007fad2a16df7e in pass_two (op_array=0x1dc6d00) at /data/install/php- 5.3.10/Zend/zend_opcode.c:412 #2 0x00007fad2a161cf1 in zend_do_end_function_declaration (function_token=0x7ffffad843e0) at /data/install/php- 5.3.10/Zend/zend_compile.c:1447 #3 0x00007fad2a1448fe in zendparse () at /data/install/php- 5.3.10/Zend/zend_language_parser.c:4088 #4 0x00007fad2a150710 in compile_file (file_handle=0x7ffffad86240, type=8) at Zend/zend_language_scanner.l:364 #5 0x00007fad29ff647a in phar_compile_file (file_handle=0x7ffffad86240, type=8) at /data/install/php-5.3.10/ext/phar/phar.c:3393 #6 0x00007fad2a14fd4f in compile_filename (type=8, filename=0x451ffc0) at Zend/zend_language_scanner.l:407 #7 0x00007fad2a1ad384 in ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER (execute_data=0x451fa18) at /data/install/php-5.3.10/Zend/zend_vm_execute.h:5254 #8 0x00007fad2a1a4969 in execute (op_array=0x3fcc538) at /data/install/php- 5.3.10/Zend/zend_vm_execute.h:107 #9 0x00007fad2a175ffb in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /data/install/php-5.3.10/Zend/zend.c:1236 #10 0x00007fad2a11ee18 in php_execute_script (primary_file=0x7ffffad88910) at /data/install/php-5.3.10/main/main.c:2308 #11 0x00007fad2a2041af in php_handler (r=0x1d53a90) at /data/install/php- 5.3.10/sapi/apache2handler/sapi_apache2.c:669 #12 0x0000000000443f5a in ap_run_handler (r=0x1d53a90) at config.c:158 #13 0x000000000044747e in ap_invoke_handler (r=0x1d53a90) at config.c:376 #14 0x0000000000465ece in ap_process_request (r=0x1d53a90) at http_request.c:282 #15 0x0000000000462d78 in ap_process_http_connection (c=0x1d3c470) at http_core.c:190 #16 0x000000000044b45a in ap_run_process_connection (c=0x1d3c470) at connection.c:43 #17 0x000000000046abd0 in child_main (child_num_arg=<value optimized out>) at prefork.c:667 #18 0x000000000046aea4 in make_child (s=0x11f5fe8, slot=7) at prefork.c:768 #19 0x000000000046baee in ap_mpm_run (_pconf=<value optimized out>, plog=<value optimized out>, s=<value optimized out>) at prefork.c:903 #20 0x000000000043063a in main (argc=4, argv=0x7ffffad88ef8) at main.c:753 #0 zend_hash_find (ht=0x2869c38, arKey=0x2862210 "", nKeyLength=9, pData=0x7fffc2538958) at /data/install/php-5.3.10/Zend/zend_hash.c:884 #1 0x00007f553a2f8f74 in zend_isset_isempty_dim_prop_obj_handler_SPEC_VAR_CONST (prop_dim=0, execute_data=0x2aed260) at /data/install/php- 5.3.10/Zend/zend_vm_execute.h:10926 #2 0x00007f553a2ff969 in execute (op_array=0x2aac740) at /data/install/php- 5.3.10/Zend/zend_vm_execute.h:107 #3 0x00007f553a2d0ffb in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /data/install/php-5.3.10/Zend/zend.c:1236 #4 0x00007f553a279e18 in php_execute_script (primary_file=0x7fffc253aea0) at /data/install/php-5.3.10/main/main.c:2308 #5 0x00007f553a35f1af in php_handler (r=0x2895878) at /data/install/php- 5.3.10/sapi/apache2handler/sapi_apache2.c:669 #6 0x0000000000443f5a in ap_run_handler (r=0x2895878) at config.c:158 #7 0x000000000044747e in ap_invoke_handler (r=0x2895878) at config.c:376 #8 0x0000000000465d30 in ap_internal_redirect (new_uri=<value optimized out>, r=<value optimized out>) at http_request.c:554 #9 0x00007f553afb8bb5 in handler_redirect (r=0x28a3a50) at mod_rewrite.c:4843 #10 0x0000000000443f5a in ap_run_handler (r=0x28a3a50) at config.c:158 #11 0x000000000044747e in ap_invoke_handler (r=0x28a3a50) at config.c:376 #12 0x0000000000465ece in ap_process_request (r=0x28a3a50) at http_request.c:282 #13 0x0000000000462d78 in ap_process_http_connection (c=0x2883390) at http_core.c:190 #14 0x000000000044b45a in ap_run_process_connection (c=0x2883390) at connection.c:43 #15 0x000000000046abd0 in child_main (child_num_arg=<value optimized out>) at prefork.c:667 #16 0x000000000046aea4 in make_child (s=0x1d3bfe8, slot=2) at prefork.c:768 #17 0x000000000046baee in ap_mpm_run (_pconf=<value optimized out>, plog=<value optimized out>, s=<value optimized out>) at prefork.c:903 #18 0x000000000043063a in main (argc=4, argv=0x7fffc253b518) at main.c:753 #0 zend_hash_find (ht=0x36e13e0, arKey=0x36e5198 "args", nKeyLength=5, pData=0x7fffc2538958) at /data/install/php-5.3.10/Zend/zend_hash.c:884 #1 0x00007f553a32191e in zend_fetch_var_address_helper_SPEC_CONST (type=1, execute_data=0x297a380) at /data/install/php-5.3.10/Zend/zend_vm_execute.h:1380 #2 0x00007f553a2ff969 in execute (op_array=0x39f6480) at /data/install/php- 5.3.10/Zend/zend_vm_execute.h:107 #3 0x00007f553a2d0ffb in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /data/install/php-5.3.10/Zend/zend.c:1236 #4 0x00007f553a279e18 in php_execute_script (primary_file=0x7fffc253aea0) at /data/install/php-5.3.10/main/main.c:2308 #5 0x00007f553a35f1af in php_handler (r=0x4300f68) at /data/install/php- 5.3.10/sapi/apache2handler/sapi_apache2.c:669 #6 0x0000000000443f5a in ap_run_handler (r=0x4300f68) at config.c:158 #7 0x000000000044747e in ap_invoke_handler (r=0x4300f68) at config.c:376 #8 0x0000000000465d30 in ap_internal_redirect (new_uri=<value optimized out>, r=<value optimized out>) at http_request.c:554 #9 0x00007f553afb8bb5 in handler_redirect (r=0x460e470) at mod_rewrite.c:4843 #10 0x0000000000443f5a in ap_run_handler (r=0x460e470) at config.c:158 #11 0x000000000044747e in ap_invoke_handler (r=0x460e470) at config.c:376 #12 0x0000000000465ece in ap_process_request (r=0x460e470) at http_request.c:282 #13 0x0000000000462d78 in ap_process_http_connection (c=0x2883390) at http_core.c:190 #14 0x000000000044b45a in ap_run_process_connection (c=0x2883390) at connection.c:43 #15 0x000000000046abd0 in child_main (child_num_arg=<value optimized out>) at prefork.c:667 #16 0x000000000046aea4 in make_child (s=0x1d3bfe8, slot=3) at prefork.c:768 #17 0x000000000046baee in ap_mpm_run (_pconf=<value optimized out>, plog=<value optimized out>, s=<value optimized out>) at prefork.c:903 #18 0x000000000043063a in main (argc=4, argv=0x7fffc253b518) at main.c:753 My configuration: PHP Version => 5.3.10 System => Linux web.natur.cuni.cz 2.6.26-2-amd64 #1 SMP Sun Mar 4 21:48:06 UTC 2012 x86_64 Build Date => Mar 25 2012 21:12:16 Configure Command => './configure' '--prefix=/usr/local' '--disable-cgi' '-- disable-rpath' '--disable-short-tags' '--enable-bcmath' '--enable-calendar' '-- enable-ctype' '--enable-dom' '--enable-exif' '--enable-ftp' '--enable-gd-native- ttf' '--enable-mbregex' '--enable-mbstring' '--enable-safe-mode' '--enable-soap' '--enable-sockets' '--enable-zend-multibyte' '--with- apxs2=/usr/local/apache2/bin/apxs' '--with-bz2=/usr' '--with-curl=/usr/local' '- -with-freetype-dir=/usr' '--with-gd' '--with-gettext=/usr' '--with- gmp=/usr/local' '--with-iconv=/usr/local' '--with-imap=/data/install/imap-2007f' '--with-imap-ssl=/data/install/imap-2007f' '--with-jpeg-dir=/usr/lib' '--with- ldap=/usr' '--with-ldap-sasl=/usr' '--with-libmbfl' '--with-libxml-dir=/usr' '-- with-mcrypt' '--with-mysql=mysqlnd' '--with-mysqli=mysqlnd' '--with- openssl=/usr' '--with-pdo-mysql=mysqlnd' '--with-png-dir=/usr/lib' '--with-xpm- dir=/usr/lib' '--with-xsl=/usr' '--with-zlib=/usr' '--with-zlib-dir=/usr' '-- without-sqlite' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /usr/local/lib Loaded Configuration File => /usr/local/lib/php.ini Scan this dir for additional .ini files => (none) Additional .ini files parsed => (none) PHP API => 20090626 PHP Extension => 20090626 Zend Extension => 220090626 Zend Extension Build => API220090626,NTS PHP Extension Build => API20090626,NTS Debug Build => no Thread Safety => disabled Zend Memory Manager => enabled Zend Multibyte Support => enabled IPv6 Support => enabled Registered PHP Streams => https, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3, sslv2, tls Registered Stream Filters => zlib.*, bzip2.*, convert.iconv.*, mcrypt.*, mdecrypt.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk .... Core PHP Version => 5.3.10 Directive => Local Value => Master Value allow_call_time_pass_reference => On => On allow_url_fopen => On => On allow_url_include => Off => Off always_populate_raw_post_data => Off => Off arg_separator.input => & => & arg_separator.output => & => & asp_tags => Off => Off auto_append_file => no value => no value auto_globals_jit => On => On auto_prepend_file => no value => no value browscap => /usr/local/lib/php_browscap.ini => /usr/local/lib/php_browscap.ini default_charset => no value => no value default_mimetype => text/html => text/html define_syslog_variables => Off => Off detect_unicode => On => On disable_classes => no value => no value disable_functions => no value => no value display_errors => Off => Off display_startup_errors => Off => Off doc_root => no value => no value docref_ext => no value => no value docref_root => no value => no value enable_dl => On => On error_append_string => no value => no value error_log => /usr/local/apache2/logs/php5_log => /usr/local/apache2/logs/php5_log error_prepend_string => no value => no value error_reporting => 30719 => 30719 exit_on_timeout => Off => Off expose_php => Off => Off extension_dir => /usr/local/lib/php/extensions/no-debug-non-zts-20060613/ => /usr/local/lib/php/extensions/no-debug-non-zts-20060613/ file_uploads => On => On highlight.bg => <font style="color: #FFFFFF">#FFFFFF</font> => <font style="color: #FFFFFF">#FFFFFF</font> highlight.comment => <font style="color: #FF8000">#FF8000</font> => <font style="color: #FF8000">#FF8000</font> highlight.default => <font style="color: #0000BB">#0000BB</font> => <font style="color: #0000BB">#0000BB</font> highlight.html => <font style="color: #000000">#000000</font> => <font style="color: #000000">#000000</font> highlight.keyword => <font style="color: #007700">#007700</font> => <font style="color: #007700">#007700</font> highlight.string => <font style="color: #DD0000">#DD0000</font> => <font style="color: #DD0000">#DD0000</font> html_errors => Off => Off ignore_repeated_errors => Off => Off ignore_repeated_source => Off => Off ignore_user_abort => Off => Off implicit_flush => On => On include_path => .:/usr/local/apache2/virtualhosts/system/webquota:/usr/local/apache2/htdocs/hord e:/usr/local/lib/php => .:/usr/local/apache2/virtualhosts/system/webquota:/usr/local/apache2/htdocs/hord e:/usr/local/lib/php log_errors => On => On log_errors_max_len => 1024 => 1024 magic_quotes_gpc => Off => Off magic_quotes_runtime => Off => Off magic_quotes_sybase => Off => Off mail.add_x_header => Off => Off mail.force_extra_parameters => no value => no value mail.log => no value => no value max_execution_time => 0 => 0 max_file_uploads => 20 => 20 max_input_nesting_level => 64 => 64 max_input_time => -1 => -1 max_input_vars => 1000 => 1000 memory_limit => 80M => 80M open_basedir => no value => no value output_buffering => 0 => 0 output_handler => no value => no value post_max_size => 20M => 20M precision => 14 => 14 realpath_cache_size => 16K => 16K realpath_cache_ttl => 120 => 120 register_argc_argv => On => On register_globals => Off => Off register_long_arrays => Off => Off report_memleaks => On => On report_zend_debug => Off => Off request_order => no value => no value safe_mode => Off => Off safe_mode_exec_dir => no value => no value safe_mode_gid => Off => Off safe_mode_include_dir => no value => no value sendmail_from => php_eng...@web.natur.cuni.cz => php_eng...@web.natur.cuni.cz sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i serialize_precision => 100 => 100 short_open_tag => Off => Off SMTP => localhost => localhost smtp_port => 25 => 25 sql.safe_mode => Off => Off track_errors => On => On unserialize_callback_func => no value => no value upload_max_filesize => 50M => 50M upload_tmp_dir => no value => no value user_dir => no value => no value user_ini.cache_ttl => 300 => 300 user_ini.filename => .user.ini => .user.ini variables_order => EGPCS => EGPCS xmlrpc_error_number => 0 => 0 xmlrpc_errors => Off => Off y2k_compliance => On => On zend.enable_gc => On => On -- Edit bug report at https://bugs.php.net/bug.php?id=61508&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=61508&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=61508&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=61508&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=61508&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=61508&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=61508&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=61508&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=61508&r=needscript Try newer version: https://bugs.php.net/fix.php?id=61508&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=61508&r=support Expected behavior: https://bugs.php.net/fix.php?id=61508&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=61508&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=61508&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=61508&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=61508&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=61508&r=dst IIS Stability: https://bugs.php.net/fix.php?id=61508&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=61508&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=61508&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=61508&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=61508&r=mysqlcfg