Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Mar 2014 19:13:44 GMT
From:      adrian chadd <adrian@freebsd.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/188094: [minecraft-client] [i915_dri] SIGSEGV in dri code
Message-ID:  <201403301913.s2UJDiUj038497@cgiserv.freebsd.org>
Resent-Message-ID: <201403301920.s2UJK093035740@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         188094
>Category:       kern
>Synopsis:       [minecraft-client] [i915_dri] SIGSEGV in dri code
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 30 19:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     adrian chadd
>Release:        freebsd-head i386
>Organization:
>Environment:
FreeBSD lucy-11i386 11.0-CURRENT FreeBSD 11.0-CURRENT #2 r263418: Tue Mar 25 14:51:28 PDT 2014     adrian@lucy-11i386:/usr/home/adrian/work/freebsd/head/obj/usr/home/adrian/work/freebsd/head/src/sys/LUCY_11_i386  i386

>Description:

Here's what happens wheN I run minecraft-client:

adrian@lucy-11i386:~ % minecraft-client
Note:

  Please restart this script after inital
  downloading all the Minecraft files,   
  some of the libraries will be replaced 
  with FreeBSD-compiled version. Also,   
  run the following command to remove    
  the symlinks before doing any upgrade: 

find ~/.minecraft/bin -type l -print0 |  /usr/bin/xargs -0 /bin/rm -v

After deleting symlinks, you will have to
force update to get replacements of all
files that are normally used via symlinks.
asdf
229 recipes
27 achievements
2014-03-30 12:09:04 [CLIENT] [INFO] Setting user: cacheboy
(Session ID is 8b70be172f74407d917cf2d987f1a3ee)
2014-03-30 12:09:04 [CLIENT] [INFO] LWJGL Version: 2.9.0
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x76ae71c8, pid=32797, tid=101388
#
# JRE version: 6.0_32-b30
# Java VM: OpenJDK Server VM (23.25-b01 mixed mode bsd-x86 )
# Problematic frame:
# C  [i965_dri.so+0x6b1c8]  _init+0x63838
#
# Core dump written. Default location: /usr/home/adrian/core or core.32797
#
# An error report file with more information is saved as:
# /usr/home/adrian/hs_err_pid32797.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Abort (core dumped)
[1]  + Done                          minecraft-client


adrian@lucy-11i386:~ % cat hs_err_pid32797.log 
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x76ae71c8, pid=32797, tid=101388
#
# JRE version: 6.0_32-b30
# Java VM: OpenJDK Server VM (23.25-b01 mixed mode bsd-x86 )
# Problematic frame:
# C  [i965_dri.so+0x6b1c8]  _init+0x63838
#
# Core dump written. Default location: /usr/home/adrian/core or core.32797
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  T H R E A D  ---------------

Current thread (0x7595a400):  JavaThread "Minecraft main thread" daemon [_thread_in_native, id=101388, stack(0xbf107000,0xbf157000)]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x000001e4

Registers:
EAX=0x75fda640, EBX=0x76b42838, ECX=0x75fda640, EDX=0x75fda640
ESP=0xbf1568f8, EBP=0xbf156968, ESI=0x760a0018, EDI=0x00000000
EIP=0x76ae71c8, EFLAGS=0x00210202

Top of Stack: (sp=0xbf1568f8)
0xbf1568f8:   bf1568c8 79294000 760a0018 00000000
0xbf156908:   00000000 00000000 76161330 75d01900
0xbf156918:   0000000c 00000001 00000020 00000000
0xbf156928:   00000000 00000000 00000000 01b185cc
0xbf156938:   760a0018 75fa2730 75fd9980 76b42838
0xbf156948:   bf156968 76a8908a 760a0018 75fa2730
0xbf156958:   00000000 760a0018 760a0018 76b42838
0xbf156968:   bf1569f0 76aaba7c 760a0018 bf156a28 

Instructions: (pc=0x76ae71c8)
0x76ae71a8:   81 78 04 78 56 34 12 89 c1 74 02 31 c9 c7 45 c8
0x76ae71b8:   00 00 00 00 85 c9 bf 00 00 00 00 74 21 8b 79 40
0x76ae71c8:   8b 8f e4 01 00 00 85 c9 74 02 89 cf c6 45 cf 00
0x76ae71d8:   89 45 c8 eb 09 c7 45 c8 00 00 00 00 31 ff c7 45 

