Issue Details (XML | Word | Printable)

Key: LIBOMV-350
Type: Bug Bug
Status: Closed Closed
Resolution: Cannot Reproduce
Priority: Minor Minor
Assignee: Unassigned
Reporter: John Sohn
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
libopenmetaverse

WHEN ONNEWPRIM , ONIMAGERECEIVED, AND ONOBJECTPROPERTIES EVENT HANDLERS ACTIVE, CLIENT WILL NOT TELEPORT

Created: 10/Aug/08 07:49 PM   Updated: 09/Sep/08 01:44 AM
Component/s: None
Affects Version/s: None
Fix Version/s: 0.6.0

Environment: .NET / Windows32
Steps to Reproduce:
1. create a gridclient
2. assign normal event handlers (onlogin etc)
3. assign event handlers like the followies

myclient.Objects.OnNewPrim += new ObjectManager.NewPrimCallback(Objects_OnNewPrim);
myclient.Assets.OnImageReceived += new AssetManager.ImageReceivedCallback(Assets_OnImageReceived);
myclient.Assets.OnImageReceiveProgress += new AssetManager.ImageReceiveProgressCallback(Assets_OnImageReceiveProgress);
myclient.Self.OnInstantMessage += new AgentManager.InstantMessageCallback(Self_OnInstantMessage);
myclient.Self.OnTeleport += new AgentManager.TeleportCallback(Self_OnTeleport); myclient.Objects.OnObjectProperties += new ObjectManager.ObjectPropertiesCallback(Objects_OnObjectProperties);

4. connect to sl
5. attempt send a teleport request to your client from a different avatar
6. when the client accepts teleport lure, it will not move.

please note while all this is happening my client is knee deep in trying to gather rendering data, (attempting to make my own specialized opengl GUI) so all that overhead my be whats causing it to bog down.



 Description  « Hide
I have noticed that if i do any kind of asset or prim processing, that teleportation will not work.

If I do not add event handlers to ONNEWPRIM, ONIMAGERECEIVED AND ONOBJECTPROPERTIES, teleporting works fine via the normal manner of testing the instant message dialog type for a teleport lure, and then responding,

I fix this by removing the event handlers when an instant message is received that deals with a teleport, however if I do not do this, the teleport hangs indefinately and my client never moves.

I'm guessing this has something to do with too many threads occuring at once, even though I use "begininvoke" inside each event handler.



 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Jim Radford added a comment - 09/Sep/08 01:43 AM
John,

which version of the library are you using, and are you getting any exceptions? Sounds possibly like a threading issue where you are possibly not giving up enough resources for the library to perform the requested functions

Jim


Jim Radford added a comment - 09/Sep/08 01:44 AM
Closing issue, appears to be local environment not library