Hi, I fall in a system problem using tmux: the system (OpenBSD -current on i386) freeze (but no panic).
As simple user, these commands hang the system (inside tmux session): $ tmux -g set-titles on $ tmux split-window "echo aaa" The hang is relatively repeatable, I test it: - on my laptop (i386), with two differents users - on qemu, as root, single-user mode By relatively, I mean that the system not hang every time I test, and I have to augment the size of "aaaaaa" argument to hang occurs if need. Is it reproductible ? Thanks. Example of session in qemu: > boot -s ... # kbd fr kbd: keyboard mapping set to fr # fsck -p [...] # mount -a # sysctl ddb.console=1 ddb.console: 0 -> 1 # export TERM=vt220 # tmux [inside tmux] # tmux set -g set-titles on set option: set-titles -> on # tmux split-window "echo aaa" # tmux split-window "echo aaa" # tmux split-window "echo aaa" # tmux split-window "echo aaaaaaa" # tmux split-window "echo aaaaaaaaaaa" [hang] Stopped at Debugger+0x4: popl %ebp ddb> trace Debugger(d0af3b00,1,b,f1e30e52,f1e30e50) at Debugger+0x4 internal_command(d0fcf500,f1e30e44,f420,1b,f1e30e58) at internal_command+0x137 wskbd_translate(d0af3b00,2,1,1,d1009500) at wskbd_translate+0x73 wskbd_input(d0fcf500,2,1,d03c82e3,d0a94f48) at wskbd_input+0x50 pckbd_input(d1009500,1,0,80000000,5f5e100) at pckbd_input+0xa3 pckbcintr_internal(d0af4ce0,d1009480,f1e30ed4,d0202466,d1009480) at pckbcintr_i nternal+0x93 pckbcintr(d1009480,d0fdb340) at pckbcintr+0x18 Xintr_ioapic1() at Xintr_ioapic1+0x65 --- interrupt --- Xsoftclock() at Xsoftclock+0xd --- interrupt --- cpu_idle_cycle(d0bbb620) at cpu_idle_cycle+0xf Bad frame pointer: 0xd0c80e58 ddb> ps PID PPID PGRP UID S FLAGS WAIT COMMAND 10350 10747 10350 0 3 0x208b ttyout ksh 31442 5472 31442 0 3 0x83 kqread tmux 5472 10747 5472 0 3 0x8b pause ksh 10747 1 10747 0 3 0 inode tmux 14309 32015 14309 0 3 0x83 kqread tmux 32015 1 32015 0 3 0x8b pause sh 12 0 0 0 3 0x100200 aiodoned aiodoned 11 0 0 0 3 0x100200 syncer update 10 0 0 0 3 0x100200 cleaner cleaner 9 0 0 0 3 0x100200 reaper reaper 8 0 0 0 3 0x100200 pgdaemon pagedaemon 7 0 0 0 3 0x100200 bored crypto 6 0 0 0 3 0x100200 pftm pfpurge 5 0 0 0 3 0x40100200 acpi0 acpi0 4 0 0 0 3 0x100200 bored syswq * 3 0 0 0 7 0x40100200 idle0 2 0 0 0 3 0x100200 kmalloc kmthread 1 0 1 0 3 0x82 wait init 0 -1 0 0 3 0x200 scheduler swapper ddb> dmesg OpenBSD 5.4-current (GENERIC) #67: Fri Oct 11 14:59:34 MDT 2013 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: QEMU Virtual CPU version 1.6.0 ("GenuineIntel" 686-class) 1.83 GHz cpu0: FPU,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,PGE,CMOV,MMX,FXSR,SSE,SSE2,SSE3,POPC NT,PERF real mem = 133746688 (127MB) avail mem = 119861248 (114MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 06/23/99, BIOS32 rev. 0 @ 0xfd511, SMBIOS rev. 2.4 @ 0xf1720 (10 entries) bios0: vendor Bochs version "Bochs" date 01/01/2011 bios0: Bochs Bochs 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 acpihpet0 at acpi0: 100000000 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0 mpbios0 at bios0: Intel MP Specification 1.4 cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 1000MHz mpbios0: bus 0 is type PCI mpbios0: bus 1 is type ISA ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 11, 24 pins bios0: ROM list: 0xc0000/0x8c00 0xc9000/0xa00 0xca000/0x2400! 0xee800/0x1800! pci0 at mainbus0 bus 0: configuration mode 1 (bios) 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 w ired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: <QEMU HARDDISK> wd0: 16-sector PIO, LBA48, 2048MB, 4194304 sectors wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <QEMU, QEMU DVD-ROM, 1.6.> ATAPI 5/cdrom removabl e 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) em0 at pci0 dev 3 function 0 "Intel 82540EM" rev 0x03: apic 0 int 11, address 5 2:54:00:12:34:56 isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com0: console pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (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 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 1: density unknown nvram: invalid checksum vscsi0 at root scsibus1 at vscsi0: 256 targets softraid0 at root scsibus2 at softraid0: 256 targets root on wd0a (ab8fcda4850f14e9.a) swap on wd0b dump on wd0b WARNING: / was not properly unmounted clock: unknown CMOS layout -- Sébastien Marie