php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6143 Crash with big loop with Oracle
Submitted: 2000-08-14 05:59 UTC Modified: 2001-01-08 07:00 UTC
From: bizon at safrica dot com Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0 Latest CVS (14/08/2000) OS: RedHat6.1
Private report: No CVE-ID: None
 [2000-08-14 05:59 UTC] bizon at safrica dot com
I have script with big loop ( 138000 records inserting into Oracle DB).

After inserting 73% records - crash

Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libgdbm.so.2...done.
Reading symbols from /lib/libpam.so.0...done.
Reading symbols from /lib/libdl.so.2...done.
Reading symbols from /usr/lib/libz.so.1...done.
Reading symbols from /home/ora/app/oracle/product/8.1.6/lib/libclntsh.so.8.0...done.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /usr/lib/libgd.so.1...done.
Reading symbols from /lib/libresolv.so.2...done.
Reading symbols from /lib/libcrypt.so.1...done.
Reading symbols from /lib/libnsl.so.1...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
Reading symbols from /home/ora/app/oracle/product/8.1.6/lib/libwtc8.so...done.
Reading symbols from /lib/libpthread.so.0...done.
Reading symbols from /lib/libnss_files.so.2...done.
Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
#0  __pthread_mutex_lock (mutex=0x39393340) at mutex.c:82
82      mutex.c: No such file or directory.
(gdb) bt
#0  __pthread_mutex_lock (mutex=0x39393340) at mutex.c:82
#1  0x406a4d69 in __libc_free (mem=0xa0de320) at malloc.c:2957
#2  0x80c73cc in _efree (ptr=0xa0de32c) at zend_alloc.c:216
#3  0x80d44d8 in zend_hash_destroy (ht=0xa0a4224) at zend_hash.c:571
#4  0x80d0cb9 in _zval_dtor (zvalue=0xa0b10e4) at zend_variables.c:69
#5  0x80cbfb2 in _zval_ptr_dtor (zval_ptr=0x81460dc) at zend_execute_API.c:261
#6  0x80f9726 in _get_zval_ptr (node=0x8192eec, Ts=0xbfffce28, should_free=0x81460d0) at ./zend_execute.c:83
#7  0x80f592d in execute (op_array=0x81807b4) at ./zend_execute.c:1259
#8  0x80d1b08 in zend_execute_scripts (type=8, file_count=3) at zend.c:712
#9  0x8062b11 in php_execute_script (primary_file=0xbffffb24) at main.c:1168
#10 0x80614f9 in main (argc=2, argv=0xbffffb84) at cgi_main.c:709

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-07 19:16 UTC] sniper@php.net
Does this happen with latest CVS ??

--Jani
 [2001-01-08 02:36 UTC] bizon at safrica dot com
Now all ok.
 [2001-01-08 07:00 UTC] cynic@php.net
fixed in CVS
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Jul 11 03:00:02 2026 UTC