You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This bug applies to NPTL Version of Firebird server also but it is very elusive on it and I can't provide a reproducible test.
Test Procedure
SET TERM ^^ ;
CREATE PROCEDURE DEBUG_PROC returns (
CODE VarChar(200))
AS
BEGIN
/* IB_UDF */
Code = SUBSTRLEN( 'blabla', 2, 3 );
/* FBUDF */
Code = ROUND( 65.35 );
suspend;
END
^^
SET TERM ; ^^
PHP Code Used:
<html>
<body>
I provided PHP code because it only reliably fails with that code\. The procedure fails with isql utility too, but not always\. There is something that PHP does that triggers the behavior\. The function ibase\_fetch\_assoc can be replaced by ibase\_fetch\_object or ibase\_fetch\_row\. The key factor in the procedure is that two different UDF libraries are used\. If I was to use one UDF library like so:
\.\.\.\.\.
/\* IB\_UDF \*/
Code = SUBSTRLEN\( 'blabla', 2, 3 \);
/\* IB\_UDF \*/
Code = SUBSTR\( 'blabla', 2, 3 \);
\.\.\.\.\.
then it is all fine\.
This is the error displayed by PHP:
Warning: ibase\_fetch\_assoc\(\) \[function\.ibase\-fetch\-assoc\]: Error reading data from the connection\. in D:\\NetCE\\Root\\testing1\.php on line 13
Test Failed\. Reason:
Fatal error: Error reading data from the connection\. in D:\\NetCE\\Root\\testing1\.php on line 20
Log on Classic server does not contain any errors\. On SuperServer NPTL \( whenever it fails \) it has:
linux \(Client\) Thu Oct 19 17:04:21 2006
/opt/firebird/bin/fbguard: bin/fbserver terminated abnormally \(\-1\)
linux \(Client\) Thu Oct 19 17:04:21 2006
/opt/firebird/bin/fbguard: guardian starting bin/fbserver
Commits: 911fc7eb1aa499267fcd7
The text was updated successfully, but these errors were encountered:
Submitted by: MikeStar (xsaero00)
Is duplicated by CORE1059
Is related to CORE944
This bug applies to NPTL Version of Firebird server also but it is very elusive on it and I can't provide a reproducible test.
Test Procedure
SET TERM ^^ ;
CREATE PROCEDURE DEBUG_PROC returns (
CODE VarChar(200))
AS
BEGIN
/* IB_UDF */
Code = SUBSTRLEN( 'blabla', 2, 3 );
/* FBUDF */
Code = ROUND( 65.35 );
suspend;
END
^^
SET TERM ; ^^
PHP Code Used:
<html>
I provided PHP code because it only reliably fails with that code\. The procedure fails with isql utility too, but not always\. There is something that PHP does that triggers the behavior\. The function ibase\_fetch\_assoc can be replaced by ibase\_fetch\_object or ibase\_fetch\_row\. The key factor in the procedure is that two different UDF libraries are used\. If I was to use one UDF library like so: \.\.\.\.\. /\* IB\_UDF \*/ Code = SUBSTRLEN\( 'blabla', 2, 3 \); /\* IB\_UDF \*/ Code = SUBSTR\( 'blabla', 2, 3 \); \.\.\.\.\. then it is all fine\. This is the error displayed by PHP: Warning: ibase\_fetch\_assoc\(\) \[function\.ibase\-fetch\-assoc\]: Error reading data from the connection\. in D:\\NetCE\\Root\\testing1\.php on line 13 Test Failed\. Reason: Fatal error: Error reading data from the connection\. in D:\\NetCE\\Root\\testing1\.php on line 20 Log on Classic server does not contain any errors\. On SuperServer NPTL \( whenever it fails \) it has: linux \(Client\) Thu Oct 19 17:04:21 2006 /opt/firebird/bin/fbguard: bin/fbserver terminated abnormally \(\-1\) linux \(Client\) Thu Oct 19 17:04:21 2006 /opt/firebird/bin/fbguard: guardian starting bin/fbserver Commits: 911fc7e b1aa499 267fcd7<body>
The text was updated successfully, but these errors were encountered: