PHP 4.0 Bug #6143 Updated: Crash with big loop with Oracle

From: Date: Mon, 08 Jan 2001 12:00:06 +0000
Subject: PHP 4.0 Bug #6143 Updated: Crash with big loop with Oracle
Groups: php.dev 
Request: Send a blank email to php-dev+get-43355@lists.php.net to get a copy of this message
ID: 6143 Updated by: cynic Reported By: bizon@safrica.com Old-Status: Open Status: Closed Bug Type: Reproduceable crash Assigned To: Comments: fixed in CVS Previous Comments: --------------------------------------------------------------------------- [2001-01-08 02:36:20] bizon@safrica.com Now all ok. --------------------------------------------------------------------------- [2001-01-07 19:16:09] sniper@php.net Does this happen with latest CVS ?? --Jani --------------------------------------------------------------------------- [2000-08-14 05:59:32] bizon@safrica.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 --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=6143

« previous php.dev (#43355) next »