← Back to team overview

touch-packages team mailing list archive

[Bug 1503551] Re: Java segfaulted in i965 driver - lots of deleted mmapped files

 

Kane York, to see if this is already resolved, could you please test
http://cdimage.ubuntu.com/daily-live/current/ and advise to the results?

** Tags added: latest-bios-3.2-

** Tags removed: latest-bios-3.2-
** Tags added: latest-bios-3.20

** Changed in: xorg (Ubuntu)
   Importance: Low => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1503551

Title:
  Java segfaulted in i965 driver - lots of deleted mmapped files

Status in xorg package in Ubuntu:
  Incomplete

Bug description:
  Java encountered a segfault in the i965 driver while running
  Minecraft. A perusal of the dump report suggests that the issue is not
  due to Minecraft but due to heavy use of the graphics exacerbating a
  memory mapping leak in the driver - it seems that the mappings for
  /dev/drm/card0 and /dri objects are not properly freed.

  Note that I was running Optifine with Multi-Core loading, which causes
  multi-threaded use of the graphics driver.

  Important parts of the hs_err file are pasted below. However, I cut
  out a *lot* of the /drm mm object and /dev/dri/card0 mappings. There's
  a more than a hundred pages at 30 lines a page.

  ---

  #
  # A fatal error has been detected by the Java Runtime Environment:
  #
  #  SIGSEGV (0xb) at pc=0x00007f180efcc4e3, pid=31233, tid=139740657592064
  #
  # JRE version: OpenJDK Runtime Environment (7.0_79-b14) (build 1.7.0_79-b14)
  # Java VM: OpenJDK 64-Bit Server VM (24.79-b02 mixed mode linux-amd64 compressed oops)
  # Derivative: IcedTea 2.5.6
  # Distribution: Ubuntu 15.04, package 7u79-2.5.6-0ubuntu1.15.04.1
  # Problematic frame:
  # C  [i965_dri.so+0x1914e3]
  #
  # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
  #
  # The crash happened outside the Java Virtual Machine in native code.
  # See problematic frame for where to report the bug.
  #

  Stack: [0x00007f17e831a000,0x00007f17e841b000],  sp=0x00007f17e84197e0,  free space=1021k
  Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
  C  [i965_dri.so+0x1914e3]

  Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
  J 1853  org.lwjgl.opengl.GL11.nglDrawArrays(IIIJ)V (0 bytes) @ 0x00007f18614fc92a [0x00007f18614fc8e0+0x4a]
  J 2863 C2 net.minecraft.client.renderer.Tessellator.func_78381_a()I (346 bytes) @ 0x00007f186177e020 [0x00007f186177d7e0+0x840]
  J 5013 C2 WorldRendererThreaded.postRenderBlocksThreaded(ILnet/minecraft/entity/EntityLivingBase;)V (114 bytes) @ 0x00007f1861ced92c [0x00007f1861ced8c0+0x6c]
  J 2709 C2 WorldRendererThreaded.updateRenderer(LIWrUpdateListener;)V (823 bytes) @ 0x00007f18617a3504 [0x00007f18617a2b20+0x9e4]
  J 4593% C2 WrUpdateThread.run()V (140 bytes) @ 0x00007f1861abb340 [0x00007f1861abb020+0x320]
  v  ~StubRoutines::call_stub

  Dynamic libraries:
  00400000-00401000 r-xp 00000000 fc:00 13763814                           /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java
  00600000-00601000 r--p 00000000 fc:00 13763814                           /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java
  00601000-00602000 rw-p 00001000 fc:00 13763814                           /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java
  0066f000-00690000 rw-p 00000000 00:00 0                                  [heap]
  b5a00000-bda00000 rw-p 00000000 00:00 0
  bda00000-c0000000 rw-p 00000000 00:00 0
  c0000000-eaa80000 rw-p 00000000 00:00 0
  eaa80000-100000000 rw-p 00000000 00:00 0
  7f1743442000-7f174344a000 rw-s 00000000 00:05 3198953                    /drm mm object (deleted)
  7f174344a000-7f1743452000 rw-s 00000000 00:05 3198952                    /drm mm object (deleted)
  7f1743452000-7f174345a000 rw-s 00000000 00:05 3198951                    /drm mm object (deleted)
  7f174345a000-7f1743462000 rw-s 00000000 00:05 3198950                    /drm mm object (deleted)
  7f1743462000-7f174346a000 rw-s 142cc8000 00:06 11074                     /dev/dri/card0
  7f174346a000-7f1743472000 rw-s 00000000 00:05 3198949                    /drm mm object (deleted)
  7f1743472000-7f174347a000 rw-s 142cc0000 00:06 11074                     /dev/dri/card0
  7f174347a000-7f1743482000 rw-s 00000000 00:05 3198948                    /drm mm object (deleted)
  7f1743482000-7f174348a000 rw-s 142cb8000 00:06 11074                     /dev/dri/card0
  7f174348a000-7f1743492000 rw-s 142cb0000 00:06 11074                     /dev/dri/card0

  .... snip ....

  7f1745c72000-7f1745c7a000 rw-s 141680000 00:06 11074                     /dev/dri/card0
  7f1745c7a000-7f1745c82000 rw-s 141678000 00:06 11074                     /dev/dri/card0
  7f1745c82000-7f1745c8a000 rw-s 141670000 00:06 11074                     /dev/dri/card0
  7f1745c8a000-7f1745c92000 rw-s 141668000 00:06 11074                     /dev/dri/card0
  7f1745c92000-7f1745c9a000 rw-s 00000000 00:05 3200480                    /drm mm object (deleted)
  7f1745c9a000-7f1745ca2000 rw-s 141660000 00:06 11074                     /dev/dri/card0
  7f1745ca2000-7f1745caa000 rw-s 141658000 00:06 11074                     /dev/dri/card0
  7f1745caa000-7f1745cb2000 rw-s 141650000 00:06 11074                     /dev/dri/card0
  7f1745cb2000-7f1745cba000 rw-s 00000000 00:05 3200479                    /drm mm object (deleted)
  7f1745cba000-7f1745cc2000 rw-s 141648000 00:06 11074                     /dev/dri/card0
  ....
  7f1752d0a000-7f1752d12000 rw-s 13a1b0000 00:06 11074                     /dev/dri/card0
  ....
  7f17538e2000-7f17538ea000 rw-s 00000000 00:05 3193548                    /drm mm object (deleted)
  ....
  7f1759aca000-7f1759ad2000 rw-s 135cf8000 00:06 11074                     /dev/dri/card0
  ....
  7f176105e000-7f1761066000 rw-s 00000000 00:05 3175532                    /drm mm object (deleted)
  ....
  7f17bbfc0000-7f17bbfc8000 rw-s 00000000 00:05 3120845                    /drm mm object (deleted)
  7f17bbfc8000-7f17bbfd0000 rw-s 00000000 00:05 3120844                    /drm mm object (deleted)
  7f17bbfd0000-7f17bbfd8000 rw-s 100ed7000 00:06 11074                     /dev/dri/card0
  7f17bbfd8000-7f17bbfe0000 rw-s 100ecf000 00:06 11074                     /dev/dri/card0
  7f17bbfe0000-7f17bbfe8000 rw-s 100ec7000 00:06 11074                     /dev/dri/card0
  7f17bbfe8000-7f17bbff0000 rw-s 100ebf000 00:06 11074                     /dev/dri/card0
  7f17bbff0000-7f17bbff8000 rw-s 100eb7000 00:06 11074                     /dev/dri/card0
  7f17bbff8000-7f17bc000000 rw-s 100eaf000 00:06 11074                     /dev/dri/card0
  7f17bc000000-7f17bc021000 rw-p 00000000 00:00 0
  7f17bc021000-7f17c0000000 ---p 00000000 00:00 0
  7f17c0000000-7f17c1d9a000 rw-p 00000000 00:00 0
  7f17c1d9a000-7f17c4000000 ---p 00000000 00:00 0
  7f17c4000000-7f17c4180000 rw-p 00000000 00:00 0
  7f17c4180000-7f17c8000000 ---p 00000000 00:00 0
  7f17c8000000-7f17c8048000 rw-p 00000000 00:00 0
  ....
  7f17e4021000-7f17e8000000 ---p 00000000 00:00 0
  7f17e8000000-7f17e8001000 rw-s 00000000 00:05 3169128                    /drm mm object (deleted)
  7f17e8001000-7f17e8009000 rw-s 100ea7000 00:06 11074                     /dev/dri/card0
  ....
  7f17e81a9000-7f17e8219000 rw-s 00000000 00:05 3121586                    /drm mm object (deleted)
  7f17e8219000-7f17e821c000 ---p 00000000 00:00 0
  7f17e821c000-7f17e831a000 rw-p 00000000 00:00 0
  7f17e831a000-7f17e831d000 ---p 00000000 00:00 0
  7f17e831d000-7f17e841b000 rw-p 00000000 00:00 0                          [stack:22484]
  7f17e841b000-7f17e8496000 r-xp 00000000 fc:00 12718478                   /usr/lib/x86_64-linux-gnu/nss/libfreebl3.so
  7f17e8496000-7f17e8695000 ---p 0007b000 fc:00 12718478                   /usr/lib/x86_64-linux-gnu/nss/libfreebl3.so

  (normal library mappings follow, interspersed with more /dev/dri/card0
  and /drm mm object (deleted) mappings)

  From the crash log, I think it's evident that the driver is leaking memory mappings.
  --- 
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
  CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
  CompositorRunning: None
  CurrentDesktop: XFCE
  DistUpgraded: Fresh install
  DistroCodename: wily
  DistroRelease: Ubuntu 15.10
  DistroVariant: ubuntu
  EcryptfsInUse: Yes
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Intel Corporation Broadwell-U Integrated Graphics [8086:1616] (rev 09) (prog-if 00 [VGA controller])
     Subsystem: Toshiba America Info Systems Device [1179:0004]
     Subsystem: Toshiba America Info Systems Device [1179:0004]
  LightdmGreeterLog:
   ** Message: Starting lightdm-gtk-greeter 2.0.1 (Aug  7 2015, 01:24:18)
   ** Message: [Configuration] Reading file: /etc/lightdm/lightdm-gtk-greeter.conf.d/01_ubuntu.conf
   ** Message: [Configuration] Reading file: /etc/lightdm/lightdm-gtk-greeter.conf.d/30_xubuntu.conf
   ** Message: [Configuration] Reading file: /etc/lightdm/lightdm-gtk-greeter.conf
   Invalid MIT-MAGIC-COOKIE-1 keyupstart: indicator-application main process (1059) killed by TERM signal
  LightdmGreeterLogOld:
   ** Message: Starting lightdm-gtk-greeter 2.0.1 (Aug  7 2015, 01:24:18)
   ** Message: [Configuration] Reading file: /etc/lightdm/lightdm-gtk-greeter.conf.d/01_ubuntu.conf
   ** Message: [Configuration] Reading file: /etc/lightdm/lightdm-gtk-greeter.conf.d/30_xubuntu.conf
   ** Message: [Configuration] Reading file: /etc/lightdm/lightdm-gtk-greeter.conf
   Invalid MIT-MAGIC-COOKIE-1 keyupstart: indicator-application main process (1050) killed by TERM signal
  MachineType: TOSHIBA TECRA Z40-B
  Package: xorg 1:7.7+7ubuntu4
  PackageArchitecture: amd64
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.2.0-25-generic root=/dev/mapper/xubuntu--vg-root ro quiet splash
  ProcVersionSignature: Ubuntu 4.2.0-25.30-generic 4.2.6
  Tags:  wily ubuntu
  UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
  Uname: Linux 4.2.0-25-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  XorgConf:
   Section "Files"
   	ModulePath "/usr/lib/xorg/modules"
   EndSection
  _MarkForUpload: True
  dmi.bios.date: 04/09/2015
  dmi.bios.vendor: TOSHIBA
  dmi.bios.version: Version 3.20
  dmi.board.asset.tag: 0000000000
  dmi.board.name: TECRA Z40-B
  dmi.board.vendor: TOSHIBA
  dmi.board.version: Version A0
  dmi.chassis.asset.tag: 0000000000
  dmi.chassis.type: 10
  dmi.chassis.vendor: TOSHIBA
  dmi.chassis.version: Version 1.0
  dmi.modalias: dmi:bvnTOSHIBA:bvrVersion3.20:bd04/09/2015:svnTOSHIBA:pnTECRAZ40-B:pvrPT459U-00N008:rvnTOSHIBA:rnTECRAZ40-B:rvrVersionA0:cvnTOSHIBA:ct10:cvrVersion1.0:
  dmi.product.name: TECRA Z40-B
  dmi.product.version: PT459U-00N008
  dmi.sys.vendor: TOSHIBA
  version.compiz: compiz N/A
  version.ia32-libs: ia32-libs N/A
  version.libdrm2: libdrm2 2.4.64-1
  version.libgl1-mesa-dri: libgl1-mesa-dri 11.0.2-1ubuntu4
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 11.0.2-1ubuntu4
  version.xserver-xorg-core: xserver-xorg-core 2:1.17.2-1ubuntu9.1
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.9.2-1ubuntu1
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.5.0+git20150819-0ubuntu1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20150808-0ubuntu4
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.11-1ubuntu3
  xserver.bootTime: Fri Jan 29 11:25:17 2016
  xserver.configfile: /etc/X11/xorg.conf
  xserver.errors:
   
  xserver.logfile: /var/log/Xorg.0.log
  xserver.outputs:
   product id                                1145 
   vendor                                     LGD
  xserver.version: 2:1.17.2-1ubuntu9.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1503551/+subscriptions