Bug #2389
closedlighttpd segfault
Description
lighttpd core dumped when change some static files
lighttpd version:1.4
Program terminated with signal 7, Bus error.
the stack info:
(gdb) bt
#0 0x000000302b6022d6 in crc32 () from /usr/lib64/libz.so.1
#1 0x0000002a96cee3b4 in mod_deflate_compress (srv=Variable "srv" is not available.
) at mod_deflate.c:369
#2 0x0000002a96cee9c9 in deflate_compress_response (srv=0x53c0d0, con=0x2a9d8efed0, hctx=0x2ac06e74d0, end=Variable "end" is not available.
)
at mod_deflate.c:880
#3 0x0000002a96cefca5 in mod_deflate_handle_response_header (srv=0x53c0d0, con=0x2a9d8efed0, p_d=Variable "p_d" is not available.
) at mod_deflate.c:1337
#4 0x000000000041d065 in plugins_call_handle_response_header (srv=0x53c0d0, con=0x2a9d8efed0) at plugin.c:386
#5 0x000000000040f9cd in connection_state_machine (srv=0x53c0d0, con=0x2a9d8efed0) at connections.c:1367
#6 0x0000000000409a8c in lighty_mainloop (srv=0x53c0d0) at server.c:1071
#7 0x000000000040b1a5 in main (argc=5567760, argv=Variable "argv" is not available.
Is the same with the apache bug like this:
https://issues.apache.org/bugzilla/show_bug.cgi?id=48957
Updated by stbuehler over 12 years ago
- Status changed from New to Invalid
1.4 doesn't have mod_deflate -> you applied 3rd party patch -> there is a reason it isn't upstream.
Updated by white127 over 12 years ago
./bin/lighttpd -v
lighttpd-1.5.0 (ssl) - a light and fast webserver
Build-Date: Aug 28 2010 23:00:43
the core dumped because of 3rd pary patch?
Updated by stbuehler over 12 years ago
1.4 != 1.5
1.5: not maintained anymore
ah, and yes, the good old changing of mmaped files. well, don't do it. or disable mmap.
Updated by gstrauss over 8 years ago
- Related to Feature #1824: Adding mod_deflate to 1.4.xx added
Updated by gstrauss over 8 years ago
Also available in: Atom