Xorg log flooded with "XKB: reuse xkmfile"

Bug #954426 reported by Jani Uusitalo
58
This bug affects 12 people
Affects Status Importance Assigned to Milestone
xorg-server (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

I initially posed this as Question #188982, but now decided to report it as it seems to persist and no definitive answers as to the cause were found. I was apprehensive about reporting at first mainly because this doesn't seem to occur on my other (Precise-running) computers. It is however 100% reproducible on this one (i.e. the flood occurs on each creation of an Xorg log, though I don't know what triggers individual lines).

My Xorg log is flooded with lines about reusing xkmfile:

jani@saegusa:~$ grep "XKB: reuse xkmfile /var/lib/xkb/server-" /var/log/Xorg.0.log | tail
[ 391.894] (II) XKB: reuse xkmfile /var/lib/xkb/server-5CBD5B10CEC815928ACEFB86BAB14051BA0C83FF.xkm
[ 391.901] (II) XKB: reuse xkmfile /var/lib/xkb/server-5CBD5B10CEC815928ACEFB86BAB14051BA0C83FF.xkm
[ 391.906] (II) XKB: reuse xkmfile /var/lib/xkb/server-5CBD5B10CEC815928ACEFB86BAB14051BA0C83FF.xkm
[ 391.909] (II) XKB: reuse xkmfile /var/lib/xkb/server-5CBD5B10CEC815928ACEFB86BAB14051BA0C83FF.xkm
[ 391.914] (II) XKB: reuse xkmfile /var/lib/xkb/server-5CBD5B10CEC815928ACEFB86BAB14051BA0C83FF.xkm
[ 391.919] (II) XKB: reuse xkmfile /var/lib/xkb/server-5CBD5B10CEC815928ACEFB86BAB14051BA0C83FF.xkm
[ 391.922] (II) XKB: reuse xkmfile /var/lib/xkb/server-5CBD5B10CEC815928ACEFB86BAB14051BA0C83FF.xkm
[ 391.926] (II) XKB: reuse xkmfile /var/lib/xkb/server-5CBD5B10CEC815928ACEFB86BAB14051BA0C83FF.xkm
[ 391.929] (II) XKB: reuse xkmfile /var/lib/xkb/server-5CBD5B10CEC815928ACEFB86BAB14051BA0C83FF.xkm
[ 391.933] (II) XKB: reuse xkmfile /var/lib/xkb/server-5CBD5B10CEC815928ACEFB86BAB14051BA0C83FF.xkm
jani@saegusa:~$ grep "XKB: reuse xkmfile /var/lib/xkb/server-" /var/log/Xorg.0.log | wc -l
1507

(Interestingly I now notice that the number of those lines seems to be constant: the above was copy+paste from terminal just now, and when I posed Question #188982 on 2012-02-27, the result was 1507 also.)

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: x11-xkb-utils 7.6+4
Uname: Linux 3.3.0-030300rc4-generic x86_64
.tmp.unity.support.test.0:

ApportVersion: 1.94.1-0ubuntu2
Architecture: amd64
CheckboxSubmission: 09ae689090491ca53449589269e4bfd8
CheckboxSystem: edda5d4f616ca792bf437989cb597002
CompizPlugins: [core,bailer,detection,composite,opengl,decor,resize,compiztoolbox,place,gnomecompat,regex,grid,mousepoll,snap,move,wall,imgpng,vpswitch,session,unitymtgrabhandles,animation,fade,workarounds,expo,scale,ezoom,unityshell]
CompositorRunning: None
Date: Tue Mar 13 22:21:23 2012
DistUpgraded: Log time: 2011-11-20 23:52:49.660633
DistroCodename: precise
DistroVariant: ubuntu
DkmsStatus:
 virtualbox, 4.1.8, 3.2.0-18-generic, x86_64: installed
 virtualbox, 4.1.8, 3.3.0-030300rc4-generic, x86_64: installed
EcryptfsInUse: Yes
GraphicsCard:
 Advanced Micro Devices [AMD] nee ATI RS780 [Radeon HD 3200] [1002:9610] (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. Device [1043:82f1]
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
MachineType: System manufacturer System Product Name
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.3.0-030300rc4-generic root=UUID=bf0f4d7e-d08c-4aad-8143-b6e3b16049d6 ro quiet splash radeon.audio=1 vt.handoff=7
SourcePackage: x11-xkb-utils
UpgradeStatus: Upgraded to precise on 2012-03-13 (0 days ago)
dmi.bios.date: 08/12/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 2101
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: M4A78-EM
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2101:bd08/12/2010:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnM4A78-EM:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
version.compiz: compiz 1:0.9.7.0+bzr3035-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.30-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.1-0ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.1-0ubuntu2
version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu6
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.99.901+git20120126-0ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2

Revision history for this message
Jani Uusitalo (uusijani) wrote :
Timo Aaltonen (tjaalton)
affects: x11-xkb-utils (Ubuntu) → xorg-server (Ubuntu)
Revision history for this message
Bryce Harrington (bryce) wrote :

Yeah, it's just the xkb cache notification messages. For the most part innocuous, but 1507 lines is a bit much...

Changed in xorg-server (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Bryce Harrington (bryce) wrote :

as a workaround, you can just `sudo rm -f /var/lib/xkb/*`; those are just cache files which will get regenerated on next reboot.

Revision history for this message
Jani Uusitalo (uusijani) wrote :

This seems to have gone away by itself (or by being fixed) sometime during March-April:

jani@saegusa:~$ grep -c xkmfile /var/log/Xorg.*
/var/log/Xorg.0.log:3
/var/log/Xorg.0.log.old:3
/var/log/Xorg.1.log:2
/var/log/Xorg.1.log.old:1507
/var/log/Xorg.2.log:2
/var/log/Xorg.2.log.old:2
/var/log/Xorg.3.log:2
/var/log/Xorg.failsafe.log:2
/var/log/Xorg.failsafe.log.old:2
jani@saegusa:~$ LC_ALL=C ls -lh /var/log/Xorg*
-rw-r--r-- 1 root root 60K May 2 20:36 /var/log/Xorg.0.log
-rw-r--r-- 1 root root 61K May 2 20:36 /var/log/Xorg.0.log.old
-rw-r--r-- 1 root root 48K Apr 22 20:02 /var/log/Xorg.1.log
-rw-r--r-- 1 root root 210K Mar 13 22:51 /var/log/Xorg.1.log.old
-rw-r--r-- 1 root root 35K Jun 6 2011 /var/log/Xorg.2.log
-rw-r--r-- 1 root root 33K Jun 6 2011 /var/log/Xorg.2.log.old
-rw-r--r-- 1 root root 35K Jun 6 2011 /var/log/Xorg.3.log
-rw-r--r-- 1 root root 32K Apr 29 17:22 /var/log/Xorg.failsafe.log
-rw-r--r-- 1 root root 32K Apr 29 17:06 /var/log/Xorg.failsafe.log.old

Revision history for this message
dino99 (9d9) wrote :

closed as per comment #4 above

Changed in xorg-server (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Jeffery To (jefferyto) wrote :

I'm running Ubuntu 14.10 and I've noticed my Xorg log (/var/log/Xorg.0.log) filling up with "XKB: reuse xkmfile" lines. (Not sure how long this has been happening.) My system has been up for a bit more than a day and my log file is 7MB.

I've tried clearing the cache files in /var/lib/xkb (as mentioned in comment #3); the cache files are regenerated on next reboot and "XKB: reuse xkmfile" lines continue to appear in the Xorg log.

Revision history for this message
Valentin Lab (vaab) wrote :

I'm running 14.10 and have the same issue. The file doesn't grow too much. Lines comes usually by 2:

[ 3955.543] (II) XKB: reuse xkmfile /var/lib/xkb/server-0B670699986B39D02BC43377BDEBB0D0129AED4B.xkm
[ 3955.990] (II) XKB: reuse xkmfile /var/lib/xkb/server-0B670699986B39D02BC43377BDEBB0D0129AED4B.xkm
[ 3959.284] (II) XKB: reuse xkmfile /var/lib/xkb/server-0B670699986B39D02BC43377BDEBB0D0129AED4B.xkm
[ 3959.529] (II) XKB: reuse xkmfile /var/lib/xkb/server-0B670699986B39D02BC43377BDEBB0D0129AED4B.xkm
[ 3963.890] (II) XKB: reuse xkmfile /var/lib/xkb/server-0B670699986B39D02BC43377BDEBB0D0129AED4B.xkm
[ 3964.140] (II) XKB: reuse xkmfile /var/lib/xkb/server-0B670699986B39D02BC43377BDEBB0D0129AED4B.xkm
[ 4013.833] (II) XKB: reuse xkmfile /var/lib/xkb/server-0B670699986B39D02BC43377BDEBB0D0129AED4B.xkm
[ 4014.243] (II) XKB: reuse xkmfile /var/lib/xkb/server-0B670699986B39D02BC43377BDEBB0D0129AED4B.xkm
[ 4016.663] (II) XKB: reuse xkmfile /var/lib/xkb/server-0B670699986B39D02BC43377BDEBB0D0129AED4B.xkm
[ 4016.980] (II) XKB: reuse xkmfile /var/lib/xkb/server-0B670699986B39D02BC43377BDEBB0D0129AED4B.xkm
[ 4019.183] (II) XKB: reuse xkmfile /var/lib/xkb/server-0B670699986B39D02BC43377BDEBB0D0129AED4B.xkm
[ 4019.739] (II) XKB: reuse xkmfile /var/lib/xkb/server-0B670699986B39D02BC43377BDEBB0D0129AED4B.xkm
[ 4058.541] (II) XKB: reuse xkmfile /var/lib/xkb/server-0B670699986B39D02BC43377BDEBB0D0129AED4B.xkm
[ 4059.421] (II) XKB: reuse xkmfile /var/lib/xkb/server-0B670699986B39D02BC43377BDEBB0D0129AED4B.xkm
[ 4064.022] (II) XKB: reuse xkmfile /var/lib/xkb/server-0B670699986B39D02BC43377BDEBB0D0129AED4B.xkm
[ 4064.501] (II) XKB: reuse xkmfile /var/lib/xkb/server-0B670699986B39D02BC43377BDEBB0D0129AED4B.xkm

Revision history for this message
Bougron (fbougron) wrote :

I use ubuntu 14.04.3 (3.19.0.28)

the repeated line is

 (II) XKB: reuse xkmfile /var/lib/xkb/server-FCE784E457E827DE63A60012DC8F25390069A73C.xkm

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.