Bug #1578 Updated: Arrays of arrays breaking the parser

From: Date: Wed, 23 Jun 1999 20:53:19 +0000
Subject: Bug #1578 Updated: Arrays of arrays breaking the parser
Groups: php.dev 
Request: Send a blank email to php-dev+get-7478@lists.php.net to get a copy of this message
ID: 1578 User Update by: jesusmc@scripps.edu Status: Open Bug Type: Reproduceable crash Description: Arrays of arrays breaking the parser Here is the backtrace using the PHP 3.0.9 stand alone. GNU gdb 4.17 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc-sun-solaris2.5.1"... Core was generated by `php309 clu2.php3'. Program terminated with signal 10, Bus Error. Reading symbols from /home/jesusmc/devel/mysql/lib/mysql/libmysqlclient.so.6...done. Reading symbols from /asd/dredox3/development/pgsql/lib//libpq.so...done. Reading symbols from /opt/SUNWspro/lib/libm.so.1...done. Reading symbols from /usr/lib/libdl.so.1...done. Reading symbols from /usr/lib/libsocket.so.1...done. Reading symbols from /usr/lib/libnsl.so.1...done. Reading symbols from /usr/lib/libresolv.so.1...done. Reading symbols from /usr/lib/libc.so.1...done. Reading symbols from /usr/ucblib/libucb.so.1...done. Reading symbols from /usr/lib/libelf.so.1...done. Reading symbols from /usr/lib/libintl.so.1...done. Reading symbols from /usr/lib/libmp.so.1...done. Reading symbols from /usr/lib/libw.so.1...done. Reading symbols from /usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1...done. Reading symbols from /usr/lib/nss_files.so.1...done. Reading symbols from /usr/lib/nss_nis.so.1...done. #0 0x6fd4b180 in _smalloc () (gdb) bt #0 0x6fd4b180 in _smalloc () #1 0x6fd4b1c4 in malloc () #2 0x375b4 in _emalloc (size=2) at alloc.c:115 #3 0x2f18c in _php3_hash_add_or_update (ht=0x173ab0, arKey=0x173298 "z", nKeyLength=2, pData=0xefffdd60, nDataSize=16, pDest=0x0, flag=0) at php3_hash.c:187 #4 0x301b8 in _php3_hash_copy (target=0xefffdec0, source=0x172a40, pCopyConstructor=0x32d08 <pval_copy_constructor>, tmp=0xefffdd60, size=16) at php3_hash.c:715 #5 0x32dd0 in pval_copy_constructor (pvalue=0xefffdeb8) at variables.c:139 #6 0x214d0 in phpparse () at control_structures_inline.h:436 #7 0x2e540 in php3_parse (yyin=0x107800) at main.c:1541 #8 0x2edcc in main (argc=2, argv=0xefffeea4) at main.c:1850 (gdb) Full Bug description available at: http://bugs.php.net/?id=1578

« previous php.dev (#7478) next »