Project

General

Profile

Bug #1938

lighttpd 1.4 crashes on FreeBSD 7.0 AMD64 when mod_geoip is compiled in

Added by bek99 over 8 years ago. Updated 11 months ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
2009-03-17
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:

Description

FreeBSD 7.0p5 Amd64 install, fresh install of GeoIP from the ports and also lighttpd both from ports and also from scratch compiled with latest version (1.4.22)
crashes when mod_geoip is included into the the configuration file.

the lookup tools included with GeoIP do work correctly and read the database correctly (GeoIP.dat and GeoLiteCity.dat), so I don't believe it's anything to do with the libs. Lighttpd doesn't start crashing until a GeoIP db file is specified in the configuration file. (module can be enabled, but if no defs, lighttpd behaves fine.)

Installing this the same way on a i386 version last week of FreeBSD worked fine.

kdump output here:

n2# kdump -f lighttpd.trace1 -T -m 4000 -d
26039 lighttpd 1237267121.088204 RET wait4 -1 errno 4 Interrupted system call
26039 lighttpd 1237267121.088220 PSIG SIGCHLD caught handler=0x405e20 mask=0x0 code=0x0
26039 lighttpd 1237267121.088226 CALL sigreturn(140737488348432)
26039 lighttpd 1237267121.088230 RET sigreturn JUSTRETURN
26039 lighttpd 1237267121.088240 CALL wait4(4294967295,140737488350204,<invalid>0,0)
26039 lighttpd 1237267121.088247 RET wait4 26043/0x65bb
26039 lighttpd 1237267121.088250 CALL fork
26039 lighttpd 1237267121.088374 RET fork 26069/0x65d5
26039 lighttpd 1237267121.088390 CALL wait4(4294967295,140737488350204,<invalid>0,0)


Related issues

Related to Bug #2025: mod_geoip crashes lighttpd 1.5.x on FreeBSD 7.2 AMD64Fixed2009-07-10

Associated revisions

Revision 5dfe21ac (diff)
Added by gstrauss 11 months ago

[mod_geoip] add to default build (fixes #2705, fixes #2101, fixes #2092, fixes #2025, fixes #1962, fixes #1938)

(add to default build to reduce distributor package maintenance)

x-ref:
"broken module API since 1.4.38"
https://redmine.lighttpd.net/issues/2705
"lighttpd-1.4.24 fails to compile with mod_geoip.c"
https://redmine.lighttpd.net/issues/2101
"unsafe sprintfs mod_geoip"
https://redmine.lighttpd.net/issues/2092
"mod_geoip crashes lighttpd 1.5.x on FreeBSD 7.2 AMD64"
https://redmine.lighttpd.net/issues/2025
"mod_geoip"
https://redmine.lighttpd.net/issues/1962
"lighttpd 1.4 crashes on FreeBSD 7.0 AMD64 when mod_geoip compiled in"
https://redmine.lighttpd.net/issues/1938

History

#1 Updated by stbuehler over 8 years ago

  • Status changed from New to Invalid

There is no official mod_geoip in 1.4.

#2 Updated by gstrauss 11 months ago

  • Related to Bug #2025: mod_geoip crashes lighttpd 1.5.x on FreeBSD 7.2 AMD64 added

#3 Updated by gstrauss 11 months ago

  • Target version set to 1.4.42

#4 Updated by gstrauss 11 months ago

  • Status changed from Invalid to Fixed

Also available in: Atom