php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22927 OCI_SHARED init flag cause SIGABRT
Submitted: 2003-03-27 09:08 UTC Modified: 2003-03-27 13:08 UTC
From: soula at lifl dot fr Assigned:
Status: Not a bug Package: OCI8 related
PHP Version: 4.3.2RC1 OS: Tru64
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: soula at lifl dot fr
New email:
PHP Version: OS:

 

 [2003-03-27 09:08 UTC] soula at lifl dot fr
I use php4-STABLE-200303241630 version, Oracle-8.1.7 and Tru64/5.1 .

In standalone or within Apache, the initialization of OCI8 module (function OCIInitialise) with OCI_SHARED flag cause an immediate SIGABRT.

Without the flag, the OCI8 initialize works well.

Here the compilation config :

Configure Command =>  './configure' '--prefix=/usr/local/php-200303241630-ap1' '--enable-memory-limit' '--enable-shared' '--enable-sockets' '--enable-trans-sid' '--enable-debug' '--with-config-file-path=/usr/local/lib' '--with-apxs=/usr/local/apache/bin/apxs' '--enable-debugger=yes' '--enable-safe-mode' '--with-exec-dir=/usr/bin' '--with-mod_charset' '--with-openssl' '--with-bz2' '--with-zlib-dir' '--with-gettext' '--with-kerberos' '--with-regex=system' '--with-zlib' '--with-gd=shared' '--with-jpeg-dir=/usr/local/jpeg/lib' '--with-png-dir=/usr/local/lib' '--with-xpm-dir=/usr/local/lib' '--with-oci8=shared,/usr/oracle/product/8.1.6' '--with-ldap=shared' '--with-mysql=shared,/usr/local/mysql' '--with-pgsql=shared,/usr/local/pgsql'


Here the gdb backtrace for "./php -i" :

Core was generated by `php'.
Program terminated with signal 6, IOT/Abort trap.
Reading symbols from /usr/local/lib/libz.so.1.1.3...done.
Reading symbols from /usr/local/lib/libssl.so...done.
Reading symbols from /usr/local/lib/libcrypto.so...done.
Reading symbols from /usr/shlib/libm.so...done.
Reading symbols from /usr/shlib/libc.so...done.
Reading symbols from /usr/local/php-200303241630-ap1/lib/php/extensions/debug-non-zts-20020429/libldap.so...done.
Reading symbols from /usr/local/lib/libldap.so...done.
Reading symbols from /usr/local/lib/liblber.so...done.
Reading symbols from /usr/local/lib/libgcc_s.so.1...done.
Reading symbols from /usr/local/php-200303241630-ap1/lib/php/extensions/debug-non-zts-20020429/libmysql.so...done.
Reading symbols from /usr/local/php-200303241630-ap1/lib/php/extensions/debug-non-zts-20020429/liboci8.so...done.
Reading symbols from /usr/oracle/product/8.1.6/lib/libclntsh.so.8.0...done.
Reading symbols from /usr/shlib/libjava.so...done.
Reading symbols from /usr/oracle/product/8.1.6/lib/libwtc8.so...done.
Reading symbols from /usr/shlib/libexc.so...done.
Reading symbols from /usr/shlib/librt.so...done.
Reading symbols from /usr/shlib/libaio_raw.so...done.
Reading symbols from /usr/shlib/libpthread.so...done.
Reading symbols from /usr/shlib/libmach.so...done.
#0  0x3ff805bab48 in __nxm_thread_kill () from /usr/shlib/libpthread.so
(gdb) bt
#0  0x3ff805bab48 in __nxm_thread_kill () from /usr/shlib/libpthread.so
#1  0x3ff805b4148 in pthread_kill () from /usr/shlib/libpthread.so
#2  0x3ff805c99ec in __tsInit () from /usr/shlib/libpthread.so
#3  0x3ff80118f58 in tis_raise () from /usr/shlib/libc.so
#4  0x3ff80170764 in raise () from /usr/shlib/libc.so
#5  0x3ff8018f6e0 in __ieee_get_fp_control () from /usr/shlib/libc.so
#6  0x3ff80191bec in __exc_raise_status_exception () from /usr/shlib/libc.so
#7  0x3ff807f2280 in exc_raise_status_exception () from /usr/shlib/libexc.so
#8  0x30003cfc078 in kgepop () at /vobs/rdbms/src/generic/vos/kge.c:401
#9  0x30003cfd124 in kgesev () at /vobs/rdbms/src/generic/vos/kge.c:965
#10 0x30003cfcc68 in kgesec0 () at /vobs/rdbms/src/generic/vos/kge.c:748
#11 0x300039f206c in kgupmcreate_sga () at /vobs/rdbms/src/client/vos/kgupm.c:313
#12 0x300039d6774 in kgup_startup () at /vobs/rdbms/src/client/vos/kgup.c:528
#13 0x3000396d810 in kpushInit () at /vobs/rdbms/src/client/progint/kpu/kpuini.c:2774
#14 0x30003d06764 in kpummpin () at /vobs/rdbms/src/generic/progint/progint/kpumm.c:448
#15 0x300039687d8 in kpupin () at /vobs/rdbms/src/client/progint/kpu/kpuini.c:574
#16 0x30003951010 in OCIInitialize () at /vobs/rdbms/src/client/progint/oci/oci8.c:261
#17 0x3000300496c in zm_startup_oci (type=-1071955256, module_number=16)
    at /usr/local/tmp/php4-STABLE-200303241630/ext/oci8/oci8.c:518
#18 0x1200737f4 in php_dl (file=0x140062710, type=1, return_value=0x11fffbad0)
    at /usr/local/tmp/php4-STABLE-200303241630/ext/standard/dl.c:238
#19 0x1200feea0 in php_load_function_extension_cb (arg=0x3ffc01b42c8)
    at /usr/local/tmp/php4-STABLE-200303241630/main/php_ini.c:216
#20 0x12012b9fc in zend_llist_apply (l=0x3ffc01b42c8, 
    func=0x1200fee80 <php_load_function_extension_cb>)
    at /usr/local/tmp/php4-STABLE-200303241630/Zend/zend_llist.c:189
#21 0x1200ff630 in php_ini_delayed_modules_startup ()
    at /usr/local/tmp/php4-STABLE-200303241630/main/php_ini.c:469
#22 0x1200f941c in php_module_startup (sf=0x140028826, additional_modules=0x0, 
    num_additional_modules=0) at /usr/local/tmp/php4-STABLE-200303241630/main/main.c:1230
#23 0x12014e82c in main (argc=2, argv=0x11fffc018)
    at /usr/local/tmp/php4-STABLE-200303241630/sapi/cli/php_cli.c:481


Sincerly,
-- Julien

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-27 11:34 UTC] michael dot mauch at gmx dot de
I reported the same problem on Linux in <http://bugs.php.net/bug.php?id=22521>.
 [2003-03-27 13:08 UTC] sniper@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.

Thank you for your interest in PHP.

No need to have 2 reports about the same issue.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 19 15:01:31 2024 UTC