#42220 [Fbk-Opn]: thread safe problem with the true global list_destructors

2007-08-12 Thread mv at binarysec dot com
 ID:   42220
 User updated by:  mv at binarysec dot com
 Reported By:  mv at binarysec dot com
-Status:   Feedback
+Status:   Open
 Bug Type: Scripting Engine problem
 Operating System: linux
 PHP Version:  5CVS-2007-08-06 (CVS)
 New Comment:

There is no php.ini defined, i used Apache 2.2.3 -worker- + PHP_5_2 as
a module (cvs).
In fact i have saw the problem 2 times on a core 2 duo and many times
on  my quad core which i used to develope.

I use nikto  curl to load the server.

Have fun ;)


Previous Comments:


[2007-08-12 14:13:42] [EMAIL PROTECTED]

And you didn't mention anything about how you've configured PHP and
under what webserver you're using it..



[2007-08-12 14:13:05] [EMAIL PROTECTED]

The question is: Do you get it at all when APC is NOT loaded?



[2007-08-06 12:06:56] mv at binarysec dot com

Description:

Hi,

I have a thread safe problem with the true global list_destructors,
sometimes i got some messages like :
bWarning/b:  Unknown list entry type in request shutdown
(1882088036) in bUnknown/b on line b0/bbr /

It happens very randomly i don't really know how to reproduce the code,
but APC looks to help to get the error.

I had a look at list_entry_destructor() zend_list.c +374 why does this
function generate this error and it looks that list_destructors isn't
thread safe.

I **need** to fix that because sometimes you could get a blank page
with APC.


Reproduce code:
---
none

Expected result:

none

Actual result:
--
bWarning/b:  Unknown list entry type in request shutdown
(1882088036) in bUnknown/b on line b0/bbr /





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


#42220 [NEW]: thread safe problem with the true global list_destructors

2007-08-06 Thread mv at binarysec dot com
From: mv at binarysec dot com
Operating system: linux
PHP version:  5CVS-2007-08-06 (CVS)
PHP Bug Type: Unknown/Other Function
Bug description:  thread safe problem with the true global list_destructors

Description:

Hi,

I have a thread safe problem with the true global list_destructors,
sometimes i got some messages like :
bWarning/b:  Unknown list entry type in request shutdown (1882088036)
in bUnknown/b on line b0/bbr /

It happens very randomly i don't really know how to reproduce the code,
but APC looks to help to get the error.

I had a look at list_entry_destructor() zend_list.c +374 why does this
function generate this error and it looks that list_destructors isn't
thread safe.

I **need** to fix that because sometimes you could get a blank page with
APC.


Reproduce code:
---
none

Expected result:

none

Actual result:
--
bWarning/b:  Unknown list entry type in request shutdown (1882088036)
in bUnknown/b on line b0/bbr /

-- 
Edit bug report at http://bugs.php.net/?id=42220edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=42220r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=42220r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=42220r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=42220r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=42220r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=42220r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=42220r=needscript
Try newer version:http://bugs.php.net/fix.php?id=42220r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=42220r=support
Expected behavior:http://bugs.php.net/fix.php?id=42220r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=42220r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=42220r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=42220r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=42220r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=42220r=dst
IIS Stability:http://bugs.php.net/fix.php?id=42220r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=42220r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=42220r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=42220r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=42220r=mysqlcfg


#40668 [NEW]: Add of resource for module_registry (Zend API)

2007-02-28 Thread mv at binarysec dot com
From: mv at binarysec dot com
Operating system: All
PHP version:  5CVS-2007-02-28 (CVS)
PHP Bug Type: Feature/Change Request
Bug description:  Add of resource for module_registry (Zend API)

Description:

Is it possible to add a new TS resource for :
- static int module_count=0 (Zend/zend_API.c)
- ZEND_API HashTable module_registry (Zend/zend_API.c)

I got some problems when i try to load a new module in a thread.

Thanks

Expected result:

br /
bWarning/b:  Module 'X7V3' already loaded in bUnknown/b on line
b0/bbr /
br /
bWarning/b:  Function registration failed - duplicate name -
XX in bUnknown/b on line b0/bbr /
br /
bWarning/b:  X7V3:  Unable to register functions, unable to load in
bUnknown/b on line b0/bbr /


-- 
Edit bug report at http://bugs.php.net/?id=40668edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=40668r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=40668r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=40668r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=40668r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=40668r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=40668r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=40668r=needscript
Try newer version:http://bugs.php.net/fix.php?id=40668r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=40668r=support
Expected behavior:http://bugs.php.net/fix.php?id=40668r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=40668r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=40668r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=40668r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=40668r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=40668r=dst
IIS Stability:http://bugs.php.net/fix.php?id=40668r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=40668r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=40668r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=40668r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=40668r=mysqlcfg


#40230 [NEW]: user_filters.c:283: error: 'wildname' undeclared

2007-01-24 Thread mv at binarysec dot com
From: mv at binarysec dot com
Operating system: Linux x86_64
PHP version:  5CVS-2007-01-25 (CVS)
PHP Bug Type: Compile Failure
Bug description:  user_filters.c:283: error: 'wildname' undeclared

