Date: 09/26/00
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6849 Updated: Bug system"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6792 Updated: Openlink ODBC"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: ac001 <email protected>
Operating system: Windows NT, 98, etc.
PHP version: 4.0.2
PHP Bug Type: InterBase related
Bug description: php_interbase.dll crashes on ibase_query()...
The Interbase PHP module will crash on multithreaded operating systems because an abstraction of functions from the PHP3 port may not have been debugged yet. Please recompile your php_interbase.dll with the following changes to fix this problem:
========================= interbase.c BEFORE =======================
PHP_MINIT_FUNCTION(ibase)
{
IBLS_FETCH();
ZEND_INIT_MODULE_GLOBALS(ibase, php_ibase_init_globals, NULL);
REGISTER_INI_ENTRIES();
========================= interbase.c AFTER ======================
PHP_MINIT_FUNCTION(ibase)
{
// IBLS_FETCH();
zend_ibase_globals *ibase_globals; //AC: This does not need to call ts_resource() yet.
ZEND_INIT_MODULE_GLOBALS(ibase, php_ibase_init_globals, NULL);
//AC: because ZEND_INIT_MODULE_GLOBALS creates a new ibase_globals_id, we
// have to make sure that all globals are saved under that ibase_globals_id
ibase_globals = ts_resource(ibase_globals_id);
REGISTER_INI_ENTRIES();
======================================================
... I'm not sure how to get onto the CVS to send this fix in. Will someone please send it in on my behalf? Thank you.
Sincerely,
Albert Chau.
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6849 Updated: Bug system"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6792 Updated: Openlink ODBC"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

