6 messages in net.java.dev.jna.usersRe: Failed build of repository
FromSent OnAttachments
Richard OteroDec 18, 2007 1:03 pm.log
Timothy WallDec 18, 2007 2:04 pm 
Timothy WallDec 18, 2007 8:09 pm 
Richard OteroDec 19, 2007 10:26 am.log
Timothy WallDec 19, 2007 10:46 am 
Richard OteroDec 19, 2007 5:51 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Failed build of repositoryActions...
From:Richard Otero (rich@gmail.com)
Date:Dec 19, 2007 5:51:45 pm
List:net.java.dev.jna.users

Pointer els = p.getPointer(Pointer.SIZE + 4); // try changing the offset to Pointer.SIZE*2

By making this change; it passed each of the tests on my 64 bit machine without a problem.

I created a 32 bit virtual machine of Ubuntu and was able to build the repository without any changes.

Info on p variable from testNestedStructureTypeInfo: Native Allocated Memory <0x2aaaf190b050> (24 bytes)

Dump 24 bytes of this memory to see what it looks like. You should expect this structure:

8 bytes - size, offset 0 2 bytes - alignment, offset 8 2 bytes - type = 13, offset 10 8 bytes - pointer, offset 16

If the last field is not null, dump 24 bytes from that address. This is the type information for each field; the first 8 bytes should be the same as s.inner.getTypeInfo().

What tool do you normally use to view specific memory dumps? I might need to use it to help debug future efforts.

Is there a table that maps the 2 byte value for type to double, int, pointer, etc?

Thank you for the new functionality!

Richard