This error occurs since I upgraded my gcc to 4.2, so I suspect it's my bad. If you can learn anything from it, you're welcome to it. On starting opensim.exe, terrain loading fails with: LoadWorld() - Found a heightmap in local database, loading Stacktrace: at OpenJPEGNet.OpenJPEG.EncodeFromImage (System.Drawing.Bitmap,string) <0xffffffff> at OpenJPEGNet.OpenJPEG.EncodeFromImage (System.Drawing.Bitmap,string) <0x00044> at OpenSim.Region.Terrain.TerrainEngine.exportJpegImage (string) <0x00274> at OpenSim.Region.Environment.Scenes.Scene.CreateTerrainTexture () <0x0001f> at OpenSim.Region.Environment.Scenes.Scene.LoadWorldMap () <0x00163> at OpenSim.OpenSimMain.SetupWorld () <0x00352> at OpenSim.OpenSimMain.StartUp () <0x001ea> at OpenSim.Application.Main (string[]) <0x0032d> at (wrapper runtime-invoke) System.Object.runtime_invoke_void_string[] (object,intptr,intptr,intptr) <0xffffffff> Native stacktrace: mono [0x81276e0] mono [0x8114540] /lib/tls/libpthread.so.0 [0x400c68f0] /lib/tls/libc.so.6(calloc+0xd0) [0x42073e90] /usr/local/lib/libglib-2.0.so.0(g_malloc0+0x2e) [0x4004f3e2] mono [0x8112e2e] mono [0x8113ac7] mono [0x8113f87] mono [0x81140e8] mono(mono_compile_method+0x2c) [0x807d0e4] mono [0x8113943] mono [0x8113f87] mono [0x81140e8] mono(mono_compile_method+0x2c) [0x807d0e4] mono [0x806bf42] [0x402ee032] [0x43a1de05] [0x43a1d9b8] [0x43a17394] [0x41f3e31b] [0x40f76beb] [0x40aa06e6] [0x40aa0063] mono [0x8114423] mono(mono_runtime_invoke+0x18) [0x807e934] mono(mono_runtime_exec_main+0x50) [0x807f664] mono(mono_runtime_run_main+0x16f) [0x807f36b] mono(strftime+0x1b43) [0x8058793] mono(mono_main+0x764) [0x8059038] mono(__fxstat64+0x147) [0x8057c57] /lib/tls/libc.so.6(__libc_start_main+0xe4) [0x42015704] mono(dlopen+0x41) [0x8057bb1]