Re: Troubles with DL'ed module

From: Date: Mon, 30 Apr 2001 16:01:06 +0000
Subject: Re: Troubles with DL'ed module
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-53092@lists.php.net to get a copy of this message
Andi Gutmans wrote: > > Did you compile with debug on or off? > Please try without debug in both PHP and your module and let us know if > something changes. > Also can you try and load it via php.ini (extension=module.so) and not with > dl(). > I rebuilt php 4.0.4p1 with debug off, rebuilt my module with debug off, and switched from using DL to the extension load in the php.ini. Unfortunately I still get the same coredump at the same line, just a different constant. As before I can step though it with the debugger and the address it cores in is viewable and has data. My gut is telling me its a build problem. Some address not aligned right or something. For example shouldn't the -KPIC have been used in the build argument list to libtool? But yet, in a seperate install without my new module the same version of php on the same machine is running in production very stable. Any ideas? Brian

« previous php.dev (#53092) next »