Hello Guest

Noobish unsatisified link error

  • 8 Replies
  • 12388 Views
Noobish unsatisified link error
« on: November 01, 2006, 20:39:34 »
I'm kind of clueless why eclipse can't find the native libraries... how does everyone here have their class path/directories setup to use LWJGL and devil easily?

Code: [Select]

Exception in thread "main" java.lang.UnsatisfiedLinkError: nilGenImages
at org.lwjgl.devil.IL.nilGenImages(Native Method)
at org.lwjgl.devil.IL.ilGenImages(IL.java:337)
at com.Texture.loadTexture(Texture.java:162)
at com.TextureMapper.loadTextures(TextureMapper.java:132)
at com.TextureMapper.init(TextureMapper.java:127)
at com.TextureMapper.run(TextureMapper.java:35)
at com.TextureMapper.main(TextureMapper.java:29)


*

Offline Matzon

  • *****
  • 2242
Noobish unsatisified link error
« Reply #1 on: November 01, 2006, 21:19:04 »
IL.create

Noobish unsatisified link error
« Reply #2 on: November 01, 2006, 21:41:27 »
that doesn't seem to fixing anything, when should it be called?

*

Offline Matzon

  • *****
  • 2242
Noobish unsatisified link error
« Reply #3 on: November 01, 2006, 23:31:34 »
before using IL at all
if create fails you have an issue else it should work fine

Noobish unsatisified link error
« Reply #4 on: November 02, 2006, 03:35:23 »
whoops, all my eclipse stuff was getting screwed up, once i fixed that, everything went back to working properly.

Re: Noobish unsatisified link error
« Reply #5 on: December 09, 2006, 16:32:13 »
before using IL at all
if create fails you have an issue else it should work fine

calling IL.create() doesn't help here:
Code: [Select]
private void loadTextures() {
try {
IL.create();
tex = Texture.loadTexture("./data/Crate.bmp", false);
} catch(Exception ex) {
ex.printStackTrace();
System.exit(-1);
}
}
Code: [Select]
  public static Texture loadTexture(String name, boolean flip) throws Exception {
    Texture texture = null;
    ByteBuffer imageData = null;
    int ilImageHandle;
    int oglImageHandle;
    IntBuffer scratch = BufferUtils.createIntBuffer(1);
   
    // create image in DevIL and bind it
    IL.ilGenImages(scratch);
    IL.ilBindImage(scratch.get(0));
    ilImageHandle = scratch.get(0);
 
    // load the image
    if(!IL.ilLoadFromURL(IL.class.getClassLoader().getResource(name))) {
      return null;
    }
   
    // convert image to RGBA
    IL.ilConvertImage(IL.IL_RGBA, IL.IL_BYTE);
   
    // flip if needed
    if(flip) {
      ILU.iluFlipImage();
    }
   
    // get image attributes
    int width = IL.ilGetInteger(IL.IL_IMAGE_WIDTH);
    int height = IL.ilGetInteger(IL.IL_IMAGE_HEIGHT);
    int textureWidthSize = getNextPowerOfTwo(width);
    int textureHeightSize = getNextPowerOfTwo(height);
   
    // resize image according to poweroftwo
    if (textureWidthSize != width || textureHeightSize != height) {
      imageData = BufferUtils.createByteBuffer(textureWidthSize * textureHeightSize * 4);
      IL.ilCopyPixels(0, 0, 0, textureWidthSize, textureHeightSize, 1, IL.IL_RGBA, IL.IL_BYTE, imageData);
    } else {
      imageData = IL.ilGetData();
    }
   
    // create OpenGL counterpart
    GL11.glGenTextures(scratch);
    GL11.glBindTexture(GL11.GL_TEXTURE_2D, scratch.get(0));
    oglImageHandle = scratch.get(0);
   
    GL11.glTexParameteri(GL11.GL_TEXTURE_2D, GL11.GL_TEXTURE_MIN_FILTER, GL11.GL_LINEAR);
    GL11.glTexParameteri(GL11.GL_TEXTURE_2D, GL11.GL_TEXTURE_MAG_FILTER, GL11.GL_LINEAR);
    GL11.glTexImage2D(GL11.GL_TEXTURE_2D, 0, GL11.GL_RGBA, textureWidthSize, textureHeightSize,
                      0, GL11.GL_RGBA, GL11.GL_UNSIGNED_BYTE, imageData);
   
    // Create image (either resized by copying, else directly from IL)
    if (textureWidthSize != width || textureHeightSize != height) {
      texture = new Texture(oglImageHandle, width, height, (width / (float) textureWidthSize),
                           (height / (float) textureHeightSize), textureWidthSize, textureHeightSize);
    } else {
      texture = new Texture(oglImageHandle, width, height);
    }
   
    // delete Image in DevIL
    scratch.put(0, ilImageHandle);
    IL.ilDeleteImages(scratch);
   
    // revert the gl state back to the default so that accidental texture binding doesn't occur
    GL11.glBindTexture(GL11.GL_TEXTURE_2D, 0);
   
    // return OpenGL texture handle
    return texture;
  }

This is the ouput:
Code: [Select]
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0xb1d86a2a, pid=20179, tid=3084834480
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_08-b03 mixed mode, sharing)
# Problematic frame:
# C  [libX11.so.6+0x33a2a]  XSync+0x3a
#
# An error report file with more information is saved as hs_err_pid20179.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#


Can anybody help? Do you need the full error log file?

*

Offline Matzon

  • *****
  • 2242
Re: Noobish unsatisified link error
« Reply #6 on: December 10, 2006, 08:34:57 »
yes

Re: Noobish unsatisified link error
« Reply #7 on: December 10, 2006, 11:05:41 »
Hi,
simply calling IL.create() causes this error log file:
Code: [Select]
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0xb7e83723, pid=12624, tid=3085002416
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_08-b03 mixed mode, sharing)
# Problematic frame:
# C  [libc.so.6+0x6c723]  strcpy+0x13
#

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

Current thread (0x0805ccc0):  JavaThread "main" [_thread_in_native, id=12624]

siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000000

Registers:
EAX=0x0000002f, EBX=0xb7f46ff4, ECX=0x406caac0, EDX=0xbf935540
ESP=0xbf935528, EBP=0xbf93552c, ESI=0x00000000, EDI=0x00000000
EIP=0xb7e83723, CR2=0x00000000, EFLAGS=0x00210207

Top of Stack: (sp=0xbf935528)
0xbf935528:   bf935540 bf93654c b7ed57a6 00000000
0xbf935538:   bf935540 000002d8 64656d2f 732f6169
0xbf935548:   2f326164 74666f53 65726177 6c63452f
0xbf935558:   65737069 726f575f 6170736b 4c2f6563
0xbf935568:   4c474a57 74736554 73676e69 00000000
0xbf935578:   666f532f 72617774 63452f65 7370696c
0xbf935588:   6f575f65 70736b72 2f656361 474a574c
0xbf935598:   7365544c b7f573f7 776c2f73 2e6c676a

Instructions: (pc=0xb7e83723)
0xb7e83713:   56 8b 75 08 8b 45 0c 89 f1 29 c1 89 c2 0f b6 02
0xb7e83723:   88 04 0a 83 c2 01 84 c0 75 f3 89 f0 5e 5d c3 90

Stack: [0xbf73c000,0xbf93c000),  sp=0xbf935528,  free space=2021k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libc.so.6+0x6c723]  strcpy+0x13
C  [libc.so.6+0xbe7a6]  getwd+0x46
C  [liblwjgl-devil.so+0x2b18]  vfprintf+0x2b18
C  [liblwjgl-devil.so+0x4239]  Java_org_lwjgl_devil_ILNative_nCreateIL+0x29
j  org.lwjgl.devil.ILNative.nCreateIL([Ljava/lang/String;)V+0
j  org.lwjgl.devil.ILNative.createIL()V+64
j  org.lwjgl.devil.IL.create()V+7
j  lwjgltestings.MyLWJGLApp.initTextures()V+0
j  lwjgltestings.MyLWJGLApp.init()V+9
j  lwjgltestings.MyLWJGLApp.run()V+1
j  lwjgltestings.MyLWJGLApp.main([Ljava/lang/String;)V+7
v  ~StubRoutines::call_stub
V  [libjvm.so+0x17a75c]
V  [libjvm.so+0x28afd8]
V  [libjvm.so+0x17a58f]
V  [libjvm.so+0x1a4e32]
V  [libjvm.so+0x196042]
C  [java+0x1873]
C  [libc.so.6+0x158cc]  __libc_start_main+0xdc

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.lwjgl.devil.ILNative.nCreateIL([Ljava/lang/String;)V+0
j  org.lwjgl.devil.ILNative.createIL()V+64
j  org.lwjgl.devil.IL.create()V+7
j  lwjgltestings.MyLWJGLApp.initTextures()V+0
j  lwjgltestings.MyLWJGLApp.init()V+9
j  lwjgltestings.MyLWJGLApp.run()V+1
j  lwjgltestings.MyLWJGLApp.main([Ljava/lang/String;)V+7
v  ~StubRoutines::call_stub

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

Java Threads: ( => current thread )
  0x0839cae0 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=12637]
  0x08316448 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=12636]
  0x080a6d38 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=12634]
  0x080a5790 JavaThread "CompilerThread0" daemon [_thread_in_vm, id=12633]
  0x080a4780 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=12632]
  0x0809d058 JavaThread "Finalizer" daemon [_thread_blocked, id=12631]
  0x0809c338 JavaThread "Reference Handler" daemon [_thread_blocked, id=12630]
=>0x0805ccc0 JavaThread "main" [_thread_in_native, id=12624]

Other Threads:
  0x08099780 VMThread [id=12629]
  0x080a8220 WatcherThread [id=12635]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 576K, used 416K [0x88990000, 0x88a30000, 0x88e70000)
  eden space 512K,  68% used [0x88990000, 0x889e8268, 0x88a10000)
  from space 64K, 100% used [0x88a10000, 0x88a20000, 0x88a20000)
  to   space 64K,   0% used [0x88a20000, 0x88a20000, 0x88a30000)
 tenured generation   total 1408K, used 349K [0x88e70000, 0x88fd0000, 0x8c990000)
   the space 1408K,  24% used [0x88e70000, 0x88ec7718, 0x88ec7800, 0x88fd0000)
 compacting perm gen  total 8192K, used 831K [0x8c990000, 0x8d190000, 0x90990000)
   the space 8192K,  10% used [0x8c990000, 0x8ca5feb0, 0x8ca60000, 0x8d190000)
    ro space 8192K,  68% used [0x90990000, 0x90f0eaf8, 0x90f0ec00, 0x91190000)
    rw space 12288K,  48% used [0x91190000, 0x91759d78, 0x91759e00, 0x91d90000)

Dynamic libraries:
08048000-08057000 r-xp 00000000 08:01 1646530    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/bin/java
08057000-08059000 rwxp 0000e000 08:01 1646530    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/bin/java
08059000-08602000 rwxp 08059000 00:00 0          [heap]
88990000-88a30000 rwxp 88990000 00:00 0
88a30000-88e70000 rwxp 88a30000 00:00 0
88e70000-88fd0000 rwxp 88e70000 00:00 0
88fd0000-8c990000 rwxp 88fd0000 00:00 0
8c990000-8d190000 rwxp 8c990000 00:00 0
8d190000-90990000 rwxp 8d190000 00:00 0
90990000-90f0f000 r-xs 00001000 08:01 1646723    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386/client/classes.jsa
90f0f000-91190000 rwxp 90f0f000 00:00 0
91190000-9175a000 rwxp 00580000 08:01 1646723    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386/client/classes.jsa
9175a000-91d90000 rwxp 9175a000 00:00 0
91d90000-91e60000 rwxp 00b4a000 08:01 1646723    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386/client/classes.jsa
91e60000-92190000 rwxp 91e60000 00:00 0
92190000-92194000 r-xs 00c1a000 08:01 1646723    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386/client/classes.jsa
92194000-92590000 rwxp 92194000 00:00 0
a7eb0000-a7eb7000 r-xp 00000000 08:02 1063730    /media/sda2/Software/Eclipse_Workspace/LWJGLTestings/libs/linux/liblwjgl-devil.so
a7eb7000-a7eb8000 rwxp 00007000 08:02 1063730    /media/sda2/Software/Eclipse_Workspace/LWJGLTestings/libs/linux/liblwjgl-devil.so
a7eb8000-a7ec1000 rwxp b1c71000 00:00 0
a7ec1000-a7ee6000 rwxp a7ec1000 00:00 0
a7ee6000-a82ce000 rwxs 0000a000 00:0d 9020       /dev/dri/card0
a82ce000-a86b6000 rwxs 00009000 00:0d 9020       /dev/dri/card0
a86b6000-a8842000 rwxp a86b6000 00:00 0
a8848000-a8888000 rwxp a8848000 00:00 0
a8888000-a888b000 rwxs 0009a000 00:0d 9020       /dev/dri/card0
a888b000-a88cc000 rwxp a888b000 00:00 0
a88cc000-a88e8000 r-xp 00000000 08:01 1628938    /usr/lib/X11/locale/common/ximcp.so.2.0.0
a88e8000-a88ea000 rwxp 0001b000 08:01 1628938    /usr/lib/X11/locale/common/ximcp.so.2.0.0
a88ea000-a8a2a000 rwxs 00097000 00:0d 9020       /dev/dri/card0
a8a2a000-a906a000 rwxs 00007000 00:0d 9020       /dev/dri/card0
a906a000-a916a000 rwxs 00006000 00:0d 9020       /dev/dri/card0
a916a000-a917a000 rwxs 00004000 00:0d 9020       /dev/dri/card0
a917a000-b115a000 rwxs 00003000 00:0d 9020       /dev/dri/card0
b115a000-b1164000 r-xp 00000000 08:01 211811     /lib/libgcc_s.so.1
b1164000-b1165000 rwxp 00009000 08:01 211811     /lib/libgcc_s.so.1
b1165000-b116c000 r-xp 00000000 08:01 244891     /lib/tls/i686/cmov/librt-2.4.so
b116c000-b116e000 rwxp 00006000 08:01 244891     /lib/tls/i686/cmov/librt-2.4.so
b116e000-b121e000 r-xp 00000000 08:01 1598159    /usr/lib/libstdc++.so.5.0.7
b121e000-b1223000 rwxp 000af000 08:01 1598159    /usr/lib/libstdc++.so.5.0.7
b1223000-b1228000 rwxp b1223000 00:00 0
b1228000-b1a35000 r-xp 00000000 08:01 1612714    /usr/lib/dri/fglrx_dri.so
b1a35000-b1a7e000 rwxp 0080d000 08:01 1612714    /usr/lib/dri/fglrx_dri.so
b1a7e000-b1b08000 rwxp b1a7e000 00:00 0
b1b08000-b1ba0000 r-xp 00000000 08:01 1598988    /usr/lib/libGL.so.1.2
b1ba0000-b1ba5000 rwxp 00098000 08:01 1598988    /usr/lib/libGL.so.1.2
b1ba5000-b1ba8000 rwxp b1ba5000 00:00 0
b1ba8000-b1baa000 r-xp 00000000 08:01 1597511    /usr/lib/libXrandr.so.2.0.0
b1baa000-b1bab000 rwxp 00002000 08:01 1597511    /usr/lib/libXrandr.so.2.0.0
b1bab000-b1baf000 r-xp 00000000 08:01 1597527    /usr/lib/libXxf86vm.so.1.0.0
b1baf000-b1bb0000 rwxp 00003000 08:01 1597527    /usr/lib/libXxf86vm.so.1.0.0
b1bb0000-b1be0000 r-xp 00000000 08:02 1064925    /media/sda2/Software/Eclipse_Workspace/LWJGLTestings/libs/linux/liblwjgl.so
b1be0000-b1be1000 rwxp 00030000 08:02 1064925    /media/sda2/Software/Eclipse_Workspace/LWJGLTestings/libs/linux/liblwjgl.so
b1be1000-b1be4000 ---p b1be1000 00:00 0
b1be4000-b1c62000 rwxp b1be4000 00:00 0
b1c62000-b1c66000 r-xp 00000000 08:01 1597493    /usr/lib/libXfixes.so.3.1.0
b1c66000-b1c67000 rwxp 00003000 08:01 1597493    /usr/lib/libXfixes.so.3.1.0
b1c67000-b1c6e000 r-xp 00000000 08:01 1597513    /usr/lib/libXrender.so.1.3.0
b1c6e000-b1c6f000 rwxp 00006000 08:01 1597513    /usr/lib/libXrender.so.1.3.0
b1c76000-b1c7e000 rwxp b1c76000 00:00 0
b1c7e000-b1c81000 ---p b1c7e000 00:00 0
b1c81000-b1cff000 rwxp b1c81000 00:00 0
b1cff000-b1d66000 r-xp 00000000 08:01 1646576    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386/libfontmanager.so
b1d66000-b1d70000 rwxp 00067000 08:01 1646576    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386/libfontmanager.so
b1d70000-b1d74000 rwxp b1d70000 00:00 0
b1d74000-b1d78000 r-xp 00000000 08:01 1597487    /usr/lib/libXdmcp.so.6.0.0
b1d78000-b1d79000 rwxp 00003000 08:01 1597487    /usr/lib/libXdmcp.so.6.0.0
b1d79000-b1d7b000 r-xp 00000000 08:01 1597478    /usr/lib/libXau.so.6.0.0
b1d7b000-b1d7c000 rwxp 00001000 08:01 1597478    /usr/lib/libXau.so.6.0.0
b1d7c000-b1e42000 r-xp 00000000 08:01 1597472    /usr/lib/libX11.so.6.2.0
b1e42000-b1e45000 rwxp 000c5000 08:01 1597472    /usr/lib/libX11.so.6.2.0
b1e45000-b1e51000 r-xp 00000000 08:01 1597491    /usr/lib/libXext.so.6.4.0
b1e51000-b1e52000 rwxp 0000c000 08:01 1597491    /usr/lib/libXext.so.6.4.0
b1e52000-b1e54000 rwxs 00002000 00:0d 9020       /dev/dri/card0
b1e54000-b1e55000 r-xp 00000000 08:01 1646582    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386/libjawt.so
b1e55000-b1e56000 rwxp 00000000 08:01 1646582    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386/libjawt.so
b1e56000-b1e5e000 r-xp 00000000 08:01 1597483    /usr/lib/libXcursor.so.1.0.2
b1e5e000-b1e5f000 rwxp 00007000 08:01 1597483    /usr/lib/libXcursor.so.1.0.2
b1e5f000-b1e60000 r-xp 00000000 08:01 1628942    /usr/lib/X11/locale/common/xlcUTF8Load.so.2.0.0
b1e60000-b1e61000 rwxp 00000000 08:01 1628942    /usr/lib/X11/locale/common/xlcUTF8Load.so.2.0.0
b1e61000-b1e8f000 r-xp 00000000 08:01 1661378    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386/xawt/libmawt.so
b1e8f000-b1e92000 rwxp 0002e000 08:01 1661378    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386/xawt/libmawt.so
b1e92000-b1e93000 rwxp b1e92000 00:00 0
b1e93000-b1f59000 r-xp 00000000 08:01 1646572    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386/libmlib_image.so
b1f59000-b1f5a000 rwxp 000c5000 08:01 1646572    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386/libmlib_image.so
b1f5a000-b1fba000 r-xp 00000000 08:01 1646573    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386/libawt.so
b1fba000-b1fc0000 rwxp 0005f000 08:01 1646573    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386/libawt.so
b1fc0000-b1fe4000 rwxp b1fc0000 00:00 0
b1fe4000-b1fe8000 r-xs 00000000 08:02 1063720    /media/sda2/Software/Eclipse_Workspace/LWJGLTestings/lwjgl_devil.jar
b1fe8000-b2060000 r-xs 00000000 08:02 1064921    /media/sda2/Software/Eclipse_Workspace/LWJGLTestings/lwjgl.jar
b2060000-b2062000 r-xs 00000000 08:01 1662000    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/ext/dnsns.jar
b2062000-b2126000 r-xs 00000000 08:01 1662001    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/ext/localedata.jar
b2126000-b2151000 r-xs 00000000 08:01 1661384    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/ext/sunpkcs11.jar
b2151000-b2178000 r-xs 00000000 08:01 1661999    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/ext/sunjce_provider.jar
b2178000-b2179000 ---p b2178000 00:00 0
b2179000-b21f9000 rwxp b2179000 00:00 0
b21f9000-b21fc000 ---p b21f9000 00:00 0
b21fc000-b227a000 rwxp b21fc000 00:00 0
b227a000-b227d000 ---p b227a000 00:00 0
b227d000-b22fb000 rwxp b227d000 00:00 0
b22fb000-b22fe000 ---p b22fb000 00:00 0
b22fe000-b237c000 rwxp b22fe000 00:00 0
b237c000-b2383000 r-xs 00000000 08:01 830923     /usr/lib/gconv/gconv-modules.cache
b2383000-b23b6000 r-xp 00000000 08:01 1646955    /usr/lib/locale/en_US.utf8/LC_CTYPE
b23b6000-b23b9000 ---p b23b6000 00:00 0
b23b9000-b2437000 rwxp b23b9000 00:00 0
b2437000-b243a000 ---p b2437000 00:00 0
b243a000-b24b8000 rwxp b243a000 00:00 0
b24b8000-b24b9000 ---p b24b8000 00:00 0
b24b9000-b253e000 rwxp b24b9000 00:00 0
b253e000-b255a000 rwxp b253e000 00:00 0
b255a000-b255b000 rwxp b255a000 00:00 0
b255b000-b2578000 rwxp b255b000 00:00 0
b2578000-b2579000 rwxp b2578000 00:00 0
b2579000-b257a000 rwxp b2579000 00:00 0
b257a000-b257c000 rwxp b257a000 00:00 0
b257c000-b2598000 rwxp b257c000 00:00 0
b2598000-b259c000 rwxp b2598000 00:00 0
b259c000-b25b8000 rwxp b259c000 00:00 0
b25b8000-b25c6000 rwxp b25b8000 00:00 0
b25c6000-b2643000 rwxp b25c6000 00:00 0
b2643000-b2703000 rwxp b2643000 00:00 0
b2703000-b4643000 rwxp b2703000 00:00 0
b4643000-b4eb3000 r-xs 00000000 08:01 1646667    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/charsets.jar
b4eb3000-b4ec8000 r-xs 00000000 08:01 1646666    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/jce.jar
b4ec8000-b4f4d000 r-xs 00000000 08:01 1646665    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/jsse.jar
b4f4d000-b4fb6000 rwxp b4f4d000 00:00 0
b4fb6000-b75cc000 r-xs 00000000 08:01 1646617    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/rt.jar
b75cc000-b75db000 r-xp 00000000 08:01 1646562    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386/libzip.so
b75db000-b75dd000 rwxp 0000e000 08:01 1646562    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386/libzip.so
b75dd000-b75fe000 r-xp 00000000 08:01 1646561    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386/libjava.so
b75fe000-b7600000 rwxp 00020000 08:01 1646561    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386/libjava.so
b7600000-b760b000 r-xp 00000000 08:01 1646560    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386/libverify.so
b760b000-b760c000 rwxp 0000b000 08:01 1646560    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386/libverify.so
b760c000-b7615000 r-xp 00000000 08:01 244878     /lib/tls/i686/cmov/libnss_files-2.4.so
b7615000-b7617000 rwxp 00008000 08:01 244878     /lib/tls/i686/cmov/libnss_files-2.4.so
b7617000-b761f000 r-xp 00000000 08:01 244882     /lib/tls/i686/cmov/libnss_nis-2.4.so
b761f000-b7621000 rwxp 00007000 08:01 244882     /lib/tls/i686/cmov/libnss_nis-2.4.so
b7621000-b7628000 r-xp 00000000 08:01 244874     /lib/tls/i686/cmov/libnss_compat-2.4.so
b7628000-b762a000 rwxp 00006000 08:01 244874     /lib/tls/i686/cmov/libnss_compat-2.4.so
b762a000-b763c000 r-xp 00000000 08:01 244872     /lib/tls/i686/cmov/libnsl-2.4.so
b763c000-b763e000 rwxp 00011000 08:01 244872     /lib/tls/i686/cmov/libnsl-2.4.so
b763e000-b7647000 rwxp b763e000 00:00 0
b7647000-b764f000 rwxs 00000000 08:01 586428     /tmp/hsperfdata_mathias/12624
b764f000-b7673000 r-xp 00000000 08:01 244869     /lib/tls/i686/cmov/libm-2.4.so
b7673000-b7675000 rwxp 00023000 08:01 244869     /lib/tls/i686/cmov/libm-2.4.so
b7675000-b79e1000 r-xp 00000000 08:01 1646555    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386/client/libjvm.so
b79e1000-b7a00000 rwxp 0036b000 08:01 1646555    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386/client/libjvm.so
b7a00000-b7e17000 rwxp b7a00000 00:00 0
b7e17000-b7f44000 r-xp 00000000 08:01 244861     /lib/tls/i686/cmov/libc-2.4.so
b7f44000-b7f46000 r-xp 0012c000 08:01 244861     /lib/tls/i686/cmov/libc-2.4.so
b7f46000-b7f48000 rwxp 0012e000 08:01 244861     /lib/tls/i686/cmov/libc-2.4.so
b7f48000-b7f4c000 rwxp b7f48000 00:00 0
b7f4c000-b7f4e000 r-xp 00000000 08:01 244867     /lib/tls/i686/cmov/libdl-2.4.so
b7f4e000-b7f50000 rwxp 00001000 08:01 244867     /lib/tls/i686/cmov/libdl-2.4.so
b7f50000-b7f5f000 r-xp 00000000 08:01 244887     /lib/tls/i686/cmov/libpthread-2.4.so
b7f5f000-b7f61000 rwxp 0000f000 08:01 244887     /lib/tls/i686/cmov/libpthread-2.4.so
b7f61000-b7f63000 rwxp b7f61000 00:00 0
b7f63000-b7f64000 rwxs 00005000 00:0d 9020       /dev/dri/card0
b7f64000-b7f69000 rwxp b7f64000 00:00 0
b7f69000-b7f6f000 r-xp 00000000 08:01 1646550    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386/native_threads/libhpi.so
b7f6f000-b7f70000 rwxp 00006000 08:01 1646550    /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386/native_threads/libhpi.so
b7f70000-b7f71000 rwxp b7f70000 00:00 0
b7f71000-b7f72000 r-xp b7f71000 00:00 0
b7f72000-b7f74000 rwxp b7f72000 00:00 0
b7f74000-b7f8d000 r-xp 00000000 08:01 211766     /lib/ld-2.4.so
b7f8d000-b7f8f000 rwxp 00018000 08:01 211766     /lib/ld-2.4.so
bf73c000-bf73f000 ---p bf73c000 00:00 0
bf73f000-bf93c000 rwxp bf73f000 00:00 0          [stack]
ffffe000-fffff000 ---p 00000000 00:00 0          [vdso]

