Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007702opensim[GRID] Other Servicepublic2015-08-23 13:142017-08-19 14:21
Reportersmxy 
Assigned To 
PriorityhighSeveritymajorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0007702: pCampBots broken on current Dev Master HEAD.
DescriptionI've been using this bots script for the past few weeks to do various testing. After updating to Dev Master HEAD (a9beee7 - r26193) today, my bots fail to connect. The bots script runs: mono pCampBot.exe -loginuri http://sanctuary.homelinux.org:8012 [^] -firstname Boingo -lastname Bot -password aPassword -n 10 -s last -f 0 -b n

If I revert back to my previous OpenSim version (0b5385f - r26161), this works again.

[ste@sa5 bin]$ bots
[BOT MANAGER]: Creating bot Boingo Bot_0, behaviours are None
[BOT MANAGER]: Creating bot Boingo Bot_1, behaviours are None
[BOT MANAGER]: Creating bot Boingo Bot_2, behaviours are None
[BOT MANAGER]: Creating bot Boingo Bot_3, behaviours are None
[BOT MANAGER]: Creating bot Boingo Bot_4, behaviours are None
[BOT MANAGER]: Creating bot Boingo Bot_5, behaviours are None
[BOT MANAGER]: Creating bot Boingo Bot_6, behaviours are None
[BOT MANAGER]: Creating bot Boingo Bot_7, behaviours are None
[BOT MANAGER]: Creating bot Boingo Bot_8, behaviours are None
[BOT MANAGER]: Creating bot Boingo Bot_9, behaviours are None
pCampbot# connect
Connecting 10 bots
15:55:00.083 - [BOT MANAGER]: Starting 10 bots connecting to http://sanctuary.homelinux.org:8012, [^] location last, named Boingo Bot_<n>
15:55:00.106 - [BOT MANAGER]: Delay between logins is 5000ms
15:55:00.107 - [BOT MANAGER]: BotsSendAgentUpdates is True
15:55:00.107 - [BOT MANAGER]: InitBotRequestObjectTextures is True
15:55:01.415 - [BOT]: Bot Boingo Bot_0 ConnectingToSim in Network_LoginProcess
15:55:01.433 - <Boingo Bot_0>: Connecting to (65.78.40.167:7025)
pCampbot#
Unhandled Exception:
System.ArgumentException: method argument length mismatch
  at System.Delegate.CreateDelegate (System.Type type, System.Object firstArgument, System.Reflection.MethodInfo method, Boolean throwOnBindFailure, Boolean allowClosed) [0x00000] in <filename unknown>:0
  at System.Delegate.CreateDelegate (System.Type type, System.Object firstArgument, System.Reflection.MethodInfo method) [0x00000] in <filename unknown>:0
  at OpenMetaverse.WorkPoolDynamic.QueueUserWorkItem (System.Threading.WaitCallback callback, System.Object state) [0x00000] in <filename unknown>:0
  at OpenMetaverse.WorkPool.QueueUserWorkItem (System.Threading.WaitCallback callback, System.Object state) [0x00000] in <filename unknown>:0
  at OpenMetaverse.PacketEventDictionary.RaiseEvent (PacketType packetType, OpenMetaverse.Packets.Packet packet, OpenMetaverse.Simulator simulator) [0x00000] in <filename unknown>:0
  at OpenMetaverse.NetworkManager.IncomingPacketHandler () [0x00000] in <filename unknown>:0
  at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: method argument length mismatch
  at System.Delegate.CreateDelegate (System.Type type, System.Object firstArgument, System.Reflection.MethodInfo method, Boolean throwOnBindFailure, Boolean allowClosed) [0x00000] in <filename unknown>:0
  at System.Delegate.CreateDelegate (System.Type type, System.Object firstArgument, System.Reflection.MethodInfo method) [0x00000] in <filename unknown>:0
  at OpenMetaverse.WorkPoolDynamic.QueueUserWorkItem (System.Threading.WaitCallback callback, System.Object state) [0x00000] in <filename unknown>:0
  at OpenMetaverse.WorkPool.QueueUserWorkItem (System.Threading.WaitCallback callback, System.Object state) [0x00000] in <filename unknown>:0
  at OpenMetaverse.PacketEventDictionary.RaiseEvent (PacketType packetType, OpenMetaverse.Packets.Packet packet, OpenMetaverse.Simulator simulator) [0x00000] in <filename unknown>:0
  at OpenMetaverse.NetworkManager.IncomingPacketHandler () [0x00000] in <filename unknown>:0
  at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0
