Project

General

Profile

Bug #2855

Error segfault at 0 ip 000055c75bf12856 sp 00007ffc02c03fb0 error 4 in lighttpd[55c75beea000+3c000]

Added by rusborder 6 months ago. Updated 6 months ago.

Status:
Missing Feedback
Priority:
Normal
Assignee:
-
Category:
core
Target version:
Start date:
2018-01-10
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:

Description

I have established lighttpd 1.4.48 on the Debian 9 server recently. Several times a day I receive mistakes. Can you help?

uname -a
Linux freedomrussia-SSD 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19) x86_64 GNU/Linux

php -v
PHP 5.6.33-1+0~20180105151408.9+stretch~1.gbp0deeda (cli)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies

dmesg -T | grep lighttpd
[Пн янв 8 08:59:48 2018] lighttpd[552]: segfault at 0 ip 000055d1f0d77856 sp 00007ffe05b39960 error 4 in lighttpd[55d1f0d4f000+3c000]
[Пн янв 8 08:59:57 2018] lighttpd[22772]: segfault at 0 ip 000055f9113da856 sp 00007fff4ebba480 error 4 in lighttpd[55f9113b2000+3c000]
[Вт янв 9 12:05:25 2018] lighttpd[4537]: segfault at 0 ip 0000560b0a426856 sp 00007ffd11ba1070 error 4 in lighttpd[560b0a3fe000+3c000]
[Вт янв 9 12:43:33 2018] lighttpd[5108]: segfault at 0 ip 0000558b7c6af856 sp 00007fff5742d3d0 error 4 in lighttpd[558b7c687000+3c000]
[Вт янв 9 12:43:41 2018] lighttpd[5420]: segfault at 0 ip 0000557b5093e856 sp 00007ffd46f2b100 error 4 in lighttpd[557b50916000+3c000]
[Вт янв 9 12:43:42 2018] lighttpd[5439]: segfault at 0 ip 000055905d0a6856 sp 00007ffc00aa7020 error 4 in lighttpd[55905d07e000+3c000]

