Hello. I am trying to debug a crashing behaviour without a core file.
doctor@doctor.nl2k.ab.ca (The Doctor) writes:
Hello. I am trying to debug a crashing behaviour without a core file.
Use ulimit to enable saving core dumps, and if you can reproduce the >behaviour, run apache -X under gdb to see what is going on. The -X
limits apache to a single process so there's only one thing to debug. >Judicious single stepping and analysis can then usually find the
problem.
run apache -X under gdbIn tcsh? Well I did run gdb and it is blaming the libapr.so .
doctor@doctor.nl2k.ab.ca (The Doctor) writes:
run apache -X under gdbIn tcsh? Well I did run gdb and it is blaming the libapr.so .
Start gdb and use "r -X" to the gdb prompt to start apache.
libapr.so is the apache portable runtime which I don't think I ever had
to mess with. But anyway I'd recompile it from source with -g and then
use gdb to figure out what is going wrong. Apache shouldn't crash so it >sounds like some kind of build error, wrong library version or
something.
Just rebuilt all the dependenices given ldd and that seems
to have done the trick.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (0 / 16) |
Uptime: | 156:33:36 |
Calls: | 10,384 |
Calls today: | 1 |
Files: | 14,056 |
Messages: | 6,416,471 |