From:             [EMAIL PROTECTED]
Operating system: FreeBSD 3.4
PHP version:      4.0.4pl1
PHP Bug Type:     *Install and Config
Bug description:  PHP 4.0.4pl1 chrashes on initialization

My PHP 4.0.4pl1 crashes during initialization. It crashes in php_minit_crypt, when 
starting php ... no php code needed for crashing... :)

i've configured php like this: (configure options don't bother crashing) 

./configure --enable-versioning --with-system-regex 
--with-config-file-path=/usr/local/etc --disable-debug --enable-track-vars 
--disable-pear --enable-sysvsem --enable-sysvshm --with-imap --with-zlib 
--with-mysql=/usr/local --with-xml=/usr/local --prefix=/usr/local i386--freebsd3.4

When compiled as an apache module, it cored the apache, too, when initializing...

GBD Backtrace:
Program received signal SIGFPE, Arithmetic exception.
0x8081ba9 in php_minit_crypt (type=1, module_number=5) at crypt.c:109
109             srand48((unsigned int) time(0) * getpid() * (php_combined_lcg() * 
(gdb) bt
#0  0x8081ba9 in php_minit_crypt (type=1, module_number=5) at crypt.c:109
#1  0x807d64e in php_minit_basic (type=1, module_number=5)
    at basic_functions.c:719
#2  0x80c7363 in zend_startup_module (module=0x81168c0) at zend_API.c:697
#3  0x805dc5c in php_startup_extensions (ptr=0x8111870, count=10) at main.c:751
#4  0x805e807 in php_startup_internal_extensions () at internal_functions.c:67
#5  0x805dea5 in php_module_startup (sf=0x8110b1c) at main.c:905
#6  0x805c956 in main (argc=1, argv=0xbfbfdb8c) at cgi_main.c:480
#7  0x805c405 in _start ()

Please notice me about this bug fixing... I've a previous version (php 4.0.3pl1), 
which is working with the same configuration...

Thanks a lot,
        Peter Varga

Edit Bug report at:

PHP Development Mailing List <>
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