#35762 [Bgs]: Segmentation fault (core dumped)...

From: Date: Wed, 21 Dec 2005 15:34:00 +0000
Subject: #35762 [Bgs]: Segmentation fault (core dumped)...
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-90818@lists.php.net to get a copy of this message
ID: 35762 User updated by: necat at digicol dot de Reported By: necat at digicol dot de Status: Bogus Bug Type: OCI8 related Operating System: ia64-hp-hpux11.23 PHP Version: 4.4.1 New Comment: Hi, a lot of Unsatisfied symbols :-( ld: Unsatisfied symbol "zif_oci_fetch_all" in file ext/oci8/oci8.o ld: Unsatisfied symbol "zif_oci_fetch_assoc" in file ext/oci8/oci8.o ld: Unsatisfied symbol "php_oci_lob_read" in file ext/oci8/oci8.o ld: Unsatisfied symbol "zif_oci_new_descriptor" in file ext/oci8/oci8.o ... oracle home is ok oracle lib dir is ok (lib32) what am I missing? I still try to find some bugs in the bugs list... regards, n.kutlar Previous Comments: ------------------------------------------------------------------------ [2005-12-21 12:55:45] tony2001@php.net Yes, this is the solution. New OCI8 won't appear in 4.4.x, as this branch is reserved for critical fixes only. Also, please name you reports with something more informative then just "segmentation fault". ------------------------------------------------------------------------ [2005-12-21 12:50:07] necat at digicol dot de no, I use standard oci8 that comes by php4.4.1. do you mean, when I install pecl package, is the solution? N.Kutlar ------------------------------------------------------------------------ [2005-12-21 12:26:53] tony2001@php.net Are you using OCI8 from PECL? ------------------------------------------------------------------------ [2005-12-21 12:20:57] necat at digicol dot de Description: ------------ Hi, checking whether to enable pcntl support... yes checking for fork... no configure: error: pcntl: fork() not supported by this platform and then configure exists. I edit the suffix in configure file for hpux from sl to so and OCI8_DIR/lib to OCI8_DIR/lib32 and edit the file like too php-4.4.1/ext/oci8/config.m4 OCI8_DIR/lib to OCI8_DIR/lib32 configure works well and no problem with compile. Reproduce code: --------------- run php appdc5@obds820:/dc5/home/appdc5/Sourcen/php-4.4.1-cli/sapi/cli>./php -v Segmentation fault (core dumped) Actual result: -------------- GDB Backtrace ============= Script started on Wed Dec 21 11:50:05 2005 $ /opt/lon angtools/bin/gdb php core HP gdb 5.2.03 for HP Itanium (32 or 64 bit) and target HP-UX 11.2x. Copyright 1986 - 2001 Free Software Foundation, Inc. Hewlett-Packard Wildebeest 5.2.03 (based on GDB) is covered by the GNU General Public License. Type "show copying" to see the conditions to change it and/or distribute copies. Type "show warranty" for warranty/support. .. Core was generated by `php'. Program terminated with signal 11, Segmentation fault. SEGV_MAPERR - Address not mapped to object warning: Load module /usr/local/lib/hpux32/libz.so has been stripped. Debugging information is not available. warning: Load module /usr/local/lib/hpux32/libgdbm.so has been stripped. Debugging information is not available. warning: Load module /usr/local/lib/hpux32/libxml2.so has been stripped. Debugging information is not available. warning: Load module /usr/local/lib/hpux32/libpthread.so has been stripped. Debugging information is not available. warning: Load module /usr/local/lib/hpux32/libiconv.so has been stripped. Debugging information is not available. warning: Load module /dc5/home/appdc5/oracle/ORAHOME/lib32/libclntsh.so.10.1 has been stripped. Debugging information is not available. warning: Load module /dc5/home/appdc5/oracle/ORAHOME/lib32/libnnz10.so has been stripped. Debugging information is not available. warning: Some of the libraries in the core file are different from the libraries on this computer. It might be possible to proceed with your debugging process successfully. However, if you run into problems you must use the versions of the libraries used by the core. The mismatches are: ./php in the core file is different from ./php used by gdb #0 0x60000000c1f25910:1 in pth_mutex_acquire+0x61 () from /usr/local/lib/hpux32/libpthread.so (gdb) bt #0 0x60000000c1f25910:1 in pth_mutex_acquire+0x61 () from /usr/local/lib/hpux32/libpthread.so #1 0x60000000c1f14a60:0 in pthread_mutex_lock+0xf0 () from /usr/local/lib/hpux32/libpthread.so #2 0x60000000c7121cc0:0 in sltsima+0x40 () from /dc5/home/appdc5/oracle/ORAHOME/lib32/libclntsh.so.10.1 #3 0x60000000c6abb9a0:0 in kpummpin+0x60 () from /dc5/home/appdc5/oracle/ORAHOME/lib32/libclntsh.so.10.1 #4 0x60000000c5a64620:0 in kpupin+0xa0 () from /dc5/home/appdc5/oracle/ORAHOME/lib32/libclntsh.so.10.1 #5 0x60000000c5b9d4e0:0 in OCIInitialize+0x40 () from /dc5/home/appdc5/oracle/ORAHOME/lib32/libclntsh.so.10.1 #6 0x4260f10:0 in zm_startup_oci (type=1, module_number=9) at /dc5/home/appdc5/Sourcen/php-4.4.1/ext/oci8/oci8.c:489 #7 0x44742f0:0 in zend_startup_module (module=0x40026ed0) at /dc5/home/appdc5/Sourcen/php-4.4.1/Zend/zend_API.c:1006 #8 0x43f75b0:0 in php_startup_extensions (ptr=0x4002ab10) at /dc5/home/appdc5/Sourcen/php-4.4.1/main/main.c:1041 #9 0x44c0ba0:0 in php_startup_internal_extensions () at main/internal_functions_cli.c:77 #10 0x43f8020:0 in php_module_startup () at /dc5/home/appdc5/Sourcen/php-4.4.1/main/main.c:1216 #11 0x44be680:0 in main () at /dc5/home/appdc5/Sourcen/php-4.4.1/sapi/cli/php_cli.c:582 (gdb) quit $ exit script done on Wed Dec 21 11:54:18 2005 Thanks and Regards, Necat Kutlar ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35762&edit=1

« previous php.bugs (#90818) next »