[Bug 392521] Re: Segmentation fault when running any script

Jonathan Marsden jmarsden at fastmail.fm
Thu Aug 13 22:50:01 BST 2009


Confirmed on Ubuntu 9.04 Jaunty amd64.

Steps to reproduce (and capture a backtrace) are:

# Ensure we dump core
ulimit -c 2000000
# Delete any pre-existing core file
rm core
# Create a command input file for use by gdb
echo bt >/tmp/bt
# Create a trivial PHP script
echo -e "<?php\n?>\n" >/tmp/a.php
# Check it 100 times
for i in `seq 1 100` ; do php -l /tmp/a.php >/dev/null; done
# Run GDB to capture the backtrace
gdb -batch -x /tmp/bt `which php` core
# Clean up temp files
rm core /tmp/bt /tmp/a.php

Backtrace attached.  It might be worth trying it with a debug version of PHP
if this backtrace is insufficient.

** Attachment added: "phpbacktrace.txt"
   http://launchpadlibrarian.net/30287189/phpbacktrace.txt

-- 
Segmentation fault when running any script
https://bugs.launchpad.net/bugs/392521
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.



More information about the Ubuntu-server-bugs mailing list