Wednesday, May 20, 2026

Ungoogled-chromium Crashes Immediately

Hello, I upgraded to 7.9 and upgraded all the ports with 'pkg_add -u'. I am unable to get ungoogled-chromium to start. It flashes up a white outline of what it will be, without any text, and then disappears. There is no core file created. I have uninstalled and reinstalled the package without any change in behavior. I also removed the .config directory and started it up, this time it shut down even sooner. I then moved my .config/ungoogled-chromium directory from another OpenBSD computer running 7.9 and ungoogled-chromium successfully, without change in behavior on this computer. I went ahead and installed chromium on this computer and it does work. OpenBSD dragonfly.localdomain 7.9 GENERIC.MP#449 amd64 ungoogled-chromium-147.0.7727.101p0 I am assuming that no one else if having this problem? I am not sure how to debug it from here. I have included my dmesg. Thank you in advance for any suggestions. Aric

OpenBSD 7.9 (GENERIC.MP) #449: Wed May 6 13:17:25 MDT 2026 deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 33701584896 (32140MB) avail mem = 32652226560 (31139MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 3.2 @ 0xeacc0 (43 entries) bios0: vendor American Megatrends Inc. version "5.16" date 07/13/2022 bios0: Simply NUC LLM2v8CY efi0 at bios0: UEFI 2.7 efi0: American Megatrends rev 0x50010 acpi0 at bios0: ACPI 6.0Undefined scope: \\_SB_.PCI0.GPP4.WLAN acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT IVRS FIDT MCFG HPET SSDT BGRT SSDT CRAT CDIT SSDT SSDT SSDT SSDT WSMT APIC SSDT SSDT FPDT acpi0: wakeup devices GPP0(S4) GPP1(S4) GPP2(S4) GPP3(S4) GPP4(S4) GPP5(S4) GP17(S4) XHC0(S4) XHC1(S4) GP18(S4) GP19(S4) acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimcfg0 at acpi0 acpimcfg0: addr 0xf0000000, bus 0-127 acpihpet0 at acpi0: 14318180 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Ryzen Embedded V2748 with Radeon Graphics, 2900.00 MHz, 17-60-01, patch 0860010d cpu0: cpuid 1 edx=178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT> ecx=76d8320b<SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND> cpu0: cpuid 6 eax=4<ARAT> ecx=1<EFFFREQ> cpu0: cpuid 7.0 ebx=219c91a9<FSGSBASE,BMI1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA> ecx=400004<UMIP> cpu0: cpuid d.1 eax=f<XSAVEOPT,XSAVEC,XGETBV1,XSAVES> cpu0: cpuid 80000001 edx=2fd3fbff<NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG> ecx=75c237ff<LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX> cpu0: cpuid 80000007 edx=6799<HWPSTATE,ITSC> cpu0: cpuid 80000008 ebx=90cf757<IBPB,IBRS,STIBP,IBRS_PREF,IBRS_SM,SSBD> cpu0: cpuid 8000001F eax=1000f<SME,SEV,PFLUSH_MSR,SEVES,VTE> ecx=e edx=1 cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 64b/line 8-way L2 cache, 4MB 64b/line 16-way L3 cache cpu0: smt 0, core 0, package 0, type P mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 100MHz cpu0: mwait min=64, max=64, C-substates=1.1, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD Ryzen Embedded V2748 with Radeon Graphics, 2900.00 MHz, 17-60-01, patch 0860010d cpu1: smt 1, core 0, package 0, type SP cpu2 at mainbus0: apid 2 (application processor) cpu2: AMD Ryzen Embedded V2748 with Radeon Graphics, 2900.00 MHz, 17-60-01, patch 0860010d cpu2: smt 0, core 1, package 0, type P cpu3 at mainbus0: apid 3 (application processor) cpu3: AMD Ryzen Embedded V2748 with Radeon Graphics, 2900.00 MHz, 17-60-01, patch 0860010d cpu3: smt 1, core 1, package 0, type SP cpu4 at mainbus0: apid 4 (application processor) cpu4: AMD Ryzen Embedded V2748 with Radeon Graphics, 2900.00 MHz, 17-60-01, patch 0860010d cpu4: smt 0, core 2, package 0, type P cpu5 at mainbus0: apid 5 (application processor) cpu5: AMD Ryzen Embedded V2748 with Radeon Graphics, 2900.00 MHz, 17-60-01, patch 0860010d cpu5: smt 1, core 2, package 0, type SP cpu6 at mainbus0: apid 6 (application processor) cpu6: AMD Ryzen Embedded V2748 with Radeon Graphics, 2900.00 MHz, 17-60-01, patch 0860010d cpu6: smt 0, core 3, package 0, type P cpu7 at mainbus0: apid 7 (application processor) cpu7: AMD Ryzen Embedded V2748 with Radeon Graphics, 2900.00 MHz, 17-60-01, patch 0860010d cpu7: smt 1, core 3, package 0, type SP cpu8 at mainbus0: apid 8 (application processor) cpu8: AMD Ryzen Embedded V2748 with Radeon Graphics, 2900.00 MHz, 17-60-01, patch 0860010d cpu8: smt 0, core 4, package 0, type P tsc: cpu0/cpu8: sync test failed timecounter: active counter changed: tsc -> acpihpet0 cpu9 at mainbus0: apid 9 (application processor) cpu9: AMD Ryzen Embedded V2748 with Radeon Graphics, 2900.01 MHz, 17-60-01, patch 0860010d cpu9: smt 1, core 4, package 0, type SP cpu10 at mainbus0: apid 10 (application processor) cpu10: AMD Ryzen Embedded V2748 with Radeon Graphics, 2900.00 MHz, 17-60-01, patch 0860010d cpu10: smt 0, core 5, package 0, type P cpu11 at mainbus0: apid 11 (application processor) cpu11: AMD Ryzen Embedded V2748 with Radeon Graphics, 2900.01 MHz, 17-60-01, patch 0860010d cpu11: smt 1, core 5, package 0, type SP cpu12 at mainbus0: apid 12 (application processor) cpu12: AMD Ryzen Embedded V2748 with Radeon Graphics, 2900.00 MHz, 17-60-01, patch 0860010d cpu12: smt 0, core 6, package 0, type P cpu13 at mainbus0: apid 13 (application processor) cpu13: AMD Ryzen Embedded V2748 with Radeon Graphics, 2900.01 MHz, 17-60-01, patch 0860010d cpu13: smt 1, core 6, package 0, type SP cpu14 at mainbus0: apid 14 (application processor) cpu14: AMD Ryzen Embedded V2748 with Radeon Graphics, 2900.00 MHz, 17-60-01, patch 0860010d cpu14: smt 0, core 7, package 0, type P cpu15 at mainbus0: apid 15 (application processor) cpu15: AMD Ryzen Embedded V2748 with Radeon Graphics, 2900.01 MHz, 17-60-01, patch 0860010d cpu15: smt 1, core 7, package 0, type SP ioapic0 at mainbus0: apid 17 pa 0xfec00000, version 21, 24 pins, can't remap ioapic1 at mainbus0: apid 18 pa 0xfec01000, version 21, 32 pins, can't remap acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (GPP0) acpiprt2 at acpi0: bus 1 (GPP1) acpiprt3 at acpi0: bus -1 (GPP2) acpiprt4 at acpi0: bus -1 (GPP3) acpiprt5 at acpi0: bus -1 (GPP4) acpiprt6 at acpi0: bus 2 (GPP5) acpiprt7 at acpi0: bus -1 (GPP6) acpiprt8 at acpi0: bus 3 (GP17) acpiprt9 at acpi0: bus -1 (GP18) acpiprt10 at acpi0: bus -1 (GP19) acpipci0 at acpi0 PCI0: 0x00000010 0x00000011 0x00000000 acpicmos0 at acpi0 com0 at acpi0 UAR1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo com0: probed fifo depth: 15 bytes acpibtn0 at acpi0: PWRB "ACPI0010" at acpi0 not configured acpicpu0 at acpi0: C3(0@350 io@0x415), C2(0@400 io@0x414), C1(0@1 mwait), PSS acpicpu1 at acpi0: C3(0@350 io@0x415), C2(0@400 io@0x414), C1(0@1 mwait), PSS acpicpu2 at acpi0: C3(0@350 io@0x415), C2(0@400 io@0x414), C1(0@1 mwait), PSS acpicpu3 at acpi0: C3(0@350 io@0x415), C2(0@400 io@0x414), C1(0@1 mwait), PSS acpicpu4 at acpi0: C3(0@350 io@0x415), C2(0@400 io@0x414), C1(0@1 mwait), PSS acpicpu5 at acpi0: C3(0@350 io@0x415), C2(0@400 io@0x414), C1(0@1 mwait), PSS acpicpu6 at acpi0: C3(0@350 io@0x415), C2(0@400 io@0x414), C1(0@1 mwait), PSS acpicpu7 at acpi0: C3(0@350 io@0x415), C2(0@400 io@0x414), C1(0@1 mwait), PSS acpicpu8 at acpi0: C3(0@350 io@0x415), C2(0@400 io@0x414), C1(0@1 mwait), PSS acpicpu9 at acpi0: C3(0@350 io@0x415), C2(0@400 io@0x414), C1(0@1 mwait), PSS acpicpu10 at acpi0: C3(0@350 io@0x415), C2(0@400 io@0x414), C1(0@1 mwait), PSS acpicpu11 at acpi0: C3(0@350 io@0x415), C2(0@400 io@0x414), C1(0@1 mwait), PSS acpicpu12 at acpi0: C3(0@350 io@0x415), C2(0@400 io@0x414), C1(0@1 mwait), PSS acpicpu13 at acpi0: C3(0@350 io@0x415), C2(0@400 io@0x414), C1(0@1 mwait), PSS acpicpu14 at acpi0: C3(0@350 io@0x415), C2(0@400 io@0x414), C1(0@1 mwait), PSS acpicpu15 at acpi0: C3(0@350 io@0x415), C2(0@400 io@0x414), C1(0@1 mwait), PSS amdgpio0 at acpi0 GPIO uid 0 addr 0xfed81500/0x400 irq 7, 184 pins acpipwrres0 at acpi0: P0S0, resource for SATA acpipwrres1 at acpi0: P3S0, resource for SATA acpipwrres2 at acpi0: P0S1, resource for SAT1 acpipwrres3 at acpi0: P3S1, resource for SAT1 acpipwrres4 at acpi0: PRWL acpitz0 at acpi0 acpitz0: critical temperature is 80 degC acpivideo0 at acpi0: VGA_ acpivout0 at acpivideo0: LCD_ cpu0: 2900 MHz: speeds: 2900 1700 1400 MHz pci0 at mainbus0 bus 0 ksmn0 at pci0 dev 0 function 0 "AMD 17h/6xh Root Complex" rev 0x00 "AMD 17h/6xh IOMMU" rev 0x00 at pci0 dev 0 function 2 not configured pchb0 at pci0 dev 1 function 0 "AMD 17h/6xh Host" rev 0x00 ppb0 at pci0 dev 1 function 2 "AMD 17h/6xh PCIE" rev 0x00: msi pci1 at ppb0 bus 1 rge0 at pci1 dev 0 function 0 "Realtek RTL8125" rev 0x04: msix: RTL8125B, address dc:9c:52:08:ac:38 pchb1 at pci0 dev 2 function 0 "AMD 17h/6xh Host" rev 0x00 ppb1 at pci0 dev 2 function 3 "AMD 17h/6xh PCIE" rev 0x00: msi pci2 at ppb1 bus 2 nvme0 at pci2 dev 0 function 0 vendor "Kingston", unknown product 0x500f rev 0x03: msix, NVMe 1.3 nvme0: KINGSTON SNVS500G, firmware S8J41100, serial 50026B7784CA5523 scsibus1 at nvme0: 2 targets, initiator 0 sd0 at scsibus1 targ 1 lun 0: <NVMe, KINGSTON SNVS500, S8J4> sd0: 476940MB, 512 bytes/sector, 976773168 sectors pchb2 at pci0 dev 8 function 0 "AMD 17h/6xh Host" rev 0x00 ppb2 at pci0 dev 8 function 1 "AMD 17h/6xh PCIE" rev 0x00 pci3 at ppb2 bus 3 amdgpu0 at pci3 dev 0 function 0 "ATI Renoir" rev 0x83 drm0 at amdgpu0 amdgpu0: msi azalia0 at pci3 dev 0 function 1 "ATI Renoir HD Audio" rev 0x00: msi azalia0: no supported codecs ccp0 at pci3 dev 0 function 2 "AMD 17h/1xh Crypto" rev 0x00 xhci0 at pci3 dev 0 function 3 "AMD 17h/6xh xHCI" rev 0x00: msix, xHCI 1.10 usb0 at xhci0: USB revision 3.0 uhub0 at usb0 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 addr 1 xhci1 at pci3 dev 0 function 4 "AMD 17h/6xh xHCI" rev 0x00: msix, xHCI 1.10 usb1 at xhci1: USB revision 3.0 uhub1 at usb1 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 addr 1 "AMD 17h/1xh I2S Audio" rev 0x01 at pci3 dev 0 function 5 not configured azalia1 at pci3 dev 0 function 6 "AMD 17h/1xh HD Audio" rev 0x00: msi azalia1: no HD-Audio codecs piixpm0 at pci0 dev 20 function 0 "AMD FCH SMBus" rev 0x51: SMI iic0 at piixpm0 admtemp0 at iic0 addr 0x18: Xeon admtemp1 at iic0 addr 0x1a: Xeon spdmem0 at iic0 addr 0x50: 16GB DDR4 SDRAM 72-bit ECC PC4-21300 SO-DIMM with thermal sensor spdmem1 at iic0 addr 0x52: 16GB DDR4 SDRAM 72-bit ECC PC4-21300 SO-DIMM with thermal sensor iic1 at piixpm0 pcib0 at pci0 dev 20 function 3 "AMD FCH LPC" rev 0x51 pchb3 at pci0 dev 24 function 0 "AMD 17h/6xh Data Fabric" rev 0x00 pchb4 at pci0 dev 24 function 1 "AMD 17h/6xh Data Fabric" rev 0x00 pchb5 at pci0 dev 24 function 2 "AMD 17h/6xh Data Fabric" rev 0x00 pchb6 at pci0 dev 24 function 3 "AMD 17h/6xh Data Fabric" rev 0x00 pchb7 at pci0 dev 24 function 4 "AMD 17h/6xh Data Fabric" rev 0x00 pchb8 at pci0 dev 24 function 5 "AMD 17h/6xh Data Fabric" rev 0x00 pchb9 at pci0 dev 24 function 6 "AMD 17h/6xh Data Fabric" rev 0x00 pchb10 at pci0 dev 24 function 7 "AMD 17h/6xh Data Fabric" rev 0x00 isa0 at pcib0 isadma0 at isa0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 vmm0 at mainbus0: SVM/RVI efifb at mainbus0 not configured uhub2 at uhub0 port 4 configuration 1 interface 0 "Terminus Technology USB2.0 HUB" rev 2.00/1.00 addr 2 uaudio0 at uhub2 port 4 configuration 1 interface 1 "Eleven Engineering SKAA Transmitter" rev 1.10/11.15 addr 3 uaudio0: class v1, full-speed, sync, channels: 2 play, 0 rec, 3 ctls audio0 at uaudio0 uhidev0 at uhub2 port 4 configuration 1 interface 2 "Eleven Engineering SKAA Transmitter" rev 1.10/11.15 addr 3 uhidev0: iclass 3/0, 8 report ids uhid0 at uhidev0 reportid 1: input=63, output=0, feature=0 uhid1 at uhidev0 reportid 2: input=0, output=63, feature=0 ucc0 at uhidev0 reportid 3: 8 usages, 7 keys, enum wskbd0 at ucc0 mux 1 uhid2 at uhidev0 reportid 4: input=0, output=63, feature=0 uhid3 at uhidev0 reportid 5: input=63, output=0, feature=0 uhid4 at uhidev0 reportid 6: input=0, output=63, feature=0 uhid5 at uhidev0 reportid 7: input=63, output=0, feature=0 uhid6 at uhidev0 reportid 8: input=0, output=63, feature=0 umidi0 at uhub2 port 4 configuration 1 interface 3 "Eleven Engineering SKAA Transmitter" rev 1.10/11.15 addr 3 umidi0: (genuine USB-MIDI) umidi0: out=1, in=0 midi0 at umidi0: <USB MIDI I/F> umass0 at uhub0 port 6 configuration 1 interface 0 "LaCie Rikiki USB 3.0" rev 3.00/0.01 addr 4 umass0: using SCSI over Bulk-Only scsibus2 at umass0: 2 targets, initiator 0 sd1 at scsibus2 targ 1 lun 0: <LaCie, Rikiki USB 3.0, 1053> serial.059f106a153601f41075 sd1: 953869MB, 512 bytes/sector, 1953525168 sectors uhub3 at uhub1 port 4 configuration 1 interface 0 "Terminus Technology USB2.0 HUB" rev 2.00/1.00 addr 2 uhidev1 at uhub3 port 2 configuration 1 interface 0 "Logitech Trackball" rev 1.10/2.20 addr 3 uhidev1: iclass 3/1 ums0 at uhidev1: 3 buttons, Z dir wsmouse0 at ums0 mux 0 uhidev2 at uhub3 port 4 configuration 1 interface 0 "Tom Wong-Cornall/Ellipse/wcass/Purdea Andrei modelfkeyboards.com Brand New F62/F77 Model F Keyboard by Model F Labs" rev 2.00/0.01 addr 4 uhidev2: iclass 3/1 ukbd0 at uhidev2: 8 variable keys, 6 key codes wskbd1 at ukbd0: console keyboard uhidev3 at uhub3 port 4 configuration 1 interface 1 "Tom Wong-Cornall/Ellipse/wcass/Purdea Andrei modelfkeyboards.com Brand New F62/F77 Model F Keyboard by Model F Labs" rev 2.00/0.01 addr 4 uhidev3: iclass 3/0 uhid7 at uhidev3: input=32, output=32, feature=0 uhidev4 at uhub3 port 4 configuration 1 interface 2 "Tom Wong-Cornall/Ellipse/wcass/Purdea Andrei modelfkeyboards.com Brand New F62/F77 Model F Keyboard by Model F Labs" rev 2.00/0.01 addr 4 uhidev4: iclass 3/0, 6 report ids ums1 at uhidev4 reportid 2: 8 buttons, Z and W dir wsmouse1 at ums1 mux 0 uhid8 at uhidev4 reportid 3: input=2, output=0, feature=0 ucc1 at uhidev4 reportid 4: 672 usages, 20 keys, array wskbd2 at ucc1 mux 1 ukbd1 at uhidev4 reportid 6: 128 variable keys, 0 key codes wskbd3 at ukbd1 mux 1 vscsi0 at root scsibus3 at vscsi0: 256 targets softraid0 at root scsibus4 at softraid0: 256 targets root on sd0a (9855cbeb79d5b8aa.a) swap on sd0b dump on sd0b amdgpu0: RENOIR GC 9.3.0 7 CU rev 0x00 amdgpu0: 3840x2160, 32bpp wsdisplay0 at amdgpu0 mux 1: console (std, vt100 emulation), using wskbd1 wskbd0: connecting to wsdisplay0 wskbd2: connecting to wsdisplay0 wskbd3: connecting to wsdisplay0 wsdisplay0: screen 1-5 added (std, vt100 emulation)

