Bug #18320: ORA-03106: fatal two-task communication protocol error
| From: | galvao at informabrasil dot com dot br | Date: | Fri, 12 Jul 2002 17:27:10 +0000 |
| Subject: | Bug #18320: ORA-03106: fatal two-task communication protocol error | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-14000@lists.php.net to get a copy of this message | ||
From: galvao@informabrasil.com.br
Operating system: Linux - SuSE 7.2
PHP version: 4.2.1
PHP Bug Type: OCI8 related
Bug description: ORA-03106: fatal two-task communication protocol error
Greetings.
I'm having problems when I try to retrieve *char values from Oracle 8.1.7.
I'm trying with a script that I've made and even with the examples from
php.net and nothing seems to work. I always receive the same message from
Oracle (see the title).
The strange thing is that this only happens with string-types (char,
varchar, etc). If I try to retrieve a date or a number it works ok.
If I try it with other languages than PHP it also works.
Here is an example script - you can see it's the same from PHP docs:
<?php
$user = "foo";
$pass = "bar";
$tns = "my_db";
$conn = ociplogon($user,$pass,$tns) or die("Connection error");
$query = sprintf("SELECT NAME FROM xyz");
$stmt = ociparse($conn,$query);
ociexecute($stmt); // Here's where the error occur
while(ocifetch($stmt))
{
echo ociresult($stmt);
}
ocilogoff($conn);
?>
If I replace "NAME" by "COD" (an int field) it works fine.
I've also saw dozens of posts in PHP communities relating directly to the
same problem I'm having.
Is this a bug? If it is when it will be fixed?
If it's not you should at least post the solution on the FAQ, since there
are many developers having this problem.
Thanks in advance,
Er Galvão Abbott
Informa Brasil
--
Edit bug report at http://bugs.php.net/?id=18320&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18320&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18320&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18320&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18320&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18320&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18320&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18320&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18320&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18320&r=globals