#23565 [NEW]: Displaying Highlighted Syntax (php -s) or (.phps) seg faults

From: Date: Fri, 09 May 2003 15:24:11 +0000
Subject: #23565 [NEW]: Displaying Highlighted Syntax (php -s) or (.phps) seg faults
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39394@lists.php.net to get a copy of this message
From: tim at timcrider dot com Operating system: Red Hat 8.0 PHP version: 4.3.2RC2 PHP Bug Type: Reproducible crash Bug description: Displaying Highlighted Syntax (php -s) or (.phps) seg faults Whenever I try to use the source highlight features, PHP seg faults in both CLI and Apache Module. The apache module just displays "Page cannot be displayed", but CLI dumps a seg fault. -----[ Source ]----- <?php print "hello"; ?> -----[ CLI Output ]----- (towely) tim# php -s test.php <code><font color="#000000"> <font color="#0000CC">&lt;?php<br /> </font><font color="#006600">print </font><font color="#CC0000">"hello"</font><font color="#006600">;<br /></font><font color="#0000CC">?&gt;<br /></font> </font> Segmentation fault -----[ Configuration ]----- ./configure --prefix=/usr/local \ --with-apache=../www \ --with-gettext \ --with-gd \ --with-jpeg-dir=/usr/local \ --with-mcrypt=/usr/local \ --with-mcal=/usr/local \ --with-ming=/usr/local \ --with-mhash=/usr/local \ --with-mysql=/usr/local \ --with-pdflib=/usr/local \ --with-zlib=/usr/local \ --with-ncurses=/usr/local \ --with-tiff-dir="/usr/local" \ --with-unixODBC=/usr/local/unixODBC \ --with-xml \ --with-calendar=shared \ --with-png-dir=/usr/local \ --with-freetype=/usr/local \ --with-freetype-dir=/usr/local \ --with-ttf=/usr/local \ --with-fdftk=/usr/local \ --with-openssl=/usr/local \ --with-bz2 \ --with-dom \ --with-mm \ --with-pspell=/usr/local \ --enable-localizer \ --enable-bcmath \ --enable-calendar \ --enable-dio \ --enable-exif \ --enable-ftp \ --enable-gd-native-ttf \ --enable-pcntl \ --enable-shmop \ --enable-sigchild \ --enable-sockets \ --enable-track-vars \ --enable-magic-quotes \ --enable-trans-sid \ --enable-libgcc \ --enable-wddx \ --enable-sysvshm \ --enable-sysvsem \ --enable-sysvmsg \ --enable-mbstring \ --enable-mbstr-enc-trans \ --enable-dbase \ --enable-mbregex If you need any other information please drop me a line. Tim -- Edit bug report at http://bugs.php.net/?id=23565&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23565&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23565&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23565&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23565&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23565&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23565&r=support Expected behavior: http://bugs.php.net/fix.php?id=23565&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23565&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23565&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23565&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23565&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23565&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23565&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23565&r=gnused

« previous php.bugs (#39394) next »