We are making a game using Opengl and Openal development.
There aren’t problem with Windows OS, but in linux, knoppix 3.8.1 we can play opengl but not openal.
I have tested with the file “.openalrc” in the main directory, also in home directory. I have installed the Alsa drivers too. And always the same problems.
This is the errors report:
J@MH:~/Desktop/missionhotel_0.9.6.7.5a/openal_linux3$ sh start.sh
Is direct!
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0xA
Function=[Unknown.]
Library=(N/A)
NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.
Current Java thread:
at org.lwjgl.openal.AL10.nalBufferData(Native Method)
at org.lwjgl.openal.AL10.alBufferData(Unknown Source)
at sound.Test1.loadALData(Test1.java:119)
at sound.Test1.execute(Test1.java:175)
at sound.Test1.main(Test1.java:217)
Dynamic libraries:
08048000-08056000 r-xp 00000000 03:01 246222 /usr/lib/j2se/1.4/jre/bin/java
08056000-08059000 rw-p 0000d000 03:01 246222 /usr/lib/j2se/1.4/jre/bin/java
40000000-40016000 r-xp 00000000 03:01 602816 /lib/ld-2.3.2.so
40016000-40017000 rw-p 00015000 03:01 602816 /lib/ld-2.3.2.so
40027000-40033000 r-xp 00000000 03:01 619769 /lib/tls/libpthread-0.60.so
40033000-40034000 rw-p 0000c000 03:01 619769 /lib/tls/libpthread-0.60.so
40037000-40039000 r-xp 00000000 03:01 619749 /lib/tls/libdl-2.3.2.so
40039000-4003a000 rw-p 00002000 03:01 619749 /lib/tls/libdl-2.3.2.so
4003a000-40163000 r-xp 00000000 03:01 619745 /lib/tls/libc-2.3.2.so
40163000-4016b000 rw-p 00129000 03:01 619745 /lib/tls/libc-2.3.2.so
4016f000-4056b000 r-xp 00000000 03:01 246339 /usr/lib/j2se/1.4/jre/lib/i386/client/libjvm.so
4056b000-40587000 rw-p 003fb000 03:01 246339 /usr/lib/j2se/1.4/jre/lib/i386/client/libjvm.so
40599000-405a1000 r-xp 00000000 03:01 246367 /usr/lib/j2se/1.4/jre/lib/i386/native_threads/libhpi.so
405a1000-405a2000 rw-p 00007000 03:01 246367 /usr/lib/j2se/1.4/jre/lib/i386/native_threads/libhpi.so
405a8000-405b9000 r-xp 00000000 03:01 619754 /lib/tls/libnsl-2.3.2.so
405b9000-405ba000 rw-p 00011000 03:01 619754 /lib/tls/libnsl-2.3.2.so
405bc000-405dd000 r-xp 00000000 03:01 619751 /lib/tls/libm-2.3.2.so
405dd000-405de000 rw-p 00020000 03:01 619751 /lib/tls/libm-2.3.2.so
405de000-405e2000 rw-s 00000000 03:01 481235 /tmp/hsperfdata_J/27881
405ed000-405f4000 r-xp 00000000 03:01 619756 /lib/tls/libnss_compat-2.3.2.so
405f4000-405f5000 rw-p 00006000 03:01 619756 /lib/tls/libnss_compat-2.3.2.so
405f5000-405fd000 r-xp 00000000 03:01 619764 /lib/tls/libnss_nis-2.3.2.so
405fd000-405fe000 rw-p 00007000 03:01 619764 /lib/tls/libnss_nis-2.3.2.so
405fe000-40607000 r-xp 00000000 03:01 619760 /lib/tls/libnss_files-2.3.2.so
40607000-40608000 rw-p 00008000 03:01 619760 /lib/tls/libnss_files-2.3.2.so
40608000-40618000 r-xp 00000000 03:01 246364 /usr/lib/j2se/1.4/jre/lib/i386/libverify.so
40618000-4061a000 rw-p 0000f000 03:01 246364 /usr/lib/j2se/1.4/jre/lib/i386/libverify.so
4061a000-4063a000 r-xp 00000000 03:01 246350 /usr/lib/j2se/1.4/jre/lib/i386/libjava.so
4063a000-4063c000 rw-p 0001f000 03:01 246350 /usr/lib/j2se/1.4/jre/lib/i386/libjava.so
4063c000-40650000 r-xp 00000000 03:01 246365 /usr/lib/j2se/1.4/jre/lib/i386/libzip.so
40650000-40653000 rw-p 00013000 03:01 246365 /usr/lib/j2se/1.4/jre/lib/i386/libzip.so
40653000-41d3d000 r–s 00000000 03:01 246430 /usr/lib/j2se/1.4/jre/lib/rt.jar
41d87000-41d9d000 r–s 00000000 03:01 246437 /usr/lib/j2se/1.4/jre/lib/sunrsasign.jar
41d9d000-41e76000 r–s 00000000 03:01 246386 /usr/lib/j2se/1.4/jre/lib/jsse.jar
41e76000-41e87000 r–s 00000000 03:01 246385 /usr/lib/j2se/1.4/jre/lib/jce.jar
41e87000-423d0000 r–s 00000000 03:01 246271 /usr/lib/j2se/1.4/jre/lib/charsets.jar
4c680000-4c880000 r–p 00000000 03:01 309496 /usr/lib/locale/locale-archive
4c880000-4c881000 r–p 00359000 03:01 309496 /usr/lib/locale/locale-archive
4ca81000-4ca84000 r–s 00000000 03:01 246280 /usr/lib/j2se/1.4/jre/lib/ext/dnsns.jar
4ca84000-4ca91000 r–s 00000000 03:01 246281 /usr/lib/j2se/1.4/jre/lib/ext/ldapsec.jar
4ca91000-4cb4c000 r–s 00000000 03:01 246282 /usr/lib/j2se/1.4/jre/lib/ext/localedata.jar
4cb4c000-4cb68000 r–s 00000000 03:01 246283 /usr/lib/j2se/1.4/jre/lib/ext/sunjce_provider.jar
4cb68000-4cb8f000 r–s 00000000 03:01 546376 /home/J/Desktop/missionhotel_0.9.6.7.5a/openal_linux3/lwjgl.jar
4cb8f000-4cb92000 r–s 00000000 03:01 546377 /home/J/Desktop/missionhotel_0.9.6.7.5a/openal_linux3/sound.jar
4cb92000-4cbbf000 r-xp 00000000 03:01 546373 /home/J/Desktop/missionhotel_0.9.6.7.5a/openal_linux3/liblwjgl.so
4cbbf000-4cbcb000 rw-p 0002d000 03:01 546373 /home/J/Desktop/missionhotel_0.9.6.7.5a/openal_linux3/liblwjgl.so
4cbdb000-4cbe8000 r-xp 00000000 03:01 134782 /usr/X11R6/lib/libXext.so.6.4
4cbe8000-4cbe9000 rw-p 0000c000 03:01 134782 /usr/X11R6/lib/libXext.so.6.4
4cbe9000-4ccad000 r-xp 00000000 03:01 134762 /usr/X11R6/lib/libX11.so.6.2
4ccad000-4ccb0000 rw-p 000c4000 03:01 134762 /usr/X11R6/lib/libX11.so.6.2
4ccb0000-4cd4f000 r-xp 00000000 03:01 249161 /usr/lib/libstdc++.so.5.0.7
4cd4f000-4cd65000 rw-p 0009e000 03:01 249161 /usr/lib/libstdc++.so.5.0.7
4cd6a000-4cd72000 r-xp 00000000 03:01 602857 /lib/libgcc_s.so.1
4cd72000-4cd73000 rw-p 00007000 03:01 602857 /lib/libgcc_s.so.1
4cd73000-4cdaa000 r-xp 00000000 03:01 546375 /home/J/Desktop/missionhotel_0.9.6.7.5a/openal_linux3/libopenal.so
4cdaa000-4cdac000 rw-p 00036000 03:01 546375 /home/J/Desktop/missionhotel_0.9.6.7.5a/openal_linux3/libopenal.so
Heap at VM Abort:
Heap
def new generation total 576K, used 426K [0x44480000, 0x44520000, 0x44960000)
eden space 512K, 83% used [0x44480000, 0x444ea968, 0x44500000)
from space 64K, 0% used [0x44500000, 0x44500000, 0x44510000)
to space 64K, 0% used [0x44510000, 0x44510000, 0x44520000)
tenured generation total 1408K, used 0K [0x44960000, 0x44ac0000, 0x48480000)
the space 1408K, 0% used [0x44960000, 0x44960000, 0x44960200, 0x44ac0000)
compacting perm gen total 4096K, used 1285K [0x48480000, 0x48880000, 0x4c480000)
the space 4096K, 31% used [0x48480000, 0x485c1760, 0x485c1800, 0x48880000)
Local Time = Thu May 12 04:42:21 2005
Elapsed Time = 0
The exception above was detected in native code outside the VM
Java VM: Java HotSpot™ Client VM (1.4.2_06-b03 mixed mode)
An error report file has been saved as hs_err_pid27881.log.
Please refer to the file for further information.
start.sh: line 1: 27881 Abortado java -cp .:lwjgl.jar:sound.jar-Djava.library.path=. sound.Test1
???