Hey, I'm using lighttpd 1.4.18 and mod_geoip.5.c, directly downloaded from the Lighttpd website. Compiled from source. I'm having a problem with lighttpd crashing on the first page request made, whether the page uses the geoip env variables or not. I have compiled and configured mod_geoip exactly as it specifies in the documentation on Trac/wiki. I have tried with memory cache both enabled and disabled. libGeoIP has been installed from latest source and the inbuilt tests succeed. There is no output in the error log, and the only information is in the kernel log: lighttpd[16686]: segfault at ffffffffaaac2250 rip 00002aaaac0fd08a rsp 00007fffd6baaad0 error 4 Any ideas? Thanks
If you can create debug maps in your build, then it might be possible to correlate the rip(instruction pointer) and rsp(stack pointer) to the particular piece of code causing the pointer. A seg fault is *generally* a bad pointer. The cause of the bad pointer may be something as simple as failing to load the data module. DLL hell exists on Linux too
Oh yeah, I use mod_geoip with apache and get some segfaults too...that's passable cause that aren't huge in number. Geoip and mod_geoip coding isn't that good you see.