VM Arguments:
jvm_args: -Djava.library.path=./libs/linux/
java_command: lwjgltestings.MyLWJGLApp
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
USERNAME=mathias
LD_LIBRARY_PATH=/usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386/client:/usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386:/usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/../lib/i386:/usr/lib/firefox/
SHELL=/bin/bash
DISPLAY=:0.0

Signal Handlers:
SIGSEGV: [libjvm.so+0x325bd0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGBUS: [libjvm.so+0x325bd0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGFPE: [libjvm.so+0x28a010], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGPIPE: [libjvm.so+0x28a010], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGILL: [libjvm.so+0x28a010], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: [libjvm.so+0x28c460], sa_mask[0]=0x00000004, sa_flags=0x10000004
SIGHUP: [libjvm.so+0x28be90], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGINT: [libjvm.so+0x28be90], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGQUIT: [libjvm.so+0x28be90], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGTERM: [libjvm.so+0x28be90], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004


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

OS:testing/unstable

uname:Linux 2.6.17-10-generic #2 SMP Fri Oct 13 18:45:35 UTC 2006 i686
libc:glibc 2.4 NPTL 2.4
rlimit: STACK 8192k, CORE 0k, NPROC infinity, NOFILE 1024, AS infinity
load average:0.56 0.72 0.54

CPU:total 1 (cores per cpu 1, threads per core 1) family 6 model 13 stepping 8, cmov, cx8, fxsr, mmx, sse, sse2

Memory: 4k page, physical 1035560k(253164k free), swap 2048276k(2048276k free)

vm_info: Java HotSpot(TM) Client VM (1.5.0_08-b03) for linux-x86, built on Jul 11 2006 09:55:52 by java_re with gcc 3.2.1-7a (J2SE release)



*

Offline Matzon

  • *****
  • 2242
Re: Noobish unsatisified link error
« Reply #8 on: December 10, 2006, 19:55:11 »
that bug is fixed in cvs, what I was wondering about was this part of the stacktrace:
# C  [libX11.so.6+0x33a2a]  XSync+0x3a

which isn't on your second stacktrace