On Tue, May 27, 2003 at 02:11:02AM +0200, Jean-Christophe Michel wrote: > Le sam 24/05/2003 à 22:01, Chris Tillman a écrit : > > On Sat, May 24, 2003 at 09:20:43PM +0200, Jean-Christophe Michel wrote: > > > Le sam 24/05/2003 à 17:49, Jean-Christophe Michel a écrit : > > > > > > > I get a strange segfault error on some php4 files that used to work, > > > > since last update on unstable. Some file work, some don't. > > > > Do some of you encounter the same errors on php4 used with apache ? > > > > I guess it's linked with some lib, but have no clue. > > > > > > I progress: i got a > > > MMCACHE: PHP crashed on opline 38 of get_declared_classes() at > > > ...Classes.php:47 > > > > > > So MMCACHE (libmm13 in this last php4 version) and php have problems... > > > > > > Linux 2.4.20 benh on powerpc, Package: php4 4:4.2.3-14 debian unstable. > > > > STL, I recall reading somewhere that php is broken. > > Where did you get this info ? > > I'm now sure that the error comes from get_object_vars(). But on > Woody/intel the same code works perfectly.
http://lists.debian.org/debian-powerpc/2003/debian-powerpc-200304/msg00021.html is in the thread I was remembering. For code that works on i386, the first place to look is for improper use of varargs; although I'm not really familiar with it, the issue has come up several times. Powerpc doesn't make the same assumptions that i386 does. See, e.g., #114270. -- Debian GNU/Linux Operating System By the People, For the People Chris Tillman (a people instance)