Description:

I got a compilation problem with the last PHP_5_2.



Reproduce code:
---
make

Expected result:

None

Actual result:
--
ext/standard/user_filters.c:283: error: 'wildname' undeclared (first use
in this function)

-- 
Edit bug report at http://bugs.php.net/?id=40230edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=40230r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=40230r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=40230r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=40230r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=40230r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=40230r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=40230r=needscript
Try newer version:http://bugs.php.net/fix.php?id=40230r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=40230r=support
Expected behavior:http://bugs.php.net/fix.php?id=40230r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=40230r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=40230r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=40230r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=40230r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=40230r=dst
IIS Stability:http://bugs.php.net/fix.php?id=40230r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=40230r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=40230r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=40230r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=40230r=mysqlcfg


#39787 [Fbk-Opn]: PHP doesn't work with Apache 2.3 series

2006-12-11 Thread mv at binarysec dot com
 ID:   39787
 User updated by:  mv at binarysec dot com
 Reported By:  mv at binarysec dot com
-Status:   Feedback
+Status:   Open
 Bug Type: Apache2 related
 Operating System: All
 PHP Version:  5CVS-2006-12-10 (CVS)
 New Comment:

Sorry, here is the new link. 

http://mykii.binarysec.com/PHP/PHP-Apache-2.3-support.diff


Previous Comments:


[2006-12-11 10:49:35] [EMAIL PROTECTED]

The link is broken.



[2006-12-10 13:08:39] mv at binarysec dot com

Tony,

Here is the patch allow PHP to support Apache  2.3.
I add a new function - apache_get_description() that used the new
Apache function ap_get_server_description(). This new function allow
you to get the platform description :]

http://badcode.be/~descript/PHP/PHP-Apache-2.3-support.diff

Awaiting your feedbacks
Michael Vergoz



[2006-12-10 11:52:27] mv at binarysec dot com

Description:

PHP doesn't work with Apache 2.3 series.
On Apache 2.3 the ap_get_server_version() function has been replace by
ap_get_server_banner()  ap_get_server_description().

See the Apache changelog (from trunk) :
* 20060905.0 (2.3.0-dev)  Replaced ap_get_server_version() with
* ap_get_server_banner() and
ap_get_server_description()

Actual result:
--
httpd: Syntax error on line 53 of /Web/conf/httpd.conf: Cannot load
/Web/modules/libphp5.so into server: /Web/modules/libphp5.so: undefined
symbol: ap_get_server_version





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


#38873 [NEW]: APC conflicting types for apc_zend_init() and apc_zend_shutdown()

2006-09-18 Thread mv at binarysec dot com
From: mv at binarysec dot com
Operating system: Linux 2.4 Deb unstable
PHP version:  5.2.0RC4
PHP Bug Type: Compile Failure
Bug description:  APC conflicting types for apc_zend_init() and 
apc_zend_shutdown()

Description:

/pecl/apc/apc_zend.c:241: error: conflicting types for 'apc_zend_init'
/pecl/apc/apc_zend.h:41: error: previous declaration of 'apc_zend_init'
was here
/pecl/apc/apc_zend.c:242: error: conflicting types for
'apc_zend_shutdown'
/pecl/apc/apc_zend.h:42: error: previous declaration of
'apc_zend_shutdown' was here


Reproduce code:
---
./configure  --with-php-config=/.../php-config --enable-apc
--disable-apc-mmap --enable-apc-sem
make ;)


-- 
Edit bug report at http://bugs.php.net/?id=38873edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=38873r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=38873r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=38873r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38873r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=38873r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=38873r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=38873r=needscript
Try newer version:http://bugs.php.net/fix.php?id=38873r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=38873r=support
Expected behavior:http://bugs.php.net/fix.php?id=38873r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=38873r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=38873r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38873r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=38873r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38873r=dst
IIS Stability:http://bugs.php.net/fix.php?id=38873r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=38873r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=38873r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=38873r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=38873r=mysqlcfg


#38873 [Com]: APC conflicting types for apc_zend_init() and apc_zend_shutdown()

2006-09-18 Thread mv at binaryseC dot com
 ID:   38873
 Comment by:   mv at binaryseC dot com
 Reported By:  mv at binarysec dot com
 Status:   Open
 Bug Type: Compile Failure
 Operating System: Linux 2.4 Deb unstable
 PHP Version:  5.2.0RC4
 New Comment:

vim apc_zend.c +241
replace 'void' by TSRMLS_D on each apc_zend_init()/shutdown()


Previous Comments:


[2006-09-18 21:12:54] mv at binarysec dot com

Description:

/pecl/apc/apc_zend.c:241: error: conflicting types for 'apc_zend_init'
/pecl/apc/apc_zend.h:41: error: previous declaration of 'apc_zend_init'
was here
/pecl/apc/apc_zend.c:242: error: conflicting types for
'apc_zend_shutdown'
/pecl/apc/apc_zend.h:42: error: previous declaration of
'apc_zend_shutdown' was here


Reproduce code:
---
./configure  --with-php-config=/.../php-config --enable-apc
--disable-apc-mmap --enable-apc-sem
make ;)






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