/var/log/syslog
Jan 10 19:02:01 freedomrussia-SSD CRON24490: (logcheck) CMD ( if [ -x /usr/sbin/logcheck ]; then nice -n10 /usr/sbin/logcheck; fi)
Jan 10 19:04:25 freedomrussia-SSD systemd1: lighttpd.service: Main process exited, code=killed, status=11/SEGV
Jan 10 19:04:25 freedomrussia-SSD systemd1: lighttpd.service: Unit entered failed state.
Jan 10 19:04:25 freedomrussia-SSD systemd1: lighttpd.service: Failed with result 'signal'.
Jan 10 19:04:25 freedomrussia-SSD kernel: [252246.343560] lighttpd13761: segfault at 0 ip 0000557cbfe53856 sp 00007ffd7d90f9f0 error 4 in lighttpd[557cbfe2b000+3c000]
Jan 10 19:04:25 freedomrussia-SSD systemd1: lighttpd.service: Service hold-off time over, scheduling restart.
Jan 10 19:04:25 freedomrussia-SSD systemd1: Stopped Lighttpd Daemon.
Jan 10 19:04:25 freedomrussia-SSD systemd1: Starting Lighttpd Daemon...
Jan 10 19:04:25 freedomrussia-SSD systemd1: Started Lighttpd Daemon.
Jan 10 19:04:29 freedomrussia-SSD kernel: [252250.218559] lighttpd25487: segfault at 0 ip 0000561dace81856 sp 00007ffdf5114dc0 error 4 in lighttpd[561dace59000+3c000]
Jan 10 19:04:29 freedomrussia-SSD systemd1: lighttpd.service: Main process exited, code=killed, status=11/SEGV
Jan 10 19:04:29 freedomrussia-SSD systemd1: lighttpd.service: Unit entered failed state.
Jan 10 19:04:29 freedomrussia-SSD systemd1: lighttpd.service: Failed with result 'signal'.
Jan 10 19:04:29 freedomrussia-SSD systemd1: lighttpd.service: Service hold-off time over, scheduling restart.
Jan 10 19:04:29 freedomrussia-SSD systemd1: Stopped Lighttpd Daemon.
Jan 10 19:04:29 freedomrussia-SSD systemd1: Starting Lighttpd Daemon...
Jan 10 19:04:29 freedomrussia-SSD systemd1: Started Lighttpd Daemon.
Jan 10 19:04:33 freedomrussia-SSD kernel: [252254.122828] lighttpd25505: segfault at 0 ip 0000555aa52ff856 sp 00007ffced91af90 error 4 in lighttpd[555aa52d7000+3c000]
Jan 10 19:04:33 freedomrussia-SSD systemd1: lighttpd.service: Main process exited, code=killed, status=11/SEGV
Jan 10 19:04:33 freedomrussia-SSD systemd1: lighttpd.service: Unit entered failed state.
Jan 10 19:04:33 freedomrussia-SSD systemd1: lighttpd.service: Failed with result 'signal'.
Jan 10 19:04:33 freedomrussia-SSD systemd1: lighttpd.service: Service hold-off time over, scheduling restart.
Jan 10 19:04:33 freedomrussia-SSD systemd1: Stopped Lighttpd Daemon.
Jan 10 19:04:33 freedomrussia-SSD systemd1: Starting Lighttpd Daemon...
Jan 10 19:04:33 freedomrussia-SSD systemd1: Started Lighttpd Daemon.
Jan 10 19:04:48 freedomrussia-SSD systemd1: lighttpd.service: Main process exited, code=killed, status=11/SEGV
Jan 10 19:04:48 freedomrussia-SSD systemd1: lighttpd.service: Unit entered failed state.
Jan 10 19:04:48 freedomrussia-SSD systemd1: lighttpd.service: Failed with result 'signal'.
Jan 10 19:04:48 freedomrussia-SSD kernel: [252269.160056] lighttpd25522: segfault at 0 ip 000055c3ae47d856 sp 00007ffdb731d590 error 4 in lighttpd[55c3ae455000+3c000]
Jan 10 19:04:48 freedomrussia-SSD systemd1: lighttpd.service: Service hold-off time over, scheduling restart.
Jan 10 19:04:48 freedomrussia-SSD systemd1: Stopped Lighttpd Daemon.
Jan 10 19:04:48 freedomrussia-SSD systemd1: Starting Lighttpd Daemon...
Jan 10 19:04:48 freedomrussia-SSD systemd1: Started Lighttpd Daemon.
Jan 10 19:05:01 freedomrussia-SSD systemd1: lighttpd.service: Main process exited, code=killed, status=11/SEGV
Jan 10 19:05:01 freedomrussia-SSD systemd1: lighttpd.service: Unit entered failed state.
Jan 10 19:05:01 freedomrussia-SSD systemd1: lighttpd.service: Failed with result 'signal'.
Jan 10 19:05:01 freedomrussia-SSD kernel: [252281.920161] lighttpd25540: segfault at 0 ip 000055c75bf12856 sp 00007ffc02c03fb0 error 4 in lighttpd[55c75beea000+3c000]
Jan 10 19:05:01 freedomrussia-SSD systemd1: lighttpd.service: Service hold-off time over, scheduling restart.
Jan 10 19:05:01 freedomrussia-SSD systemd1: Stopped Lighttpd Daemon.
Jan 10 19:05:01 freedomrussia-SSD systemd1: Starting Lighttpd Daemon...
Jan 10 19:05:01 freedomrussia-SSD systemd1: Started Lighttpd Daemon.

lighttpd.conf
server.max-connections = 1024
server.max-fds = 2048
server.max-keep-alive-requests = 5
server.max-keep-alive-idle = 5
server.max-read-idle = 20
server.max-write-idle = 50
connection.kbytes-per-second = 0
server.kbytes-per-second = 0
server.max-request-size = 1024
server.range-requests = "disable"

server.modules = (
"mod_access",
"mod_alias",
"mod_accesslog",
"mod_compress",
"mod_redirect",
"mod_rewrite",
)

History

#1

Updated by gstrauss 6 months ago

  • Category changed from documentation to core

Are you able to provide any more details?
http://coredump.io/blog/2012/02/23/debugging-segfaults-from-logs-to-gdb/

Are you by any chance filling up your disk? See #2843

#2

Updated by rusborder 6 months ago

gstrauss wrote:

Are you able to provide any more details?
http://coredump.io/blog/2012/02/23/debugging-segfaults-from-logs-to-gdb/

Are you by any chance filling up your disk? See #2843

I have increased memory size on my VPS. At the moment I don't receive these mistakes again. Have you given the link to the publication - but I don't see the instruction what I have to make? I haven't understood a question about a disk?

#3

Updated by gstrauss 6 months ago

  • Status changed from New to Missing Feedback

unfortunate language barrier looks like it will prevent any further progress

#4

Updated by rusborder 6 months ago

gstrauss wrote:

unfortunate language barrier looks like it will prevent any further progress

Unfortunately today the mistake returned.
Today lighttpd wasn't restarted automatically.
My sites weren't available some hours.

How I can correct this problem? How I can provide additional information for you?

2018-01-23 07:04:52: (connections-glue.c.403) chunked data size too large -> 400
2018-01-23 07:04:54: (log.c.217) server started
2018-01-23 07:04:55: (log.c.217) server started
2018-01-23 07:04:56: (log.c.217) server started
2018-01-23 07:05:03: (log.c.217) server started
2018-01-23 07:05:03: (log.c.217) server started
2018-01-23 07:05:10: (log.c.217) server started
2018-01-23 07:05:12: (log.c.217) server started
2018-01-23 07:05:15: (log.c.217) server started
2018-01-23 07:05:16: (log.c.217) server started
2018-01-23 07:05:17: (log.c.217) server started
2018-01-23 07:05:25: (connections-glue.c.403) chunked data size too large -> 400
2018-01-23 07:05:27: (log.c.217) server started
2018-01-23 07:05:27: (log.c.217) server started
2018-01-23 07:05:30: (log.c.217) server started
2018-01-23 07:05:31: (log.c.217) server started
2018-01-23 07:05:32: (log.c.217) server started
2018-01-23 14:56:05: (log.c.217) server started

