ID:               45617
 Updated by:       [EMAIL PROTECTED]
 Reported By:      herps at raqtweak dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Unknown/Other Function
 Operating System: Linux
 PHP Version:      5.2.6
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

This place is not for support for writing extensions but reporting
errors in PHP. Best place for such questions would be the pecl-dev
mailing list.

For you're problem: Please learn how ZTS/TSRM works before randomly
placing macros in the code, a good start might be Sara's book about
extending PHP or her blog article on TSRM stuff (use your favorite
search engine for finding that...)


Previous Comments:
------------------------------------------------------------------------

[2008-07-24 17:12:41] herps at raqtweak dot com

Description:
------------
Hi,

I am using a custom written PHP module, originally written for PHP4. It
is a connector for a custom written database. The script works fine,
even under PHP5.

Problems arise when I compile Apache as MPM Worker, which means ZTS for
PHP. When we use ZTS, things crash.

The piece of code it concerns, according to the gdb output, can be
found in the link provided to the source.

I also included a GDB backtrace. The problem ONLY occurs when a script,
which of course uses the module, is called. In all other cases, PHP and
Apache will remain running!

Reproduce code:
---------------
http://www.raqtweak.com/downloads/source.txt

Actual result:
--------------
0x00cdd1d8 in _zend_list_find (id=14, type=0xa4652e08,
tsrm_ls=0xb97b2ef4) at
/usr/src/redhat/BUILD/php-5.2.6/Zend/zend_list.c:72
72              if (zend_hash_index_find(&EG(regular_list), id, (void
**) &le)==SUCCESS) {


------------------------------------------------------------------------


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

Reply via email to