|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6883 php_interbase.dll crashes on ibase_query()...
Submitted: 2000-09-26 00:23 UTC Modified: 2000-12-07 11:42 UTC
From: ac001 at figment dot net Assigned:
Status: Closed Package: InterBase related
PHP Version: 4.0.2 OS: Windows NT, 98, etc.
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: ac001 at figment dot net
New email:
PHP Version: OS:


 [2000-09-26 00:23 UTC] ac001 at figment dot net
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  =======================


	ZEND_INIT_MODULE_GLOBALS(ibase, php_ibase_init_globals, NULL);


=========================  interbase.c AFTER  ======================

	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);



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


Albert Chau.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-27 23:25 UTC]
This is, I hope, fixed in another way (can't test it because I don't have any Windows
machine).You should fetch php4.0.4-dev for win32 from

Or if you would rather stay with a release version, php4.0.3 for win32 from
the same place and contact me ( directly for an updated version
of php_interbase.dll (thanks to Daniel Beulshausen for compiling it), there was
still one critical InterBase-related bug in 4.0.3.

 [2000-12-07 11:42 UTC]
No feedback.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Dec 03 06:01:27 2023 UTC