ID: 21948 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: No Feedback Bug Type: Reproducible crash Operating System: RedHat Linux 7.3 PHP Version: 4.3.0 New Comment:
No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2003-02-03 15:42:46] [EMAIL PROTECTED] Can you add var_dump($put_env_argument) before each putenv calls, this will hopefuly show what enviroment variable setting is causing the crash. ------------------------------------------------------------------------ [2003-01-31 14:54:53] [EMAIL PROTECTED] Ok here's a more specific dump. First the configuration: --enable-debug=yes --disable-rpath --with-openssl --with-regex=system --with-layout=GNU --with-kerberos=/usr/kerberos --enable-debugger --enable-sockets --with-imap --with-imap-ssl --with-mysql=/usr --enable-wddx --with-gettext This seems to be as small as I could get it and still compile PHP and run IMP (my c-client is built with kerberos so I had to enable that, for example.) Here is the resulting crash dump: #0 0x4207b524 in chunk_realloc () from /lib/i686/libc.so.6 #1 0x4207b2f8 in realloc () from /lib/i686/libc.so.6 #2 0x4202b65c in __add_to_environ () from /lib/i686/libc.so.6 #3 0x4202b33f in putenv () from /lib/i686/libc.so.6 #4 0x404ab54c in zif_putenv (ht=1, return_value=0x88b4bb4, this_ptr=0x0, return_value_used=0) at /home/jmt/rpm/BUILD/php-4.3.0/ext/standard/basic_functions.c:1353 #5 0x405645d3 in execute (op_array=0x8b5c55c) at /home/jmt/rpm/BUILD/php-4.3.0/Zend/zend_execute.c:1596 #6 0x405647af in execute (op_array=0x8ae43e4) at /home/jmt/rpm/BUILD/php-4.3.0/Zend/zend_execute.c:1640 #7 0x405647af in execute (op_array=0x8bf06c4) at /home/jmt/rpm/BUILD/php-4.3.0/Zend/zend_execute.c:1640 #8 0x405647af in execute (op_array=0x8c7bc34) at /home/jmt/rpm/BUILD/php-4.3.0/Zend/zend_execute.c:1640 #9 0x40569dee in execute (op_array=0x8836b34) at /home/jmt/rpm/BUILD/php-4.3.0/Zend/zend_execute.c:2162 #10 0x4054f48c in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /home/jmt/rpm/BUILD/php-4.3.0/Zend/zend.c:864 #11 0x40522d36 in php_execute_script (primary_file=0xbffff140) at /home/jmt/rpm/BUILD/php-4.3.0/main/main.c:1573 #12 0x4056c75a in apache_php_module_main (r=0x87d0a00, display_source_mode=0) at /home/jmt/rpm/BUILD/php-4.3.0/sapi/apache/sapi_apache.c:55 #13 0x4056d36b in send_php (r=0x87d0a00, display_source_mode=0, filename=0x0) at /home/jmt/rpm/BUILD/php-4.3.0/sapi/apache/mod_php4.c:556 #14 0x4056d3c3 in send_parsed_php (r=0x87d0a00) at /home/jmt/rpm/BUILD/php-4.3.0/sapi/apache/mod_php4.c:571 #15 0x080547cd in ap_invoke_handler () #16 0x0806769c in process_request_internal () #17 0x40271d33 in handle_dir () from /etc/httpd/modules/mod_dir.so #18 0x080547cd in ap_invoke_handler () #19 0x0806769c in process_request_internal () #20 0x08067713 in ap_process_request () #21 0x0805f867 in child_main () #22 0x0805fa0a in make_child () #23 0x0805fb4d in startup_children () #24 0x080601a0 in standalone_main () #25 0x08060aa3 in main () #26 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6 Hope this helps. ------------------------------------------------------------------------ [2003-01-30 13:43:31] [EMAIL PROTECTED] And cut down the amount of the configure options, to bare minimum to get IMP work. And ditch the 'shared' options too. ------------------------------------------------------------------------ [2003-01-29 15:06:24] [EMAIL PROTECTED] I spoke too soon, the crash is still there. Am attempting to get a core file now to generate another backtrace to see if its the same problem or not. bug 21804 seems like it may be related to this issue as well. ------------------------------------------------------------------------ [2003-01-29 14:05:43] [EMAIL PROTECTED] It is compiled with --enable-debug (see config list above), which is why I made the note that the backtrace was somewhat baffling. I ran gdb across libphp4.so just to confirm that it does indeed load debugging symbols so they ARE there. FYI I removed the SetEnvIf directive and the crashes have gone away it seems. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/21948 -- Edit this bug report at http://bugs.php.net/?id=21948&edit=1