I discovered a way to make php segfault, and I'm a bit curious about what's happening. Maybe someone can explain this for me?
joern@xps:..com/trunk5/tools/nestedset> cat > while.php
<?php
while(1){
die('dd');
}
?>
^C
0 joern@xps:..com/trunk5/tools/nestedset> php -f while.php
ddzsh: segmentation fault php -f while.php
0 joern@xps:..com/trunk5/tools/nestedset> php -f while.php
dd%
0 joern@xps:..com/trunk5/tools/nestedset> php -f while.php
dd%
0 joern@xps:..com/trunk5/tools/nestedset> php -f while.php
ddzsh: segmentation fault php -f while.php
0 joern@xps:..com/trunk5/tools/nestedset> php -f while.php
ddzsh: segmentation fault php -f while.php
0 joern@xps:..com/trunk5/tools/nestedset> php -f while.php
dd%
0 joern@xps:..com/trunk5/tools/nestedset> php -f while.php
dd%
As you can see, it doesn't happen every time. Php caching?
php5 5.2.10.dfsg.1-2ubuntu6.1