Running March 26 snapshot, amd64, and built-from-source for getting
backtrace.  Simple httpd.conf.  Note that tls config is before non-tls --
it works fine the other way:
http_ip="192.168.1.131"

server "default" {
        listen on $http_ip tls port 443
        listen on $http_ip port 80
        root "/var/www/htdocs"
}


# httpd -d -vvvvvvv
startup
server_tls_load_keypair: using certificate /etc/ssl/server.crt
server_tls_load_keypair: using private key /etc/ssl/private/server.key
server_privinit: adding server default
server_privinit: adding server default
socket_rlimit: max open files 1024
socket_rlimit: max open files 1024
socket_rlimit: max open files 1024
logger exiting, pid 8995
Segmentation fault (core dumped)
# server exiting, pid 12675
server exiting, pid 259
server exiting, pid 6301


(gdb) bt
#0  0x00000549dc2cf150 in memcpy (dst0=0x549c54112d8, src0=Variable "src0"
is not available.
)
    at /usr/src/lib/libc/string/memcpy.c:94
#1  0x000005497ebd4c6c in ibuf_add (buf=0x5493f7ecfc0, data=0x0, len=1338)
    at /usr/src/lib/libutil/imsg-buffer.c:97
#2  0x000005497ebd40dc in imsg_add (msg=0x5493f7ecfc0, data=Variable "data"
is not available.
)
    at /usr/src/lib/libutil/imsg.c:240
#3  0x000005497ebd421e in imsg_composev (ibuf=0x5494ff11000, type=Variable
"type" is not available.
)
    at /usr/src/lib/libutil/imsg.c:198
#4  0x0000054738a10720 in imsg_composev_event ()
   from /usr/src/usr.sbin/httpd/httpd
#5  0x0000054738a107cf in proc_composev_imsg ()
   from /usr/src/usr.sbin/httpd/httpd
#6  0x0000054738a0aef3 in config_setserver ()
   from /usr/src/usr.sbin/httpd/httpd
#7  0x0000054738a0e774 in parent_configure ()
   from /usr/src/usr.sbin/httpd/httpd
#8  0x0000054738a0eff5 in main () from /usr/src/usr.sbin/httpd/httpd

OpenBSD 5.7-current (GENERIC) #838: Thu Mar 26 14:51:16 MDT 2015
    t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 519958528 (495MB)
avail mem = 500436992 (477MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0x1ffffd80 (12 entries)
bios0: vendor SeaBIOS version "
rel-1.7.5-0-ge51488c-20140602_164612-nilsson.home.kraxel.org" date
04/01/2014
bios0: QEMU Standard PC (i440FX + PIIX, 1996)
acpi0 at bios0: rev 0
acpi0: sleep states S3 S4 S5
acpi0: tables DSDT FACP SSDT APIC HPET
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: QEMU Virtual CPU version 2.1.2, 3311.45 MHz
cpu0:
FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16,x2APIC,POPCNT,HV,NXE,LONG,LAHF,SVM,ABM,SSE4A
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
64b/line 16-way L2 cache
cpu0: ITLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu0: DTLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 999MHz
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 11, 24 pins
acpihpet0 at acpi0: 100000000 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02
pcib0 at pci0 dev 1 function 0 "Intel 82371SB ISA" rev 0x00
pciide0 at pci0 dev 1 function 1 "Intel 82371SB IDE" rev 0x00: DMA, channel
0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <QEMU HARDDISK>
wd0: 16-sector PIO, LBA48, 20480MB, 41943040 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <QEMU, QEMU DVD-ROM, 2.1.> ATAPI 5/cdrom
removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
piixpm0 at pci0 dev 1 function 3 "Intel 82371AB Power" rev 0x03: apic 0 int
9
iic0 at piixpm0
vga1 at pci0 dev 2 function 0 "Cirrus Logic CL-GD5446" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
virtio0 at pci0 dev 3 function 0 "Qumranet Virtio Network" rev 0x00: Virtio
Network Device
vio0 at virtio0: address de:ad:be:ef:00:20
virtio0: apic 0 int 11
isa0 at pcib0
isadma0 at isa0
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 1: density unknown
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
nvram: invalid checksum
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on wd0a (1869a5e37afd7f1f.a) swap on wd0b dump on wd0b
clock: unknown CMOS layout

Reply via email to