Comment 0 for bug 1024207

Revision history for this message
Tom Kaminski (ttkaminski) wrote :

php5-ps doesn't work on amd64 based systems. It will throw a segmentation fault at the ps_setfont() function. I was able to reproduce on two separate amd64 machines, including directly from a live CD. From a live CD, here are the steps to reproduce:

1. Add universe to apt-get sources.list
2. apt-get update
3. apt-get install php5 php5-ps
4. Run command: php ps.php (where ps.php is the attached sample program)

- When I compiled the example C programs using libps directly, there were no problems with the same set of functions.
- When I booted with a 32bit live CD (12.04), the above steps worked fine. No segmentation fault.

Extra Info:
php5-ps: Installed: 1.3.6-6
Ubuntu 12.04 LTS 64bit