ID: 33383 User updated by: johnny at ouranous dot idv dot tw Reported By: johnny at ouranous dot idv dot tw -Status: No Feedback +Status: Open Bug Type: OCI8 related Operating System: Solaris 9 PHP Version: 5.0.4 Assigned To: tony2001 New Comment:
oci8-beta still got crashed. And there was something I forgot to mention. My Oracle 9i is configured to use UTF8. Previous Comments: ------------------------------------------------------------------------ [2005-09-17 01:00:01] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2005-09-09 08:28:53] [EMAIL PROTECTED] http://www.php.net/anoncvs.php (And please leave at Feedback until you can provide more information) ------------------------------------------------------------------------ [2005-09-09 05:07:50] johnny at ouranous dot idv dot tw Sorry, I'm having a business trip now, will not be able to test until October. And I have no experience of build php from CVS, where can I get information about it? ------------------------------------------------------------------------ [2005-09-08 11:51:36] [EMAIL PROTECTED] Please try OCI8 v.1.1, which is available in CVS HEAD and PECL (use `pear install oci8-beta` to install it). ------------------------------------------------------------------------ [2005-06-20 11:39:06] johnny at ouranous dot idv dot tw http://snaps.php.net/php5-latest.tar.gz did not work, either. After some simple but stupid work by added some oci_debug in ext/oci8/oci8.c, I found the program crashed at line 2254: CALL_OCI_RETURN(connection->error, OCILobRead( connection->pServiceContext, connection->pError, mydescr->ocidescr, &readlen, /* IN/OUT bytes toread/read */ siz + 1, /* offset (starts with 1) */ (dvoid *) ((char *) buf + siz), readlen, /* size of buffer */ (dvoid *)0, (OCICallbackLobRead) 0, /* callback... */ (ub2) connection->session->charsetId, /* The character set ID of the buffer data. */ (ub1) SQLCS_IMPLICIT /* The character set form of the buffer data. */ ) ); when readlen == 1 and whenever the real data store in lob field is ' ' or not. (I was mistake in previous post, there is a ' ' in the clob field) I tried add readlen++; before buf = emalloc(readlen + 1); and it works in all my test case but I don't know if this is the correctly way to solve it. ------------------------------------------------------------------------ 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/33383 -- Edit this bug report at http://bugs.php.net/?id=33383&edit=1