It is now fixed in CVS with smtpd.c r1.250, thanks.

> I used both the Oct 15 and Oct 16 snaps to upgrade this vm and am seeing
> repeated messages like the subject.  With current sources I added the "abort"
> tag to all pledge calls in the usr.sbin/smtpd hierarchy and built w/ debug
> symbols.  I've appended some dmesg complaints as well as the full dmesg.
> 
> gdb transcript:
> dev:usr.sbin/smtpd 7#gdb -q smtpd/obj/smtpd /var/crash/smtpd/15290.core
> Core was generated by `smtpd'.
> Program terminated with signal 6, Aborted.
> Loaded symbols for /home/pub/obj/usr.sbin/smtpd/smtpd/smtpd
> Reading symbols from /usr/lib/libevent.so.4.1...done.
> Loaded symbols for /usr/lib/libevent.so.4.1
> Reading symbols from /usr/lib/libutil.so.12.1...done.
> Loaded symbols for /usr/lib/libutil.so.12.1
> Reading symbols from /usr/lib/libssl.so.37.0...done.
> Loaded symbols for /usr/lib/libssl.so.37.0
> Reading symbols from /usr/lib/libcrypto.so.36.0...done.
> Loaded symbols for /usr/lib/libcrypto.so.36.0
> Reading symbols from /usr/lib/libm.so.9.0...done.
> Loaded symbols for /usr/lib/libm.so.9.0
> Reading symbols from /usr/lib/libz.so.5.0...done.
> Loaded symbols for /usr/lib/libz.so.5.0
> Reading symbols from /usr/lib/libc.so.83.0...done.
> Loaded symbols for /usr/lib/libc.so.83.0
> Reading symbols from /usr/libexec/ld.so...done.
> Loaded symbols for /usr/libexec/ld.so
> #0  0x00001bbe52dec02a in socket () at <stdin>:2
> 2       <stdin>: No such file or directory.
>         in <stdin>
> (gdb) bt
> #0  0x00001bbe52dec02a in socket () at <stdin>:2
> #1  0x00001bbbafe47bd7 in delivery_lmtp_open (deliver=0x7f7ffffb61f0)
>     at /nas3/OpenBSD/mirror/src/usr.sbin/smtpd/smtpd/../delivery_lmtp.c:115
> #2  0x00001bbbafe3de9e in parent_imsg (p=0x1bbe6fa1f000, imsg=Variable "imsg"
 is
> not available.
> )
>     at /nas3/OpenBSD/mirror/src/usr.sbin/smtpd/smtpd/../smtpd.c:1003
> #3  0x00001bbbafe3b16b in imsg_dispatch (p=0x1bbe6fa1f000, imsg=0x7f7ffffb839
0)
>     at /nas3/OpenBSD/mirror/src/usr.sbin/smtpd/smtpd/../smtpd.c:1283
> #4  0x00001bbbafe1eecc in mproc_dispatch (fd=Variable "fd" is not available.
> ) at /nas3/OpenBSD/mirror/src/usr.sbin/smtpd/smtpd/../mproc.c:213
> #5  0x00001bbe3115f008 in event_base_loop (base=0x1bbe655c4c00, flags=Variabl
e
> "flags" is not available.
> ) at /usr/src/lib/libevent/event.c:350
> #6  0x00001bbbafe3c0e4 in main (argc=Variable "argc" is not available.
> ) at /nas3/OpenBSD/mirror/src/usr.sbin/smtpd/smtpd/../smtpd.c:697
> Current language:  auto; currently asm
> (gdb) quit
> 
> 
> #####################################################################
> dev:pledge/smtp 783>grep syscall /var/log/messages | tail
> Oct 17 11:11:52 dev /bsd: smtpd(8978): syscall 97
> Oct 17 11:14:27 dev /bsd: smtpd(20988): syscall 97
> Oct 17 11:14:28 dev /bsd: smtpd(21211): syscall 97
> Oct 17 11:16:20 dev /bsd: smtpd(6498): syscall 97
> Oct 17 11:16:22 dev /bsd: smtpd(3013): syscall 97
> Oct 17 11:20:28 dev /bsd: smtpd(16420): syscall 97
> Oct 17 11:21:10 dev /bsd: smtpd(30085): syscall 97
> Oct 17 11:21:12 dev /bsd: smtpd(29166): syscall 97
> Oct 17 11:22:09 dev /bsd: smtpd(32709): syscall 97
> Oct 17 11:22:11 dev /bsd: smtpd(17096): syscall 97
> 
> ######################################################################
> OpenBSD 5.8-current (GENERIC.MP) #1507: Fri Oct 16 23:30:48 MDT 2015
>     [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 2130575360 (2031MB)
> avail mem = 2061934592 (1966MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xf0cd0 (9 entries)
> bios0: vendor SeaBIOS version
> "rel-1.7.5.1-0-g8936dbb-20141113_115728-nilsson.home.kraxel.org" date 04/01/2
014
> 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: Common KVM processor, 3400.47 MHz
> cpu0:
> FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MM
X,FXSR,SSE,SSE2,HTT,SSE3,CX16,x2APIC,HV,NXE,LONG,LAHF
> cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/lin
e
> 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
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
> cpu0: apic clock running at 1000MHz
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Common KVM processor, 3400.13 MHz
> cpu1:
> FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MM
X,FXSR,SSE,SSE2,HTT,SSE3,CX16,x2APIC,HV,NXE,LONG,LAHF
> cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/lin
e
> 16-way L2 cache
> cpu1: ITLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
> cpu1: DTLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
> cpu1: smt 0, core 1, package 0
> 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: C1(@1 halt!)
> acpicpu1 at acpi0: C1(@1 halt!)
> pvbus0 at mainbus0: KVM
> 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
> pciide0: channel 0 disabled (no drives)
> atapiscsi0 at pciide0 channel 1 drive 0
> scsibus1 at atapiscsi0: 2 targets
> cd0 at scsibus1 targ 0 lun 0: <QEMU, QEMU DVD-ROM, 2.2.> ATAPI 5/cdrom remova
ble
> cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
> uhci0 at pci0 dev 1 function 2 "Intel 82371SB USB" rev 0x01: apic 0 int 11
> 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 Memory" rev 0x00: Virtio
> Memory Balloon Device
> viomb0 at virtio0
> virtio0: apic 0 int 11
> virtio1 at pci0 dev 10 function 0 "Qumranet Virtio Storage" rev 0x00: Virtio
> Block Device
> vioblk0 at virtio1
> scsibus2 at vioblk0: 2 targets
> sd0 at scsibus2 targ 0 lun 0: <VirtIO, Block Device, > SCSI3 0/direct fixed
> sd0: 20480MB, 512 bytes/sector, 41943040 sectors
> virtio1: apic 0 int 10
> virtio2 at pci0 dev 18 function 0 "Qumranet Virtio Network" rev 0x00: Virtio
> Network Device
> vio0 at virtio2: address 12:98:e1:47:e2:99
> virtio2: apic 0 int 10
> 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
> com0: console
> pckbc0 at isa0 port 0x60/5 irq 1 irq 12
> pckbd0 at pckbc0 (kbd slot)
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pms0 at pckbc0 (aux slot)
> wsmouse0 at pms0 mux 0
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> usb0 at uhci0: USB revision 1.0
> uhub0 at usb0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> nvram: invalid checksum
> uhidev0 at uhub0 port 1 configuration 1 interface 0 "QEMU QEMU USB Tablet" re
v
> 2.00/0.00 addr 2
> uhidev0: iclass 3/0
> ums0 at uhidev0: 3 buttons, Z dir
> wsmouse1 at ums0 mux 0
> vscsi0 at root
> scsibus3 at vscsi0: 256 targets
> softraid0 at root
> scsibus4 at softraid0: 256 targets
> root on sd0a (facb7ac8ee0fdcd9.a) swap on sd0b dump on sd0b
> clock: unknown CMOS layout
> 
>  ... [snip 120 smtpd syscall messages] ...
> 

Reply via email to