AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / computer / 问题 / 1644654
Accepted
Kind Contributor
Kind Contributor
Asked: 2021-04-27 04:53:33 +0800 CST2021-04-27 04:53:33 +0800 CST 2021-04-27 04:53:33 +0800 CST

/var/log/syslog 上的 gnome-shell 垃圾邮件

  • 772

从https://stackoverflow.com/questions/66061925/gnome-shell-spamming-on-var-log-syslog移出,因为它在没有解决方案的情况下在那里关闭;它目前也发生在我身上(我正在运行 Ubuntu 20.10,但没有标签)


我在 /var/log/syslog 中看到很多日志,所以我考虑过使用 rsyslog 将 gnome-shell 日志的输出重定向到 /dev/null,我不编辑 /etc/rsyslog 中的默认配置文件。 conf 将 00-my-file.conf 自定义文件创建到 /etc/rsyslog.d/ 到我创建的文件中,我编写了以下代码

如果 $msg 包含 'deallocated' 则 /dev/null

但它现在确实有效。带有“deallocated”的 gnome 日志打印字符串是 gnome 日志的一个示例

Feb  5 11:49:26 HP gnome-shell[1608]: == Stack trace for context 0x55e32619b220 ==
Feb  5 11:49:26 HP gnome-shell[1608]: #0   7fff4e657410 I   /usr/share/gnome-shell/extensions/[email protected]/docking.js:2051 (2a458f8a6330 @ 208)
Feb  5 11:49:26 HP gnome-shell[1608]: == Stack trace for context 0x55e32619b220 ==
Feb  5 11:49:26 HP gnome-shell[1608]: #0   7fff4e657410 I   /usr/share/gnome-shell/extensions/[email protected]/docking.js:2051 (2a458f8a6330 @ 208)
Feb  5 11:49:26 HP gnome-shell[1608]: == Stack trace for context 0x55e32619b220 ==
Feb  5 11:49:26 HP gnome-shell[1608]: #0   7fff4e657410 I   /usr/share/gnome-shell/extensions/[email protected]/docking.js:2051 (2a458f8a6330 @ 208)
Feb  5 11:49:26 HP gnome-shell[1608]: == Stack trace for context 0x55e32619b220 ==
Feb  5 11:49:26 HP gnome-shell[1608]: #0   7fff4e657410 I   /usr/share/gnome-shell/extensions/[email protected]/docking.js:2051 (2a458f8a6330 @ 208)
Feb  5 11:49:26 HP gnome-shell[1608]: == Stack trace for context 0x55e32619b220 ==
Feb  5 11:49:26 HP gnome-shell[1608]: #0   7fff4e657410 I   /usr/share/gnome-shell/extensions/[email protected]/docking.js:2051 (2a458f8a6330 @ 208)
Feb  5 11:49:26 HP gnome-shell[1608]: == Stack trace for context 0x55e32619b220 ==
Feb  5 11:49:26 HP gnome-shell[1608]: #0   7fff4e657410 I   /usr/share/gnome-shell/extensions/[email protected]/docking.js:2051 (2a458f8a6330 @ 208)
Feb  5 11:49:26 HP gnome-shell[1608]: == Stack trace for context 0x55e32619b220 ==
Feb  5 11:49:26 HP gnome-shell[1608]: #0   7fff4e657410 I   /usr/share/gnome-shell/extensions/[email protected]/docking.js:2051 (2a458f8a6330 @ 208)
Feb  5 11:49:26 HP gnome-shell[1608]: Object St.Bin (0x55e32b1423a0), has been already deallocated — impossible to set any property on it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Feb  5 11:49:26 HP gnome-shell[1608]: Object St.Bin (0x55e32a03fc80), has been already deallocated — impossible to set any property on it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Feb  5 11:49:26 HP gnome-shell[1608]: Object St.Bin (0x55e328c92fa0), has been already deallocated — impossible to set any property on it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Feb  5 11:49:26 HP gnome-shell[1608]: Object St.Bin (0x55e328f19080), has been already deallocated — impossible to set any property on it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Feb  5 11:49:26 HP gnome-shell[1608]: Object St.Bin (0x55e326ea8480), has been already deallocated — impossible to set any property on it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.

