MantisBT - opensim
View Issue Details
0008308opensim[REGION] OpenSim Corepublic2018-03-27 19:402018-07-13 06:50
nebadon 
UbitUmarov 
normalmajoralways
resolvedfixed 
Mono 5.xOSX10.13.3 (17D102)
master (dev code) 
master (dev code)master (dev code) 
Standalone (1 Region) , Standalone (Multiple Regions) , Grid (1 Region per Sim) , Grid (Multiple Regions per Sim)
BulletSim
Mono / OSX
Other
0008308: System.DllNotFoundException: openjpeg-dotnet-x86_64.dll with mono 5.x on OSX
22:36:38 - [WORLD MAP]: Failed generating terrain map: System.DllNotFoundException: openjpeg-dotnet-x86_64.dll
  at (wrapper managed-to-native) OpenMetaverse.Imaging.OpenJPEG.DotNetAllocDecoded64(OpenMetaverse.Imaging.OpenJPEG/MarshalledImage&)
  at OpenMetaverse.Imaging.OpenJPEG.Encode (OpenMetaverse.Imaging.ManagedImage image, System.Boolean lossless) [0x000a2] in <01f410be73dd45fba29fb4ad0498e5d8>:0
  at OpenMetaverse.Imaging.OpenJPEG.EncodeFromImage (System.Drawing.Bitmap bitmap, System.Boolean lossless) [0x001c9] in <01f410be73dd45fba29fb4ad0498e5d8>:0
  at OpenSim.Region.CoreModules.World.WorldMap.WorldMapModule.GenerateMaptile (System.Drawing.Bitmap mapbmp) [0x001c0] in /Users/nebadon/opensim/opensim/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs:1649
