I've been building for some time without incident however, when I
include a module apache crashes.
I have gdb and while I can start apache with it, when it does crash
I'm lost because I don't know what to do.
I've build the offending lilbrary with "-ggdb" and enabled debug in
PHP as directed in the debug erraat at php.net.
My OS is Darwin/Mac OSX 10.4.2.
I've spoken to the person who wrote the library that is causing the
problem but he claims that it's not his software that is at fault and
frankly that is moot.
It could be the extension code but the person who wrote it said he
couldn't help because he no longer supports it.
I know a little about programming and fixed a couple of minor issues
with initialization of the library (what was noticeable that I could
figure out).
Can someone help me resolve this issue please.
I can follow your specific instructions or allow you full access to
the server in question.
-- Dale
Hi Dale,
I've been building for some time without incident however, when I
include a module apache crashes.I have gdb and while I can start apache with it, when it does crash
I'm lost because I don't know what to do.
Here's a start... Fire up apache with the -X option using gdb and then
when it crashes run "backtrace" or "bt" at the gdb prompt. That'll show
you where it is crashing in the source code. From there, you can make
an somewhat educated guess at what code is at fault.
See:
http://bugs.php.net/bugs-generating-backtrace.php
Tracking down the actual source of your problem will be a bit more
inovled. There are a few decent gdb tutorials online that'll get you
started.
HTH,
Andrew
Andrew Yochum
Plexpod
andrew@plexpod.com
718-360-0879