I'm sorry. I should have been more specific about the image problem.

The Image tool compiles but gets packet warnings at runtime, and it never 
completes the operation.
Here is part of the log:

Uploading Texture...
Info: Found 1 appended acks
WARNING: Blocks(): end of packet in 4-byte U32 field 
ConfirmXferPacket.XferID.Packet (13/16)
Info: Found 1 appended acks
....
Info: Received a duplicate KillObject, sequence=477, resent=Yes
The thread '<No Name>' (0x298) has exited with code 0 (0x0).
The thread '<No Name>' (0x904) has exited with code 0 (0x0).
The thread 0xc90 has exited with code 0 (0x0).


I looked at the code the creates the message, and found that as far as I can 
tell, it is wrongly
assuming that there is an "appended ack" on a massage:

        // Get the packet body's length so we can do bounds checking
        int length = Data.Length;
        if ((Data[0] & Helpers.MSG_APPENDED_ACKS) != 0)
                length -= Data[Data.Length - 1] * 4 + 1;

The condition is true, but from what i can tell there isn't anything extra on 
the end of the packet.
So it subtracts 1 from the packet length, causing the bounds checking to fail. 
If I comment out this
condition, image upload still doesn't work, however.

William



_______________________________________________
libsecondlife-dev mailing list
libsecondlife-dev@gna.org
https://mail.gna.org/listinfo/libsecondlife-dev
http://www.libsecondlife.org/

Reply via email to