Install on FreeBSD - not starting

#1
Ok - now I am installing LiteSpeed on a second server - FreeBSD 6.2 / it says "started" but the service isn't up. System log is showing:
Code:
Jan  5 05:30:13 xanax kernel: pid 31266 (lshttpd.3.3.3), uid 0: exited on signal 11
Error log is showing:
Code:
2008-01-05 05:30:13.649 [NOTICE] Loading LiteSpeed/3.3.3 Standard ...
2008-01-05 05:30:13.655 [NOTICE] Loading configuration from /usr/local/lsws/conf/httpd_config.xml ...
2008-01-05 05:30:13.657 [INFO] old priority: 0, new priority: 0
2008-01-05 05:30:13.658 [INFO] [config:server:basic] For better obscurity, server version number is hidden in the response he
ader.
2008-01-05 05:30:13.663 [NOTICE] The maximum number of file descriptor limit is set to 2048.
I tried 3.3.2 and 3.3.3 - I can't get it to work with either....I have another FreeBSD 6.2 box that it installed fine and we had the authentication issues - got those corrected. This box should be an almost duplicate of the other but it just won't start.

Checked sockstat - nothing on 80 or 7080 which are the ports I configured in the install. I deleted the tmp directory and let it recreate just in case, can't seem to figure out anything else that maybe wrong.

Sadly the logging of the server really don't provide any information to even base a conclusion around. This is 32bit FreeBSD by the way.

Any ideas?

I have also tried installing with/without php and with/without awstats thinking maybe a module....but neither changed anything.
 
Last edited:

mistwang

LiteSpeed Staff
#2
Is there a core file created under lsws/bin or /tmp/lshttpd directory.
User may have trouble running 32bit standard edition on 64bit FreeBSD, but you said it is 32bit FreeBSD.
You can PM me a temp root login to that server if possible, I can take a look.
 
#4
Was this persons problem ever resolved? I am having the same exact problem on freebsd 6.2. There is no core file produced that I can see anywhere.


Here are the last few lines of the ktrace dumped:



Code:
 21688 lshttpd.3.3.10 NAMI  "/home/lsws/admin/fcgi-bin/admin_php"
 21688 lshttpd.3.3.10 RET   access 0
 21688 lshttpd.3.3.10 CALL  __sysctl(0xbfbfb940,0x6,0,0xbfbfb9ac,0,0)
 21688 lshttpd.3.3.10 RET   __sysctl 0
 21688 lshttpd.3.3.10 CALL  __sysctl(0xbfbfb940,0x6,0x8282000,0xbfbfb9ac,0,0)
 21688 lshttpd.3.3.10 RET   __sysctl 0
 21688 lshttpd.3.3.10 CALL  __sysctl(0xbfbfb940,0x6,0,0xbfbfb9ac,0,0)
 21688 lshttpd.3.3.10 RET   __sysctl 0
 21688 lshttpd.3.3.10 CALL  __sysctl(0xbfbfb940,0x6,0x8264400,0xbfbfb9ac,0,0)
 21688 lshttpd.3.3.10 RET   __sysctl 0
 21688 lshttpd.3.3.10 CALL  chown(0x8254805,0x3ec,0x50)
 21688 lshttpd.3.3.10 NAMI  "/home/lsws/admin/tmp/admin.sock.7709"
 21688 lshttpd.3.3.10 RET   chown 0
 21688 lshttpd.3.3.10 CALL  access(0xbfbfc570,0)
 21688 lshttpd.3.3.10 NAMI  "/home/lsws/admin/conf/htpasswd"
 21688 lshttpd.3.3.10 RET   access 0
 21688 lshttpd.3.3.10 PSIG  SIGSEGV SIG_DFL
 21690 lscgid.3.3.10 RET   poll 0
 21690 lscgid.3.3.10 CALL  kill(0x54b8,0)
 21690 lscgid.3.3.10 RET   kill -1 errno 3 No such process
 21690 lscgid.3.3.10 CALL  close(0)
 21690 lscgid.3.3.10 RET   close 0
 21690 lscgid.3.3.10 CALL  unlink(0x8051005)
 21690 lscgid.3.3.10 NAMI  "/home/lsws/admin/conf/.cgid.sock"
 21690 lscgid.3.3.10 RET   unlink 0
 21690 lscgid.3.3.10 CALL  exit(0x1)
 

