Bug #776: Apache seg faults on Ora_Logon

From: Date: Thu, 24 Sep 1998 08:54:44 +0000
Subject: Bug #776: Apache seg faults on Ora_Logon
Groups: php.dev 
Request: Send a blank email to php-dev+get-1456@lists.php.net to get a copy of this message
From: doussot@gifrance.com Operating system: Linux 2.0, libc 6 PHP version: 3.0 Latest CVS PHP Bug Type: Oracle related Bug description: Apache seg faults on Ora_Logon PHP3 with Oracle support on Linux does not work: Ora_Logon makes Apache immediately seg fault: (Oracle is the pre 8.0.5 eval version) Program received signal SIGSEGV, Segmentation fault. 0x81172c1 in oopen () (gdb) back #0 0x81172c1 in oopen () #1 0x809c9fb in php3_Ora_Do_Logon (ht=0x81d76d8, return_value=0x8127720, list=0x8129678, plist=0x812964c, persistent=0) at functions/oracle.c:468 #2 0x809c74a in php3_Ora_Logon (ht=0x81d76d8, return_value=0x8127720, list=0x8129678, plist=0x812964c) at functions/oracle.c:384 #3 0x80b671d in cs_functioncall_post_variable_passing ( function_name=0xbfffea2c, phpchar=0xbfffe9dc) at control_structures_inline.h:922 #4 0x80b9e66 in phpparse () at ./language-parser.y:533 #5 0x80749ef in php3_parse (yyin=0x81d05f0) at main.c:1461 #6 0x8074d3b in apache_php3_module_main (r=0x81cdafc, fd=21, display_source_mode=0, preprocessed=0) at main.c:1841 #7 0x807195c in send_php3 (r=0x81cdafc, display_source_mode=0, preprocessed=0) at mod_php3.c:224 #8 0x80719e0 in send_parsed_php3 (r=0x81cdafc) at mod_php3.c:244 #9 0x80c55a3 in ap_invoke_handler (r=0x81cdafc) at http_config.c:505 #10 0x80da1f9 in process_request_internal (r=0x81cdafc) at http_request.c:1173 #11 0x80da25c in ap_process_request (r=0x81cdafc) at http_request.c:1189 #12 0x80d1779 in child_main (child_num_arg=0) at http_main.c:3797 #13 0x80d1938 in make_child (s=0x812f84c, slot=0, now=906626976) at http_main.c:3869 #14 0x80d1ac3 in startup_children (number_to_start=5) at http_main.c:3943 #15 0x80d2144 in standalone_main (argc=2, argv=0xbffff9b4) at http_main.c:4221 #16 0x80d29e3 in main (argc=2, argv=0xbffff9b4) at http_main.c:4505 The script: <? Error_reporting(1023); PutEnv("ORACLE_HOME=/home/oracle"); PutEnv("ORACLE_SID=TEST"); $ora_conn = ora_logon("test", "test"); ?> -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#1456) next »