You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Windows 11 WSL环境下LxTerminal首次启动输入首字符后崩溃关闭问题排查求助

Windows 11 WSL环境下LxTerminal首次启动输入首字符后崩溃关闭问题排查求助

大家好,我碰到一个挺棘手的小问题,想请教下社区的各位怎么排查解决:

环境信息

  • 主机系统:Windows 11 Enterprise,版本22H2
  • WSL配置:通过命令行启用了WSL 2
  • Linux发行版:从Microsoft Store安装的Ubuntu 20.04
  • 终端工具:已安装LxTerminal并固定到任务栏

版本详情

执行以下命令获取的版本信息:

ktuulos@SATKT22:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.5 LTS
Release:    20.04
Codename:   focal

ktuulos@SATKT22:~$ apt -qq list lxterminal
lxterminal/focal,now 0.3.2-1 amd64 [installed]

问题现象

每次Windows 11电脑重启后,第一次点击任务栏上的LxTerminal图标启动终端,只要按下第一个字符,终端就会直接崩溃关闭;但重新打开第二次(还是点击任务栏图标),终端就能正常使用,不会再出现崩溃的情况。

系统崩溃日志(dmesg)

通过dmesg查到了崩溃时的报错信息:

[    8.813388] lxterminal[241]: segfault at 245 ip 00007f85df394cfe sp 00007ffc0a71b490 error 4 in libgdk-3.so.0.2404.16[7f85df37c000+81000]
[    8.814005] Code: 41 56 41 55 41 54 55 53 48 85 ff 74 5f 48 89 fd 41 89 f6 49 89 d4 49 89 cd e8 5e fc ff ff 48 8b 5d 00 48 89 c6 48 85 db 74 05 <48> 39 03 74 0c 48 89 ef e8 b5 c0 fe ff 85 c0 74 31 4d 85 e4 74 7c
[    8.814589] potentially unexpected fatal signal 11.
[    8.814737] CPU: 9 PID: 241 Comm: lxterminal Not tainted 5.15.74.2-microsoft-standard-WSL2 #1
[    8.814995] RIP: 0033:0x7f85df394cfe
[    8.815106] Code: 41 56 41 55 41 54 55 53 48 85 ff 74 5f 48 89 fd 41 89 f6 49 89 d4 49 89 cd e8 5e fc ff ff 48 8b 5d 00 48 89 c6 48 85 db 74 05 <48> 39 03 74 0c 48 89 ef e8 b5 c0 fe ff 85 c0 74 31 4d 85 e4 74 7c
[    8.815616] RSP: 002b:00007ffc0a71b490 EFLAGS: 00010202
[    8.815763] RAX: 00005622747a5b40 RBX: 0000000000000245 RCX: 00005622748e6618
[    8.815982] RDX: 00005622748e6610 RSI: 00005622747a5b40 RDI: 000056227478cb00
[    8.816201] RBP: 000056227478cb00 R08: 0000562274bcfb70 R09: 0000000000000008
[    8.816421] R10: 000056227471e018 R11: 00007ffc0a71b7f0 R12: 00005622748e6610
[    8.816641] R13: 00005622748e6618 R14: 0000000000000066 R15: 000056227472a5c0
[    8.816865] FS:  00007f85db85fcc0 GS:  0000000000000000

想请教下各位,这个问题应该从哪些方向入手排查?有没有已知的解决方案?

备注:内容来源于stack exchange,提问作者Kalle

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.23 07:19:28