Re: [PHP4BETA] Apache Segfaults
| From: | php at home dot uh dot nu | Date: | Wed, 01 Mar 2000 00:27:13 +0000 |
| Subject: | Re: [PHP4BETA] Apache Segfaults | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-11218@lists.php.net to get a copy of this message | ||
Ok So I did a gdb on apache and here is the output
(note, I changed the username and password strings in the output to hide my real
username and password)
Program received signal SIGSEGV, Segmentation fault.
0x80aa163 in _oci_open_session (server=0x824e868, username=0x8211ba4 "blah",
password=0x8211bdc "blah", persistent=0, exclusive=1) at oci8.c:1909
1909 psession->num = zend_list_insert(psession,le_session);
(gdb) bt
#0 0x80aa163 in _oci_open_session (server=0x824e868, username=0x8211ba4 "blah",
password=0x8211bdc "blah",
persistent=0, exclusive=1) at oci8.c:1909
#1 0x80aab07 in oci_do_connect (ht=3, return_value=0x8211c4c, this_ptr=0x0, return_value_used=1,
persistent=0, exclusive=1)
at oci8.c:2227
#2 0x80ad327 in php_if_ocinlogon (ht=3, return_value=0x8211c4c, this_ptr=0x0, return_value_used=1)
at oci8.c:3418
#3 0x8116079 in execute (op_array=0x82118ac) at ./zend_execute.c:1598
#4 0x8088e35 in php_execute_script (primary_file=0xbffff598) at main.c:1146
#5 0x80a4f23 in apache_php_module_main (r=0x8218f24, fd=20, display_source_mode=0) at
sapi_apache.c:88
#6 0x8084cf4 in send_php (r=0x8218f24, display_source_mode=0, filename=0x8219a4c
"/home/waltb/web/site/htdocs/rc/php/ass.php")
at mod_php4.c:491
#7 0x8084d36 in send_parsed_php (r=0x8218f24) at mod_php4.c:503
#8 0x81308c9 in ap_invoke_handler ()
#9 0x8144c2f in process_request_internal ()
#10 0x8144c9a in ap_process_request ()
#11 0x813bf27 in child_main ()
#12 0x813c1a8 in make_child ()
#13 0x813c25c in startup_children ()
#14 0x813c8bd in standalone_main ()
#15 0x813d0dc in main ()
#16 0x405589ee in __libc_start_main (main=0x813cd54 <main>, argc=3, argv=0xbffff854,
init=0x8061024 <_init>,
fini=0x815bf84 <_fini>, rtld_fini=0x4000a570 <_dl_fini>, stack_end=0xbffff84c) at
../sysdeps/generic/libc-start.c:90
(gdb)
>
> Howdy,
> I'm having a problem with Apache Segfaulting when I'm trying to call
> OCINlogon("name", "password")
> with Apache-ssl 1.3.9 and the latest cvs of php4 on my linux box.
>
> Here is my config
> ./configure --with-oracle=$ORACLE_HOME --with-oci8=$ORACLE_HOME --with-apache=../apache_1.3.9
> --with-ftp --enable-xml --enable-wddx --enable-sysvshm --enable-sysvsem --enable-inline-optimization
> --with-zlib --enable-track-vars --enable-magic-quotes
>
> $ORACLE_HOME = /home/oracle
>
> I have a working apache+php4 binary on another linux box, but when I pull that binary to my
> linux box, apache bails as well. Is there a way I can try and debug why apache is bailing on me?
>
> Thanks
> Walt
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail: php4beta-admin@lists.php.net
>