[PHP-DEV] Bug #14239: apache crash on sig 11; error at zend_execute_API.c:259

2001-11-26 Thread ant

From: [EMAIL PROTECTED]
Operating system: FreeBSD 4.4-RELEASE
PHP version:  4.0.6
PHP Bug Type: Unknown/Other Function
Bug description:  apache crash on sig 11; error at zend_execute_API.c:259

when i debug the problem gdb get's me such report:
Program received signal SIGSEGV, Segmentation fault.
_zval_ptr_dtor (zval_ptr=0x4c41424f) at zend_execute_API.c:259
259 (*zval_ptr)-refcount--;
(gdb)

in this file there is:
ZEND_API void _zval_ptr_dtor(zval **zval_ptr ZEND_FILE_LINE_DC)
{
#if DEBUG_ZEND=2
printf(Reducing refcount for %x (%x):  %d-%d\n, *zval_ptr,
zval_ptr, (*zval_ptr)-refcount, (*zval_ptr)-refcount-1);
#endif  
(*zval_ptr)-refcount--;
^ here error!
if ((*zval_ptr)-refcount==0) {
zval_dtor(*zval_ptr);
safe_free_zval_ptr(*zval_ptr);
} else if (((*zval_ptr)-refcount == 1)  ((*zval_ptr)-type !=
IS_OBJECT)) {
(*zval_ptr)-is_ref = 0;
}
}


i have no idea about this...
-- 
Edit bug report at: http://bugs.php.net/?id=14239edit=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]




[PHP-DEV] Bug #14239 Updated: apache crash on sig 11; error at zend_execute_API.c:259

2001-11-26 Thread ant

ID: 14239
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Unknown/Other Function
Operating System: FreeBSD 4.4-RELEASE
PHP Version: 4.0.6
New Comment:

this error snoozed me and my users over head!

php works as libphp4.so in Apache/1.3.22

when i debug the problem, gdb get's me such report:

Program received signal SIGSEGV, Segmentation fault.
_zval_ptr_dtor (zval_ptr=0x4c41424f) at zend_execute_API.c:259
259 (*zval_ptr)-refcount--;
(gdb)

in this file there is:
ZEND_API void _zval_ptr_dtor(zval **zval_ptr ZEND_FILE_LINE_DC)
{
#if DEBUG_ZEND=2
printf(Reducing refcount for %x (%x):  %d-%d\n, *zval_ptr,
zval_ptr, (*zval_ptr)-refcount, (*zval_ptr)-refcount-1);
#endif  
(*zval_ptr)-refcount--;
^ here error!
if ((*zval_ptr)-refcount==0) {
zval_dtor(*zval_ptr);
safe_free_zval_ptr(*zval_ptr);
} else if (((*zval_ptr)-refcount == 1)  ((*zval_ptr)-type !=
IS_OBJECT)) {
(*zval_ptr)-is_ref = 0;
}
}

obvious, that httpd instance crashes with core,,, and users have to Reload the pages 
when this error appears...

i have no idea about this error reason...

thank you,
  Andriy Tkachuk.

Previous Comments:


[2001-11-26 13:05:47] [EMAIL PROTECTED]

when i debug the problem gdb get's me such report:
Program received signal SIGSEGV, Segmentation fault.
_zval_ptr_dtor (zval_ptr=0x4c41424f) at zend_execute_API.c:259
259 (*zval_ptr)-refcount--;
(gdb)

in this file there is:
ZEND_API void _zval_ptr_dtor(zval **zval_ptr ZEND_FILE_LINE_DC)
{
#if DEBUG_ZEND=2
printf(Reducing refcount for %x (%x):  %d-%d\n, *zval_ptr, zval_ptr, 
(*zval_ptr)-refcount, (*zval_ptr)-refcount-1);
#endif  
(*zval_ptr)-refcount--;
^ here error!
if ((*zval_ptr)-refcount==0) {
zval_dtor(*zval_ptr);
safe_free_zval_ptr(*zval_ptr);
} else if (((*zval_ptr)-refcount == 1)  ((*zval_ptr)-type != IS_OBJECT)) {
(*zval_ptr)-is_ref = 0;
}
}


i have no idea about this...





Edit this bug report at http://bugs.php.net/?id=14239edit=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]




[PHP-DEV] Bug #13446: Compile fails in Zend with NSAPI and GCC 3

2001-09-26 Thread ant

From: [EMAIL PROTECTED]
Operating system: Solaris 2.6/7/8
PHP version:  4.0.6
PHP Bug Type: Compile Failure
Bug description:  Compile fails in Zend with NSAPI and GCC 3

Compile fails with STL errors in the Zend parser.

Using Solaris OS various versions.
Using GCC 3 from ftp.sunfreeware.com.

Saw a similar bug report for Apache 2 so I suppose this is a general
issue for threaded web servers with Gcc 3.

Problem is fixed in CVS.
-- 
Edit bug report at: http://bugs.php.net/?id=13446edit=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]




[PHP-DEV] Bug #13015: race condition same as #11676

2001-08-28 Thread ant

From: [EMAIL PROTECTED]
Operating system: Linux 2.2.12-20
PHP version:  4.0.6
PHP Bug Type: Scripting Engine problem
Bug description:  race condition same as #11676 

Hi

I am having the same problem  as bug #11676 on:
Linux  2.2.12-20
Apache/1.3.20 
PHP/4.0.6
(Also tried Apache 1.3.19 with Php 4.05)

./configure  --with-apache=../apache_1.3.20 --enable-track-vars
--with-oracle=/u01/app/oracle/product/8.1.5
--with-oci8=/u01/app/oracle/product/8.1.5 --with-mcr
ypt=yes  --with-gd=/usr/local --enable-apc --with-mhash 
--enable-sigchild

(tried with and without enable-sigchild)

The problem does not seem to relate to a specific script and the apache
status page shows different last scripts.

Another server running the same scripts and version, but on kernel 2.2.14
does not seem to have the same problem.

Sometimes when it goes into the race condition there is an oracle zombie
process attached to it.

Regards
Anthony
-- 
Edit bug report at: http://bugs.php.net/?id=13015edit=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]




[PHP-DEV] Bug #13015 Updated: race condition same as #11676

2001-08-28 Thread ant

ID: 13015
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Scripting Engine problem
Operating System: Linux 2.2.12-20
PHP Version: 4.0.6
New Comment:

One more thing, I think it is related to apache cleaning up unused processes to reduce 
to MaxSpareServers because it only seems to happen to processes near the end of the 
apache status list. I cant say for 100% certain, but it looks like doing a graceful 
restart on apache can also induce the error, but only sometimes. 

Previous Comments:


[2001-08-29 01:35:14] [EMAIL PROTECTED]

Hi

I am having the same problem  as bug #11676 on:
Linux  2.2.12-20
Apache/1.3.20 
PHP/4.0.6
(Also tried Apache 1.3.19 with Php 4.05)

./configure  --with-apache=../apache_1.3.20 --enable-track-vars 
--with-oracle=/u01/app/oracle/product/8.1.5 --with-oci8=/u01/app/oracle/product/8.1.5 
--with-mcr
ypt=yes  --with-gd=/usr/local --enable-apc --with-mhash  --enable-sigchild

(tried with and without enable-sigchild)

The problem does not seem to relate to a specific script and the apache status page 
shows different last scripts.

Another server running the same scripts and version, but on kernel 2.2.14 does not 
seem to have the same problem.

Sometimes when it goes into the race condition there is an oracle zombie process 
attached to it.

Regards
Anthony





Edit this bug report at http://bugs.php.net/?id=13015edit=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]