|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-11-26 10:45 UTC] jani@php.net
[2007-11-29 10:39 UTC] bearsite at gmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 01:00:02 2025 UTC |
Description: ------------ It looks like php5 - works fine. Until I try to php5-interbase functions. # Options for php5-5.2.5 WITH_CLI=true WITH_CGI=true WITH_SUHOSIN=true WITH_MULTIBYTE=true WITH_FASTCGI=true WITH_PATHINFO=true And php5 compiled only with one extension 'php5-interbase'. No other etnension is used. Firebird-server running on the same mashine and it looks works fine, I can simple connect and make queries from other mashine. //firebird-client-2.0.3_1 //firebird-server-2.0.3_1 Reproduce code: --------------- <? $ibdbc = ibase_connect ('localhost:/baza/DB1.GDB', 'SYSDBA', 'masterkey'); echo "OK"; ?> Expected result: ---------------- I expecting to see. >'OK' Actual result: -------------- But every time I get: >'Segementation fault( core dumped )' or >'Segementation fault: 11' (gdb) bt #0 0x000000080153abf9 in ThreadData::restoreSpecific () from /usr/local/lib/libfbclient.so.2 #1 0x000000080154fc19 in error () from /usr/local/lib/libfbclient.so.2 #2 0x0000000801557d66 in REM_attach_database () from /usr/local/lib/libfbclient.so.2 #3 0x000000080154551b in isc_attach_database () from /usr/local/lib/libfbclient.so.2 #4 0x000000080140732f in _php_ibase_attach_db () from /usr/local/lib/php/20060613-debug/interbase.so #5 0x00000008014078c2 in _php_ibase_connect () from /usr/local/lib/php/20060613-debug/interbase.so #6 0x0000000801407b7f in zif_ibase_connect () from /usr/local/lib/php/20060613-debug/interbase.so #7 0x0000000000594c09 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffffffc7e0) at zend_vm_execute.h:200 #8 0x000000000059afc1 in ZEND_DO_FCALL_SPEC_CONST_HANDLER (execute_data=0x7fffffffc7e0) at zend_vm_execute.h:1681 #9 0x0000000000594697 in execute (op_array=0x801331558) at zend_vm_execute.h:92 #10 0x0000000000594d98 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffffffd0d0) at zend_vm_execute.h:234 #11 0x00000000005959a5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (execute_data=0x7fffffffd0d0) at zend_vm_execute.h:322 #12 0x0000000000594697 in execute (op_array=0x80132e718) at zend_vm_execute.h:92 #13 0x0000000000569f76 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /usr/ports/lang/php5/work/php-5.2.5/Zend/zend.c:1215 #14 0x000000000050e410 in php_execute_script (primary_file=0x7fffffffea10) at /usr/ports/lang/php5/work/php-5.2.5/main/main.c:2025 #15 0x00000000005f0325 in main (argc=2, argv=0x7fffffffeba0) at /usr/ports/lang/php5/work/php-5.2.5/sapi/cli/php_cli.c:1146