#23657 [Opn]: loading browscap.ini crashes apache
| From: | katana at katana-inc dot com | Date: | Fri, 16 May 2003 10:10:19 +0000 |
| Subject: | #23657 [Opn]: loading browscap.ini crashes apache | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-39783@lists.php.net to get a copy of this message | ||
ID: 23657
User updated by: katana at katana-inc dot com
Reported By: katana at katana-inc dot com
Status: Open
Bug Type: PHP options/info functions
Operating System: Linux Redhat 6
PHP Version: 4.3.2RC3
New Comment:
OK, PHP has been recompiled as a debug build, XDebug is not loaded, and
here is what i get:
[root@dante bin]# ./httpd
[Fri May 16 12:06:19 2003] Script: '-'
---------------------------------------
Zend/zend_language_scanner.c(2945) : Block 0xBFFFB5A4 status:
Beginning: Overrun (magic=0x0000000D, expected=0x7312F8DC)
End: Unknown
---------------------------------------
[Fri May 16 12:06:19 2003] Script: '-'
---------------------------------------
Zend/zend_language_scanner.c(2949) : Block 0x08395F3C status:
Beginning: Overrun (magic=0x00000000, expected=0x7312F8DC)
End: Unknown
---------------------------------------
When browscap is not loaded, there is no error.
I get the same output while running httpd in single mode from DBG.
Previous Comments:
------------------------------------------------------------------------
[2003-05-16 04:37:42] katana at katana-inc dot com
Yes, I've read the document... however it looks like no coredump file
is generated. And I can't use the httpd -X method since apache crashes
on startup. Any clue ? If it's necessary I can have PHP recompiled as a
debug build...
ok, i'll do that.
------------------------------------------------------------------------
[2003-05-16 04:36:47] derick@php.net
Please unload Xdebug too if you report bugs
------------------------------------------------------------------------
[2003-05-16 04:17:13] magnus@php.net
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
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.
------------------------------------------------------------------------
[2003-05-16 04:11:48] katana at katana-inc dot com
Apache crashes on startup. I just add the correct path to browscap.ini
in php.ini, run configtest and i get a segmentation fault. I get the
same error when starting httpd manually. Unfortunatelly i don't have
time enough at the moment to recompile php as debug build...
Here is my config line:
'./configure' '--prefix=/usr/local'
'--with-apache=/root/Apachetoolbox-1.5.64/apache_1.3.27'
'--enable-exif' '--enable-track-vars' '--with-calendar=shared'
'--enable-magic-quotes' '--enable-trans-sid' '--enable-wddx'
'--enable-ftp' '--enable-inline-optimization' '--enable-memory-limit'
'--with-zlib' '--with-jpeg-dir=/usr' '--with-png-dir=/usr'
'--with-zlib-dir=/usr' '--with-iconv' '--with-mhash=/usr/local'
'--with-mcrypt=/usr/local' '--with-openssl=/usr/local/ssl'
'--with-curl=/usr/local' '--enable-bcmath' '--with-gettext=/usr'
'--with-mysql=/usr/local' '--with-mnogosearch=/usr/local/mnogosearch'
I also have XDebug 1.2.0 loaded.
browscap.ini: Last updated 2003 May 13, Tuesday 11:42:27 PM GMT.
Oh, and it was working correctly with the same browscap.ini with
4.3.2-RC2 and the same setup.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23657&edit=1