I'm going to try and build it statically first. I don't have
any problem posting the code (its already avail on sourceforge
but you will need some proprietary libraries to build it).
The MINIT and/or RINIT is the constants are initialized.
You've given me some to go on, I'll work with it for
a
Sounds like some kind of memory corruption. With these kind of problems
even the order of statements can make a difference. Do you want to post
those two functions and we can take a look at them? Also are your RINIT() &
MINIT() functions doing anything? Maybe they are causing problems?
Andi
A
On Mon, 30 Apr 2001, Andi Gutmans wrote:
> Your module is probably causing some memory corruption. The best way to
> debug it is building the module statically into PHP. You need to copy it to
> ext/your_module/ (assuming you have a standard config.m4).
> Then in php4/ run ./buildconf and you sho
Your module is probably causing some memory corruption. The best way to
debug it is building the module statically into PHP. You need to copy it to
ext/your_module/ (assuming you have a standard config.m4).
Then in php4/ run ./buildconf and you should see your module when you do
./configure --h
One more strange behavior I just saw.
Take this little script:
The tux_tpalloc and tux_free are new functions in my module.
If I comment out everything but the phpinfo () and hit
a fresh start of the web server, it will not core. My module
is loaded because I see it in the phpinfo output.
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
At 12:20 AM 4/28/2001 -0500, Brian Foddy wrote:
>Both were compiled with debug ON. I'll try them off.
>I'm away for the weekend but will try it Sunday night or Monday.
There is a known bug that if you load a shared library with dl(), compiled
with debug and it leaks memory that it will crash. T
Both were compiled with debug ON. I'll try them off.
I'm away for the weekend but will try it Sunday night or Monday.
Thanks,
Brian
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
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().
Andi
At 01:41 PM 4/27/2001 -0500, Brian Foddy wrote:
>I'm having strange problems w