Register to memory mapping:

EAX=0x75fda640 is an unknown value
EBX=0x76b42838: __dri2ConfigOptions+0x7ef4 in /usr/local/lib/dri/i965_dri.so at 0x76a7c000
ECX=0x75fda640 is an unknown value
EDX=0x75fda640 is an unknown value
ESP=0xbf1568f8 is pointing into the stack for thread: 0x7595a400
EBP=0xbf156968 is pointing into the stack for thread: 0x7595a400
ESI=0x760a0018 is an unknown value
EDI=0x00000000 is an unknown value


Stack: [0xbf107000,0xbf157000],  sp=0xbf1568f8,  free space=318k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [i965_dri.so+0x6b1c8]  _init+0x63838
C  [i965_dri.so+0x2fa7c]  _init+0x280ec
C  [libdricore9.1.7.so.1+0x14f313]  _mesa_DrawTransformFeedback+0x563
C  [libdricore9.1.7.so.1+0x14d896]  void+0x146
C  [liblwjgl.so+0x4ebaa]  Java_org_lwjgl_opengl_GL11_nglDrawArrays+0x2a
j  org.lwjgl.opengl.GL11.nglDrawArrays(IIIJ)V+0
j  org.lwjgl.opengl.GL11.glDrawArrays(III)V+20
j  bgd.a()I+432
j  net.minecraft.client.Minecraft.J()V+184
j  net.minecraft.client.Minecraft.a()V+287
j  avv.a()V+94
j  net.minecraft.client.Minecraft.run()V+6
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub
V  [libjvm.so+0x3ed83c]  AsyncGetCallTrace+0x9e80c
V  [libjvm.so+0x5add41]  JVM_FindSignal+0x15d351
V  [libjvm.so+0x3ecb6f]  AsyncGetCallTrace+0x9db3f
V  [libjvm.so+0x3ecc01]  AsyncGetCallTrace+0x9dbd1
V  [libjvm.so+0x446cbb]  JVM_StartThread+0x3eb
V  [libjvm.so+0x69ba93]  JVM_handle_bsd_signal+0xec6b3
V  [libjvm.so+0x5a90cf]  JVM_FindSignal+0x1586df
C  [libthr.so.3+0x766c]  operator->+0x81c

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.lwjgl.opengl.GL11.nglDrawArrays(IIIJ)V+0
j  org.lwjgl.opengl.GL11.glDrawArrays(III)V+20
j  bgd.a()I+432
j  net.minecraft.client.Minecraft.J()V+184
j  net.minecraft.client.Minecraft.a()V+287
j  avv.a()V+94
j  net.minecraft.client.Minecraft.run()V+6
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
=>0x7595a400 JavaThread "Minecraft main thread" daemon [_thread_in_native, id=101388, stack(0xbf107000,0xbf157000)]
  0x75959000 JavaThread "Timer hack thread" daemon [_thread_blocked, id=101190, stack(0xbf387000,0xbf3d7000)]
  0x75958800 JavaThread "Snooper Timer" daemon [_thread_blocked, id=101186, stack(0xbf477000,0xbf4c7000)]
  0x28b2ac00 JavaThread "TimerQueue" daemon [_thread_blocked, id=101187, stack(0xbf1a7000,0xbf1f7000)]
  0x75546000 JavaThread "Keep-Alive-Timer" daemon [_thread_blocked, id=101182, stack(0xbf2e7000,0xbf337000)]
  0x2989d800 JavaThread "DestroyJavaVM" [_thread_blocked, id=101162, stack(0xbf9ae000,0xbf9fe000)]
  0x298a2c00 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=101178, stack(0xbf3d7000,0xbf427000)]
  0x298a2400 JavaThread "AWT-Shutdown" [_thread_blocked, id=101177, stack(0xbf427000,0xbf477000)]
  0x298a1800 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=101175, stack(0xbf4c7000,0xbf517000)]
  0x298a1000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=101174, stack(0xbf517000,0xbf567000)]
  0x298a0800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=101172, stack(0xbf5e8000,0xbf638000)]
  0x298a0000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=101171, stack(0xbf639000,0xbf6b9000)]
  0x2989f400 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=101170, stack(0xbf6ba000,0xbf73a000)]
  0x2989ec00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=101169, stack(0xbf73a000,0xbf78a000)]
  0x2989e400 JavaThread "Finalizer" daemon [_thread_blocked, id=101168, stack(0xbf78a000,0xbf7da000)]
  0x2989e000 JavaThread "Reference Handler" daemon [_thread_blocked, id=101167, stack(0xbf7da000,0xbf82a000)]

