Terminal.Gui Crash
My basic issue is that using Terminal.Gui causes xfce4-terminal to crash.
But I have a complicated setup compared to Bash in xfce4-terminal.
PowerShell
First, I'm using PowerShell inside xfce4-terminal.
Specifically, I'm using the snap package.
[michael@Edward ~]$ pwsh
PowerShell 7.2.6
Copyright (c) Microsoft Corporation.
https://aka.ms/powershell
Type 'help' to get help.
>
GraphicalTools
Second, I'm using the GraphicalTools PowerShell module. This is based on Terminal.Gui.
> Install-Module Microsoft.PowerShell.ConsoleGuiTools
...
Crash
The following command from GraphicalTools causes xfce4-terminal to crash.
Get-ChildItem | Out-ConsoleGridView
I'm assuming the underlying graphical library, Terminal.Gui, is causing the crash.
I am not sure how to troubleshoot this issue.
Environment
> cat /etc/lsb-release
DISTRIB_ID=ManjaroLinux
DISTRIB_RELEASE=21.3.7
DISTRIB_CODENAME=Ruah
DISTRIB_DESCRIPTION="Manjaro Linux"
> inxi --admin --verbosity=7 --filter --width
System:
Kernel: 5.19.1-3-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.1.1
parameters: BOOT_IMAGE=/boot/vmlinuz-5.19-x86_64
root=UUID=e91e354e-274b-4a62-9782-d0a50480dda5 rw quiet apparmor=1
security=apparmor udev.log_priority=3
Desktop: Xfce v: 4.16.0 tk: Gtk v: 3.24.29 info: xfce4-panel wm: xfwm
v: 4.16.1 vt: 7 dm: LightDM v: 1.32.0 Distro: Manjaro Linux base: Arch Linux
Graphics:
Device-1: NVIDIA GK110B [GeForce GTX 780 Ti] vendor: eVga.com.
driver: nvidia v: 470.141.03 alternate: nouveau,nvidia_drm non-free:
series: 470.xx+ status: legacy-active (EOL~2023/24) arch: Kepler
code: GKxxx process: TSMC 28nm built: 2012-18 pcie: gen: 1 speed: 2.5 GT/s
lanes: 16 link-max: gen: 2 speed: 5 GT/s bus-ID: 02:00.0
chip-ID: 10de:100a class-ID: 0300
Display: x11 server: X.Org v: 21.1.4 compositor: xfwm v: 4.16.1 driver: X:
loaded: nvidia gpu: nvidia display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1920x1200 s-dpi: 96 s-size: 508x318mm (20.00x12.52")
s-diag: 599mm (23.6")
Monitor-1: DVI-I-1 res: 1920x1200 hz: 60 dpi: 94
size: 519x324mm (20.43x12.76") diag: 612mm (24.09") modes: N/A
> $PSVersionTable
Name Value
---- -----
PSVersion 7.2.6
PSEdition Core
GitCommitId 7.2.6
OS Linux 5.19.1-3-MANJARO #1 SMP PREEMPT_DYNAMIC S…
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0