[llvm22] lang/expect: initialization of expChannelType

In Tcl_ChannelType, the second spot is the version field, a pointer to struct Tcl_ChannelTypeVersion_, see tcl.h. For historic reasons, that's where the ExpBlockModeProc function pointer sits. llvm22 is unhappy: /usr/obj/ports/expect-5.45.4/expect5.45.4/exp_chan.c:62:5: error: incompatible pointer types initializing 'Tcl_ChannelTypeVersion' (aka 'struct Tcl_ChannelTypeVersion_ *') with an expression of type 'int (ClientData, int)' (aka 'int (void *, int)') [-Wincompatible-pointer-types] 62 | ExpBlockModeProc, /* Set blocking/nonblocking mode.*/ The intention is that works via this piece of beauty in lang/tcl/8.x: Tcl_DriverBlockModeProc * Tcl_ChannelBlockModeProc( const Tcl_ChannelType *chanTypePtr) /* Pointer to channel type. */ { if (HaveVersion(chanTypePtr, TCL_CHANNEL_VERSION_2)) { return chanTypePtr->blockModeProc; } else { /* * The v1 structure had the blockModeProc in a different place. */ return (Tcl_DriverBlockModeProc *) (chanTypePtr->version); } } Now, passing a function pointer through a normal pointer is undefined behavior, so I'm a bit uneasy with doing this, although it currently works: - ExpBlockModeProc, /* Set blocking/nonblocking mode.*/ + (Tcl_ChannelTypeVersion)ExpBlockModeProc, /* Set blocking/nonblocking mode.*/ I decided to set the version to 2 and to move the ExpBlockModeProc to the proper spot in the struct. But perhaps that breaks something else. For example, it seems that Tcl 9 only supports TCL_CHANNEL_VERSION_5... Index: Makefile =================================================================== RCS file: /cvs/ports/lang/expect/Makefile,v diff -u -p -r1.77 Makefile --- Makefile 21 Jan 2026 22:03:31 -0000 1.77 +++ Makefile 20 May 2026 20:49:33 -0000 @@ -1,6 +1,8 @@ COMMENT = sophisticated scripter based on Tcl/Tk VERSION = 5.45.4 +REVISION = 0 + DISTNAME = expect${VERSION} PKGNAME = expect-${VERSION} SHARED_LIBS = expect5454 0.0 Index: patches/patch-exp_chan_c =================================================================== RCS file: /cvs/ports/lang/expect/patches/patch-exp_chan_c,v diff -u -p -r1.2 patch-exp_chan_c --- patches/patch-exp_chan_c 11 Mar 2022 19:28:56 -0000 1.2 +++ patches/patch-exp_chan_c 20 May 2026 21:20:44 -0000 @@ -1,7 +1,10 @@ Get rid of implicit declaration of function warning ---- exp_chan.c.orig Thu Sep 9 19:29:43 2010 -+++ exp_chan.c Thu Sep 9 19:30:27 2010 +error: incompatible pointer types initializing 'Tcl_ChannelTypeVersion' (aka 'struct Tcl_ChannelTypeVersion_ *') with an expression of type 'int (ClientData, int)' (aka 'int (void *, int)') [-Wincompatible-pointer-types] + +Index: exp_chan.c +--- exp_chan.c.orig ++++ exp_chan.c @@ -37,6 +37,7 @@ #include "exp_log.h" #include "tcldbg.h" /* Dbg_StdinMode */ @@ -10,3 +13,20 @@ Get rid of implicit declaration of funct extern int expSetBlockModeProc _ANSI_ARGS_((int fd, int mode)); static int ExpBlockModeProc _ANSI_ARGS_((ClientData instanceData, int mode)); +@@ -58,7 +59,7 @@ static int ExpGetHandleProc _ANSI_ARGS_((ClientData i + + Tcl_ChannelType expChannelType = { + "exp", /* Type name. */ +- ExpBlockModeProc, /* Set blocking/nonblocking mode.*/ ++ TCL_CHANNEL_VERSION_2, /* Version. */ + ExpCloseProc, /* Close proc. */ + ExpInputProc, /* Input proc. */ + ExpOutputProc, /* Output proc. */ +@@ -68,6 +69,7 @@ Tcl_ChannelType expChannelType = { + ExpWatchProc, /* Initialize notifier. */ + ExpGetHandleProc, /* Get OS handles out of channel. */ + NULL, /* Close2 proc */ ++ ExpBlockModeProc, /* Set blocking/nonblocking mode.*/ + }; + + typedef struct ThreadSpecificData {