Other Threads:
  0x2981a800 VMThread [stack: 0xbf82b000,0xbf8ab000] [id=101166]
  0x2981b400 WatcherThread [stack: 0xbf568000,0xbf5e8000] [id=101173]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 PSYoungGen      total 152896K, used 113537K [0x5b770000, 0x66210000, 0x70cc0000)
  eden space 131072K, 86% used [0x5b770000,0x62650408,0x63770000)
  from space 21824K, 0% used [0x64cc0000,0x64cc0000,0x66210000)
  to   space 21824K, 0% used [0x63770000,0x63770000,0x64cc0000)
 ParOldGen       total 349568K, used 0K [0x30cc0000, 0x46220000, 0x5b770000)
  object space 349568K, 0% used [0x30cc0000,0x30cc0000,0x46220000)
 PSPermGen       total 16384K, used 14208K [0x2ccc0000, 0x2dcc0000, 0x30cc0000)
  object space 16384K, 86% used [0x2ccc0000,0x2daa0388,0x2dcc0000)

Card table byte_map: [0x70cc0000,0x70ee1000] byte_map_base: 0x70b59a00

Polling page: 0x28317000

Code Cache  [0x29c00000, 0x29e40000, 0x2cc00000)
 total_blobs=684 nmethods=372 adapters=265 free_code_cache=48135Kb largest_free_block=49267008

Compilation events (10 events):
Event: 11.309 Thread 0x298a0000  357             java.nio.DirectByteBuffer::put (17 bytes)
Event: 11.309 Thread 0x298a0000 nmethod 357 0x29cc4ac8 code [0x29cc4bc0, 0x29cc4c30]
Event: 11.399 Thread 0x298a0000   23 %           kx::<clinit> @ 9 (45 bytes)
Event: 11.401 Thread 0x298a0000 nmethod 23% 0x29cfe488 code [0x29cfe600, 0x29cfe8d0]
Event: 11.440 Thread 0x298a0000   24 %           sun.awt.image.ByteInterleavedRaster::getDataElements @ 94 (132 bytes)
Event: 11.444 Thread 0x298a0000 nmethod 24% 0x29ccd908 code [0x29ccda00, 0x29ccdc50]
Event: 11.444 Thread 0x298a0000  358             sun.awt.image.ByteInterleavedRaster::getDataElements (132 bytes)
Event: 11.450 Thread 0x298a0000 nmethod 358 0x29cff288 code [0x29cff3a0, 0x29cff6d0]
Event: 11.452 Thread 0x298a0000   25 %           java.awt.image.BufferedImage::getRGB @ 173 (231 bytes)
Event: 11.468 Thread 0x298a0000 nmethod 25% 0x29d01208 code [0x29d01340, 0x29d01afc]

GC Heap History (0 events):
No events

Deoptimization events (10 events):
Event: 9.921 Thread 0x75570400 Uncommon trap -75 fr.pc 0x29cf1594
Event: 10.702 Thread 0x7595a400 Uncommon trap -34 fr.pc 0x29ce91fc
Event: 10.702 Thread 0x7595a400 Uncommon trap -34 fr.pc 0x29ce91fc
Event: 10.702 Thread 0x7595a400 Uncommon trap -34 fr.pc 0x29ce91fc
Event: 10.702 Thread 0x7595a400 Uncommon trap -34 fr.pc 0x29ce91fc
Event: 10.704 Thread 0x7595a400 Uncommon trap -34 fr.pc 0x29ce9b74
Event: 10.706 Thread 0x7595a400 Uncommon trap -34 fr.pc 0x29cdb984
Event: 11.267 Thread 0x7595a400 Uncommon trap -34 fr.pc 0x29cdb984
Event: 11.267 Thread 0x7595a400 Uncommon trap -34 fr.pc 0x29cdb984
Event: 11.439 Thread 0x7595a400 Uncommon trap -83 fr.pc 0x29c71da8

Internal exceptions (10 events):
Event: 11.382 Thread 0x7595a400 Threw 0x61c2aff0 at /wrkdirs/usr/ports/java/openjdk6/work/hotspot/src/share/vm/prims/jvm.cpp:1235
Event: 11.382 Thread 0x7595a400 Threw 0x61c2c938 at /wrkdirs/usr/ports/java/openjdk6/work/hotspot/src/share/vm/classfile/systemDictionary.cpp:179
Event: 11.382 Thread 0x7595a400 Threw 0x61c2cbb0 at /wrkdirs/usr/ports/java/openjdk6/work/hotspot/src/share/vm/prims/jvm.cpp:1235
Event: 11.382 Thread 0x7595a400 Threw 0x61c2ce28 at /wrkdirs/usr/ports/java/openjdk6/work/hotspot/src/share/vm/prims/jvm.cpp:1235
Event: 11.407 Thread 0x7595a400 Threw 0x61c6fd58 at /wrkdirs/usr/ports/java/openjdk6/work/hotspot/src/share/vm/classfile/systemDictionary.cpp:179
Event: 11.407 Thread 0x7595a400 Threw 0x61c6ffd0 at /wrkdirs/usr/ports/java/openjdk6/work/hotspot/src/share/vm/prims/jvm.cpp:1235
Event: 11.407 Thread 0x7595a400 Threw 0x61c70248 at /wrkdirs/usr/ports/java/openjdk6/work/hotspot/src/share/vm/prims/jvm.cpp:1235
Event: 11.472 Thread 0x7595a400 Threw 0x61d43520 at /wrkdirs/usr/ports/java/openjdk6/work/hotspot/src/share/vm/classfile/systemDictionary.cpp:179
Event: 11.472 Thread 0x7595a400 Threw 0x61d43820 at /wrkdirs/usr/ports/java/openjdk6/work/hotspot/src/share/vm/prims/jvm.cpp:1235
Event: 11.472 Thread 0x7595a400 Threw 0x61d43b20 at /wrkdirs/usr/ports/java/openjdk6/work/hotspot/src/share/vm/prims/jvm.cpp:1235

Events (10 events):
Event: 11.407 loading class 0x758807f0
Event: 11.407 loading class 0x758807f0 done
Event: 11.419 loading class 0x75ef3250
Event: 11.419 loading class 0x75ef3250 done
Event: 11.419 Executing VM operation: Deoptimize
Event: 11.419 Executing VM operation: Deoptimize done
Event: 11.439 Thread 0x7595a400 DEOPT PACKING pc=0x29c71da8 sp=0xbf156a00
Event: 11.439 Thread 0x7595a400 DEOPT UNPACKING pc=0x29c2ccbc sp=0xbf1569e8 mode 2
Event: 11.472 loading class 0x78aa9400
Event: 11.472 loading class 0x78aa9400 done


Dynamic libraries:
0x08048000 	/usr/local/openjdk6/bin/java
0x28074000 	/lib/libz.so.6
0x28088000 	/lib/libthr.so.3
0x280aa000 	/lib/libc.so.7
0x28c00000 	/usr/local/openjdk6/jre/lib/i386/server/libjvm.so
0x2821e000 	/lib/libm.so.5
0x28243000 	/usr/lib/libc++.so.1
0x282f2000 	/lib/libcxxrt.so.1
0x2830b000 	/lib/libgcc_s.so.1
0x28318000 	/usr/local/openjdk6/jre/lib/i386/libverify.so
0x28324000 	/usr/local/openjdk6/jre/lib/i386/libjava.so
0x28351000 	/usr/local/openjdk6/jre/lib/i386/libzip.so
0x711ca000 	/usr/local/openjdk6/jre/lib/i386/libawt.so
0x28391000 	/usr/local/openjdk6/jre/lib/i386/xawt/libmawt.so
0x283d9000 	/usr/local/lib/libXext.so.6
0x71270000 	/usr/local/lib/libX11.so.6
0x283e8000 	/usr/local/lib/libXtst.so.6
0x283ed000 	/usr/local/lib/libXi.so.6
0x297bd000 	/usr/local/lib/libxcb.so.2
0x283fa000 	/usr/local/lib/libXau.so.6
0x297d8000 	/usr/local/lib/libXdmcp.so.6
0x283fd000 	/usr/local/lib/libpthread-stubs.so.0
0x297dd000 	/usr/lib/librpcsvc.so.5
0x71387000 	/usr/local/openjdk6/jre/lib/i386/libfontmanager.so
0x748a0000 	/usr/local/lib/libfreetype.so.9
0x297e6000 	/usr/lib/libbz2.so.4
0x74926000 	/usr/local/lib/libXcursor.so.1
0x74930000 	/usr/local/lib/libXrender.so.1
0x74938000 	/usr/local/lib/libXfixes.so.3
0x76746000 	/usr/local/lib/libXrandr.so.2
0x769d1000 	/usr/local/lib/libGL.so.1
0x74b82000 	/usr/local/lib/libXdamage.so.1
0x74bfe000 	/usr/local/lib/libX11-xcb.so.1
0x76a55000 	/usr/local/lib/libxcb-glx.so.0
0x76a68000 	/usr/local/lib/libxcb-dri2.so.0
0x76a6c000 	/usr/local/lib/libXxf86vm.so.1
0x76a71000 	/usr/local/lib/libdrm.so.2
0x76a7c000 	/usr/local/lib/dri/i965_dri.so
0x77400000 	/usr/local/lib/libdricore9.1.7.so.1
0x76b44000 	/usr/local/lib/libexpat.so.6
0x76b67000 	/usr/local/lib/libdrm_intel.so.1
0x76b85000 	/usr/local/lib/libpciaccess.so.0
0x28053000 	/libexec/ld-elf.so.1

