Hello. I am trying to debug a crashing behaviour without a core file.
[email protected] (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 .
[email protected] (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: | 715 |
| Nodes: | 16 (3 / 13) |
| Uptime: | 142:49:23 |
| Calls: | 12,089 |
| Calls today: | 2 |
| Files: | 14,998 |
| Messages: | 6,517,455 |