#20203 [Opn->Bgs]: odbc_do() or odbc_exec() Always produces a segmentation fault core dump
| From: | kalowsky@php.net | Date: | Mon, 20 Jan 2003 01:05:59 +0000 |
| Subject: | #20203 [Opn->Bgs]: odbc_do() or odbc_exec() Always produces a segmentation fault core dump | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-30609@lists.php.net to get a copy of this message | ||
ID: 20203
Updated by: kalowsky@php.net
Reported By: xmixail@ipnet.gr
-Status: Open
+Status: Bogus
Bug Type: ODBC related
Operating System: sparc solaris 2.8 and 2.6
PHP Version: 4.2.3
New Comment:
This isn't a bug in the PHP code. The SQLExtendedFetch basically
creates a cursor for examination of the data, rather than have to
transfer the data over the network each time. In ODBC v3 it's called
SQLFetchScroll and works a bit better (optimized thats all).
Honestly I can't reproduce this bug on my end. What I'm thinking is
happening is your database doesn't support the scrollable cursor
option, for which I suggest you read in the manual how to change this.
It should make a big difference.
Marking as bogus, as this isn't a bug in the PHP end of things.
Previous Comments:
------------------------------------------------------------------------
[2002-11-19 05:15:44] xmixail@ipnet.gr
Hello there
I have no tried this on freeBSD or OSX
But on suse linux i had exactly the same symptom
and it was resolved the sane way Thats why i suspect that the problem
could be in the php code
Regards
Christos
------------------------------------------------------------------------
[2002-11-18 16:53:49] kalowsky@php.net
No because the same code works just fine using iODBC on OSX, FreeBSD,
and Linux (i386). So if anything it's a case of drivers not being
properly supported for the SunOS systems.
------------------------------------------------------------------------
[2002-11-18 13:14:58] xmixail@ipnet.gr
Hello again
I have already submitted a bug on openlinksw
But dont you think that this is a bug of php ?
And by the way what is the difference between the 2 functions ?
Regards
Christos
------------------------------------------------------------------------
[2002-11-18 10:34:08] kalowsky@php.net
Can you please submit a bug with Openlink SW the makers of iODBC. This
should work, for all platforms.
Please submit a bug at
http://www.openlinksw.com/support/online.htm
------------------------------------------------------------------------
[2002-11-18 08:57:51] xmixail@ipnet.gr
Hello from Athens AGAIN
WOWOWOWOWOW I am happy
I removed the line you said from ext/odbc/php_odbc.h
and DAMN it works !!!!!!!!!!!!!
Thanks very much for your help
I anyway think that the bug still exists as fat as SQLExtendedFetch is
conserned and has to be resolved in future releases of php (I used
4.2.3)
Best regards
Christos
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/20203
--
Edit this bug report at http://bugs.php.net/?id=20203&edit=1