lighttpd, uid 80: exited on signal 11

Miroslav Lachman 000.fbsd at quip.cz
Fri Apr 12 15:47:47 CEST 2019


Dan Lukes wrote on 2019/04/12 14:13:
> On 12.4.2019 13:41, Miroslav Lachman wrote:
>> Tak problem je ted v tom, ze kdyz to pustim jako:
>> /usr/local/sbin/lighttpd -D -f /usr/local/etc/lighttpd/lighttpd.conf
>>
>> a vedle si pustim gdb (a v nem ani nic neudelam)
>>
>> gdb /usr/local/sbin/lighttpd <PID>
> 
> Poustej rovnou
> 
> gdb --args /usr/local/sbin/lighttpd -D -f 
> /usr/local/etc/lighttpd/lighttpd.conf
> 
> pak
> 
> break mod_status_handle_server_status
> 
> (jenze to mozna bez prekladu s debugovacimi informacemi nepujde)

Ne jen ze to nejde (Function "mod_status_handle_server_status" not 
defined.), ale navic to pri spusteni pres gdb nesegfaultuje a v poklidu 
vraci spravnou status stranku

Total Accesses: 25
Total kBytes: 118
Uptime: 105
BusyServers: 1
IdleServers: 127
Scoreboard: h



# gdb --args /usr/local/sbin/lighttpd -D -f 
/usr/local/etc/lighttpd/lighttpd.conf
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...(no debugging 
symbols found)...
(gdb) break mod_status_handle_server_status
Function "mod_status_handle_server_status" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (mod_status_handle_server_status) pending.
(gdb) run
Starting program: /usr/local/sbin/lighttpd -D -f 
/usr/local/etc/lighttpd/lighttpd.conf
(no debugging symbols found)...(no debugging symbols found)...

Mirek


More information about the Users-l mailing list