View Single Post
Old 06-15-11, 02:21 AM   #29
KDE
Registered User
 
Join Date: Nov 2007
Posts: 50
Default Re: 260.xx drivers break Java2D OpenGL pipeline

Netbeans 7.0 is crashing at startup if -J-Dsun.java2d.opengl=true is used and grsec TPE is enabled.
With driver 256.53 crash doesn't happen.

Driver: 275.09.07 (patched with following patch)
OS: Gentoo
Kernel: 2.6.39.1 64-bit
JRE: 1.6.0_26 Client VM 32-bit
Xserver: 1.9.5

Code:
--- kernel/nv-linux.h.orig      2010-08-28 05:28:03.000000000 +0200
+++ kernel/nv-linux.h   2011-05-27 12:47:08.175727041 +0200
@@ -639,7 +639,7 @@
 #define NV_KMEM_CACHE_CREATE(kmem_cache, name, type)            \
     {                                                           \
         kmem_cache = kmem_cache_create(name, sizeof(type),      \
-                        0, 0, NULL);                            \
+                        0, SLAB_USERCOPY, NULL);                            \
     }
 #else
 #error "NV_KMEM_CACHE_CREATE_ARGUMENT_COUNT value unrecognized!"
Code:
grsec: denied untrusted exec of /tmp/glx2vnKN by /usr/java/jdk/bin/java[java:32497] uid/euid:1012/1012 gid/egid:27/27, parent /bin/bash[bash:32218] uid/euid:1012/1012 gid/egid:27/27
grsec: denied untrusted exec of /tmp/glJVYZ8w by /usr/java/jdk/bin/java[java:32497] uid/euid:1012/1012 gid/egid:27/27, parent /bin/bash[bash:32218] uid/euid:1012/1012 gid/egid:27/27
grsec: denied untrusted exec of /tmp/glkZkyah by /usr/java/jdk/bin/java[java:32497] uid/euid:1012/1012 gid/egid:27/27, parent /bin/bash[bash:32218] uid/euid:1012/1012 gid/egid:27/27
grsec: denied untrusted exec of /tmp/glHXe8b1 by /usr/java/jdk/bin/java[java:32497] uid/euid:1012/1012 gid/egid:27/27, parent /bin/bash[bash:32218] uid/euid:1012/1012 gid/egid:27/27
grsec: denied untrusted exec of /tmp/glzum2zL by /usr/java/jdk/bin/java[java:32497] uid/euid:1012/1012 gid/egid:27/27, parent /bin/bash[bash:32218] uid/euid:1012/1012 gid/egid:27/27
grsec: more alerts, logging disabled for 10 seconds
PAX: execution attempt in: (null), 00000000-00000000 00000000
PAX: terminating task: /usr/java/jdk/bin/java(java):32497, uid/euid: 1012/1012, PC:            (nil), SP: 000000009ded2bec
PAX: bytes at PC: ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 
PAX: bytes at SP-8: 9ded2c589fe59980 9d2890009f3b3548 082a095800000001 08391db09f13c6b2 9d2890000000002a 9d2890009f2a84a0 9d2a54549d1cf008 0000000000000001 0000000000000000 000000019fe58524 9ded2c589fe59980
KDE is offline   Reply With Quote