Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error reading data from the connection [CORE982] #1387

Closed
firebird-automations opened this issue Oct 29, 2006 · 8 comments
Closed

Error reading data from the connection [CORE982] #1387

firebird-automations opened this issue Oct 29, 2006 · 8 comments

Comments

@firebird-automations
Copy link
Collaborator

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>
<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: 911fc7e b1aa499 267fcd7
@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

Fixed in both 2.0.1 and HEAD

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.0.1 [ 10090 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Link: This issue is duplicated by CORE1059 [ CORE1059 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Link: This issue is related to CORE944 [ CORE944 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Workflow: jira [ 11292 ] => Firebird [ 15381 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants