#15858 [Opn-Fbk]: Unable to load dynamic library liboci8.so

2003-01-29 Thread maxim
 ID:   15858
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Feedback
 Bug Type: OCI8 related
 Operating System: UnixWare 7.1.1
 PHP Version:  4.0.6-4.2.1
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip




Previous Comments:


[2002-10-17 07:59:02] [EMAIL PROTECTED]

Still unable to compile, even with file.h fixed and with latest php
snapshot. And I am sure I do not have  two versions of Apache in my
machine. Compilation error follows:

gcc -I/usr/local/include -Isapi/apache/
-I/home/sw/php4-200210170300/sapi/apache/ -DPHP_ATOM_INC
-I/home/sw/php4-200210170300/include -I/home/sw/php4-200210170300/main
-I/home/sw/php4-200210170300 -I/home/sw/php4-200210170300/Zend
-I/u01/app/oracle/product/8.1.7/rdbms/public
-I/u01/app/oracle/product/8.1.7/rdbms/demo
-I/home/sw/php4-200210170300/ext/xml/expat -DUW=700 -DMOD_SSL=208110
-DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I/home/sw/php4-200210170300/TSRM -g
-Wall -c /home/sw/php4-200210170300/sapi/apache/mod_php4.c  -fPIC -DPIC
-o sapi/apache/mod_php4.lo
/home/sw/php4-200210170300/sapi/apache/mod_php4.c: In function
`apache_php_module_shutdown_wrapper':
/home/sw/php4-200210170300/sapi/apache/mod_php4.c:788: structure has no
member named `shutdown'
/home/sw/php4-200210170300/sapi/apache/mod_php4.c: In function
`php_child_exit_handler':
/home/sw/php4-200210170300/sapi/apache/mod_php4.c:809: structure has no
member named `shutdown'
make: *** [sapi/apache/mod_php4.lo] Error 1



[2002-10-07 18:46:21] [EMAIL PROTECTED]

This really looks like something to be pretty broken in
those header files. Try fixing this line:

#define FDIRECT 0x20/* perform direct I/O/*/

to be:

#define FDIRECT 0x20/* perform direct I/O */

(just remove that extra / in the comment)

This might not fix the rest of the problems, but at least it gets rid
of that one warning..which _might_ cause the other errors. And you
don't have e.g. two versions of Apache in your machine, by any chance?




[2002-10-07 03:51:57] [EMAIL PROTECTED]

Lines 103-109 from file.h follow:

#define FAPPEND 0x08
#define FSYNC   0x10
#define FDIRECT 0x20/* perform direct I/O/*/
#define FDSYNC  0x40/* perform data synchronous I/O
*/
#define FNONBLOCK   0x80
/* LFS SUPPORT */
#define FLARGEFILE  0x8

Full configure line used follows:

./configure --with-oci8=shared --with-apxs --without-mysql
--enable-sigchild --build=i486-sco-sysv5uw7 --host=i486-sco-sysv5uw7
--enable-debug --disable-mbstring



[2002-10-04 18:44:18] [EMAIL PROTECTED]

Seems like something wrong in your header files.
That warning about /usr/include/sys/file.h:105...what is in that file
on that line? (and around it)

Also, what was the full configure line used?




[2002-10-04 08:26:52] [EMAIL PROTECTED]

In newer snapshot this compile error persists, --disable-mbstring
helps, but compilation then stops at 

gcc -I/usr/local/include -Isapi/apache/
-I/home/sw/php4-200210040300/sapi/apache/ -DPHP_ATOM_INC
-I/home/sw/php4-200210040300/include -I/home/sw/php4-200210040300/main
-I/home/sw/php4-200210040300 -I/home/sw/php4-200210040300/Zend
-I/u01/app/oracle/product/8.1.7/rdbms/public
-I/u01/app/oracle/product/8.1.7/rdbms/demo
-I/home/sw/php4-200210040300/ext/xml/expat -DUW=700 -DMOD_SSL=208110
-DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I/home/sw/php4-200210040300/TSRM -g
-Wall -c /home/sw/php4-200210040300/sapi/apache/mod_php4.c  -fPIC -DPIC
-o sapi/apache/mod_php4.lo
In file included from /usr/local/include/ap_config.h:1118,
 from /usr/local/include/httpd.h:72,
 from
/home/sw/php4-200210040300/sapi/apache/php_apache_http.h:15,
 from