[ste@sa5 bin]$
TagsNo tags attached.
Git Revision or version numbera9beee7 - r26193
Run Mode Grid (1 Region per Sim)
Physics EngineBulletSim
EnvironmentMono / Linux64
Mono Version4.0.1
Viewer
Attached Files

- Relationships

-  Notes
(0029363)
smxy (reporter)
2015-08-23 13:49

The error, with --debug in use:

Unhandled Exception:
System.ArgumentException: method argument length mismatch
  at System.Delegate.CreateDelegate (System.Type type, System.Object firstArgument, System.Reflection.MethodInfo method, Boolean throwOnBindFailure, Boolean allowClosed) [0x00381] in /root/j/mono-4.0.1.43/mono-4.0.1/mcs/class/corlib/System/Delegate.cs:288
  at System.Delegate.CreateDelegate (System.Type type, System.Object firstArgument, System.Reflection.MethodInfo method) [0x00000] in /root/j/mono-4.0.1.43/mono-4.0.1/mcs/class/corlib/System/Delegate.cs:293
  at OpenMetaverse.WorkPoolDynamic.QueueUserWorkItem (System.Threading.WaitCallback callback, System.Object state) [0x00000] in <filename unknown>:0
  at OpenMetaverse.WorkPool.QueueUserWorkItem (System.Threading.WaitCallback callback, System.Object state) [0x00000] in <filename unknown>:0
  at OpenMetaverse.PacketEventDictionary.RaiseEvent (PacketType packetType, OpenMetaverse.Packets.Packet packet, OpenMetaverse.Simulator simulator) [0x00000] in <filename unknown>:0
  at OpenMetaverse.NetworkManager.IncomingPacketHandler () [0x00000] in <filename unknown>:0
  at System.Threading.Thread.StartInternal () [0x00016] in /root/j/mono-4.0.1.43/mono-4.0.1/mcs/class/corlib/System.Threading/Thread.cs:696
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: method argument length mismatch
  at System.Delegate.CreateDelegate (System.Type type, System.Object firstArgument, System.Reflection.MethodInfo method, Boolean throwOnBindFailure, Boolean allowClosed) [0x00381] in /root/j/mono-4.0.1.43/mono-4.0.1/mcs/class/corlib/System/Delegate.cs:288
  at System.Delegate.CreateDelegate (System.Type type, System.Object firstArgument, System.Reflection.MethodInfo method) [0x00000] in /root/j/mono-4.0.1.43/mono-4.0.1/mcs/class/corlib/System/Delegate.cs:293
  at OpenMetaverse.WorkPoolDynamic.QueueUserWorkItem (System.Threading.WaitCallback callback, System.Object state) [0x00000] in <filename unknown>:0
  at OpenMetaverse.WorkPool.QueueUserWorkItem (System.Threading.WaitCallback callback, System.Object state) [0x00000] in <filename unknown>:0
  at OpenMetaverse.PacketEventDictionary.RaiseEvent (PacketType packetType, OpenMetaverse.Packets.Packet packet, OpenMetaverse.Simulator simulator) [0x00000] in <filename unknown>:0
  at OpenMetaverse.NetworkManager.IncomingPacketHandler () [0x00000] in <filename unknown>:0
  at System.Threading.Thread.StartInternal () [0x00016] in /root/j/mono-4.0.1.43/mono-4.0.1/mcs/class/corlib/System.Threading/Thread.cs:696
(0029365)
smxy (reporter)
2015-08-23 18:41

I did a git bisect and this is what it reported at the end:

[ste@sa5 opensim]$ git bisect bad
1bfdc9f32b5b1465015a01e5a15b0ba74d43631f is the first bad commit
commit 1bfdc9f32b5b1465015a01e5a15b0ba74d43631f
Author: dahlia <dahlia@nomail>
Date: Fri Aug 14 16:55:06 2015 -0700

    Update libomv managed dlls to 49a5cf05c32e

:040000 040000 e9a347714301f46815d94535bdd3ed9c684d31c7 ab14890e5c26581e5e97b37a66f2a029881974c8 M bin
[ste@sa5 opensim]$
(0032262)
UbitUmarov (administrator)
2017-08-19 14:21

this should be fixed now
by Diva:
opensim: diva * r2df4c1bb91d4 bin (4 files):
Replaced libomv dlls with newly compiled ones to solve crashes with pCampBot. See https://github.com/openmetaversefoundation/libopenmetaverse/commit/e8250162cc3b36274c585db0f3ff56087c157c11 [^]

- Issue History
Date Modified Username Field Change
2015-08-23 13:14 smxy New Issue
2015-08-23 13:49 smxy Note Added: 0029363
2015-08-23 18:41 smxy Note Added: 0029365
2017-08-19 14:21 UbitUmarov Note Added: 0032262


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker