#26487 [Fbk->Opn]: crash on .= assign to a non-existent array element

From: Date: Tue, 02 Dec 2003 08:44:40 +0000
Subject: #26487 [Fbk->Opn]: crash on .= assign to a non-existent array element
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-51547@lists.php.net to get a copy of this message
 ID:               26487
 User updated by:  friosa at pnpitalia dot it
 Reported By:      friosa at pnpitalia dot it
-Status:           Feedback
+Status:           Open
 Bug Type:         Reproducible crash
 Operating System: athlon suse linux 9
 PHP Version:      5.0.0b2 (beta2)
 New Comment:

LD_LIBRARY_PATH=$INFORMIXDIR/lib/dmi:$INFORMIXDIR/lib:$INFORMIXDIR/lib/esql:$INFORMIXDIR/incl/tools:$INFORMIXDIR/incl/esql
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=k6 -O6 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=k6 -O6 -pipe -fomit-frame-pointer"

# gcc --version
gcc (GCC) 3.3.1 (SuSE Linux)

# bison --version
bison (GNU Bison) 1.75
Scritto da Robert Corbett e Richard Stallman.

# flex --version
flex version 2.5.4

# autoconf --version
autoconf (GNU Autoconf) 2.57
Written by David J. MacKenzie and Akim Demaille.

# automake --version
automake (GNU automake) 1.7.6
Written by Tom Tromey <tromey@redhat.com>.


Previous Comments:
------------------------------------------------------------------------

[2003-12-02 00:03:00] sniper@php.net

What gcc version are you using? And bison? flex?


------------------------------------------------------------------------

[2003-12-01 13:59:54] friosa at pnpitalia dot it

sapi/cli/php ../try1.php ; sapi/cli/php ../try2.php ; sapi/cli/php
../try3.php
Segmentation fault
Segmentation fault
ok

I've tryed with php 4.3.4 (compiled with the previous options) and it
work fine
... and gdm still don't help me

------------------------------------------------------------------------

[2003-12-01 13:37:47] sniper@php.net

Try this:

# rm config.cache
# ./configure --disable-all --disable-cgi --enable-debug
# make clean && make
# sapi/cli/php try.php



------------------------------------------------------------------------

[2003-12-01 13:01:21] friosa at pnpitalia dot it

downloaded and compiled with minimum requirements

./bin/php try1.php ; ./bin/php try2.php ; ./bin/php try3.php
Segmentation fault (core dumped)
Segmentation fault (core dumped)
ok

------------------------------------------------------------------------

[2003-12-01 12:36:00] sniper@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip



------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/26487

-- 
Edit this bug report at http://bugs.php.net/?id=26487&edit=1


Thread (17 messages)

« previous php.bugs (#51547) next »