![Compiz 段错误(闪烁桌面)](https://linux22.com/image/1159335/Compiz%20%E6%AE%B5%E9%94%99%E8%AF%AF%EF%BC%88%E9%97%AA%E7%83%81%E6%A1%8C%E9%9D%A2%EF%BC%89.png)
从几个月前开始,我开始在 Firefox 中遇到与“r300_dri.so”相关的问题。我在 Firefox 的“about:config”页面上禁用了 Webgl,这样就停止了崩溃。然而,大约 2 周前(禁用 WebGL 后),每当我登录 Ubuntu 时,我都只能看到我的桌面背景,带有闪烁的图标、Unity 启动器和顶部栏。我可以右键单击以进入终端。我认为 Compiz 崩溃了(日志发布在下面)。Firefox 问题和桌面问题可能完全不相关,但我预感它们有一个共同的原因。
系统
- Ubuntu 16.04 64 位
- AMD Turion 64
- 4 GB 内存
- PATA IDE 硬盘
- 显卡:VGA 兼容控制器:Advanced Micro Devices, Inc. [AMD/ATI] RS482M [Mobility Radeon Xpress 200]
我尝试过的事情
- 将所有软件包升级到最新版本
- “2018 年 4 月更新”和“2018 年 3 月更新”中描述的过程如下:https://askubuntu.com/questions/9925...mpiz-segfaults
- 重新安装 libglib2.0-0
以上任何一种方法都不能解决问题。
我读过很多关于这个问题的帖子,但很多帖子听起来和我遇到的情况不一样。不过,如果我在寻求帮助之前错过了一条显而易见的途径,我深表歉意!
从 /var/log/syslog 粘贴(从段错误的第一个实例开始):
Jul 27 18:30:19 HAPPY kernel: [ 669.687946] compiz[2543]: segfault at 738 ip 00007f813c01c2c9 sp 00007fff02f61ea0 error 4
Jul 27 18:30:20 HAPPY gnome-session[2156]: (unity-fallback-mount-helper:2488): GLib-GIO-CRITICAL **: g_dbus_proxy_call_finish_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed
Jul 27 18:30:20 HAPPY gnome-session[2156]: (unity-fallback-mount-helper:2488): GLib-CRITICAL **: g_variant_get_va: assertion 'value != NULL' failed
Jul 27 18:30:20 HAPPY gnome-session[2156]: (unity-fallback-mount-helper:2488): GLib-CRITICAL **: g_variant_unref: assertion 'value != NULL' failed
Jul 27 18:30:20 HAPPY gnome-session[2156]: ** (unity-fallback-mount-helper:2488): WARNING **: Can't call IsLocked() on the Unity.Session object: Cannot invoke method; proxy is for a well-known name without an owner and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
Jul 27 18:30:21 HAPPY org.gnome.zeitgeist.Engine[2019]: ** (zeitgeist-datahub:2766): WARNING **: zeitgeist-datahub.vala:229: Unable to get name "org.gnome.zeitgeist.datahub" on the bus!
Jul 27 18:30:23 HAPPY kernel: [ 673.386286] compiz[2740]: segfault at 328 ip 00007fbb600272c9 sp 00007ffc75bf8da0 error 4
Jul 27 18:30:23 HAPPY gnome-session[2156]: ** (unity-fallback-mount-helper:2488): WARNING **: Can't call IsLocked() on the Unity.Session object: Cannot invoke method; proxy is for a well-known name without an owner and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
从 /var/crash/_usr_bin_compiz.1000.crash 粘贴
ProblemType: Crash
Architecture: amd64
CrashCounter: 1
CurrentDesktop: Unity
Date: Thu Jul 26 22:13:47 2018
DistroRelease: Ubuntu 16.04
ExecutablePath: /usr/bin/compiz
<snip>
SegvAnalysis:
Segfault happened at: 0x7f19500522c9: movdqu (%r8,%rbx,1),%xmm9
PC (0x7f19500522c9) ok
source "(%r8,%rbx,1)" (0x00000320) not located in a known VMA region (needed readable region)!
destination "%xmm9" ok
SegvReason: reading NULL VMA
SourcePackage: compiz
Stacktrace:
#0 0x00007f19500522c9 in ?? ()
No symbol table info available.
#1 0x0000000000000000 in ?? ()
No symbol table info available.
StacktraceTop:
?? ()
?? ()
Tags: xenial xenial ubuntu compiz-0.9
ThreadStacktrace:
.
Thread 6 (Thread 0x7f19297bc700 (LWP 2252)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
No locals.
#1 0x00007f1956c7dcfa in g_cond_wait_until () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2 0x00007f1956c0d999 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0x00007f1956c0dfbb in g_async_queue_timeout_pop () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4 0x00007f1956c6060a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5 0x00007f1956c5fbb5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#6 0x00007f19565ca6ba in start_thread (arg=0x7f19297bc700) at pthread_create.c:333
__res = <optimised out>
pd = 0x7f19297bc700
now = <optimised out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139746046887680, 2698625152003350009, 0, 140732259479199, 139746046888384, 139746491836624, -2647795865437594119, -2647591021518381575}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimised out>
pagesize_m1 = <optimised out>
sp = <optimised out>
freesize = <optimised out>
__PRETTY_FUNCTION__ = "start_thread"
#7 0x00007f195841641d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.
.
Thread 5 (Thread 0x7f1942859700 (LWP 2244)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
No locals.
#1 0x00007f194343670b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r300_dri.so
No symbol table info available.
#2 0x00007f1943436427 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r300_dri.so
No symbol table info available.
#3 0x00007f19565ca6ba in start_thread (arg=0x7f1942859700) at pthread_create.c:333
__res = <optimised out>
pd = 0x7f1942859700
now = <optimised out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139746466961152, 2698625152003350009, 0, 140732259485039, 139746466961856, 0, -2647566498614731271, -2647591021518381575}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimised out>
pagesize_m1 = <optimised out>
sp = <optimised out>
freesize = <optimised out>
该报告以类似的方式延续:大量相同的错误。
我目前正在从 16.04 版的实时 USB(Unetbootin)启动,它似乎运行得非常好。不过,Ubuntu .iso 映像是几个月前下载的,那时我还没有遇到这些问题。