/home/sw/php4-200210040300/sapi/apache/mod_php4.c:22:
/usr/include/sys/file.h:105: warning: `/*' within comment
/home/sw/php4-200210040300/sapi/apache/mod_php4.c: In function
`apache_php_module_shutdown_wrapper':
/home/sw/php4-200210040300/sapi/apache/mod_php4.c:788: structure has no
member named `shutdown'
/home/sw/php4-200210040300/sapi/apache/mod_php4.c: In function
`php_child_exit_handler':
/home/sw/php4-200210040300/sapi/apache/mod_php4.c:809: structure has no
member named `shutdown'
make: *** [sapi/apache/mod_php4.lo] Error 1

In the same configuration, version 4.2.3 can be compiled without any
problem.




#15858 [Opn-Fbk]: Unable to load dynamic library liboci8.so

2002-10-07 Thread sniper

 ID:   15858
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Feedback
 Bug Type: OCI8 related
 Operating System: UnixWare 7.1.1
 PHP Version:  4.0.6-4.2.1
 New Comment:

This really looks like something to be pretty broken in
those header files. Try fixing this line:

#define FDIRECT 0x20/* perform direct I/O/*/

to be:

#define FDIRECT 0x20/* perform direct I/O */

(just remove that extra / in the comment)

This might not fix the rest of the problems, but at least it gets rid
of that one warning..which _might_ cause the other errors. And you
don't have e.g. two versions of Apache in your machine, by any chance?



Previous Comments:


[2002-10-07 03:51:57] [EMAIL PROTECTED]

Lines 103-109 from file.h follow:

#define FAPPEND 0x08
#define FSYNC   0x10
#define FDIRECT 0x20/* perform direct I/O/*/
#define FDSYNC  0x40/* perform data synchronous I/O
*/
#define FNONBLOCK   0x80
/* LFS SUPPORT */
#define FLARGEFILE  0x8

Full configure line used follows:

./configure --with-oci8=shared --with-apxs --without-mysql
--enable-sigchild --build=i486-sco-sysv5uw7 --host=i486-sco-sysv5uw7
--enable-debug --disable-mbstring



[2002-10-04 18:44:18] [EMAIL PROTECTED]

Seems like something wrong in your header files.
That warning about /usr/include/sys/file.h:105...what is in that file
on that line? (and around it)

Also, what was the full configure line used?




[2002-10-04 08:26:52] [EMAIL PROTECTED]

In newer snapshot this compile error persists, --disable-mbstring
helps, but compilation then stops at 

gcc -I/usr/local/include -Isapi/apache/
-I/home/sw/php4-200210040300/sapi/apache/ -DPHP_ATOM_INC
-I/home/sw/php4-200210040300/include -I/home/sw/php4-200210040300/main
-I/home/sw/php4-200210040300 -I/home/sw/php4-200210040300/Zend
-I/u01/app/oracle/product/8.1.7/rdbms/public
-I/u01/app/oracle/product/8.1.7/rdbms/demo
-I/home/sw/php4-200210040300/ext/xml/expat -DUW=700 -DMOD_SSL=208110
-DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I/home/sw/php4-200210040300/TSRM -g
-Wall -c /home/sw/php4-200210040300/sapi/apache/mod_php4.c  -fPIC -DPIC
-o sapi/apache/mod_php4.lo
In file included from /usr/local/include/ap_config.h:1118,
 from /usr/local/include/httpd.h:72,
 from
/home/sw/php4-200210040300/sapi/apache/php_apache_http.h:15,
 from
/home/sw/php4-200210040300/sapi/apache/mod_php4.c:22:
/usr/include/sys/file.h:105: warning: `/*' within comment
/home/sw/php4-200210040300/sapi/apache/mod_php4.c: In function
`apache_php_module_shutdown_wrapper':
/home/sw/php4-200210040300/sapi/apache/mod_php4.c:788: structure has no
member named `shutdown'
/home/sw/php4-200210040300/sapi/apache/mod_php4.c: In function
`php_child_exit_handler':
/home/sw/php4-200210040300/sapi/apache/mod_php4.c:809: structure has no
member named `shutdown'
make: *** [sapi/apache/mod_php4.lo] Error 1

In the same configuration, version 4.2.3 can be compiled without any
problem.



[2002-10-03 19:30:02] [EMAIL PROTECTED]

Try newer snapshot..and if that compile error persists, just configure
using --disable-mbstring to skip the compile of that buggy thing.




[2002-10-03 10:00:20] [EMAIL PROTECTED]

Unfortunately, I am not able to compile this version at all:

/home/sw/php4-200210030600/ext/mbstring/mbregex.c:4565: parm types
given both in parmlist and separately
/home/sw/php4-200210030600/ext/mbstring/mbregex.c:4564: parameter name
omitted
/home/sw/php4-200210030600/ext/mbstring/mbregex.c:4567: parse error
before `regs'
/home/sw/php4-200210030600/ext/mbstring/mbregex.c:4568: parse error
before `regs'
/home/sw/php4-200210030600/ext/mbstring/mbregex.c:4569: parse error
before `regs'
make: *** [ext/mbstring/mbregex.lo] Error 1



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/15858

-- 
Edit this bug report at http://bugs.php.net/?id=15858edit=1




#15858 [Opn-Fbk]: Unable to load dynamic library liboci8.so

2002-10-03 Thread sniper

 ID:   15858
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Feedback
-Bug Type: Reproducible crash
+Bug Type: OCI8 related
 Operating System: UnixWare 7.1.1
 PHP Version:  4.0.6-4.2.1
 New Comment:

Try newer snapshot..and if that compile error persists, just configure
using --disable-mbstring to skip the compile of that buggy thing.



Previous Comments:


[2002-10-03 10:00:20] [EMAIL PROTECTED]

Unfortunately, I am not able to compile this version at all:

/home/sw/php4-200210030600/ext/mbstring/mbregex.c:4565: parm types
given both in parmlist and separately
/home/sw/php4-200210030600/ext/mbstring/mbregex.c:4564: parameter name
omitted
/home/sw/php4-200210030600/ext/mbstring/mbregex.c:4567: parse error
before `regs'
/home/sw/php4-200210030600/ext/mbstring/mbregex.c:4568: parse error
before `regs'
/home/sw/php4-200210030600/ext/mbstring/mbregex.c:4569: parse error
before `regs'
make: *** [ext/mbstring/mbregex.lo] Error 1



[2002-10-01 18:10:40] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip





[2002-03-04 11:15:48] [EMAIL PROTECTED]

Hi!

we have

- SuperMicro P3TDLE, 2* Pentium III, 1 GB RAM
- UnixWare 7.1.1 with latest patches installed
- Apache 1.3.23
- PHP 4.1.2
- Oracle 8.1.7.2
- gcc 2.95.2

PHP was configured with command:

export ORACLE_HOME=/u01/app/oracle/product/8.1.7
export LD_LIBRARY_PATH=/usr/local/lib:$ORACLE_HOME/lib
./configure --with-oci8 --with-apxs --without-mysql --enable-sigchild
--host=i486-sco-sysv5uw7
 
We have found (at least) one php page using database connection (this
page is rather complicated, but we can provide it on demand), which
generates Segmentation fault reproducibly. It seems, that
Segmentation fault is caused by php, as it can be seen from following
lines generated by gdb session:

egg 174# gdb /usr/local/apache.dbg/bin/httpd
(gdb) run -X
Starting program: /usr/local/apache.dbg/bin/./httpd -X
warning: Lowest section in /usr/lib/libdl.so.1 is .hash at 0094

Program received signal SIGSEGV, Segmentation fault.
_efree (ptr=0x0) at zend_alloc.c:222
222 CALCULATE_REAL_SIZE_AND_CACHE_INDEX(p-size);
[New Thread 1]
(gdb) bt
#0  _efree (ptr=0x0) at zend_alloc.c:222
#1  0xbfd6b787 in zend_hash_destroy (ht=0x0) at zend_hash.c:548
#2  0xbfd651b4 in _zval_dtor (zvalue=0x82072f4) at zend_variables.c:57
#3  0xbfd5d498 in _zval_ptr_dtor (zval_ptr=0x82566d0) at
zend_execute_API.c:274
#4  0xbfd6b7d0 in zend_hash_clean (ht=0x81cede4) at zend_hash.c:567
#5  0xbfd57f07 in execute () from
/usr/local/apache.dbg/libexec/libphp4.so
#6  0xbfd66a97 in zend_execute_scripts (type=8, retval=0x0,
file_count=3)
at zend.c:814
#7  0xbfd77326 in php_execute_script (primary_file=0x80479d8) at
main.c:1307
#8  0xbfd71af6 in apache_php_module_main (r=0x812d7e4,
display_source_mode=0)
at sapi_apache.c:90
#9  0xbfd72d2f in send_php (r=0x812d7e4, display_source_mode=0,
filename=0x0)
at mod_php4.c:575
#10 0xbfd72d96 in send_parsed_php (r=0x0) at mod_php4.c:590
#11 0x8056aa5 in ap_invoke_handler ()
#12 0x806d910 in process_request_internal ()
#13 0x806d97a in ap_process_request ()
#14 0x8063be7 in child_main ()
#15 0x8063da9 in make_child ()
#16 0x8063f22 in startup_children ()
#17 0x80644f0 in standalone_main ()
#18 0x8064d40 in main ()
#19 0x804f149 in _start ()

Unfortunately, we are unable to configure PHP with --enable-debug
option, it crashes with Segmentation fault during Apache startup :-(

Can somebody help ?

Pavel






-- 
Edit this bug report at http://bugs.php.net/?id=15858edit=1