PHP 4.0 Bug #6910 Updated: Apache core dumps when PHP is compiled with oci8 support

From: Date: Thu, 12 Oct 2000 08:47:19 +0000
Subject: PHP 4.0 Bug #6910 Updated: Apache core dumps when PHP is compiled with oci8 support
Groups: php.dev 
Request: Send a blank email to php-dev+get-34745@lists.php.net to get a copy of this message
ID: 6910 User Update by: php@tauras.com Status: Open Bug Type: Reproduceable crash Description: Apache core dumps when PHP is compiled with oci8 support The same error persists on PHP 4.0.3 also... on both OS's Previous Comments: --------------------------------------------------------------------------- [2000-09-27 20:35:44] php@tauras.com I tried this on two computers, but received the same result: when I trying to start Apache with PHP and Oracle support, it crashes, when I tried to do the same without Oracle, it works fine. My configuration is: ./configure --with-apxs=/usr/local/apache/bin/apxs --with-mod_charset --enable-force-cgi-redirect --with-oci8=/usr/local/oracle/8i/u01/app/oracle/product/8.1.6 --enable-track-vars=yes --enable-safe-mode=no --enable-discard-path --with-config-file-path=/usr/local/apache/conf --enable-debug --enable-sigchild --enable-magic-quotes --enable-calendar --enable-dbase --enable-filepro --enable-ftp --with-pdflib=/usr/local --with-zlib-dir=/usr/local/lib --with-jpeg-dir=/usr/local/lib --with-png-dir=/usr/local/lib --with-tiff-dir=/usr/local/lib --enable-trans-sid --without-mysql --enable-shared After the core dumps, over the GDB I received: GNU gdb 19991004 This GDB was configured as "i386-redhat-linux"... Core was generated by `/usr/local/apache/bin/httpd'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libm.so.6...done. Reading symbols from /lib/libcrypt.so.1...done. Reading symbols from /lib/libdb.so.3...done. Reading symbols from /lib/libdl.so.2...done. Reading symbols from /lib/libc.so.6...done. Reading symbols from /lib/ld-linux.so.2...done. Reading symbols from /lib/libnss_files.so.2...done. Reading symbols from /usr/local/apache/libexec/mod_mmap_static.so...done. Reading symbols from /usr/local/apache/libexec/mod_vhost_alias.so...done. Reading symbols from /usr/local/apache/libexec/mod_env.so...done. Reading symbols from /usr/local/apache/libexec/mod_log_config.so...done. Reading symbols from /usr/local/apache/libexec/mod_log_agent.so...done. Reading symbols from /usr/local/apache/libexec/mod_log_referer.so...done. Reading symbols from /usr/local/apache/libexec/mod_mime_magic.so...done. Reading symbols from /usr/local/apache/libexec/mod_mime.so...done. Reading symbols from /usr/local/apache/libexec/mod_negotiation.so...done. Reading symbols from /usr/local/apache/libexec/mod_status.so...done. Reading symbols from /usr/local/apache/libexec/mod_info.so...done. Reading symbols from /usr/local/apache/libexec/mod_include.so...done. Reading symbols from /usr/local/apache/libexec/mod_autoindex.so...done. Reading symbols from /usr/local/apache/libexec/mod_dir.so...done. Reading symbols from /usr/local/apache/libexec/mod_cgi.so...done. Reading symbols from /usr/local/apache/libexec/mod_asis.so...done. Reading symbols from /usr/local/apache/libexec/mod_imap.so...done. Reading symbols from /usr/local/apache/libexec/mod_actions.so...done. Reading symbols from /usr/local/apache/libexec/mod_speling.so...done. Reading symbols from /usr/local/apache/libexec/mod_userdir.so...done. Reading symbols from /usr/local/apache/libexec/mod_alias.so...done. Reading symbols from /usr/local/apache/libexec/mod_rewrite.so...done. Reading symbols from /usr/local/apache/libexec/mod_access.so...done. Reading symbols from /usr/local/apache/libexec/mod_auth.so...done. Reading symbols from /usr/local/apache/libexec/mod_auth_anon.so...done. Reading symbols from /usr/local/apache/libexec/mod_auth_dbm.so...done. Reading symbols from /usr/local/apache/libexec/mod_auth_db.so...done. Reading symbols from /usr/local/apache/libexec/mod_digest.so...done. Reading symbols from /usr/local/apache/libexec/libproxy.so...done. Reading symbols from /usr/local/apache/libexec/mod_cern_meta.so...done. Reading symbols from /usr/local/apache/libexec/mod_expires.so...done. Reading symbols from /usr/local/apache/libexec/mod_headers.so...done. Reading symbols from /usr/local/apache/libexec/mod_usertrack.so...done. Reading symbols from /usr/local/apache/libexec/mod_example.so...done. Reading symbols from /usr/local/apache/libexec/mod_unique_id.so...done. Reading symbols from /usr/local/apache/libexec/mod_setenvif.so...done. Reading symbols from /usr/local/apache/libexec/libphp4.so...done. Reading symbols from /usr/lib/libgdbm.so.2...done. Reading symbols from /lib/libpam.so.0...done. Reading symbols from /usr/lib/libpdf.so.1...done. Reading symbols from /usr/lib/libtiff.so.3...done. Reading symbols from /usr/lib/libpng.so.2...done. Reading symbols from /usr/lib/libjpeg.so.62...done. Reading symbols from /usr/local/oracle/8i/u01/app/oracle/product/8.1.6/lib/libclntsh.so.8.0...done. Reading symbols from /usr/lib/libgd.so.1...done. Reading symbols from /lib/libresolv.so.2...done. Reading symbols from /lib/libnsl.so.1...done. Reading symbols from /usr/lib/libz.so.1...done. Reading symbols from /usr/local/oracle/8i/u01/app/oracle/product/8.1.6/lib/libwtc8.so...done. Reading symbols from /lib/libpthread.so.0...done. #0 0x40a0d774 in ?? () (gdb) bt #0 0x40a0d774 in ?? () #1 0x401352eb in __getpwnam_r (name=0x80c1d74 "nobody", resbuf=0x40196240, buffer=0x80c7688 "nobody", buflen=1024, result=0xbfffd7ac) at ../nss/getXXbyYY_r.c:182 #2 0x40134ba0 in getpwnam (name=0x80c1d74 "nobody") at ../nss/getXXbyYY.c:123 #3 0x806be7e in ap_uname2id () #4 0x805944e in set_user () #5 0x80549fa in invoke_cmd () #6 0x8055393 in ap_handle_command () #7 0x8055427 in ap_srm_command_loop () #8 0x8055830 in ap_process_resource_config () #9 0x80560f2 in ap_read_config () #10 0x805f951 in standalone_main () #11 0x80601c3 in main () #12 0x400bc9cb in __libc_start_main (main=0x805fe7c <main>, argc=1, argv=0xbffff9c4, init=0x804e870 <_init>, fini=0x809419c <_fini>, rtld_fini=0x4000ae60 <_dl_fini>, stack_end=0xbffff9bc) at ../sysdeps/generic/libc-start.c:92 Thank You for PHP and Your support Sincerely, Tauras Paliulis --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=6910

« previous php.dev (#34745) next »