MacBook-Pro:bin nebadon$ mono --debug OpenSim.exe
22:36:35 - [OPENSIM MAIN]: configured log4net using default OpenSim.exe.config
22:36:35 - [OPENSIM MAIN]: System Locale is en-US
22:36:35 - [OPENSIM MAIN]: Environment variable MONO_THREADS_PER_CPU is unset
22:36:35 - [OPENSIM MAIN]: Runtime gave us 4 min worker threads and 4 min IOCP threads
22:36:35 - [OPENSIM MAIN]: Runtime gave us 400 max worker threads and 200 max IOCP threads
22:36:35 - [OPENSIM MAIN]: Bumping up max worker threads to 500
22:36:35 - [OPENSIM MAIN]: Bumping up max IOCP threads to 1000
22:36:35 - [OPENSIM MAIN]: Threadpool set to 500 max worker threads and 1000 max IOCP threads
22:36:35 - [OPENSIM MAIN]: Environment is supported by OpenSimulator.
22:36:35 - [CONFIG]: Reading configuration settings
22:36:35 - [CONFIG]: Reading configuration file /Users/nebadon/opensim/opensim/bin/OpenSimDefaults.ini
22:36:35 - [CONFIG]: Reading configuration file /Users/nebadon/opensim/opensim/bin/OpenSim.ini
22:36:35 - [CONFIG]: Reading configuration file /Users/nebadon/opensim/opensim/bin/config-include/osslEnable.ini
22:36:35 - [CONFIG]: Reading configuration file /Users/nebadon/opensim/opensim/bin/config-include/Standalone.ini
22:36:35 - [CONFIG]: Reading configuration file /Users/nebadon/opensim/opensim/bin/config-include/StandaloneCommon.ini
22:36:35 - [CONFIG]: Could not find include file /Users/nebadon/opensim/opensim/bin/config-include/FlotsamCache.ini
22:36:35 - [CONFIG]: Reading configuration file /Users/nebadon/opensim/opensim/bin/config-include/storage/SQLiteStandalone.ini
22:36:35 - [CONFIG]: Could not find include file /Users/nebadon/opensim/opensim/bin/config-include/FlotsamCache.ini
22:36:35 - [CONFIG]: Loading environment variables for Config
22:36:35 - [OPENSIM MAIN]: Using async_call_method SmartThreadPool
22:36:35 - [OPENSIM MAIN] Running GC in workstation mode
22:36:35 - [STARTUP]: Beginning startup processing
22:36:35 - [STARTUP]: version: OpenSim 0.9.1.0 Dev 6b02c99
22:36:35 - [STARTUP]: Operating system version: Unix 17.4.0.0, .NET platform Unix, 64-bit
22:36:35 - ====================================================================
22:36:35 - ========================= STARTING OPENSIM =========================
22:36:35 - ====================================================================
22:36:35 - [LOCAL CONSOLE]: Persistent command line history is Enabled, up to 100 lines from file /Users/nebadon/opensim/opensim/bin/OpenSimConsoleHistory.txt
22:36:35 - [LOCAL CONSOLE]: Read 2 lines of command line history from file /Users/nebadon/opensim/opensim/bin/OpenSimConsoleHistory.txt
22:36:35 - [SERVER BASE]: Starting in /Users/nebadon/opensim/opensim/bin
22:36:35 - [SERVER BASE]: OpenSimulator version: OpenSim 0.9.1.0 Dev 6b02c99
22:36:35 - [SERVER BASE]: Operating system version: Unix 17.4.0.0, .NET platform Unix, 64-bit
Console log level is ALL
22:36:35 - [SERVER BASE]: Logging started to file /Users/nebadon/opensim/opensim/bin/OpenSim.log
22:36:35 - [SERVER BASE]: Stats Logging started to file /Users/nebadon/opensim/opensim/bin/OpenSimStats.log
22:36:35 - [SQLITE REGION DB]: Sqlite - connecting: URI=file:OpenSim.db,version=3,UseUTF16Encoding=True
22:36:35 - [MIGRATIONS]: RegionStore data tables already up to date at revision 36
22:36:36 - [ESTATE DB]: Sqlite - connecting: URI=file:OpenSim.db,version=3,UseUTF16Encoding=True
22:36:36 - [MIGRATIONS]: EstateStore data tables already up to date at revision 10
22:36:36 - [REGION SERVER]: Starting HTTP server on port 9000
22:36:36 - [BASE HTTP SERVER]: Starting HTTP server on port 9000
22:36:36 - [WATCHDOG]: Started tracking thread PollServiceWorkerThread 0:9000, ID 12
22:36:36 - [WATCHDOG]: Started tracking thread PollServiceWorkerThread 1:9000, ID 13
22:36:36 - [WATCHDOG]: Started tracking thread PollServiceWatcherThread:9000, ID 14
22:36:36 - [PLUGINS]: Initializing addin manager
22:36:36 - [PLUGINS]: Plugin Loaded: OpenSim
22:36:36 - [PLUGINS]: Plugin Loaded: OpenSim.Region.Framework
22:36:36 - [PLUGINS]: Plugin Loaded: Robust
22:36:36 - [PLUGINS]: Plugin Loaded: OpenSim.Data
22:36:36 - [PLUGINS]: Loading extension point /OpenSim/Startup
22:36:36 - [PLUGINS]: Trying plugin /OpenSim/Startup/LoadRegions
22:36:36 - [PLUGINS]: Plugin Loaded: OpenSim.ApplicationPlugins.LoadRegions
22:36:36 - [PLUGINS]: Trying plugin /OpenSim/Startup/LoadRegions
22:36:36 - [PLUGINS]: Plugin Loaded: OpenSim.ApplicationPlugins.RemoteController
22:36:36 - [PLUGINS]: Trying plugin /OpenSim/Startup/LoadRegions
22:36:36 - [PLUGINS]: Plugin Loaded: OpenSim.ApplicationPlugins.RegionModulesController
22:36:36 - [PLUGINS]: Plugin Loaded: OpenSim.Region.PhysicsModule.BasicPhysics
22:36:36 - [PLUGINS]: Plugin Loaded: OpenSim.Region.PhysicsModule.POS
22:36:36 - [PLUGINS]: Plugin Loaded: OpenSim.Region.OptionalModules
22:36:36 - [PLUGINS]: Plugin Loaded: OpenSim.Groups
22:36:36 - [PLUGINS]: Plugin Loaded: LindenUDP
22:36:36 - [PLUGINS]: Plugin Loaded: OpenSim.Region.ScriptEngine.XEngine
22:36:36 - [PLUGINS]: Plugin Loaded: OpenSim.OfflineIM
22:36:36 - [PLUGINS]: Plugin Loaded: LindenCaps
22:36:36 - [PLUGINS]: Plugin Loaded: SimianGrid
22:36:36 - [PLUGINS]: Plugin Loaded: OpenSim.Region.PhysicsModule.BulletS
22:36:36 - [PLUGINS]: Plugin Loaded: OpenSim.Region.PhysicsModule.ubOde
22:36:36 - [PLUGINS]: Plugin Loaded: OpenSim.Region.PhysicsModule.ODE
22:36:36 - [PLUGINS]: Plugin Loaded: OpenSim.Region.CoreModules
22:36:36 - [PLUGINS]: Plugin Loaded: OpenSim.Region.PhysicsModule.ubOdeMeshing
22:36:36 - [PLUGINS]: Plugin Loaded: OpenSim.Region.PhysicsModule.Meshing
22:36:36 - [REGIONMODULES]: From plugin OpenSim.Region.PhysicsModule.BasicPhysics, (version 0.9.1.0), loaded 1 modules, 0 shared, 1 non-shared 0 unknown
22:36:36 - [REGIONMODULES]: From plugin OpenSim.Region.PhysicsModule.POS, (version 0.9.1.0), loaded 1 modules, 0 shared, 1 non-shared 0 unknown
22:36:36 - [REGIONMODULES]: From plugin OpenSim.Region.OptionalModules, (version 0.9.1.0), loaded 44 modules, 23 shared, 21 non-shared 0 unknown
22:36:36 - [REGIONMODULES]: From plugin OpenSim.Groups, (version 0.9.1.0), loaded 5 modules, 5 shared, 0 non-shared 0 unknown
22:36:36 - [REGIONMODULES]: From plugin LindenUDP, (version 0.9.1.0), loaded 1 modules, 0 shared, 1 non-shared 0 unknown
22:36:36 - [REGIONMODULES]: From plugin OpenSim.Region.ScriptEngine.XEngine, (version 0.9.1.0), loaded 1 modules, 0 shared, 1 non-shared 0 unknown
22:36:36 - [REGIONMODULES]: From plugin OpenSim.OfflineIM, (version 0.9.1.0), loaded 1 modules, 1 shared, 0 non-shared 0 unknown
22:36:36 - [REGIONMODULES]: From plugin LindenCaps, (version 0.9.1.0), loaded 14 modules, 1 shared, 13 non-shared 0 unknown
22:36:36 - [REGIONMODULES]: From plugin SimianGrid, (version 0.9.1.0), loaded 10 modules, 8 shared, 2 non-shared 0 unknown
22:36:36 - [REGIONMODULES]: From plugin OpenSim.Region.PhysicsModule.BulletS, (version 0.9.1.0), loaded 2 modules, 0 shared, 2 non-shared 0 unknown
22:36:36 - [REGIONMODULES]: From plugin OpenSim.Region.PhysicsModule.ubOde, (version 0.9.1.0), loaded 1 modules, 0 shared, 1 non-shared 0 unknown
22:36:36 - [REGIONMODULES]: From plugin OpenSim.Region.PhysicsModule.ODE, (version 0.9.1.0), loaded 1 modules, 0 shared, 1 non-shared 0 unknown
22:36:36 - [REGIONMODULES]: From plugin OpenSim.Region.CoreModules, (version 0.9.1.0), loaded 126 modules, 82 shared, 44 non-shared 0 unknown
22:36:36 - [REGIONMODULES]: From plugin OpenSim.Region.PhysicsModule.ubOdeMeshing, (version 0.9.1.0), loaded 1 modules, 0 shared, 1 non-shared 0 unknown
22:36:36 - [REGIONMODULES]: From plugin OpenSim.Region.PhysicsModule.Meshing, (version 0.9.1.0), loaded 2 modules, 0 shared, 2 non-shared 0 unknown
22:36:36 - [Serialiser]: Enabled, using save dir "exports"
22:36:36 - [MIGRATIONS]: UserAccount data tables already up to date at revision 3
22:36:36 - [GRID SERVICE]: Starting...
22:36:36 - [MIGRATIONS]: AuthStore data tables already up to date at revision 2
22:36:36 - [MIGRATIONS]: GridUserStore data tables already up to date at revision 1
22:36:36 - [GRID USER SERVICE]: Starting user grid service
22:36:36 - [MIGRATIONS]: XInventoryStore data tables already up to date at revision 2
22:36:36 - [MIGRATIONS]: Avatar data tables already up to date at revision 1
22:36:36 - [AVATAR SERVICE]: Starting avatar service
22:36:36 - [LOCAL USER ACCOUNT SERVICE CONNECTOR]: Local user connector enabled
22:36:36 - [LOCAL SIMULATION CONNECTOR]: Local simulation enabled.
22:36:36 - [LOCAL PRESENCE CONNECTOR]: Service dll = OpenSim.Services.PresenceService.dll:PresenceService
22:36:36 - [PRESENCE SERVICE]: Starting presence service
22:36:36 - [LOCAL PRESENCE CONNECTOR]: Local presence connector enabled
22:36:36 - [NEIGHBOUR CONNECTOR]: Neighbour out connector enabled
22:36:36 - [MAP IMAGE SERVICE]: Starting MapImage service
22:36:36 - [MAP IMAGE SERVICE MODULE]: enabled with no refresh and service object OpenSim.Services.MapImageService.dll:MapImageService
22:36:36 - [LAND CONNECTOR]: Local land connector enabled
22:36:36 - [LOCAL INVENTORY SERVICES CONNECTOR]: Service dll = OpenSim.Services.InventoryService.dll:XInventoryService
22:36:36 - [LOCAL INVENTORY SERVICES CONNECTOR]: Local inventory connector enabled
22:36:36 - [GRID USER SERVICE]: Starting user grid service
22:36:36 - [ACTIVITY DETECTOR]: starting
22:36:36 - [LOCAL GRID USER SERVICE CONNECTOR]: Local grid user connector enabled
22:36:36 - [LOCAL GRID SERVICE CONNECTOR]: LocalGridServicesConnector no parms.
22:36:36 - [GRID SERVICE]: Starting...
22:36:36 - [LOCAL GRID SERVICE CONNECTOR]: Local grid connector enabled
22:36:36 - [AVATAR SERVICE]: Starting avatar service
22:36:36 - [AVATAR CONNECTOR]: Local avatar connector enabled
22:36:36 - [AUTH CONNECTOR]: Local Authentication connector enabled
22:36:36 - [LOCAL ASSET SERVICES CONNECTOR]: Loading asset service at OpenSim.Services.AssetService.dll:AssetService
22:36:36 - [MIGRATIONS]: AssetStore data tables already up to date at revision 6
22:36:36 - [ASSET SERVICE]: Loading default asset set from assets/AssetSets.xml
22:36:37 - [ASSET SERVICE]: Local asset service enabled
22:36:37 - [LOCAL ASSET SERVICES CONNECTOR]: Local asset connector enabled
22:36:37 - [MIGRATIONS]: AgentPrefs data tables already up to date at revision 2
22:36:37 - [AGENT PREFERENCES SERVICE]: Starting agent preferences service
22:36:37 - [AGENT PREFERENCES CONNECTOR]: Local agent preferences connector enabled
22:36:37 - [LOCAL USERPROFILES SERVICE CONNECTOR]: Local user profiles connector enabled
22:36:37 - [MAP SERVICE IN CONNECTOR]: MapImage Service In Connector enabled
22:36:37 - [LLLOGIN IN CONNECTOR]: LLLoginerviceInConnector enabled
22:36:37 - [GRIDINFO IN CONNECTOR]: GridInfo Service In Connector enabled
22:36:37 - [VECTORRENDERMODULE]: using font "Arial" for text rendering.
22:36:37 - [OUTBOUND URL FILTER]: OutboundDisallowForUserScripts for Script dynamic texture image module is [0.0.0.0/8|10.0.0.0/8|100.64.0.0/10|127.0.0.0/8|169.254.0.0/16|172.16.0.0/12|192.0.0.0/24|192.0.2.0/24|192.88.99.0/24|192.168.0.0/16|198.18.0.0/15|198.51.100.0/24|203.0.113.0/24|224.0.0.0/4|240.0.0.0/4|255.255.255.255/32]
22:36:37 - [OUTBOUND URL FILTER]: OutboundDisallowForUserScriptsExcept for Script dynamic texture image module is []
22:36:37 - [OUTBOUND URL FILTER]: OutboundDisallowForUserScripts for Script HTTP request module is [0.0.0.0/8|10.0.0.0/8|100.64.0.0/10|127.0.0.0/8|169.254.0.0/16|172.16.0.0/12|192.0.0.0/24|192.0.2.0/24|192.88.99.0/24|192.168.0.0/16|198.18.0.0/15|198.51.100.0/24|203.0.113.0/24|224.0.0.0/4|240.0.0.0/4|255.255.255.255/32]
22:36:37 - [OUTBOUND URL FILTER]: OutboundDisallowForUserScriptsExcept for Script HTTP request module is []
22:36:37 - [USER MANAGEMENT MODULE]: BasicUserManagementModule is enabled
22:36:37 - [BASIC SEARCH MODULE]: BasicSearchModule is enabled
22:36:37 - [LIBRARY MODULE]: Library service dll is OpenSim.Services.InventoryService.dll:LibraryService
22:36:37 - [LIBRARY]: Starting library service...
22:36:37 - [LIBRARY INVENTORY]: Loading library control file ./inventory/Libraries.xml
22:36:37 - [LURE MODULE]: LureModule enabled
22:36:37 - [HG MESSAGE TRANSFER]: Disabled by configuration
22:36:37 - [MESSAGE TRANSFER]: Module enabled
22:36:37 - [GROUPS]: Groups disabled in configuration
22:36:37 - [MIGRATIONS]: FriendsStore data tables already up to date at revision 2
22:36:37 - [FRIENDS MODULE]: FriendsModule enabled.
22:36:37 - [FLOTSAM ASSET CACHE]: FlotsamAssetCache enabled
22:36:37 - [FLOTSAM ASSET CACHE]: AssetCache section missing from config (not copied config-include/FlotsamCache.ini.example? Using defaults.
22:36:37 - [FLOTSAM ASSET CACHE]: Cache Directory ./assetcache
22:36:37 - [LOAD REGIONS PLUGIN]: Loading region configurations from filesystem
22:36:37 - [REGION LOADER FILE SYSTEM]: Loading config files from ./Regions
22:36:37 - [REGION LOADER FILE SYSTEM]: Loading config file ./Regions/Regions.ini
22:36:37 - [REGIONINFO]: Resolving SYSTEMIP to 192.168.0.73 for external hostname of region MacTest1
22:36:37 - [REGION LOADER FILE SYSTEM]: Loaded config for region MacTest1
22:36:37 - [LOAD REGIONS PLUGIN]: Loading specific shared modules...
22:36:37 - [LOAD REGIONS PLUGIN]: Done.
22:36:37 - [LOAD REGIONS PLUGIN]: Creating Region: MacTest1 (ThreadID: 1)
22:36:37 - [SCENE]: Default script engine XEngine
22:36:37 - [SCENE]: Region MacTest1, WORLD MAP refresh time set to 0 seconds
22:36:37 - [SCENE]: Using the BestAvatarResponsiveness prioritization scheme
22:36:37 - [HEIGHTMAP TERRAIN DATA]: VD2Gzip 55319 bytes input
22:36:37 - [HEIGHTMAP TERRAIN DATA]: V2DGzip. Heightmap size=<256,256>. Region size=<256,256>
22:36:37 - [HEIGHTMAP TERRAIN DATA]: HeightmapTerrainData create from Variable2DGzip serialization. Size=<256,256>
22:36:37 - [HEIGHTMAP TERRAIN DATA]: VD2Gzip 55319 bytes input
22:36:37 - [HEIGHTMAP TERRAIN DATA]: V2DGzip. Heightmap size=<256,256>. Region size=<256,256>
22:36:37 - [HEIGHTMAP TERRAIN DATA]: HeightmapTerrainData create from Variable2DGzip serialization. Size=<256,256>
22:36:37 - [SQLITE REGION DB]: Loaded terrain revision r23
22:36:37 - [MODULES]: Loading Region's modules (old style)
22:36:37 - [REGIONMODULES]: Loading Region's modules (new style)
22:36:37 - [BASE PRESENCE SERVICE CONNECTOR]: Enabled for region MacTest1
22:36:37 - [MESSAGE TRANSFER]: Message transfer module active
22:36:37 - [CHAT]: Initialized for MacTest1 w:10 s:20 S:100
22:36:37 - [TREES]: Initialised tree populator module
22:36:37 - [Materials]: Initialized
22:36:37 - [XEngine]: Script stop strategy is co-op
22:36:37 - [EXTENDED PHYSICS]: module is not enabled
22:36:37 - [SUN]: localtime offset is -144000000000
22:36:37 - [SUN]: Initialization completed. Day is 14400 seconds, and year is 60 days
22:36:37 - [SUN]: Axis offset is 0.5
22:36:37 - [SUN]: Percentage of time for daylight 0.5
22:36:37 - [SUN]: Positional data updated every 100 frames
22:36:37 - [WIND]: Enabled with an update rate of 150 frames.
22:36:37 - [PERMISSIONS]: allowed_script_creators All
22:36:37 - [PERMISSIONS]: allowed_script_editors All
22:36:37 - [PERMISSIONS]: Enabling all region service permission checks
22:36:37 - [EnvironmentModule]: Module is enabled.
22:36:37 - [WINDLIGHT]: windlight module disabled
22:36:37 - [AUTHORIZATION CONNECTOR]: Initialise
22:36:37 - [AUTHORIZATION CONNECTOR]: Local authorization connector enabled
22:36:37 - [INVENTORY ACCESS MODULE]: BasicInventoryAccessModule enabled.
22:36:37 - [ENTITY TRANSFER MODULE]: BasicEntityTransferModule enabled.
22:36:37 - [RegionReady]: Enabled for region MacTest1
Region MacTest1 - LOGINS DISABLED DURING INITIALIZATION.
22:36:37 - [LLUDPSERVER]: Average Environment.TickCount resolution: 1ms
22:36:37 - [LLUDPSERVER]: Average Util.GetTimeStampMS resolution: 0.000116ms
22:36:37 - [XEngine]: Initializing scripts in region MacTest1
22:36:37 - [BULLETS SCENE]: Selected bullet engine bulletunmanaged -> BulletUnmanaged/
22:36:38 - [BULLETS SCENE]: Linksets implemented with Compound
22:36:38 - [WIND]: Found Plugin: ConfigurableWind
22:36:38 - [WIND]: Found Plugin: SimpleRandomWind
22:36:38 - [WIND]: SimpleRandomWind plugin found, initializing.
22:36:38 - [WORLD MAP]: JPEG Map location: http://192.168.0.73:9000/index.php?method=regionImagea6a7145193c64e2ca1ed3b65a3e52929 [^]
22:36:38 - [WATCHDOG]: Started tracking thread MapItemRequestThread (MacTest1), ID 18
22:36:38 - [WATCHDOG]: Started tracking thread MapBlockSendThread (MacTest1), ID 19
22:36:38 - L ... GenericSystemDrawing
22:36:38 - L ... JPEG
22:36:38 - L ... LLRAW
22:36:38 - L ... RAW32
22:36:38 - E ... ChannelDigger
22:36:38 - [LOCAL USER ACCOUNT SERVICE CONNECTOR]: Enabled local user accounts for region MacTest1
22:36:38 - [NEIGHBOUR CONNECTOR]: Enabled out neighbours for region MacTest1
22:36:38 - [LOCAL GRID USER SERVICE CONNECTOR]: Enabled local grid user for region MacTest1
22:36:38 - [LOCAL ASSET SERVICES CONNECTOR]: Enabled connector for region MacTest1
22:36:38 - [LOCAL ASSET SERVICES CONNECTOR]: Enabled asset caching for region MacTest1
22:36:38 - [LLLOGIN IN CONNECTOR]: Starting...
22:36:38 - [GRID SERVICE]: Starting...
22:36:38 - [GRID USER SERVICE]: Starting user grid service
22:36:38 - [AVATAR SERVICE]: Starting avatar service
22:36:38 - [GRID USER SERVICE]: Starting user grid service
22:36:38 - [AUTH SERVICE]: Started with User Account access
22:36:38 - [GRID SERVICE]: Starting...
22:36:38 - [PRESENCE SERVICE]: Starting presence service
22:36:38 - [AVATAR SERVICE]: Starting avatar service
22:36:38 - [LLOGIN SERVICE]: Using LibraryService given as argument
22:36:38 - [LLOGIN SERVICE]: Starting...
22:36:38 - [GridInfo]: Starting...
22:36:38 - [GRID INFO SERVICE]: Grid info service initialized with 4 keys
22:36:38 - [BASIC SEARCH MODULE]: Could not get IGroupsModule
22:36:38 - [TEMP ATTACHS]: Registered script functions
22:36:38 - [LLUDPSERVER]: Starting inbound packet processing for the LLUDP server
22:36:38 - [UDPBASE]: Starting inbound UDP loop
22:36:38 - [UDPBASE]: SIO_UDP_CONNRESET flag not supported on this platform, ignoring
22:36:38 - [WATCHDOG]: Started tracking thread Incoming Packets (MacTest1), ID 20
22:36:38 - [LLUDPSERVER]: Starting outbound packet processing for the LLUDP server
22:36:38 - [UDPBASE]: Starting outbound UDP loop
22:36:38 - [WATCHDOG]: Started tracking thread Outgoing Packets (MacTest1), ID 21
22:36:38 - [Compiler]: Allowed languages: lsl
22:36:38 - [WATCHDOG]: Started tracking thread GetMeshWorker0, ID 23
22:36:38 - [WATCHDOG]: Started tracking thread GetMeshWorker1, ID 24
22:36:38 - [WATCHDOG]: Started tracking thread GetTextureWorker0, ID 25
22:36:38 - [WATCHDOG]: Started tracking thread GetTextureWorker1, ID 26
22:36:38 - [WATCHDOG]: Started tracking thread InventoryWorkerThread0, ID 27
22:36:38 - [WATCHDOG]: Started tracking thread InventoryWorkerThread1, ID 28
22:36:38 - [AuthorizationService]: Region MacTest1 access restrictions: None
22:36:38 - [AUTHORIZATION CONNECTOR]: Enabled local authorization for region MacTest1
22:36:38 - [MODULE COMMANDS]: Script engine found, module active
22:36:38 - [SCENE]: Secure permissions loading enabled, modules loaded: DefaultPermissionsModule
22:36:38 - [SCENE]: Loading land objects from storage
22:36:38 - [SCENE]: Loading objects from datastore
22:36:38 - [SCENE]: Loaded 0 objects from the datastore
22:36:38 - [USER MANAGEMENT MODULE]: Caching creators' data from MacTest1 (0 objects)...
22:36:38 - [WORLD MAP]: Generating map image for MacTest1
22:36:38 - [TEXTURED MAPTILE RENDERER]: Generating Maptile Step 1: Terrain
22:36:38 - [TEXTURED MAPTILE RENDERER]: Fetched texture b8d3965a-ad78-bf43-699b-bff8eca6c975, found: True
22:36:38 - [TEXTURED MAPTILE RENDERER]: OpenJpeg is not installed correctly on this system. Asset Data is empty for b8d3965a-ad78-bf43-699b-bff8eca6c975
22:36:38 - [TEXTURED MAPTILE RENDERER]: Fetched texture abb783e6-3e93-26c0-248a-247666855da3, found: True
22:36:38 - [TEXTURED MAPTILE RENDERER]: OpenJpeg is not installed correctly on this system. Asset Data is empty for abb783e6-3e93-26c0-248a-247666855da3
22:36:38 - [TEXTURED MAPTILE RENDERER]: Fetched texture 179cdabd-398a-9b6b-1391-4dc333ba321f, found: True
22:36:38 - [TEXTURED MAPTILE RENDERER]: OpenJpeg is not installed correctly on this system. Asset Data is empty for 179cdabd-398a-9b6b-1391-4dc333ba321f
22:36:38 - [TEXTURED MAPTILE RENDERER]: Fetched texture beb169c7-11ea-fff2-efe5-0f24dc881df2, found: True
22:36:38 - [TEXTURED MAPTILE RENDERER]: OpenJpeg is not installed correctly on this system. Asset Data is empty for beb169c7-11ea-fff2-efe5-0f24dc881df2
22:36:38 - [TEXTURED MAP TILE RENDERER]: Generating Maptile Step 1: Done in 89 ms
22:36:38 - [MAPTILE]: Generating Maptile Step 2: Object Volume Profile
22:36:38 - [MAPTILE]: Generating Maptile Step 2: Done in 4 ms
22:36:38 - [WORLD MAP]: Failed generating terrain map: System.DllNotFoundException: openjpeg-dotnet-x86_64.dll
  at (wrapper managed-to-native) OpenMetaverse.Imaging.OpenJPEG.DotNetAllocDecoded64(OpenMetaverse.Imaging.OpenJPEG/MarshalledImage&)
  at OpenMetaverse.Imaging.OpenJPEG.Encode (OpenMetaverse.Imaging.ManagedImage image, System.Boolean lossless) [0x000a2] in <01f410be73dd45fba29fb4ad0498e5d8>:0
  at OpenMetaverse.Imaging.OpenJPEG.EncodeFromImage (System.Drawing.Bitmap bitmap, System.Boolean lossless) [0x001c9] in <01f410be73dd45fba29fb4ad0498e5d8>:0
  at OpenSim.Region.CoreModules.World.WorldMap.WorldMapModule.GenerateMaptile (System.Drawing.Bitmap mapbmp) [0x001c0] in /Users/nebadon/opensim/opensim/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs:1649
22:36:38 - [WORLD MAP]: Region MacTest1 has no parcels for sale, not generating overlay
22:36:38 - [MAP IMAGE SERVICE MODULE]: Upload maptile for MacTest1
22:36:38 - [GRID SERVICE]: Region MacTest1 (a6a71451-93c6-4e2c-a1ed-3b65a3e52929, 256x256) registered at 1000,1000 with flags RegionOnline
22:36:38 - [SCENE]: Initializing script instances in MacTest1
22:36:38 - [SCENE]: Initialized 0 script instances in MacTest1
22:36:38 - [WATCHDOG]: Started tracking thread Heartbeat-(MacTest1), ID 30
22:36:38 - [RADMIN]: Creating default avatar entries
22:36:38 - [RADMIN]: No default avatar information available
22:36:38 - [RADMIN]: Default avatars not loaded
22:36:38 - [BULLETSIM TERRAIN MANAGER]: Terrain for MacTest1/<0, 0, 0> created with Heightmap
22:36:38 - [LLLOGIN IN CONNECTOR]: Starting...
Currently selected region is MacTest1
INITIALIZATION COMPLETE FOR MacTest1 - LOGINS ENABLED
22:36:40 - [SCENE COMMUNICATION SERVICE]: Informing 0 neighbours that region MacTest1 is up
No tags attached.
txt Openjpeg_error.txt (78,743) 2018-07-10 12:49
http://opensimulator.org/mantis/file_download.php?file_id=4731&type=bug
? libopenjpeg-dotnet-2-1.5.0-dotnet-1.dylib (307,576) 2018-07-11 01:42
http://opensimulator.org/mantis/file_download.php?file_id=4733&type=bug
? OpenMetaverse.dll.config (752) 2018-07-11 01:43
http://opensimulator.org/mantis/file_download.php?file_id=4734&type=bug
Issue History
2018-03-27 19:40nebadonNew Issue
2018-04-20 02:59Gavin HirdNote Added: 0032659
2018-04-20 03:01UbitUmarovNote Added: 0032660
2018-07-06 13:08cugarajalNote Added: 0032730
2018-07-06 13:11Gavin HirdNote Added: 0032731
2018-07-06 13:12cugarajalNote Added: 0032732
2018-07-06 13:15Gavin HirdNote Added: 0032733
2018-07-06 13:17Gavin HirdNote Added: 0032734
2018-07-06 13:18cugarajalNote Added: 0032735
2018-07-06 13:22Gavin HirdNote Added: 0032736
2018-07-06 13:32cugarajalNote Added: 0032737
2018-07-06 13:42Gavin HirdNote Added: 0032738
2018-07-08 04:50UbitUmarovNote Added: 0032739
2018-07-09 01:26Gavin HirdNote Added: 0032746
2018-07-10 12:50cugarajalFile Added: Openjpeg_error.txt
2018-07-10 12:53cugarajalNote Added: 0032752
2018-07-10 12:55cugarajalNote Edited: 0032752bug_revision_view_page.php?bugnote_id=32752#r6588
2018-07-10 12:56cugarajalNote Edited: 0032752bug_revision_view_page.php?bugnote_id=32752#r6589
2018-07-10 13:11Gavin HirdNote Added: 0032757
2018-07-11 00:38Gavin HirdFile Added: libopenjpeg-libsl-2.1.2.0.dylib
2018-07-11 00:42Gavin HirdNote Added: 0032759
2018-07-11 00:53Gavin HirdNote Edited: 0032759bug_revision_view_page.php?bugnote_id=32759#r6594
2018-07-11 01:42Gavin HirdNote Added: 0032761
2018-07-11 01:42Gavin HirdFile Added: libopenjpeg-dotnet-2-1.5.0-dotnet-1.dylib
2018-07-11 01:43Gavin HirdFile Deleted: libopenjpeg-libsl-2.1.2.0.dylib
2018-07-11 01:43Gavin HirdFile Added: OpenMetaverse.dll.config
2018-07-11 01:48Gavin HirdNote Edited: 0032761bug_revision_view_page.php?bugnote_id=32761#r6596
2018-07-11 02:00Gavin HirdNote Edited: 0032761bug_revision_view_page.php?bugnote_id=32761#r6597
2018-07-11 03:30Gavin HirdNote Added: 0032763
2018-07-11 03:35Gavin HirdStatusnew => confirmed
2018-07-11 03:36Gavin HirdStatusconfirmed => patch included
2018-07-11 04:11UbitUmarovNote Added: 0032766
2018-07-11 09:51cugarajalNote Added: 0032776
2018-07-13 06:50Fly-Man-Note Added: 0032783
2018-07-13 06:50Fly-Man-Statuspatch included => resolved
2018-07-13 06:50Fly-Man-Fixed in Version => master (dev code)
2018-07-13 06:50Fly-Man-Resolutionopen => fixed
2018-07-13 06:50Fly-Man-Assigned To => UbitUmarov

Notes
(0032659)
Gavin Hird   
2018-04-20 02:59   
Run opensim with:

mono --server --arch=32 on macOS with mono 5.x for now
(0032660)
UbitUmarov   
2018-04-20 03:01   
thx gavin
(0032730)
cugarajal   
2018-07-06 13:08   
Hey Gavin have you had a chance to look at this further? I would really like to run opensim with 64-bit Mono 5. Mono4 is getting really old now.
(0032731)
Gavin Hird   
2018-07-06 13:11   
You can run any version 5 mono with the --arch=32 switch, so just upgrade.
(0032732)
cugarajal   
2018-07-06 13:12   
I have and that works. But I was assuminbg a big performance boost by running in 64-bit mode.
(0032733)
Gavin Hird   
2018-07-06 13:15   
Not really - why? The macOS version is compiled by LLVM anyway, so I think it has more to do with the address space than the instruction set.

I also tested the --arch=32 switch on Mojave dev beta 3 and no complaints at all.
(0032734)
Gavin Hird   
2018-07-06 13:17   
There is one of the DLLs that prevents it from running with the --arch=64 switch. I don't remember which at the top of my head right now.
(0032735)
cugarajal   
2018-07-06 13:18   
I haven't had any problems using --arch=32, just assumed 64-bit would handle memory much better such as when theres a lot of avatar traffic. I assumed --arch=32 was a temporary workaround. Or should I not worry about it?
(0032736)
Gavin Hird   
2018-07-06 13:22   
Large VARs will usually benefit from more than 4 GB address space, but unless you throw many avatars at the simulator 4 GB should be plenty. You can rather run multiple simulators on a machine and they will compete / share the memory. As far as I can see mono will trim the working set of the simulator as avatars log off and on.
(0032737)
cugarajal   
2018-07-06 13:32   
I have an 8x8 VAR with a racetrack and don't want to deal with sim crossings. Hoping to have some parties this summer with lots of avis, So thats why I'm trying to nudge this. Let me know if there's something I can help with. Works fine in Mono4, if thats being phased out then I can really use 64 bit.
(0032738)
Gavin Hird   
2018-07-06 13:42   
I'll check it out again.

Right now the focus is to even get a viewer to run on 10.14 (Mojave). All of them crash before even getting to the login screen, although for somewhat different reasons (some viewers crash on the same code as the LL builds do.)

My own build will get to the stage it presents login screen with splash + the prefs functionality all works, but it crash on login for some still unresolved curl issue.
(0032739)
UbitUmarov   
2018-07-08 04:50   
Thanks Gavin
At moment we can't test on mac platform, so we need to wait for feedback on this issue :(
(0032746)
Gavin Hird   
2018-07-09 01:26   
Interestingly I started a simulator in 64-bit mode on 5.10.0.160 in 64-bit mode and it did not crash as I expected.

The only thing that happened during startup was it generated this error message below when generating map tiles. Despite the error, the map tiles were correctly posted to Robust and they seem perfectly fine.

NOTE: I am not entirely on 0.9.1 Master(some commits not taken) and it is only compiled with .NET 4.5 and not 4.6

I'm gonna let it run as 64-bit for a day or tow to see how it does.

[WORLD MAP]: Failed generating terrain map: System.DllNotFoundException: openjpeg-dotnet-x86_64.dll
  at (wrapper managed-to-native) OpenMetaverse.Imaging.OpenJPEG.DotNetAllocDecoded64(OpenMetaverse.Imaging.OpenJPEG/MarshalledImage&)
  at OpenMetaverse.Imaging.OpenJPEG.Encode (OpenMetaverse.Imaging.ManagedImage image, System.Boolean lossless) [0x000a2] in <01f410be73dd45fba29fb4ad0498e5d8>:0
  at OpenMetaverse.Imaging.OpenJPEG.EncodeFromImage (System.Drawing.Bitmap bitmap, System.Boolean lossless) [0x001c9] in <01f410be73dd45fba29fb4ad0498e5d8>:0
  at OpenSim.Region.CoreModules.World.WorldMap.WorldMapModule.GenerateMaptile (System.Drawing.Bitmap mapbmp) [0x00166] in <561cf74e943d46e5959c776486bd243d>:0
(0032752)
cugarajal   
2018-07-10 12:53   
(edited on: 2018-07-10 12:56)
I ran the Opensim startup (without --arch=32) in DEBUG mode according to instructions at http://www.mono-project.com/docs/advanced/pinvoke/dllnotfoundexception/. [^]

There is indeed a Wrong Architecture warning about the DLL file. So the message that "Openjpeg is not installed correctly" may be true.

I'm attaching that section of the startup messages as a text file attachment here.

(0032757)
Gavin Hird   
2018-07-10 13:11   
If you run lipo -info on the file libopenjpeg-dotnet.dylib you will see it only has i386 architecture in it, even if it is placed in the lib64 directory.

The last time I looked at it, the source completely barfed on clang and I was not up to fixing it there and then. Presumably it is compiled with gcc in Xcode 4.6.

I think I have an old vm with gcc 4.6 which in theory should be able to compile a 64-bit but to what extent it will run is anyone's guess.
(0032759)
Gavin Hird   
2018-07-11 00:42   
(edited on: 2018-07-11 00:53)
You can try the attached libopenjpeg-libsl-2.1.2.0.dylib which is built with the 9.4 SDK and has both i386 x86_64 in it. (I have a feeling this is not the latest version as Whitecore has a 2.1.3 binary - a link to the repository please).

It will start the simulator in 64-bit mono , but it generates the error message when producing the map tiles:

09:34:45 - [WORLD MAP]: Failed generating terrain map: System.DllNotFoundException: openjpeg-dotnet-x86_64.dll
  at (wrapper managed-to-native) OpenMetaverse.Imaging.OpenJPEG.DotNetAllocDecoded64(OpenMetaverse.Imaging.OpenJPEG/MarshalledImage&)
  at OpenMetaverse.Imaging.OpenJPEG.Encode (OpenMetaverse.Imaging.ManagedImage image, System.Boolean lossless) [0x000bf] in <55079367d34b4276ab5e0728da255d32>:0
  at OpenMetaverse.Imaging.OpenJPEG.EncodeFromImage (System.Drawing.Bitmap bitmap, System.Boolean lossless) [0x001fd] in <55079367d34b4276ab5e0728da255d32>:0
  at OpenSim.Region.CoreModules.World.WorldMap.WorldMapModule.GenerateMaptile (System.Drawing.Bitmap mapbmp) [0x00166] in <58289fac6f314c3fb017c8ced26c9b5e>:0

(0032761)
Gavin Hird   
2018-07-11 01:42   
(edited on: 2018-07-11 02:00)
OK, here's what' going on (and I found the right code in the libopenmetaverse repository).

I have rebuilt a new version of libopenjpeg-dotnet-2-1.5.0-dotnet-1.dylib that has both i386 and x86_64 architectures. The one in master also has both architectures but since it had not been updated for a bit, an entry point was missing.

In addition OpenMetaverse.dll.config did not have a mapping for osx for openjpeg-dotnet-x86_64.dll so it only knew about the one in lib64 which was i386 only. Fixed that too.

Will upload both new dylib and the config

ADD: When you just run mono --server OpenSim.exe after replacing the two files, you should see a mono-sgen64 process on your system.

(0032763)
Gavin Hird   
2018-07-11 03:30   
The updated library is built with the macOS 10.13 SDK on Xcode 9.4.1
(0032766)
UbitUmarov   
2018-07-11 04:11   
updated files on master
Thanks Gavin
(0032776)
cugarajal   
2018-07-11 09:51   
Compiled from trunk and ran in 64 bit mode -- confirmed problem fixed.

OSX 10.13.5 / Macbook Pro 11,1 / Mono 5.12.0

Happy Day Joy Joy smiley face YAY. A virtual beer is waiting for you in my sim.
(0032783)
Fly-Man-   
2018-07-13 06:50   
Tested on OSX 10.13.5 / Macbook Pro 11,4 / Mono latest master