Debian Stretch: カーネルパニックにより、Gnome デスクトップがクラッシュします。

Debian Stretch: カーネルパニックにより、Gnome デスクトップがクラッシュします。

PulseAudioで音楽を聴いていますが、突然マウス/キーボードが応答せずにデスクトップが停止しました。イベント発生時にシステムログを調べると、次のような多くの行が表示されます。

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)

システムログのバックアップ中に、次のセグメントが表示されます。

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が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

ベストアンサー1

私は問題を見つけたと信じています。

segfault 上記の数行は、hplip-systrayHPプリンタシステムトレイアプリケーションの警告行です。

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。 1か月後に同様のセグフォルトが発生し、syslogでは上記のエラーに言及しましたhplip-systray

hplip-systray.desktopそのため、ディレクトリ(私のデスクトップはGnome)からファイルを削除し、システムを再起動して/etc/xdg/autostartシステムトレイアプリケーションを無効にしました。これにより、hplip-systray最初は起動できませんでしたが、再起動後にシステムで実行して確認しましたps -ef | grep hplip-systray

それ以来、セグフォルトは発生せず、システムは安定しています。

おすすめ記事