Download raw body.
x11/terminator builds fine on -current but crashes with python errors when started
x11/terminator builds fine on -current but crashes with python errors when started
rebuild and update ports/sysutils/py-psutil, or wait for next package snapshots.
On 2026/06/16 14:16, void wrote:
> (forwarding to ports@ because the sendbug mail didn't make it to the list)
>
> On Tue, 16 Jun 2026, at 13:30, void@f-m.fm wrote:
> >>Synopsis: x11/terminator builds fine but crashes when started
> >>Category: x11/terminator
> >>Environment:
> > System : OpenBSD 7.9
> > Details : OpenBSD 7.9-current (GENERIC.MP) #0: Thu Jun 11 20:07:40 MDT 2026
> > deraadt@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/GENERIC.MP
> >
> > Architecture: OpenBSD.arm64
> > Machine : arm64
> >>Description:
> > x11/terminator crashes with python errors:
> > $ terminator
> > Traceback (most recent call last):
> > File "/usr/local/bin/terminator", line 133, in <module>
> > TERMINATOR.create_layout(OPTIONS.layout)
> > ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
> > File
> > "/usr/local/lib/python3.14/site-packages/terminatorlib/terminator.py",
> > line 282, in create_layout
> > window, terminal = self.new_window()
> > ~~~~~~~~~~~~~~~^^
> > File
> > "/usr/local/lib/python3.14/site-packages/terminatorlib/terminator.py",
> > line 204, in new_window
> > terminal = maker.make('Terminal')
> > File
> > "/usr/local/lib/python3.14/site-packages/terminatorlib/factory.py",
> > line 93, in make
> > output = func(**kwargs)
> > File
> > "/usr/local/lib/python3.14/site-packages/terminatorlib/factory.py",
> > line 105, in make_terminal
> > return(terminal.Terminal())
> > ~~~~~~~~~~~~~~~~~^^
> > File
> > "/usr/local/lib/python3.14/site-packages/terminatorlib/terminal.py",
> > line 142, in __init__
> > self.cwd = get_pid_cwd()
> > ~~~~~~~~~~~^^
> > File "/usr/local/lib/python3.14/site-packages/terminatorlib/cwd.py",
> > line 17, in get_pid_cwd
> > psinfo = psutil.Process(pid).as_dict()
> > File "/usr/local/lib/python3.14/site-packages/psutil/__init__.py", line
> > 578, in as_dict
> > ret = meth()
> > File "/usr/local/lib/python3.14/site-packages/psutil/__init__.py", line
> > 1181, in memory_percent
> > total_phymem = _TOTAL_PHYMEM or virtual_memory().total
> >
> >
> > ~~~~~~~~~~~~~~^^
> >
> > File
> > "/usr/local/lib/python3.14/site-packages/psutil/__init__.py", line
> > 2048, in virtual_memory ret = _psplatform.virtual_memory()
> > File "/usr/local/lib/python3.14/site-packages/psutil/_psbsd.py", line
> > 137, in virtual_memory mem = cext.virtual_mem() RuntimeError:
> > sysctl() size mismatch
> >>How-To-Repeat:
> > Either install x11/terminator from pkg_add or build it yourself from
> > the ports tree,
> > then run it.
> >>Fix:
> > Unknown. 7.9-stable doesn't have this problem, but python there is 3.13
> >
> >
> > dmesg:
> > OpenBSD 7.9-current (GENERIC.MP) #0: Thu Jun 11 20:07:40 MDT 2026
> > deraadt@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/GENERIC.MP
> > real mem = 8440442880 (8049MB)
> > avail mem = 8047054848 (7674MB)
> > random: good seed from bootblocks
> > mainbus0 at root: Raspberry Pi 4 Model B Rev 1.4
> > efi0 at mainbus0: UEFI 2.11
> > efi0: Das U-Boot rev 0x20250700
> > smbios0 at efi0: SMBIOS 3.7.0
> > smbios0: vendor U-Boot version "2025.07" date 07/01/2025
> > smbios0: raspberrypi Raspberry Pi 4 Model B Rev 1.4
> > cpu0 at mainbus0 mpidr 0: ARM Cortex-A72 r0p3
> > cpu0: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1
> > D-cache
> > cpu0: 1024KB 64b/line 16-way L2 cache
> > cpu0: CRC32,ASID16
> > cpu1 at mainbus0 mpidr 1: ARM Cortex-A72 r0p3
> > cpu1: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1
> > D-cache
> > cpu1: 1024KB 64b/line 16-way L2 cache
> > cpu2 at mainbus0 mpidr 2: ARM Cortex-A72 r0p3
> > cpu2: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1
> > D-cache
> > cpu2: 1024KB 64b/line 16-way L2 cache
> > cpu3 at mainbus0 mpidr 3: ARM Cortex-A72 r0p3
> > cpu3: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1
> > D-cache
> > cpu3: 1024KB 64b/line 16-way L2 cache
> > "linux,cma" at mainbus0 not configured
> > "nvram" at mainbus0 not configured
> > "nvram" at mainbus0 not configured
> > apm0 at mainbus0
> > "system" at mainbus0 not configured
> > "axi" at mainbus0 not configured
> > simplebus0 at mainbus0: "soc"
> > bcmclock0 at simplebus0
> > bcmmbox0 at simplebus0
> > bcmgpio0 at simplebus0
> > bcmaux0 at simplebus0
> > ampintc0 at simplebus0 nirq 256, ncpu 4 ipi 0: "interrupt-controller"
> > bcmtmon0 at simplebus0
> > bcmdmac0 at simplebus0: DMA0 DMA2 DMA4 DMA5 DMA6 DMA7 DMA8 DMA9 DMA10
> > pluart0 at simplebus0: rev 3, 32 byte fifo
> > pluart0: console
> > "interrupt-controller" at simplebus0 not configured
> > bcmdog0 at simplebus0
> > bcmirng0 at simplebus0
> > "firmware" at simplebus0 not configured
> > "power" at simplebus0 not configured
> > "mailbox" at simplebus0 not configured
> > sdhc0 at simplebus0
> > sdhc0: SDHC 3.00, 250 MHz base clock
> > sdmmc0 at sdhc0: 4-bit, sd high-speed, mmc high-speed
> > "gpiomem" at simplebus0 not configured
> > "fb" at simplebus0 not configured
> > simplebus1 at simplebus0: "nvmem"
> > "nvmem_otp" at simplebus1 not configured
> > "nvmem_cust" at simplebus1 not configured
> > "nvmem_priv" at simplebus1 not configured
> > simplebus2 at mainbus0: "clocks"
> > "clk-osc" at simplebus2 not configured
> > "clk-usb" at simplebus2 not configured
> > "phy" at mainbus0 not configured
> > "clk-27M" at mainbus0 not configured
> > "clk-108M" at mainbus0 not configured
> > simplebus3 at mainbus0: "emmc2bus"
> > sdhc1 at simplebus3
> > sdhc1: SDHC 3.00, 100 MHz base clock
> > sdmmc1 at sdhc1: 8-bit, sd high-speed, mmc high-speed, ddr52, dma
> > "pmu" at mainbus0 not configured
> > agtimer0 at mainbus0: 54000 kHz
> > simplebus4 at mainbus0: "scb"
> > bcmpcie0 at simplebus4
> > pci0 at bcmpcie0
> > ppb0 at pci0 dev 0 function 0 "Broadcom BCM2711" rev 0x10
> > pci1 at ppb0 bus 1
> > xhci0 at pci1 dev 0 function 0 "VIA VL805 xHCI" rev 0x01: intx, xHCI 1.0
> > usb0 at xhci0: USB revision 3.0
> > uhub0 at usb0 configuration 1 interface 0 "VIA xHCI root hub" rev
> > 3.00/1.00 addr 1
> > bse0 at simplebus4: address dc:a6:32:e2:48:fc
> > brgphy0 at bse0 phy 1: BCM54210E, rev. 2
> > "codec" at simplebus4 not configured
> > "dma" at simplebus4 not configured
> > gpioleds0 at mainbus0: "ACT", "PWR"
> > "cam_dummy_reg" at mainbus0 not configured
> > "regulator-cam1" at mainbus0 not configured
> > "regulator-sd-io-1v8" at mainbus0 not configured
> > "regulator-sd-vcc" at mainbus0 not configured
> > "fixedregulator_3v3" at mainbus0 not configured
> > "fixedregulator_5v0" at mainbus0 not configured
> > "zone_dma" at mainbus0 not configured
> > simplebus5 at mainbus0: "v3dbus"
> > sdhc_sdclk_frequency_select: command in progress
> > sdhc_sdclk_frequency_select: command in progress
> > sdmmc0: can't enable card
> > sdhc_sdclk_frequency_select: command in progress
> > sdmmc1: can't enable card
> > uhub1 at uhub0 port 1 configuration 1 interface 0 "VIA Labs USB2.0 Hub"
> > rev 2.10/4.21 addr 2
> > umass0 at uhub0 port 3 configuration 1 interface 0 "Micron
> > CT1000X9SSD9" rev 3.20/1.10 addr 3
> > umass0: using SCSI over Bulk-Only
> > scsibus0 at umass0: 2 targets, initiator 0
> > sd0 at scsibus0 targ 1 lun 0: <Micron, CT1000X9SSD9, PMAP>
> > serial.063456052334E8D02C6E
> > sd0: 953869MB, 512 bytes/sector, 1953525168 sectors
> > vscsi0 at root
> > scsibus1 at vscsi0: 256 targets
> > softraid0 at root
> > scsibus2 at softraid0: 256 targets
> > sd1 at scsibus2 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006>
> > sd1: 953837MB, 512 bytes/sector, 1953459104 sectors
> > root on sd1a (7f1eac4e743ee647.a) swap on sd1b dump on sd1b
> > WARNING: CHECK AND RESET THE DATE!
> > gpio0 at bcmgpio0: 58 pins
> >
> > usbdevs:
> > usbdevs: no USB controllers found
>
x11/terminator builds fine on -current but crashes with python errors when started
x11/terminator builds fine on -current but crashes with python errors when started