Jan 23 07:04:53 freedomrussia-SSD kernel: [986411.113041] lighttpd21468: segfault at 0 ip 000055e2ba9c8856 sp 00007ffd3a6d91e0 error 4 in lighttpd[55e2ba9a0000+3c000]
Jan 23 07:04:53 freedomrussia-SSD systemd1: lighttpd.service: Main process exited, code=killed, status=11/SEGV
Jan 23 07:04:53 freedomrussia-SSD systemd1: lighttpd.service: Unit entered failed state.
Jan 23 07:04:53 freedomrussia-SSD systemd1: lighttpd.service: Failed with result 'signal'.
Jan 23 07:04:54 freedomrussia-SSD systemd1: lighttpd.service: Service hold-off time over, scheduling restart.
Jan 23 07:04:55 freedomrussia-SSD systemd1: lighttpd.service: Main process exited, code=killed, status=11/SEGV
Jan 23 07:04:55 freedomrussia-SSD systemd1: lighttpd.service: Unit entered failed state.
Jan 23 07:04:55 freedomrussia-SSD systemd1: lighttpd.service: Failed with result 'signal'.
Jan 23 07:04:55 freedomrussia-SSD kernel: [986412.453885] lighttpd19495: segfault at 0 ip 000055b179e43856 sp 00007ffe61a694b0 error 4 in lighttpd[55b179e1b000+3c000]
Jan 23 07:04:55 freedomrussia-SSD systemd1: lighttpd.service: Service hold-off time over, scheduling restart.
Jan 23 07:04:56 freedomrussia-SSD kernel: [986413.264129] lighttpd19512: segfault at 0 ip 000055d34aa06856 sp 00007ffd18c9b040 error 4 in lighttpd[55d34a9de000+3c000]
Jan 23 07:04:56 freedomrussia-SSD systemd1: lighttpd.service: Main process exited, code=killed, status=11/SEGV
Jan 23 07:04:56 freedomrussia-SSD systemd1: lighttpd.service: Unit entered failed state.
Jan 23 07:04:56 freedomrussia-SSD systemd1: lighttpd.service: Failed with result 'signal'.
Jan 23 07:04:56 freedomrussia-SSD systemd1: lighttpd.service: Service hold-off time over, scheduling restart.
Jan 23 07:05:02 freedomrussia-SSD systemd1: lighttpd.service: Main process exited, code=killed, status=11/SEGV
Jan 23 07:05:02 freedomrussia-SSD systemd1: lighttpd.service: Unit entered failed state.
Jan 23 07:05:02 freedomrussia-SSD systemd1: lighttpd.service: Failed with result 'signal'.
Jan 23 07:05:02 freedomrussia-SSD kernel: [986419.906622] lighttpd19530: segfault at 0 ip 00005567b1179856 sp 00007fff017890b0 error 4 in lighttpd[5567b1151000+3c000]
Jan 23 07:05:03 freedomrussia-SSD systemd1: lighttpd.service: Service hold-off time over, scheduling restart.
Jan 23 07:05:03 freedomrussia-SSD kernel: [986420.652955] lighttpd19548: segfault at 0 ip 000055c1ee2ff856 sp 00007fff2ccb0450 error 4 in lighttpd[55c1ee2d7000+3c000]
Jan 23 07:05:03 freedomrussia-SSD systemd1: lighttpd.service: Main process exited, code=killed, status=11/SEGV
Jan 23 07:05:03 freedomrussia-SSD systemd1: lighttpd.service: Unit entered failed state.
Jan 23 07:05:03 freedomrussia-SSD systemd1: lighttpd.service: Failed with result 'signal'.
Jan 23 07:05:03 freedomrussia-SSD systemd1: lighttpd.service: Service hold-off time over, scheduling restart.
Jan 23 07:05:10 freedomrussia-SSD kernel: [986427.692916] lighttpd19565: segfault at 0 ip 000055c6fe88e856 sp 00007ffe2385c9b0 error 4 in lighttpd[55c6fe866000+3c000]
Jan 23 07:05:10 freedomrussia-SSD systemd1: lighttpd.service: Main process exited, code=killed, status=11/SEGV
Jan 23 07:05:10 freedomrussia-SSD systemd1: lighttpd.service: Unit entered failed state.
Jan 23 07:05:10 freedomrussia-SSD systemd1: lighttpd.service: Failed with result 'signal'.
Jan 23 07:05:10 freedomrussia-SSD systemd1: lighttpd.service: Service hold-off time over, scheduling restart.
Jan 23 07:05:12 freedomrussia-SSD systemd1: lighttpd.service: Main process exited, code=killed, status=11/SEGV
Jan 23 07:05:12 freedomrussia-SSD systemd1: lighttpd.service: Unit entered failed state.
Jan 23 07:05:12 freedomrussia-SSD systemd1: lighttpd.service: Failed with result 'signal'.
Jan 23 07:05:12 freedomrussia-SSD kernel: [986429.208458] lighttpd19582: segfault at 0 ip 0000555d9ffcc856 sp 00007ffc18e9c420 error 4 in lighttpd[555d9ffa4000+3c000]
Jan 23 07:05:12 freedomrussia-SSD systemd1: lighttpd.service: Service hold-off time over, scheduling restart.
Jan 23 07:05:15 freedomrussia-SSD kernel: [986432.397479] lighttpd19599: segfault at 0 ip 000056347979e856 sp 00007fffe64f1410 error 4 in lighttpd[563479776000+3c000]
Jan 23 07:05:15 freedomrussia-SSD systemd1: lighttpd.service: Main process exited, code=killed, status=11/SEGV
Jan 23 07:05:15 freedomrussia-SSD systemd1: lighttpd.service: Unit entered failed state.
Jan 23 07:05:15 freedomrussia-SSD systemd1: lighttpd.service: Failed with result 'signal'.
Jan 23 07:05:15 freedomrussia-SSD systemd1: lighttpd.service: Service hold-off time over, scheduling restart.
Jan 23 07:05:16 freedomrussia-SSD systemd1: lighttpd.service: Main process exited, code=killed, status=11/SEGV
Jan 23 07:05:16 freedomrussia-SSD kernel: [986433.460073] lighttpd19617: segfault at 0 ip 000055e0f6884856 sp 00007fff4b73e770 error 4 in lighttpd[55e0f685c000+3c000]
Jan 23 07:05:16 freedomrussia-SSD systemd1: lighttpd.service: Unit entered failed state.
Jan 23 07:05:16 freedomrussia-SSD systemd1: lighttpd.service: Failed with result 'signal'.
Jan 23 07:05:16 freedomrussia-SSD systemd1: lighttpd.service: Service hold-off time over, scheduling restart.
Jan 23 07:05:17 freedomrussia-SSD kernel: [986434.184388] lighttpd19634: segfault at 0 ip 0000562e8f6c3856 sp 00007ffed68e2af0 error 4 in lighttpd[562e8f69b000+3c000]
Jan 23 07:05:17 freedomrussia-SSD systemd1: lighttpd.service: Main process exited, code=killed, status=11/SEGV
Jan 23 07:05:17 freedomrussia-SSD systemd1: lighttpd.service: Unit entered failed state.
Jan 23 07:05:17 freedomrussia-SSD systemd1: lighttpd.service: Failed with result 'signal'.
Jan 23 07:05:17 freedomrussia-SSD systemd1: lighttpd.service: Service hold-off time over, scheduling restart.
Jan 23 07:05:26 freedomrussia-SSD systemd1: lighttpd.service: Main process exited, code=killed, status=11/SEGV
Jan 23 07:05:26 freedomrussia-SSD systemd1: lighttpd.service: Unit entered failed state.
Jan 23 07:05:26 freedomrussia-SSD systemd1: lighttpd.service: Failed with result 'signal'.
Jan 23 07:05:26 freedomrussia-SSD kernel: [986444.046273] lighttpd19652: segfault at 0 ip 00005628f0781856 sp 00007ffd73bb8380 error 4 in lighttpd[5628f0759000+3c000]
Jan 23 07:05:27 freedomrussia-SSD systemd1: lighttpd.service: Service hold-off time over, scheduling restart.
Jan 23 07:05:27 freedomrussia-SSD systemd1: lighttpd.service: Main process exited, code=killed, status=11/SEGV
Jan 23 07:05:27 freedomrussia-SSD kernel: [986444.567073] lighttpd19673: segfault at 0 ip 000055ae6c6ce856 sp 00007ffe499813a0 error 4 in lighttpd[55ae6c6a6000+3c000]
Jan 23 07:05:27 freedomrussia-SSD systemd1: lighttpd.service: Unit entered failed state.
Jan 23 07:05:27 freedomrussia-SSD systemd1: lighttpd.service: Failed with result 'signal'.
Jan 23 07:05:27 freedomrussia-SSD systemd1: lighttpd.service: Service hold-off time over, scheduling restart.
Jan 23 07:05:29 freedomrussia-SSD systemd1: lighttpd.service: Main process exited, code=killed, status=11/SEGV
Jan 23 07:05:29 freedomrussia-SSD systemd1: lighttpd.service: Unit entered failed state.
Jan 23 07:05:29 freedomrussia-SSD systemd1: lighttpd.service: Failed with result 'signal'.
Jan 23 07:05:29 freedomrussia-SSD kernel: [986446.930562] lighttpd19691: segfault at 0 ip 00005565a3dc9856 sp 00007ffeca988500 error 4 in lighttpd[5565a3da1000+3c000]
Jan 23 07:05:30 freedomrussia-SSD systemd1: lighttpd.service: Service hold-off time over, scheduling restart.
Jan 23 07:05:31 freedomrussia-SSD systemd1: lighttpd.service: Main process exited, code=killed, status=11/SEGV
Jan 23 07:05:31 freedomrussia-SSD kernel: [986448.220249] lighttpd19707: segfault at 0 ip 00005575f724b856 sp 00007ffce34d0490 error 4 in lighttpd[5575f7223000+3c000]
Jan 23 07:05:31 freedomrussia-SSD systemd1: lighttpd.service: Unit entered failed state.
Jan 23 07:05:31 freedomrussia-SSD systemd1: lighttpd.service: Failed with result 'signal'.
Jan 23 07:05:31 freedomrussia-SSD systemd1: lighttpd.service: Service hold-off time over, scheduling restart.
Jan 23 07:05:32 freedomrussia-SSD systemd1: lighttpd.service: Main process exited, code=killed, status=11/SEGV
Jan 23 07:05:32 freedomrussia-SSD systemd1: lighttpd.service: Unit entered failed state.
Jan 23 07:05:32 freedomrussia-SSD systemd1: lighttpd.service: Failed with result 'signal'.
Jan 23 07:05:32 freedomrussia-SSD kernel: [986449.574343] lighttpd19724: segfault at 0 ip 0000564898337856 sp 00007fff52af0410 error 4 in lighttpd[56489830f000+3c000]
Jan 23 07:05:32 freedomrussia-SSD systemd1: lighttpd.service: Service hold-off time over, scheduling restart.
Jan 23 07:05:36 freedomrussia-SSD systemd1: lighttpd.service: Main process exited, code=killed, status=11/SEGV
Jan 23 07:05:36 freedomrussia-SSD systemd1: lighttpd.service: Unit entered failed state.
Jan 23 07:05:36 freedomrussia-SSD systemd1: lighttpd.service: Failed with result 'signal'.
Jan 23 07:05:36 freedomrussia-SSD kernel: [986453.934934] lighttpd19741: segfault at 0 ip 00005608651bc856 sp 00007ffe4b608630 error 4 in lighttpd[560865194000+3c000]
Jan 23 07:05:37 freedomrussia-SSD systemd1: lighttpd.service: Service hold-off time over, scheduling restart.
Jan 23 07:05:37 freedomrussia-SSD systemd1: lighttpd.service: Start request repeated too quickly.
Jan 23 07:05:37 freedomrussia-SSD systemd1: Failed to start Lighttpd Daemon.
Jan 23 07:05:37 freedomrussia-SSD systemd1: lighttpd.service: Unit entered failed state.
Jan 23 07:05:37 freedomrussia-SSD systemd1: lighttpd.service: Failed with result 'signal'.

#5

Updated by gstrauss 6 months ago

First, confirm what version of lighttpd you are running. Is it lighttpd 1.4.45 or lighttpd 1.4.48? If lighttpd 1.4.45, then see #2854.

How I can correct this problem? How I can provide additional information for you?

Second, ask a friend to help you understand my initial response. Do not continue sharing repetitions of your logs.

#6

Updated by rusborder 6 months ago

gstrauss wrote:

First, confirm what version of lighttpd you are running. Is it lighttpd 1.4.45 or lighttpd 1.4.48? If lighttpd 1.4.45, then see #2854.

How I can correct this problem? How I can provide additional information for you?

Second, ask a friend to help you understand my initial response. Do not continue sharing repetitions of your logs.

lighttpd 1.4.48
Debian 9
PHP 5.6

#7

Updated by stbuehler 6 months ago

Maybe you could try a build with libunwind - I modified our lighttpd1.4-nightlies debian packages to support it.

With libunwind lighttpd should print a backtrace on segfaults to stdout (wherever that goes to - with systemd probably to the journal).

That backtrace would be interesting. There are other ways getting one (attaching gdb and waiting for a crash, or enable core dumps and analyze them with gdb), but that is probably the easiest way.

Also available in: Atom