ID:               37663
 Updated by:       [EMAIL PROTECTED]
 Reported By:      ust at 3dots dot ru
-Status:           Open
+Status:           Feedback
 Bug Type:         Apache2 related
 Operating System: FreeBSD 6.1
 PHP Version:      4.4.2
 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.




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

[2006-06-01 11:12:43] ust at 3dots dot ru

To reproduce this bug
1. Build Apache 2.0.58 from ports collection
#make PREFIX=/usr/local/apache2 PREFIX_RELDEST=/usr/local/apache2
install 

2. Build PHP 4.2.2
"#make patch" on PHP 4.2.2 on FreeBSD PHP port

then run this script

#!/bin/sh
CC='cc' CFLAGS="-O2 -pipe -march=pentium4 -g -Wall" \
CXX='c++' CXXFLAGS="-O2 -pipe -march=pentium4" \
export LDFLAGS=-lstdc++ \

./configure --prefix=/usr/local/php4 \
--sysconfdir=/usr/local/etc \
--with-apxs2=/usr/local/apache2/sbin/apxs \
--enable-force-cgi-redirect \
--enable-discard-path \
--enable-fastcgi \
--with-layout=GNU \
--with-config-file-path=/usr/local/php4/etc \
--enable-magic-quotes \
--enable-versioning \
--with-openssl \
--with-zlib \
--enable-bcmath \
--with-bz2 \
--enable-calendar \
--enable-cpdflib \
--enable-static \
--with-curl \
--with-inifile \
--with-flatfile \
--with-dbase \
--with-dbx \
--enable-dio \
--with-dom \
--with-zlib-dir \
--with-dom-xslt \
--with-dom-exslt \
--enable-exif \
--enable-filepro \
--enable-ftp \
--with-xpm-dir \
--with-ttf \
--with-freetype-dir \
--with-t1lib \
--enable-gd-native-ttf \
--enable-gettext \
--with-gmp \
--with-iconv \
--enable-mbstring \
--enable-mcal \
--enable-mbstring \
--with-openssl-dir \
--with-mhash \
--with-mssql=/usr/local \
--with-mysql=/usr/local/mysql5 \
--with-mysql-sock=/tmp/mysql5.sock \
--with-xmlrpc \
--with-ncurses \
--enable-shmop \
--enable-sockets \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm \
--enable-wddx \
--with-pear \
--enable-inline-optimization \
--enable-zend-multibyte \
--enable-memory-limit \
--with-tsrm-pth \
--with-pic \
--with-gd=/usr/local \
--with-png-dir=/usr/local \
--with-jpeg-dir=/usr/local \
--with-tiff-dir=/usr/local \
--with-mime-magic \
--with-regex=php \
--enable-xslt \
--with-xslt-sablot=/usr/local 

#make && make install

#./apache2.sh restart
OR

# ./httpd -k restart -e debug
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
access_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
auth_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
auth_anon_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
auth_dbm_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
charset_lite_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
include_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
deflate_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
log_config_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
logio_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
env_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
mime_magic_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
cern_meta_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
expires_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
headers_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
usertrack_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
unique_id_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
setenvif_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
mime_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
dav_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
status_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
autoindex_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
asis_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
info_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
cgi_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
dav_fs_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
vhost_alias_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
negotiation_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
dir_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
imap_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
actions_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
speling_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
userdir_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
alias_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
rewrite_module
[Thu Jun 01 22:16:21 2006] [debug] mod_so.c(248): loaded module
php4_module
Segmentation fault (core dumped)


That's all.

If I remove last to options:
--enable-xslt
--with-xslt-sablot=/usr/local 

Apache restart without segmentation fault

If you need more information please tell me what kind of...

Thanks.

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

[2006-06-01 09:40:13] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.




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

[2006-06-01 09:29:59] ust at 3dots dot ru

Description:
------------
httpd -k restart or htppd-k reload fails with segmentation fault, if
PHP Apache module compiled with Sablotron suppot.

Apache 2.0 -freebsd ports collection
PHP 4.4.2 -compiled from source after patching on ports (make patch)
Sablotron 0.98 or 1.0.2 - compiled from source / from ports (1.0.2)



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


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

Reply via email to