当我完全不高兴时,我正在通过PulseAudio收听音乐,台式机突然冻结,没有鼠标/键盘响应。在事件发生时检查syslog会显示负载和行的负载,如下所示:
Dec 15 21:25:58 lamb-biryani-jme tracker-miner-f[1378]: (Sparql buffer) Error in task 0 (file:///home/jamesmeast/Music/all/Fever%20Ray) of the array-update: UNIQUE constraint failed: nie:DataObject.nie:url (strerror of errno (not necessarily related): No such file or directory)
Dec 15 21:25:58 lamb-biryani-jme tracker-miner-f[1378]: Could not execute sparql: UNIQUE constraint failed: nie:DataObject.nie:url (strerror of errno (not necessarily related): No such file or directory)
Dec 15 21:25:58 lamb-biryani-jme tracker-miner-f[1378]: (Sparql buffer) Error in task 1 (file:///home/jamesmeast/Music/all/Feeder) of the array-update: UNIQUE constraint failed: nie:DataObject.nie:url (strerror of errno (not necessarily related): No such file or directory)
Dec 15 21:25:58 lamb-biryani-jme tracker-miner-f[1378]: Could not execute sparql: UNIQUE constraint failed: nie:DataObject.nie:url (strerror of errno (not necessarily related): No such file or directory)
以我的方式备份syslog,我看到以下段错误:
Dec 15 21:24:46 lamb-biryani-jme kernel: [ 129.201128] python[1394]: segfault at 10 ip 000056131ab4916f sp 00007ffd13af4450 error 4 in python2.7[56131a9dc000+322000]
Dec 15 21:24:59 lamb-biryani-jme pulseaudio[1273]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.bluez': timed out
我怀疑python中的segfault与pulsaudio超时有关。有趣的是,尽管当时台式机处于冻结状态,但音乐继续通过Pulseaudio播放。
我的uname -a输出:
Linux lamb-biryani-jme 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux
我相信我已经找到了问题所在。
segfault后面几行hplip-systray
是HP打印机的系统任务栏应用中的警告行:
Dec 15 21:24:46 lamb-biryani-jme hplip-systray.desktop[1394]: /usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:127: RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK
我最近购买了新的HP打印机并已安装hplip
。一个月后也发生了类似的段错误,并且syslog引用了与上述错误相同的错误hplip-systray
。
因此,我通过hplip-systray.desktop
从目录/etc/xdg/autostart
(我的桌面为Gnome)中删除文件来禁用系统任务栏应用程序,然后重新启动系统。这样做一hplip-systray
开始就无法启动,因此我在重新启动后通过运行在系统上进行了验证ps -ef | grep hplip-systray
。
从那时起,我就再也没有发生过段错误,并且系统保持稳定。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句