ID: 15008
Comment by: [EMAIL PROTECTED]
Old Reported By: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Feedback
Bug Type: Reproducible crash
Operating System: Linux 2.4.5
PHP Version: 4.1.1
New Comment:

OK, This may actually not be a bug (In my case at least).  Just
reinstalled PHP 4.1.0 and it still happened.  Not sure about the first
submission, but it may still be a PHP bug but not for my case, at
least.  Sorry for all the bother.


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

[2002-01-12 20:57:39] [EMAIL PROTECTED]

Hrm, but there is no sign of anything PHP in that backtrace.  You are
saying PHP sent something that caused mod_layout to crash?  That would
indicate a problem in mod_layout as far as I am concerned.

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

[2002-01-12 20:52:56] [EMAIL PROTECTED]

OK, here's the backtrace:

#0  0x4012eb1e in memcpy () from /lib/libc.so.6
#1  0x8146ba0 in ap_bwrite ()
#2  0x8158be2 in ap_send_mmap ()
#3  0x402bbb13 in _init () from /usr/apache/libexec/mod_layout.so
#4  0x8147ccf in ap_invoke_handler ()
#5  0x815becf in process_request_internal ()
#6  0x815c2f3 in ap_internal_redirect ()
#7  0x8073178 in handle_dir ()
#8  0x8147ccf in ap_invoke_handler ()
#9  0x815becf in process_request_internal ()
#10 0x815bf30 in ap_process_request ()
#11 0x8153379 in child_main ()
#12 0x8153524 in make_child ()
#13 0x8153698 in startup_children ()
#14 0x8153d10 in standalone_main ()
#15 0x8154563 in main ()
#16 0x400c7b65 in __libc_start_main (main=0x81541cc <main>, argc=4,
ubp_av=0xbffffb1c, init=0x8060dcc <_init>, fini=0x8182100 <_fini>,
rtld_fini=0x4000df24 <_dl_fini>, 
    stack_end=0xbffffb14) at ../sysdeps/generic/libc-start.c:111


I can't hardly tell, but I'm guessing its in PHP, as it was called from
mod_layout, in which case the problem lies at the end of header.php, I
think.

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

[2002-01-12 20:17:28] [EMAIL PROTECTED]

I can verify this bug.  It is happening with my server (check out
http://ged.dynodns.net/band/).  I am using mod_layout in conjunction
with apache, but the bug appears exactly as is described above, and it
looks to be a PHP problem (other pages seem to load fine - but not this
one).

The server executes http://ged.dynodns.net/band/header.phps (source)
before executing http://ged.dynodns.net/band/index.phps (source also). 
But after executing the header (successfully, or so it seems, but i
cannot tell where the problem lies - at the end of header.php or at the
beginning of index.php).  However, i was running apache 1.3.22 with
mod_layout and PHP 4.1.0 and everything worked just fine, until I had
another problem and recompiled everything with PHP 4.1.1, so it appears
that this is a PHP 4.1.1 bug.

(Note, that the require()'ed files, web.php and news.php are both files
that are only function declaractions, and don't crash scripts like
events.php)

Apache Config:
--with-layout=Apache
--prefix=/usr/apache
--activate-module=src/modules/php4/libphp4.a
--enable-module=so
--enable-module=speling
--enable-module=vhost_alias

PHP 4.1.1 Config:
--with-apache=/usr/src/apache-1.3.22 \
--disable-short-tags \
--without-mysql \
--with-pgsql=/usr/pgsql


I hope the source helps - I'm working on building a debugging version
so I can obtain a backtrace.  Just confirming for now.

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

[2002-01-12 16:30:31] [EMAIL PROTECTED]

Please provide a short and self-contained script which reproduces this
crash. A backtrace would also help (but better compile with
--enable-debug first).

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

[2002-01-12 15:59:32] [EMAIL PROTECTED]

After compiling 4.1.1 whith Apache 1.3.22 and MySql 3.23.46

i get follwing erros in the weblog
[Sat Jan 12 21:50:10 2002] [notice] child pid 18992 exit signal
Segmentation fault (11)
[Sat Jan 12 21:50:43 2002] [notice] child pid 14447 exit signal
Segmentation fault (11)
etc 
etc

when reverting to 4.0.6 these errors are gone.

config :
'./configure' '--with-apxs=/usr/local/apache/bin/apxs'
'--with-mysql=/usr/local' '--with-gd'


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



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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to