|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2007-04-11 03:11 UTC] ms at e-kazan dot ru
Description: ------------ Segmentation fault occurs when doing a SELECT query using database link and oci8.default_prefetch is greater than 0 Reproduce code: --------------- SELECT * FROM table@db_link; db_link is created like that: create database link "db_link" connect to remote_database identified by "<pwd>" using 'SID'; PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 04:00:02 2025 UTC |
Code: $con = oci_connect('user', 'pass', 'db'); $stmt = oci_parse($con, "select * from table@db_link"); oci_execute($stmt); oci_fetch_all($stmt, $results); print_r($results); Backtrace: #0 0x014ecb40 in ttcfopr () from /usr/lib/oracle/10.2.0.3/client/lib/libclntsh.so.10.1 #1 0x014e3ba4 in ttcdrv () from /usr/lib/oracle/10.2.0.3/client/lib/libclntsh.so.10.1 #2 0x013c8bc8 in nioqwa () from /usr/lib/oracle/10.2.0.3/client/lib/libclntsh.so.10.1 #3 0x01234618 in upirtrc () from /usr/lib/oracle/10.2.0.3/client/lib/libclntsh.so.10.1 #4 0x011a95f6 in kpurcsc () from /usr/lib/oracle/10.2.0.3/client/lib/libclntsh.so.10.1 #5 0x0115d8b8 in kpuexecv8 () from /usr/lib/oracle/10.2.0.3/client/lib/libclntsh.so.10.1 #6 0x0115fec4 in kpuexec () from /usr/lib/oracle/10.2.0.3/client/lib/libclntsh.so.10.1 #7 0x012391b6 in OCIStmtExecute () from /usr/lib/oracle/10.2.0.3/client/lib/libclntsh.so.10.1 #8 0x002c4a96 in php_oci_statement_execute () from /usr/lib/php/extensions/oci8.so #9 0x002cc4ed in zif_oci_execute () from /usr/lib/php/extensions/oci8.so #10 0x0829ebc4 in zend_do_fcall_common_helper_SPEC () #11 0x0829e208 in execute () #12 0x0827ec17 in zend_execute_scripts () #13 0x08234b20 in php_execute_script () #14 0x00000000 in ?? ()