VM Arguments:
jvm_args: -Dos.name=Linux -Xmx1024M -Xms512M -Djava.net.preferIPv4Stack=true 
java_command: /usr/local/share/minecraft-client/minecraft.jar
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=/usr/local/openjdk6
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/adrian/bin
LD_LIBRARY_PATH=/usr/local/openjdk6/jre/lib/i386/server:/usr/local/openjdk6/jre/lib/i386:/usr/local/openjdk6/jre/../lib/i386
SHELL=/bin/tcsh
DISPLAY=:0.0
HOSTTYPE=FreeBSD
OSTYPE=FreeBSD
MACHTYPE=i386

Signal Handlers:
SIGSEGV: [libjvm.so+0x6de950], sa_mask[0]=0x7fffffff, sa_flags=0x00000042
SIGBUS: [libjvm.so+0x6de950], sa_mask[0]=0x7fffffff, sa_flags=0x00000042
SIGFPE: [libjvm.so+0x5ac630], sa_mask[0]=0x7fffffff, sa_flags=0x00000042
SIGPIPE: [libjvm.so+0x5ac630], sa_mask[0]=0x7fffffff, sa_flags=0x00000042
SIGXFSZ: [libjvm.so+0x5ac630], sa_mask[0]=0x7fffffff, sa_flags=0x00000042
SIGILL: [libjvm.so+0x5ac630], sa_mask[0]=0x7fffffff, sa_flags=0x00000042
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000002
SIGUSR2: [libjvm.so+0x5ad0e0], sa_mask[0]=0x00000000, sa_flags=0x00000042
SIGHUP: [libjvm.so+0x5aab10], sa_mask[0]=0x7fffffff, sa_flags=0x00000042
SIGINT: [libjvm.so+0x5aab10], sa_mask[0]=0x7fffffff, sa_flags=0x00000042
SIGTERM: [libjvm.so+0x5aab10], sa_mask[0]=0x7fffffff, sa_flags=0x00000042
SIGQUIT: [libjvm.so+0x5aab10], sa_mask[0]=0x7fffffff, sa_flags=0x00000042


---------------  S Y S T E M  ---------------

OS:BSD
uname:FreeBSD 11.0-CURRENT FreeBSD 11.0-CURRENT #2 r263418: Tue Mar 25 14:51:28 PDT 2014     adrian@lucy-11i386:/usr/home/adrian/work/freebsd/head/obj/usr/home/adrian/work/freebsd/head/src/sys/LUCY_11_i386 i386
rlimit: STACK 65536k, CORE infinity, NPROC 5547, NOFILE 86391, AS infinity
load average:1.90 2.59 2.50

CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 23 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, tsc

Memory: 4k page, physical 3071876k(2183084k free), swap 3684020k(3662040k free)

vm_info: OpenJDK Server VM (23.25-b01) for bsd-x86 JRE (1.6.0_32-b30), built on Mar 21 2014 05:14:43 by "root" with gcc 4.2.1 Compatible FreeBSD Clang 3.3 (tags/RELEASE_33/final 183502)

time: Sun Mar 30 12:09:05 2014

>How-To-Repeat:
Run minecraft-client
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403301913.s2UJDiUj038497>