Re: php4 & phpmyadmin problem
On Wed, Jun 08, 2005 at 07:51:59PM +0200, Lukas Demetz wrote:
> Hi there,
> today I upgraded one of our servers to Debian 3.1, without bigger
> problems. Let me list you the old vs. new versions of some interesting
> apache 1.26 -> 1.33
> php4 4.1 -> 4.3 (module)
> As now, everything works smoothly (nice work guys! :) ), however, I
> noticed a strange behaviour using phpMyAdmin (2.6.2, same as before).
> Everytime I try to list the content of a table, I get an empty table. In
> addition, there is an error entry in /var/log/apache/error.log:
> [notice] child pid 28099 exit signal Segmentation fault (11)
To narrow down on the problem, it might help to have an strace of what
exactly is happening immediately before the apache process segfaults.
To get one, just attach strace to one of the apache children (use 'ps axf'
to find out which of the apache processes are children, and their PID,
and then pass that PID to 'strace -f -o /tmp/apache.trace -p <PID>' --
you need to run strace under the UID of the webserver or as root, btw),
and then simply reload the webpage until that child segfaults...
In the strace output, look for what's happening before the process gets
the SIGSEGV, somewhere at the end. If what you find doesn't make any
sense to you, you might want to post a sensibly trimmed section of the
strace output here for us to look at...