ID:               24639
 User updated by:  nospam at rshell dot org
 Reported By:      nospam at rshell dot org
-Status:           Feedback
+Status:           Open
 Bug Type:         Apache related
 Operating System: linux
 PHP Version:      4.3.3RC2-dev
 New Comment:

yes


Previous Comments:
------------------------------------------------------------------------

[2003-07-14 12:32:39] [EMAIL PROTECTED]

If you remove all those php_admin_value settings, does it still
segfault?


------------------------------------------------------------------------

[2003-07-14 11:33:00] nospam at rshell dot org

this is the virttualhost:
<VirtualHost xx.xxx.xx.xx:80>
ServerAdmin [EMAIL PROTECTED]
ServerName domain.com
ServerAlias www.domain.com
User domain
Group domain
DocumentRoot /var/www/html/domain
php_admin_value safe_mode 1
php_admin_value open_basedir /var/www/html/domain/
php_admin_value upload_tmp_dir /var/www/html/domain/tmp
php_admin_value file_uploads 1
php_admin_value safe_mode_exec_dir /dev/null
php_admin_value safe_mode_include_dir
/var/www/html/domain/public_html/
</VirtualHost>

The site in question is www.pctip.co.il.
when you login, note the header. That's the file in question, and on
the right side there's a banner. Thats the include() line. now click
the forum, you will see the same header but with no banner (you'll see
the works "banner" on the right). I've edited that to stop the seg
faults. The include line was there, when you access that header file
from the forum dir, and only from the forum dir, you get segmentaion
fault.

As for .htaccess, there's no .htaccess anywhere in the path
of the forum dir, or the includes dir, and up to /.

------------------------------------------------------------------------

[2003-07-14 10:33:38] [EMAIL PROTECTED]

How exactly is your virtualhost setup?
Where is that script located which has that include() ?
What is in that .htaccess file involved?


------------------------------------------------------------------------

[2003-07-14 05:42:08] nospam at rshell dot org

here's another. Please let me know if you need more info

#0  0x2da7535a in chunk_alloc () from /lib/i686/libc.so.6
#1  0x2da75158 in malloc () from /lib/i686/libc.so.6
#2  0x2de27175 in php_apache_value_handler_ex (cmd=0x58b200d0,
conf=0x858a228,
    arg1=0x817a3ec "error_reporting", arg2=0x817a404 "7", mode=2)
    at /home/rcs/php4-STABLE-200307140730/sapi/apache/mod_php4.c:754
#3  0x2de271f9 in php_apache_value_handler (cmd=0x58b200d0,
conf=0x858a228,
    arg1=0x817a3ec "error_reporting", arg2=0x817a404 "7")
    at /home/rcs/php4-STABLE-200307140730/sapi/apache/mod_php4.c:771
#4  0x08054f00 in invoke_cmd ()
#5  0x080558c6 in ap_handle_command ()
#6  0x08055959 in ap_srm_command_loop ()
#7  0x08056307 in ap_parse_htaccess ()
#8  0x08068415 in directory_walk ()
#9  0x08069730 in process_request_internal ()
#10 0x08069bb8 in ap_process_request ()
#11 0x08060929 in child_main ()
#12 0x08060bbb in make_child ()
#13 0x08060f38 in perform_idle_server_maintenance ()
#14 0x0806150d in standalone_main ()
#15 0x08061b63 in main ()
#16 0x2da12589 in __libc_start_main () from /lib/i686/libc.so.6

------------------------------------------------------------------------

[2003-07-14 05:33:56] nospam at rshell dot org

here's another backtrace:
#0  0x2da7535a in chunk_alloc () from /lib/i686/libc.so.6
#1  0x2da75158 in malloc () from /lib/i686/libc.so.6
#2  0x2ddfd8bf in _emalloc (size=12)
    at /home/rcs/php4-STABLE-200307140730/Zend/zend_alloc.c:158
#3  0x2ddecc73 in php_default_treat_data (arg=2, str=0x0,
destArray=0x0)
    at /home/rcs/php4-STABLE-200307140730/main/php_variables.c:227
#4  0x2dde4e23 in php_hash_environment ()
    at /home/rcs/php4-STABLE-200307140730/main/main.c:1417
#5  0x2dde408c in php_request_startup ()
    at /home/rcs/php4-STABLE-200307140730/main/main.c:935
#6  0x2de26274 in apache_php_module_main (r=0x817a1bc,
display_source_mode=0)
    at /home/rcs/php4-STABLE-200307140730/sapi/apache/sapi_apache.c:33
#7  0x2de26ed6 in send_php (r=0x817a1bc, display_source_mode=0,
filename=0x0)
    at /home/rcs/php4-STABLE-200307140730/sapi/apache/mod_php4.c:620
#8  0x2de26f2a in send_parsed_php (r=0x817a1bc)
    at /home/rcs/php4-STABLE-200307140730/sapi/apache/mod_php4.c:635
#9  0x080546d3 in ap_invoke_handler ()
#10 0x08069b57 in process_request_internal ()
#11 0x08069f8f in ap_internal_redirect ()
#12 0x2db67dea in handle_dir () from
/usr/local/apache/libexec/mod_dir.so
#13 0x080546d3 in ap_invoke_handler ()
#14 0x08069b57 in process_request_internal ()
#15 0x08069bb8 in ap_process_request ()
#16 0x08060929 in child_main ()
#17 0x08060bbb in make_child ()
#18 0x08060c6c in startup_children ()
#19 0x080612e4 in standalone_main ()
#20 0x08061b63 in main ()
#21 0x2da12589 in __libc_start_main () from /lib/i686/libc.so.6

------------------------------------------------------------------------

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/24639

-- 
Edit this bug report at http://bugs.php.net/?id=24639&edit=1

Reply via email to