ID:               37089
 User updated by:  info at mgeiger dot de
 Reported By:      info at mgeiger dot de
-Status:           Feedback
+Status:           Closed
 Bug Type:         Reproducible crash
 Operating System: Linux
 PHP Version:      5.1.2
 New Comment:

Uh, looks like I had a kernel problem, my tar also crashed when I tried
to recompile php.

Sorry, after a reboot php5 is fine ...   :-)


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

[2006-04-15 10:00:56] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

Not reproducible.

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

[2006-04-15 07:33:33] info at mgeiger dot de

Here's how I compiled PHP:

export CFLAGS="-march=c3 -O2"
./configure --prefix=/usr/local/php5 --with-apache=../apache_1.3.34/
--disable-ipv6 --with-zlib --with-gd
--with-freetype-dir=/usr/include/freetype2 --with-jpeg-dir=/usr/lib
--with-png-dir=/usr/lib --enable-gd-native-ttf --with-pdo-pgsql
--without-pdo-sqlite --with-pgsql --without-sqlite

gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)
System: SuSE 10.0, Kernel 2.6.16.2


I have a parallel installation of version 4.4.2 where I cannot
reproduce this error.

Configuration version 4.4.2:
./configure --with-apache=../apache_1.3.34/ --enable-track-vars
--with-gd --with-pgsql --without-mysql --enable-gd-native-ttf
--disable-ipv6 --with-zlib --with-freetype-dir=/usr/include/freetype2
--with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib

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

[2006-04-15 07:05:33] info at mgeiger dot de

Description:
------------
The command line php engine creates a segmentation fault when using
array_pop(). The Apache module doesn't have this problem.

Reproduce code:
---------------
<?
   $ar = array (345, 567);
   var_dump ($ar);
   $v = array_pop ($ar);
   var_dump ($v);
?>


Actual result:
--------------
# /usr/local/php5/bin/php fehler.php

array(2) {
  [0]=>
  int(345)
  [1]=>
  int(567)
}
Segmentation fault



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


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

Reply via email to