desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #142026
[Bug 1503551] [NEW] Java segfaulted in i965 driver - lots of deleted mmapped files
Public bug reported:
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.
** Affects: xserver-xorg-video-intel (Ubuntu)
Importance: Undecided
Status: New
** Attachment added: "Java crash log"
https://bugs.launchpad.net/bugs/1503551/+attachment/4486788/+files/hs_err_pid31233.log
** Description changed:
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. I increased the render
- distance and was flying around with a Speed 2 potion, after about 20
- minutes of play, when the crash occurred.
+ 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.
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
+ 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
+ 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
+ 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
+ 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.
** Description changed:
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.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xserver-xorg-video-intel in Ubuntu.
https://bugs.launchpad.net/bugs/1503551
Title:
Java segfaulted in i965 driver - lots of deleted mmapped files
Status in xserver-xorg-video-intel package in Ubuntu:
New
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1503551/+subscriptions
Follow ups
-
[Bug 1503551] Re: Java segfaulted in i965 driver - lots of deleted mmapped files
From: Kane York, 2016-02-03
-
[Bug 1503551] Re: Java segfaulted in i965 driver - lots of deleted mmapped files
From: Christopher M. Penalver, 2016-02-02
-
[Bug 1503551] Re: Java segfaulted in i965 driver - lots of deleted mmapped files
From: Kane York, 2016-02-01
-
[Bug 1503551] Re: Java segfaulted in i965 driver - lots of deleted mmapped files
From: Christopher M. Penalver, 2016-02-01
-
[Bug 1503551] Re: Java segfaulted in i965 driver - lots of deleted mmapped files
From: Kane York, 2016-02-01
-
[Bug 1503551] Re: Java segfaulted in i965 driver - lots of deleted mmapped files
From: Christopher M. Penalver, 2016-02-01
-
[Bug 1503551] xserver.devices.txt
From: Kane York, 2016-02-01
-
[Bug 1503551] xdpyinfo.txt
From: Kane York, 2016-02-01
-
[Bug 1503551] Xrandr.txt
From: Kane York, 2016-02-01
-
[Bug 1503551] XorgLogOld.txt
From: Kane York, 2016-02-01
-
[Bug 1503551] XorgLog.txt
From: Kane York, 2016-02-01
-
[Bug 1503551] UdevDb.txt
From: Kane York, 2016-02-01
-
[Bug 1503551] ProcModules.txt
From: Kane York, 2016-02-01
-
[Bug 1503551] ProcInterrupts.txt
From: Kane York, 2016-02-01
-
[Bug 1503551] ProcEnviron.txt
From: Kane York, 2016-02-01
-
[Bug 1503551] ProcCpuinfo.txt
From: Kane York, 2016-02-01
-
[Bug 1503551] Lsusb.txt
From: Kane York, 2016-02-01
-
[Bug 1503551] Lspci.txt
From: Kane York, 2016-02-01
-
[Bug 1503551] LightdmLog.txt
From: Kane York, 2016-02-01
-
[Bug 1503551] LightdmDisplayLog.txt
From: Kane York, 2016-02-01
-
[Bug 1503551] JournalErrors.txt
From: Kane York, 2016-02-01
-
[Bug 1503551] DpkgLog.txt
From: Kane York, 2016-02-01
-
[Bug 1503551] Dependencies.txt
From: Kane York, 2016-02-01
-
[Bug 1503551] CurrentDmesg.txt
From: Kane York, 2016-02-01
-
[Bug 1503551] Re: Java segfaulted in i965 driver - lots of deleted mmapped files
From: Kane York, 2016-02-01
-
[Bug 1503551] Re: Java segfaulted in i965 driver - lots of deleted mmapped files
From: Christopher M. Penalver, 2016-02-01
-
[Bug 1503551] Re: Java segfaulted in i965 driver - lots of deleted mmapped files
From: Launchpad Bug Tracker, 2015-10-13
-
[Bug 1503551] Re: Java segfaulted in i965 driver - lots of deleted mmapped files
From: eaglgenes101, 2015-10-13
-
[Bug 1503551] Re: Java segfaulted in i965 driver - lots of deleted mmapped files
From: Kane York, 2015-10-08