freebsd 6.2 oracle php php-oci8 core dump

Dan Cojocar dan.cojocar at gmail.com
Tue Feb 27 10:43:29 UTC 2007


Hello all,
I have oracle-xe, lang/php5,
databases/linux-oracle-instantclient-basic,
databases/linux-oracle-instantclient-sdk, databases/oracle8-client and
databases/php5-oci8
following this howto: http://mrtenente.infosys.lt/blog/?p=22 all are
installed without errors.
But when I connect to oracle from php i get a core dump that i cannot access.
I mention that I have compiled php with debug enabled.
Can somebody suggest another setup? Or how to investigate this?
Thank you,
Dan

gdb php php.core
                                                       12:07:12
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...
Core was generated by `php'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libcrypt.so.3...done.
Loaded symbols for /lib/libcrypt.so.3
Reading symbols from /lib/libm.so.4...done.
Loaded symbols for /lib/libm.so.4
Reading symbols from /usr/local/lib/libxml2.so.5...done.
Loaded symbols for /usr/local/lib/libxml2.so.5
Reading symbols from /lib/libz.so.3...done.
Loaded symbols for /lib/libz.so.3
Reading symbols from /usr/local/lib/libiconv.so.3...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /usr/local/lib/php/20060613-debug/oci8.so...done.
Loaded symbols for /usr/local/lib/php/20060613-debug/oci8.so
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x48b2116c in ?? () from /usr/local/lib/php/20060613-debug/oci8.so
[New LWP 100042]
(gdb) bt
#0  0x48b2116c in ?? () from /usr/local/lib/php/20060613-debug/oci8.so
Cannot access memory at address 0x196
(gdb)


More information about the freebsd-questions mailing list