mistwang

LiteSpeed Staff
#5
Looks like crashed, is there a core file under /tmp/lshttpd? Can you inspect the core file with GDB? we need the stack backtrace to find out what is wrong.
 
#6
There is no core file anywhere. It was the first thing I looked for as I'm used to debugging these kinds of problems. I am doing a find on the entire drive now to see if its somewhere I'm not looking.
 
#7
Okay the find is done, it found a few other .core files for some things before we even installed ls that arent related but no cores for it.
 

mistwang

LiteSpeed Staff
#8
try change <enableCoreDump> to 1 in lsws/admin/conf/admin_config.xml, there is an option in freebsd kernel to control core dump I believe.
 
#9
I just found the option in freebsd to turn on the core dumping. Here it is to help those in the future:

sysctl kern.sugid_coredump=1

The backtrace of the dump is very long but this is the first few lines and last few lines (the only lines that had addresses mapped to symbols:

Code:
(gdb) bt
#0  0x080afb39 in XmlNode::getChild ()
#1  0x08052e87 in HttpServerBuilder::configVHSecurity ()
#2  0x0805a4e7 in HttpServerBuilder::initAdmin ()


#1250 0x281e8405 in symlook_obj () from /libexec/ld-elf.so.1
Previous frame inner to this frame (corrupt stack?)
 
#11
okay, more info now:


Code:
 gdb /home/lsws/bin/lshttpd.dbg  lshttpd.dbg.core 
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 "i386-marcel-freebsd"...
Core was generated by `lshttpd.dbg'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libcrypt.so.3...done.
Loaded symbols for /lib/libcrypt.so.3
Reading symbols from /lib/libm.so.4...done.
Loaded symbols for /lib/libm.so.4
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x08062056 in ExtWorker::getConfigPointer (this=0x30707866) at extworker.h:84
84      extworker.h: No such file or directory.
        in extworker.h
(gdb) bt
#0  0x08062056 in ExtWorker::getConfigPointer (this=0x30707866) at extworker.h:84
#1  0x080ce489 in LocalWorker::getConfig (this=0x30707866) at /usr/home/gwang/release/httpd/httpd/extensions/localworker.cpp:55
#2  0x08061523 in HttpServerBuilder::initAdmin (this=0x2c333231, pNode=0x30707866)
    at /usr/home/gwang/release/httpd/httpd/main/httpserverbuilder.cpp:5465
 

mistwang

LiteSpeed Staff
#13
I am little puzzled by the back trace. maybe the libstc++ library linked into the binary has compatibility problem? We need to set up a test VM to give it a try. Can you tell me more about your server? FreeBSD version? 32bit or 64bit?

Also you can try our latest 3.3.11 build your server, just change the version number to get the package.
 
#14
I tried the .11 version. Still no go.


Here is some info about the server:

Freebsd 6.2 32bit
Generic kernel.
NFS boot/root (diskless) server.
File locking enabled on nfs.


Libstd++ files info:

Code:
-r--r--r--  1 root  wheel   1585324 Jan 12  2007 /usr/lib/libstdc++.a
lrwxrwxrwx  1 root  wheel        14 Apr  8 14:34 /usr/lib/libstdc++.so -> libstdc++.so.5
-r--r--r--  1 root  wheel    803928 Jan 12  2007 /usr/lib/libstdc++.so.5
-r--r--r--  1 root  wheel   1577098 Jan 12  2007 /usr/lib/libstdc++_p.a
Dmesg output:

Code:
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007
    root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP
ACPI APIC Table: <INTEL  024B    >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (999.72-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 2147418112 (2047 MB)
avail memory = 2096271360 (1999 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  3
 cpu1 (AP): APIC ID:  0
ioapic0 <Version 1.1> irqs 0-15 on motherboard
ioapic1 <Version 1.1> irqs 16-31 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <INTEL 024B> on motherboard
acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 31
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x404-0x407 on acpi0
acpi_ec0: <Embedded Controller: GPE 0x4> port 0xca6,0xca7 on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
acpi_button0: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <display, VGA> at device 2.0 (no driver attached)
fxp0: <Intel 82559 Pro/100 Ethernet> port 0x5400-0x543f mem 0xfb141000-0xfb141fff,0xfb000000-0xfb0fffff irq 18 at device 3.0 on pci0
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:d0:b7:b7:e6:57
em0: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port 0x5440-0x547f mem 0xfb120000-0xfb13ffff,0xfb100000-0xfb11ffff irq 26 at device 6.0 on pci0
em0: Ethernet address: 00:1b:21:07:ad:04
isab0: <PCI-ISA bridge> port 0x580-0x58f at device 15.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <ServerWorks ROSB4 UDMA33 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x374-0x377,0x5480-0x548f at device 15.1 on pci0
ata0: <ATA channel 0> on atapci0
ata2: <ATA channel 1> on atapci0
pcib1: <ACPI Host-PCI bridge> on acpi0
pci1: <ACPI PCI bus> on pcib1
ahc0: <Adaptec aic7899 Ultra160 SCSI adapter> port 0x5800-0x58ff mem 0xfd000000-0xfd000fff irq 16 at device 4.0 on pci1
ahc0: [GIANT-LOCKED]
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc1: <Adaptec aic7899 Ultra160 SCSI adapter> port 0x6000-0x60ff mem 0xfd001000-0xfd001fff irq 17 at device 4.1 on pci1
ahc1: [GIANT-LOCKED]
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
acpi_tz0: <Thermal Zone> on acpi0
acpi_tz1: <Thermal Zone> on acpi0
acpi_tz2: <Thermal Zone> on acpi0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0: <ECP parallel printer port> port 0x378-0x37f,0x778-0x77f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse Explorer, device ID 4
speaker0: <PC speaker> port 0x61 on acpi0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc97ff,0xc9800-0xca7ff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 1.000 msec
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, default to accept, logging disabled
acd0: CDROM <CDU5211/YYS2> at ata0-master PIO4
Waiting 5 seconds for SCSI devices to settle
SMP: AP CPU #1 Launched!
Trying to mount root from nfs:1.2.3.4:/drive/partition
NFS ROOT: 1.2.3.4:/drive/partition


Most recent backtrace (3.3.11):
Code:
#0  0x08062302 in ExtWorker::getConfigPointer (this=0x30707866) at extworker.h:84
84      extworker.h: No such file or directory.
        in extworker.h
(gdb) bt
#0  0x08062302 in ExtWorker::getConfigPointer (this=0x30707866) at extworker.h:84
#1  0x080ce83d in LocalWorker::getConfig (this=0x30707866) at /usr/home/gwang/release/httpd/httpd/extensions/localworker.cpp:55
#2  0x080617cf in HttpServerBuilder::initAdmin (this=0x2c333231, pNode=0x30707866)
    at /usr/home/gwang/release/httpd/httpd/main/httpserverbuilder.cpp:5469

Let me know if you need anything else.


Timothy J. Biggs
--
Senior Vice President / CIO

BLUE GRAVITY COMMUNICATIONS, INC.
3495 Haddonfield Rd. Suite 6
Pennsauken, NJ 08109
Toll Free: 1-877-8 HOSTING
Tel: (856)662-9100, Fax: (856) 662-9101
Email: tim@bluegravity.com
http://www.bluegravity.com
 

mistwang

LiteSpeed Staff
#15
I tried 6.2 in a fresh installed vmware server. it works well.
So, I guess it has something to do with NFS diskless configuration. And it is not recommended to run LSWS over NFS due to the high I/O latency.
 
#16
Could you give any other suggestions as to why nfs would be the problem? We use a NetApp filer. NetApps connected over gigE are many times faster then a drive directly connected to the machine and we are running apache on that very machine with over 300 active domains without a problem. We are however planning on moving to litespeed ws on many servers and have an enterprise license but if we cant use it on nfs it is useless to us as we are putting most of those machines on the NetApp filers to save on power and space as well as providing extra redundancy.


Timothy J. Biggs
--
Senior Vice President / CIO

BLUE GRAVITY COMMUNICATIONS, INC.
3495 Haddonfield Rd. Suite 6
Pennsauken, NJ 08109
Toll Free: 1-877-8 HOSTING
Tel: (856)662-9100, Fax: (856) 662-9101
Email: tim@bluegravity.com
http://www.bluegravity.com
 
Last edited:

mistwang

LiteSpeed Staff
#17
Are you using an trial license or a real enterprise license on the test server?
Is that possible to try FreeBSD 6.1 on it? or Linux?
Another suggestion is to run lshttpd run valgrind, check if there is any memory related problem.
We need to somehow figure out the source of the problem and have it addressed. Right now is just speculation.
 
#18
It is a full enterprise license.

This is a production machine we are looking at converting to ls from apache. I was going to run ls on some of the hosts on it on different ports to test out some things. There is 2gb of ram in the machine and over 1600mb free. We cant change the os on it.

Here is valgrind output for 3.1.11 debug version:

Code:
==5966== Memcheck, a memory error detector for x86-linux.
==5966== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward.
==5966== Using valgrind-2.1.0, a program supervision framework for x86-linux.
==5966== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward.
==5966== Valgrind library directory: /usr/local/lib/valgrind
==5966== Command line
==5966==    /home/lsws/bin/lshttpd.dbg
==5966== Startup, with flags:
==5966==    --tool=memcheck
==5966==    -v
==5966==    --trace-children=yes
==5966== Reading syms from /home/lsws/bin/lshttpd.dbg (0x8048000)
==5966== Reading syms from /libexec/ld-elf.so.1 (0x3C000000)
==5966==    object doesn't have a symbol table
==5966==    object doesn't have any debug info
==5966== Reading syms from /libexec/ld-elf.so.1 (0xB0000000)
==5966==    object doesn't have a symbol table
==5966==    object doesn't have any debug info
==5966== Reading syms from /lib/libc.so.6 (0xB0031000)
==5966==    object doesn't have a symbol table
==5966==    object doesn't have any debug info
==5966== Reading syms from /usr/lib/valgrind/vgskin_memcheck.so (0xB0116000)
==5966==    object doesn't have a symbol table
==5966==    object doesn't have any debug info
==5966== Reading syms from /usr/lib/valgrind/stage2 (0xB8000000)
==5966==    object doesn't have a symbol table
==5966==    object doesn't have any debug info
==5966== Reading suppressions file: /usr/local/lib/valgrind/default.supp
==5966== Estimated CPU clock rate is 1001 MHz
==5966== REDIRECT soname:libc.so.6(__GI___errno_location) to soname:libpthread.so.0(__errno_location)
==5966== REDIRECT soname:libc.so.6(__errno_location) to soname:libpthread.so.0(__errno_location)
==5966== REDIRECT soname:libc.so.6(__GI___h_errno_location) to soname:libpthread.so.0(__h_errno_location)
==5966== REDIRECT soname:libc.so.6(__h_errno_location) to soname:libpthread.so.0(__h_errno_location)
==5966== REDIRECT soname:libc.so.6(__GI___res_state) to soname:libpthread.so.0(__res_state)
==5966== REDIRECT soname:libc.so.6(__res_state) to soname:libpthread.so.0(__res_state)
==5966== REDIRECT soname:libc.so.6(stpcpy) to *vgpreload_memcheck.so*(stpcpy)
==5966== REDIRECT soname:libc.so.6(strnlen) to *vgpreload_memcheck.so*(strnlen)
==5966== REDIRECT soname:ld-linux.so.2(stpcpy) to *vgpreload_memcheck.so*(stpcpy)
==5966== REDIRECT soname:ld-linux.so.2(strchr) to *vgpreload_memcheck.so*(strchr)
==5966== 
==5966== Reading syms from /usr/local/lib/valgrind/vg_inject.so (0x3C033000)
==5966==    object doesn't have a symbol table
==5966==    object doesn't have any debug info
==5966== Reading syms from /usr/local/lib/valgrind/vgpreload_memcheck.so (0x3C036000)
==5966==    object doesn't have a symbol table
==5966==    object doesn't have any debug info
==5966== Reading syms from /lib/libcrypt.so.3 (0x3C03C000)
==5966==    object doesn't have a symbol table
==5966==    object doesn't have any debug info
==5966== Reading syms from /lib/libm.so.4 (0x3C055000)
==5966==    object doesn't have a symbol table
==5966==    object doesn't have any debug info
==5966== Reading syms from /lib/libc.so.6 (0x3C06C000)
==5966==    object doesn't have a symbol table
==5966==    object doesn't have any debug info
disInstr: unhandled instruction bytes: 0xF 0x0 0x45 0xD8
          at 0x8067771: isVMware() (license.cpp:154)
==5966== 
==5966== Process terminating with default action of signal 4 (SIGILL): dumping core
==5966==    at 0x8067771: isVMware() (license.cpp:154)
==5966==    by 0x80677E1: detectVPS() (license.cpp:185)
==5966==    by 0x8067814: getMAC(ifi_info*, char*, int, int*) (license.cpp:204)
==5966==    by 0x8068956: License::checkLicenseKey(char const*, long&, long&, char*, int, ifi_info*) (license.cpp:742)
==5966== Core dumping not implemented. Please re-run valgrind after fixing the crash.
==5966== 
==5966== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==5966== malloc/free: in use at exit: 242869 bytes in 3473 blocks.
==5966== malloc/free: 3720 allocs, 247 frees, 1345657 bytes allocated.
==5966== 
--5966--     TT/TC: 0 tc sectors discarded.
--5966--            4111 chainings, 0 unchainings.
--5966-- translate: new     6412 (107787 -> 1614853; ratio 149:10)
--5966--            discard 0 (0 -> 0; ratio 0:10).
--5966--  dispatch: 801404 jumps (bb entries), of which 231978 (28%) were unchained.
--5966--            69/10983 major/minor sched events.  6725 tt_fast misses.
--5966-- reg-alloc: 1053 t-req-spill, 300121+9545 orig+spill uis, 33415 total-reg-r.
--5966--    sanity: 48 cheap, 2 expensive checks.
--5966--    ccalls: 36139 C calls, 54% saves+restores avoided (115612 bytes)
--5966--            47539 args, avg 0.89 setup instrs each (9518 bytes)
--5966--            0% clear the stack (108417 bytes)
--5966--            10520 retvals, 29% of reg-reg movs avoided (6074 bytes)
Illegal instruction

Timothy J. Biggs
--
Senior Vice President / CIO

BLUE GRAVITY COMMUNICATIONS, INC.
3495 Haddonfield Rd. Suite 6
Pennsauken, NJ 08109
Toll Free: 1-877-8 HOSTING
Tel: (856)662-9100, Fax: (856) 662-9101
Email: tim@bluegravity.com
http://www.bluegravity.com
 
#20
Output with regular new build (I had to remove all of the duplicate "reading syms" and "redirect" stuff for it to fit):

Code:
==23545== Command line
==23545==    /home/lsws/bin/lshttpd
==23545==    -d
==23545== Startup, with flags:
==23545==    --tool=memcheck
==23545==    -v
==23545==    --trace-children=yes
==23545== Estimated CPU clock rate is 1002 MHz
[OK] Lease License key #1 will expire in 34 days!
==23545== Warning: invalid file descriptor -1 in syscall close()
==23545==    at 0x3C12A30F: (within /lib/libc.so.6)
==23545==    by 0x80A8E2D: log4cxx::FileAppender::close() (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x80A838F: log4cxx::LogRotate::postRotate(log4cxx::Appender*, unsigned, unsigned) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x80A84EE: log4cxx::LogRotate::roll(log4cxx::Appender*, unsigned, unsigned, long) (in /home/lsws/bin/lshttpd.3.3.11)
==23545== Conditional jump or move depends on uninitialised value(s)
==23545==    at 0x80A6981: KQueuer::add(EventReactor*, short) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x806E7E9: StdErrLogger::initLogger(Multiplexer*) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x805CF38: HttpServerBuilder::configServer(int) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x805D40C: HttpServerBuilder::initServer(int) (in /home/lsws/bin/lshttpd.3.3.11)
==23545== 
==23545== Conditional jump or move depends on uninitialised value(s)
==23545==    at 0x80A69C7: KQueuer::add(EventReactor*, short) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x806E7E9: StdErrLogger::initLogger(Multiplexer*) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x805CF38: HttpServerBuilder::configServer(int) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x805D40C: HttpServerBuilder::initServer(int) (in /home/lsws/bin/lshttpd.3.3.11)
==23545== 
==23545== Use of uninitialised value of size 4
==23545==    at 0x80A69CE: KQueuer::add(EventReactor*, short) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x806E7E9: StdErrLogger::initLogger(Multiplexer*) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x805CF38: HttpServerBuilder::configServer(int) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x805D40C: HttpServerBuilder::initServer(int) (in /home/lsws/bin/lshttpd.3.3.11)
==23545== 
==23545== Conditional jump or move depends on uninitialised value(s)
==23545==    at 0x80A6885: KQueuer::appendEvent(EventReactor*, short, unsigned short) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x80A691E: KQueuer::addEvent(EventReactor*, short) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x806E7E9: StdErrLogger::initLogger(Multiplexer*) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x805CF38: HttpServerBuilder::configServer(int) (in /home/lsws/bin/lshttpd.3.3.11)
==23546== 
==23546== Conditional jump or move depends on uninitialised value(s)
==23546==    at 0x809C9E5: SUExec::spawnChild(char const*, int, int, char* const*, int, RLimits const*, unsigned, unsigned) (in /home/lsws/bin/lshttpd.3.3.11)
==23546==    by 0x809D430: CgidWorker::spawnCgid(char const*, int, int, char*) (in /home/lsws/bin/lshttpd.3.3.11)
==23546==    by 0x809D570: CgidWorker::start(char const*, char const*, unsigned, unsigned, int) (in /home/lsws/bin/lshttpd.3.3.11)
==23546==    by 0x80565DB: HttpServerBuilder::configCgid(CgidWorker*, XmlNode const*) (in /home/lsws/bin/lshttpd.3.3.11)
==23545== 
==23545== Conditional jump or move depends on uninitialised value(s)
==23545==    at 0x80A69C7: KQueuer::add(EventReactor*, short) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x8088DBE: HttpListener::setSockAttr(int, GSockAddr&) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x8088E7B: HttpListener::start() (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x805DC40: HttpServerImpl::newTcpListener(char const*, char const*) (in /home/lsws/bin/lshttpd.3.3.11)
==23545== 
==23545== Invalid read of size 4
==23545==    at 0x80AFD49: XmlNode::getChild(char const*) const (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x805300A: HttpServerBuilder::configVHSecurity(HttpVHost*, XmlNode const*) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x805A692: HttpServerBuilder::initAdmin(XmlNode const*) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x30312E34: ???
==23545==  Address 0x363A3070 is not stack'd, malloc'd or free'd
==23545== 
==23545== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==23545==    at 0x80AFD49: XmlNode::getChild(char const*) const (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x805300A: HttpServerBuilder::configVHSecurity(HttpVHost*, XmlNode const*) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x805A692: HttpServerBuilder::initAdmin(XmlNode const*) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x30312E34: ???
==23545== Core dumping not implemented. Please re-run valgrind after fixing the crash.
==23545== 
==23545== ERROR SUMMARY: 6 errors from 6 contexts (suppressed: 0 from 0)
==23545== 
==23545== 1 errors in context 1 of 6:
==23545== Invalid read of size 4
==23545==    at 0x80AFD49: XmlNode::getChild(char const*) const (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x805300A: HttpServerBuilder::configVHSecurity(HttpVHost*, XmlNode const*) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x805A692: HttpServerBuilder::initAdmin(XmlNode const*) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x30312E34: ???
==23545==  Address 0x363A3070 is not stack'd, malloc'd or free'd
==23545== 
==23545== 1 errors in context 2 of 6:
==23545== Conditional jump or move depends on uninitialised value(s)
==23545==    at 0x80A69C7: KQueuer::add(EventReactor*, short) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x8088DBE: HttpListener::setSockAttr(int, GSockAddr&) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x8088E7B: HttpListener::start() (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x805DC40: HttpServerImpl::newTcpListener(char const*, char const*) (in /home/lsws/bin/lshttpd.3.3.11)
==23545== 
==23545== 1 errors in context 3 of 6:
==23545== Conditional jump or move depends on uninitialised value(s)
==23545==    at 0x80A6885: KQueuer::appendEvent(EventReactor*, short, unsigned short) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x80A691E: KQueuer::addEvent(EventReactor*, short) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x806E7E9: StdErrLogger::initLogger(Multiplexer*) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x805CF38: HttpServerBuilder::configServer(int) (in /home/lsws/bin/lshttpd.3.3.11)
==23545== 
==23545== 1 errors in context 4 of 6:
==23545== Use of uninitialised value of size 4
==23545==    at 0x80A69CE: KQueuer::add(EventReactor*, short) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x806E7E9: StdErrLogger::initLogger(Multiplexer*) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x805CF38: HttpServerBuilder::configServer(int) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x805D40C: HttpServerBuilder::initServer(int) (in /home/lsws/bin/lshttpd.3.3.11)
==23545== 
==23545== 1 errors in context 5 of 6:
==23545== Conditional jump or move depends on uninitialised value(s)
==23545==    at 0x80A69C7: KQueuer::add(EventReactor*, short) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x806E7E9: StdErrLogger::initLogger(Multiplexer*) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x805CF38: HttpServerBuilder::configServer(int) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x805D40C: HttpServerBuilder::initServer(int) (in /home/lsws/bin/lshttpd.3.3.11)
==23545== 
==23545== 1 errors in context 6 of 6:
==23545== Conditional jump or move depends on uninitialised value(s)
==23545==    at 0x80A6981: KQueuer::add(EventReactor*, short) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x806E7E9: StdErrLogger::initLogger(Multiplexer*) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x805CF38: HttpServerBuilder::configServer(int) (in /home/lsws/bin/lshttpd.3.3.11)
==23545==    by 0x805D40C: HttpServerBuilder::initServer(int) (in /home/lsws/bin/lshttpd.3.3.11)
==23545== IN SUMMARY: 6 errors from 6 contexts (suppressed: 0 from 0)
==23545== 
==23545== malloc/free: in use at exit: 327587 bytes in 5664 blocks.
==23545== malloc/free: 8527 allocs, 2863 frees, 3753628 bytes allocated.
==23545== 
--23545--     TT/TC: 0 tc sectors discarded.
--23545--            7894 chainings, 0 unchainings.
--23545-- translate: new     10883 (175058 -> 2643369; ratio 150:10)
--23545--            discard 0 (0 -> 0; ratio 0:10).
--23545--  dispatch: 1891145 jumps (bb entries), of which 424104 (22%) were unchained.
--23545--            226/24781 major/minor sched events.  12724 tt_fast misses.
--23545-- reg-alloc: 1635 t-req-spill, 491632+13047 orig+spill uis, 55765 total-reg-r.
--23545--    sanity: 156 cheap, 7 expensive checks.
--23545--    ccalls: 59363 C calls, 55% saves+restores avoided (193600 bytes)
--23545--            78740 args, avg 0.89 setup instrs each (15962 bytes)
--23545--            0% clear the stack (178089 bytes)
--23545--            16558 retvals, 28% of reg-reg movs avoided (9196 bytes)
Segmentation fault
 
Top