如果你知道你解决了 gnome-shell 问题,请告诉我一个可能的解决方案。请帮助我,我会阅读所有回复。

syslog ubuntu-20.04
  • 1 1 个回答
  • 235 Views

1 个回答

  • Voted
  1. Best Answer
    Kind Contributor
    2021-04-27T05:06:00+08:002021-04-27T05:06:00+08:00

    对于某些人来说,重新启动 gnome-shell 可以解决问题。

    • 按组合键:ALT+F2
    • 将出现一个命令弹出窗口
    • 键入“r”,按 ENTER

    根据this comment,问题是由以下步骤引起的:

    我找到了一种重现的方法

    • 等待自动更新管理器提示
    • 应用更新(在扩展坞中,更新管理器图标扭曲)
    • 完成后,关闭更新管理器
    • 然后错误开始出现在系统日志中
    • 1

相关问题

  • 了解 syslog 日志格式

  • 禁止特定网站在新标签页中显示在 Firefox 热门网站中

  • 如何将系统日志严重性 <132> 保存到不同的文件?

  • rsyslog根据时间过滤消息

  • Debian 9 /var/log/ message、syslog、dmesg 可以安全地发布到论坛吗?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何减少“vmmem”进程的消耗?

    • 11 个回答
  • Marko Smith

    从 Microsoft Stream 下载视频

    • 4 个回答
  • Marko Smith

    Google Chrome DevTools 无法解析 SourceMap:chrome-extension

    • 6 个回答
  • Marko Smith

    Windows 照片查看器因为内存不足而无法运行?

    • 5 个回答
  • Marko Smith

    支持结束后如何激活 WindowsXP?

    • 6 个回答
  • Marko Smith

    远程桌面间歇性冻结

    • 7 个回答
  • Marko Smith

    子网掩码 /32 是什么意思?

    • 6 个回答
  • Marko Smith

    鼠标指针在 Windows 中按下的箭头键上移动?

    • 1 个回答
  • Marko Smith

    VirtualBox 无法以 VERR_NEM_VM_CREATE_FAILED 启动

    • 8 个回答
  • Marko Smith

    应用程序不会出现在 MacBook 的摄像头和麦克风隐私设置中

    • 5 个回答
  • Martin Hope
    Saaru Lindestøkke 为什么使用 Python 的 tar 库时 tar.xz 文件比 macOS tar 小 15 倍? 2021-03-14 09:37:48 +0800 CST
  • Martin Hope
    CiaranWelsh 如何减少“vmmem”进程的消耗? 2020-06-10 02:06:58 +0800 CST
  • Martin Hope
    Jim Windows 10 搜索未加载,显示空白窗口 2020-02-06 03:28:26 +0800 CST
  • Martin Hope
    v15 为什么通过电缆(同轴电缆)的千兆位/秒 Internet 连接不能像光纤一样提供对称速度? 2020-01-25 08:53:31 +0800 CST
  • Martin Hope
    andre_ss6 远程桌面间歇性冻结 2019-09-11 12:56:40 +0800 CST
  • Martin Hope
    Riley Carney 为什么在 URL 后面加一个点会删除登录信息? 2019-08-06 10:59:24 +0800 CST
  • Martin Hope
    zdimension 鼠标指针在 Windows 中按下的箭头键上移动? 2019-08-04 06:39:57 +0800 CST
  • Martin Hope
    jonsca 我所有的 Firefox 附加组件突然被禁用了,我该如何重新启用它们? 2019-05-04 17:58:52 +0800 CST
  • Martin Hope
    MCK 是否可以使用文本创建二维码? 2019-04-02 06:32:14 +0800 CST
  • Martin Hope
    SoniEx2 更改 git init 默认分支名称 2019-04-01 06:16:56 +0800 CST

热门标签

windows-10 linux windows microsoft-excel networking ubuntu worksheet-function bash command-line hard-drive

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve