[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

GL4Java installation's problem



Hi all,

I've installed  all packages required for GL4Java
but when I try to launch the demo I've got this error message (see above)

I'm using jdk1.3.1 from Sun and I'm under debian Sid with the Nvidia's
drivers. How can fix this ?


Best regards

R.Pac


-----------------------------------------------------------------------
---------- Local Time = Tue Apr  2 23:44:00 2002
Elapsed Time = 2
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.3.1_02-b02 mixed mode)
#
# An error report file has been saved as hs_err_pid7153.log.
# Please refer to the file for further information.
-----------------------------------------------------------------------



The file hs_err_pid7153.log contains :

-----------------------------------------------------------------------
---------------- An unexpected exception has been detected in native
code outside the VM. Unexpected Signal : 11 occurred at PC=0x49e40bf8
Function name=glXGetCurrentContext
Library=/usr/lib/libGL.so

Current Java thread:
        at gl4java.GLContext.gljMakeCurrentNative(Native Method)
        at gl4java.GLContext.gljMakeCurrent(GLContext.java:2472)
        at gl4java.awt.GLCanvas.sDisplay(GLCanvas.java:697)
        at gl4java.awt.GLAnimCanvas.run(GLAnimCanvas.java:466)
        at java.lang.Thread.run(Thread.java:484)

Dynamic libraries:
08048000-0804c000 r-xp 00000000 08:04 324531
/home/pac/jdk1.3.1_02/bin/i386/native_threads/java 0804c000-0804d000
rw-p 00003000 08:04 324531
/home/pac/jdk1.3.1_02/bin/i386/native_threads/java 40000000-40013000
r-xp 00000000 08:02 207174     /lib/ld-2.2.5.so 40013000-40014000 rw-p
00013000 08:02 207174     /lib/ld-2.2.5.so 40014000-40015000 r--p
00000000 08:03 533032     /usr/lib/locale/fr_FR/LC_IDENTIFICATION
40015000-40016000 r--p 00000000 08:03 533031
/usr/lib/locale/fr_FR/LC_MEASUREMENT 40016000-40017000 r--p 00000000
08:03 533030     /usr/lib/locale/fr_FR/LC_TELEPHONE 40017000-40018000
r--p 00000000 08:03 533029     /usr/lib/locale/fr_FR/LC_ADDRESS
40018000-40019000 r--p 00000000 08:03 533028
/usr/lib/locale/fr_FR/LC_NAME 40019000-40026000 r-xp 00000000 08:02
207252     /lib/libpthread-0.9.so 40026000-4002d000 rw-p 0000d000 08:02
207252     /lib/libpthread-0.9.so 4002e000-40037000 r-xp 00000000 08:04
356942     /home/pac/jdk1.3.1_02/jre/lib/i386/native_threads/libhpi.so
40037000-40038000 rw-p 00008000 08:04 356942
/home/pac/jdk1.3.1_02/jre/lib/i386/native_threads/libhpi.so
40038000-40228000 r-xp 00000000 08:04 356944
/home/pac/jdk1.3.1_02/jre/lib/i386/client/libjvm.so 40228000-40326000
rw-p 001ef000 08:04 356944
/home/pac/jdk1.3.1_02/jre/lib/i386/client/libjvm.so 4033d000-4033f000
r-xp 00000000 08:02 207238     /lib/libdl-2.2.5.so 4033f000-40340000
rw-p 00001000 08:02 207238     /lib/libdl-2.2.5.so 40340000-40453000
r-xp 00000000 08:02 207197     /lib/libc-2.2.5.so 40453000-40459000 rw-p
00113000 08:02 207197     /lib/libc-2.2.5.so 4045d000-4046e000 r-xp
00000000 08:02 207240     /lib/libnsl-2.2.5.so 4046e000-4046f000 rw-p
00010000 08:02 207240     /lib/libnsl-2.2.5.so 40471000-40491000 r-xp
00000000 08:02 207239     /lib/libm-2.2.5.so 40491000-40492000 rw-p
0001f000 08:02 207239     /lib/libm-2.2.5.so 40492000-404c6000 r-xp
00000000 08:03 596741     /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
404c6000-404d2000 rw-p 00033000 08:03 596741
/usr/lib/libstdc++-2-libc6.1-1-2.9.0.so 404d5000-404e6000 r-xp 00000000
08:04 486729     /home/pac/jdk1.3.1_02/jre/lib/i386/libverify.so
404e6000-404e8000 rw-p 00010000 08:04 486729
/home/pac/jdk1.3.1_02/jre/lib/i386/libverify.so 404e8000-40509000 r-xp
00000000 08:04 486730     /home/pac/jdk1.3.1_02/jre/lib/i386/libjava.so
40509000-4050b000 rw-p 00020000 08:04 486730
/home/pac/jdk1.3.1_02/jre/lib/i386/libjava.so 4050c000-40520000 r-xp
00000000 08:04 486731     /home/pac/jdk1.3.1_02/jre/lib/i386/libzip.so
40520000-40523000 rw-p 00013000 08:04 486731
/home/pac/jdk1.3.1_02/jre/lib/i386/libzip.so 40523000-41254000 r--s
00000000 08:04 486760     /home/pac/jdk1.3.1_02/jre/lib/rt.jar
41281000-41526000 r--s 00000000 08:04 486761
/home/pac/jdk1.3.1_02/jre/lib/i18n.jar 41526000-4153c000 r--s 00000000
08:04 486748     /home/pac/jdk1.3.1_02/jre/lib/sunrsasign.jar
435e4000-435e5000 r--p 00000000 08:03 533027
/usr/lib/locale/fr_FR/LC_PAPER 435e5000-435e6000 r--p 00000000 08:03
209682     /usr/lib/locale/fr_FR/LC_MESSAGES/SYS_LC_MESSAGES
435e6000-435e7000 r--p 00000000 08:03 533022
/usr/lib/locale/fr_FR/LC_MONETARY 435e7000-435ed000 r--p 00000000 08:03
532636     /usr/lib/locale/fr_FR/LC_COLLATE 435ed000-435ee000 r--p
00000000 08:03 532262     /usr/lib/locale/fr_FR/LC_TIME
435ee000-435ef000 r--p 00000000 08:03 532261
/usr/lib/locale/fr_FR/LC_NUMERIC 4964f000-49681000 r--p 00000000 08:03
532260     /usr/lib/locale/fr_FR/LC_CTYPE 49681000-49682000 r-xp
00000000 08:04 486745     /home/pac/jdk1.3.1_02/jre/lib/i386/libjawt.so
49682000-49683000 rw-p 00000000 08:04 486745
/home/pac/jdk1.3.1_02/jre/lib/i386/libjawt.so 49683000-49685000 r-xp
00000000 08:03 823484     /usr/lib/gconv/ISO8859-1.so 49685000-49686000
rw-p 00001000 08:03 823484     /usr/lib/gconv/ISO8859-1.so
49686000-49690000 r-xp 00000000 08:02 207241
/lib/libnss_compat-2.2.5.so 49690000-49691000 rw-p 00009000 08:02 207241
    /lib/libnss_compat-2.2.5.so 496fd000-4970b000 r--s 00000000 08:04
373394     /home/pac/jdk1.3.1_02/jre/lib/ext/png.jar 4970b000-49743000
r--s 00000000 08:04 373395
/home/pac/jdk1.3.1_02/jre/lib/ext/gl4java.jar 49743000-497da000 r--s
00000000 08:04 373396
/home/pac/jdk1.3.1_02/jre/lib/ext/gl4java-glffonts.jar 497da000-497f8000
r--s 00000000 08:04 373397
/home/pac/jdk1.3.1_02/jre/lib/ext/gl4java-glutfonts.jar
497f8000-49bc6000 r-xp 00000000 08:04 486738
/home/pac/jdk1.3.1_02/jre/lib/i386/libawt.so 49bc6000-49bd6000 rw-p
003cd000 08:04 486738     /home/pac/jdk1.3.1_02/jre/lib/i386/libawt.so
49beb000-49c1c000 r-xp 00000000 08:04 486737
/home/pac/jdk1.3.1_02/jre/lib/i386/libmlib_image.so 49c1c000-49c1e000
rw-p 00030000 08:04 486737
/home/pac/jdk1.3.1_02/jre/lib/i386/libmlib_image.so 49c1e000-49c24000
r-xp 00000000 08:03 16601      /usr/X11R6/lib/libXp.so.6.2
49c24000-49c26000 rw-p 00005000 08:03 16601
/usr/X11R6/lib/libXp.so.6.2 49c26000-49c6c000 r-xp 00000000 08:03 16604
    /usr/X11R6/lib/libXt.so.6.0 49c6c000-49c70000 rw-p 00045000 08:03
16604      /usr/X11R6/lib/libXt.so.6.0 49c70000-49c7c000 r-xp 00000000
08:03 16596      /usr/X11R6/lib/libXext.so.6.4 49c7c000-49c7e000 rw-p
0000b000 08:03 16596      /usr/X11R6/lib/libXext.so.6.4
49c7e000-49c82000 r-xp 00000000 08:03 16605
/usr/X11R6/lib/libXtst.so.6.1 49c82000-49c83000 rw-p 00003000 08:03
16605      /usr/X11R6/lib/libXtst.so.6.1 49c83000-49d58000 r-xp 00000000
08:03 16594      /usr/X11R6/lib/libX11.so.6.2 49d58000-49d5d000 rw-p
000d4000 08:03 16594      /usr/X11R6/lib/libX11.so.6.2 49d5e000-49d65000
r-xp 00000000 08:03 16593      /usr/X11R6/lib/libSM.so.6.0
49d65000-49d67000 rw-p 00006000 08:03 16593
/usr/X11R6/lib/libSM.so.6.0 49d67000-49d7a000 r-xp 00000000 08:03 16591
    /usr/X11R6/lib/libICE.so.6.3 49d7a000-49d7c000 rw-p 00012000 08:03
16591      /usr/X11R6/lib/libICE.so.6.3 49d7d000-49e16000 r-xp 00000000
08:04 486790
/home/pac/jdk1.3.1_02/jre/lib/i386/libGL4JavaJauGljJNI13.so
49e16000-49e1a000 rw-p 00098000 08:04 486790
/home/pac/jdk1.3.1_02/jre/lib/i386/libGL4JavaJauGljJNI13.so
49e1d000-49e1e000 rw-s 40000000 08:02 95634      /dev/nvidia0
49e1e000-49e1f000 rw-s 40000000 08:02 95634      /dev/nvidia0
49e1f000-49e20000 rwxp 00000000 08:02 96952      /dev/zero
49e20000-49e21000 rwxp 00000000 08:02 96952      /dev/zero
49e21000-49e22000 rwxp 00000000 08:02 96952      /dev/zero
49e22000-49e64000 r-xp 00000000 08:03 596986
/usr/lib/libGL.so.1.0.2802 49e64000-49e66000 rw-p 00041000 08:03 596986
   /usr/lib/libGL.so.1.0.2802 49e68000-4a153000 r-xp 00000000 08:03
597047     /usr/lib/libGLcore.so.1.0.2802 4a153000-4a15c000 rw-p
002ea000 08:03 597047     /usr/lib/libGLcore.so.1.0.2802
4a1c5000-4a232000 r-xp 00000000 08:03 16634
/usr/X11R6/lib/libGLU.so.1.3 4a232000-4a243000 rw-p 0006c000 08:03 16634
     /usr/X11R6/lib/libGLU.so.1.3 4a243000-4a279000 r-xp 00000000 08:03
596757     /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so 4a279000-4a28a000
rw-p 00035000 08:03 596757     /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so
4a28d000-4a317000 r-xp 00000000 08:04 486739
/home/pac/jdk1.3.1_02/jre/lib/i386/libfontmanager.so 4a317000-4a327000
rw-p 00089000 08:04 486739
/home/pac/jdk1.3.1_02/jre/lib/i386/libfontmanager.so 4a348000-4a364000
r--p 00000000 08:03 709662     /usr/share/locale/fr/LC_MESSAGES/libc.mo
4a3a4000-4a4aa000 rw-s 00000000 00:05 557058     /SYSV00000000 (deleted)
4a4aa000-4e4aa000 rw-s 10000000 08:02 95634      /dev/nvidia0
4e52b000-4e62d000 rw-s 40000000 08:02 95634      /dev/nvidia0
4e62d000-4e63d000 rw-s 00810000 08:02 95634      /dev/nvidia0
4e73f000-4ec40000 rw-s 40000000 08:02 95634      /dev/nvidia0
4ec40000-4ec41000 rwxp 00000000 08:02 96952      /dev/zero
4ec41000-4ec42000 rwxp 00000000 08:02 96952      /dev/zero
4ec42000-4ec43000 rwxp 00000000 08:02 96952      /dev/zero
4ec43000-4ec44000 rwxp 00000000 08:02 96952      /dev/zero
4ec44000-4ec45000 rwxp 00000000 08:02 96952
/dev/zero--------------------------------------------------------------
-----------------------------------------------------------------------
-------------------------

When I  launch java gl4java.GLContext -info
I've got this report :
-----------------------------------------------------------------------
-----------------------------------------------------------------------
---------------------------------------------- Got 621 / 983 Functions
===============================================

GL4Java-JAWT INFO (eo open): gds=1
GL4Java-JAWT INFO (eo lock): gdsi=1
GL4Java: glXDestroyContext sure 0x81ce3f0
GLContext destroyed (remaining ctx=0)
-----------------------------------------------------------------------
-----------------------------------------------------------------------
----------------------------------------------



-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: