[PHP-DEV] PHP 4.0 Bug #9159 Updated: PHP 4.0.4pl1 chrashes on initialization

2001-02-07 Thread vrg

ID: 9159
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: *Install and Config
Description: PHP 4.0.4pl1 chrashes on initialization

The main point is in crypt.c I think...


Previous Comments:
---

[2001-02-07 13:07:46] [EMAIL PROTECTED]
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() * 
1.0));
(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

---


Full Bug description available at: http://bugs.php.net/?id=9159


-- 
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]




[PHP-DEV] PHP 4.0 Bug #9159 Updated: PHP 4.0.4pl1 chrashes on initialization

2001-02-07 Thread derick

ID: 9159
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: *Install and Config
Assigned To: 
Comments:

This should be fixed in CVS. Can you try a snapshot from snaps.php.net or a CVS 
version? If you encounter problems, feel free to reopen this report

Previous Comments:
---

[2001-02-07 13:20:52] [EMAIL PROTECTED]
The main point is in crypt.c I think...


---

[2001-02-07 13:07:46] [EMAIL PROTECTED]
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() * 
1.0));
(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

---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9159edit=2


-- 
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]