Posted By: Andrea Milani
Join Date: 2009-01-24
Location: ITALY | Hi,
I have tried running the viewer in Linux, with no luck. I compiled the Irrlicht libraries as explained in the instructions in this forum, then compiled idealistviewer with runprebuild.sh followed by nant.
At the first launch, the client crashed because one of the WinForms functions required to load the Communication windows is not implemented in mono, so I just commented the Communication windows code and was able to launch the viewer. However this was without connecting to OpenSim. If I configure the viewer to connect to OpenSim and launch it, the viewer logs in and starts getting textures, but soon crashes with a segmentation fault.
This happens in Fedora Core 6. I know it's a bit old, but I'd like to run the viewer in that environment because of other software I have already installed there. Has anyone had any luck with running the viewer in Linux? May be with a different/newer distribution?
A trace of the error from the idealistviewer console follows.
Thanks for any help,
Andrea
============================
[gtuser4@node111 bin]$ mono IdealistViewer.exe
16:59:00 - [STARTUP]: Beginning startup processing
16:59:00 - [STARTUP]: Version: .241 (OS )
16:59:01 - [STARTUP]: Startup took 0m 0s
Region# :
Irrlicht.NET CP v0.9.0.0 running
Irrlicht Engine version 1.5.beta
Linux 2.6.20-1.2962.fc6 #1 SMP Tue Jun 19 19:27:14 EDT 2007 i686
Creating X window...
Visual chosen: : 35
Using renderer: OpenGL 1.2
Mesa GLX Indirect: Mesa project: www.mesa3d.org
OpenGL driver version is 1.2 or better.
GLSL not available.
Loaded texture: /home/gtuser4/idealistviewer/bin/media/materials/textures/Green_Grass_Detailed.tga
WARNING: Pixel shaders disabled
because of missing driver/hardware support.
WARNING: Vertex shaders disabled
because of missing driver/hardware support.
Loaded texture: /home/gtuser4/idealistviewer/bin/media/materials/textures/irrlicht2_up.jpg
16:59:04 - <Test User>: Connecting to (127.0.0.1:9000)
16:59:05 - <Test User>: Received a region handshake for iic1 (127.0.0.1:9000)
16:59:05 - Connected to sim with:1099511628032000
16:59:05 - <Test User>: Object reference not set to an instance of an object
System.NullReferenceException: Object reference not set to an instance of an object
at IdealistViewer.BaseIdealistViewer.SimConnectedCallback (OpenMetaverse.Simulator sim) [0x00000]
at IdealistViewer.SLProtocol.simConnectedCallback (OpenMetaverse.Simulator sender) [0x00000]
at OpenMetaverse.NetworkManager.Connect (System.Net.IPEndPoint endPoint, UInt64 handle, Boolean setDefault, System.String seedcaps) [0x00000]
16:59:05 - Capabilities event queue connected
16:59:05 - <Test User>: Received a duplicate of packet #2, current type: ParcelOverlay
Generated terrain data (256x256) in 0.1650 seconds
*** glibc detected *** mono: double free or corruption (out): 0x0a105e40 ***
======= Backtrace: =========
/lib/libc.so.6[0x42ea96]
/lib/libc.so.6(cfree+0x90)[0x431fb0]
/lib/libglib-2.0.so.0(g_free+0x31)[0x5996e1]
[0x848afc]
[0x39580bd]
[0x395805d]
[0x39579ff]
[0x40e8c70]
[0x1921bbb]
[0x845ae5]
[0x320086]
mono(mono_runtime_delegate_invoke+0x36)[0x815eed6]
mono[0x815b08d]
mono[0x81f6df5]
mono[0x822b9c9]
/lib/libpthread.so.0[0x55345b]
/lib/libc.so.6(clone+0x5e)[0x49623e]
======= Memory map: ========
00001000-000e2000 rwxp 00001000 00:00 0
00110000-00111000 rwxp 00110000 00:00 0
00111000-00311000 r-xp 00000000 03:01 805870 /usr/lib/locale/locale-archive
00311000-00315000 rwxp 00311000 00:00 0
00315000-0031e000 r-xp 00000000 03:01 589288 /lib/libnss_files-2.5.so
0031e000-0031f000 r-xp 00008000 03:01 589288 /lib/libnss_files-2.5.so
0031f000-00320000 rwxp 00009000 03:01 589288 /lib/libnss_files-2.5.so
00320000-00334000 rwxp 00320000 00:00 0
00334000-00376000 r-xp 00000000 03:01 1671708 /home/gtuser4/idealistviewer/bin/log4net.dll
00376000-00386000 r-xp 00000000 03:01 1671697 /home/gtuser4/idealistviewer/bin/Irrlicht.Extensions.dll
00386000-003a4000 r-xp 00000000 03:01 558978 /opt/mono/lib/mono/gac/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
003a4000-003a8000 rwxp 003a4000 00:00 0
003a8000-003aa000 r-xp 00000000 03:01 805966 /usr/lib/libXau.so.6.0.0
003aa000-003ab000 rwxp 00001000 03:01 805966 /usr/lib/libXau.so.6.0.0
003ab000-003c4000 r-xp 00000000 03:01 591954 /lib/ld-2.5.so
003c4000-003c5000 r-xp 00019000 03:01 591954 /lib/ld-2.5.so
003c5000-003c6000 rwxp 0001a000 03:01 591954 /lib/ld-2.5.so
003c6000-003c7000 rwxp 003c6000 00:00 0
003c8000-00502000 r-xp 00000000 03:01 591955 /lib/libc-2.5.so
00502000-00504000 r-xp 0013a000 03:01 591955 /lib/libc-2.5.so
00504000-00505000 rwxp 0013c000 03:01 591955 /lib/libc-2.5.so
00505000-00508000 rwxp 00505000 00:00 0
00508000-0050a000 r-xs 00000000 03:01 1277065 /var/cache/fontconfig/e3ead4b767b8819993a6fa3ae306afa9-x86.cache-2
0050a000-0050c000 r-xp 00000000 03:01 591956 /lib/libdl-2.5.so
0050c000-0050d000 r-xp 00001000 03:01 591956 /lib/libdl-2.5.so
0050d000-0050e000 rwxp 00002000 03:01 591956 /lib/libdl-2.5.so
0050e000-00510000 r-xs 00000000 03:01 1276761 /var/cache/fontconfig/87f5e051180a7a75f16eb6fe7dbd3749-x86.cache-2
00510000-00535000 r-xp 00000000 03:01 591960 /lib/libm-2.5.so
00535000-00536000 r-xp 00024000 03:01 591960 /lib/libm-2.5.so
00536000-00537000 rwxp 00025000 03:01 591960 /lib/libm-2.5.so
00537000-0054b000 rwxp 00537000 00:00 0
0054e000-00561000 r-xp 00000000 03:01 591962 /lib/libpthread-2.5.so
00561000-00562000 r-xp 00012000 03:01 591962 /lib/libpthread-2.5.so
00562000-00563000 rwxp 00013000 03:01 591962 /lib/libpthread-2.5.so
00563000-00565000 rwxp 00563000 00:00 0
00567000-00604000 r-xp 00000000 03:01 591957 /lib/libglib-2.0.so.0.1200.9
00604000-00605000 rwxp 0009d000 03:01 591957 /lib/libglib-2.0.so.0.1200.9
00605000-0060e000 --xp 00605000 00:00 0
0060e000-00706000 rwxp 0060e000 00:00 0
00706000-0073e000 r-xp 00000000 03:01 1671698 /home/gtuser4/idealistviewer/bin/Irrlicht.NET.dll
0073e000-0075e000 rwxp 0073e000 00:00 0
0075e000-00762000 r-xp 00000000 03:01 795561 /usr/lib/libXxf86vm.so.1.0.0
00762000-00763000 rwxp 00003000 03:01 795561 /usr/lib/libXxf86vm.so.1.0.0
00763000-00764000 --xp 00763000 00:00 0
00764000-00767000 rwxp 00764000 00:00 0
00767000-007d5000 r-xp 00000000 03:01 721386 /opt/mono/lib/mono/gac/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
007d8000-007df000 r-xp 00000000 03:01 591963 /lib/librt-2.5.so
007df000-007e0000 r-xp 00006000 03:01 591963 /lib/librt-2.5.so
007e0000-007e1000 rwxp 00007000 03:01 591963 /lib/librt-2.5.so
007e1000-00811000 rwxp 007e1000 00:00 0
00811000-0082a000 r-xp 00000000 03:01 1671721 /home/gtuser4/idealistviewer/bin/OpenMetaverse.StructuredData.dll
0082a000-0084a000 rwxp 0082a000 00:00 0
0084a000-0085a000 rwxp 0084a000 00:00 0
0085a000-00861000 r-xp 00000000 03:01 792501 /usr/lib/libdrm.so.2.0.0
00861000-00862000 rwxp 00006000 03:01 792501 /usr/lib/libdrm.so.2.0.0
00863000-00877000 rwxs 00000000 03:01 230567 /home/gtuser4/.wapi/shared_data-node111.gt.org-Linux-i686-312-12-0
00877000-0087f000 rwxp 00877000 00:00 0
00882000-00887000 r-xp 00000000 03:01 808000 /usr/lib/libXdmcp.so.6.0.0
00887000-00888000 rwxp 00004000 03:01 808000 /usr/lib/libXdmcp.so.6.0.0
0088a000-0092a000 rwxp 0088a000 00:00 0
0092b000-00935000 r-xp 00000000 03:01 1671719 /home/gtuser4/idealistviewer/bin/OpenMetaverse.Http.dll
00935000-00939000 r-xp 00000000 03:01 808117 /usr/lib/libXfixes.so.3.1.0
00939000-0093a000 rwxp 00003000 03:01 808117 /usr/lib/libXfixes.so.3.1.0
0093d000-0093e000 r-xp 0093d000 00:00 0 [vdso]
0093e000-0094d000 r-xp 00000000 03:01 808002 /usr/lib/libXext.so.6.4.0
0094d000-0094e000 rwxp 0000e000 03:01 808002 /usr/lib/libXext.so.6.4.0
0094e000-00955000 r-xs 00000000 03:01 851378 /usr/lib/gconv/gconv-modules.cache
00955000-00959000 rwxp 00955000 00:00 0
00959000-00962000 r-xp 00000000 03:01 808118 /usr/lib/libXcursor.so.1.0.2
00962000-00963000 rwxp 00008000 03:01 808118 /usr/lib/libXcursor.so.1.0.2
00963000-0096b000 r-xp 00000000 03:01 797896 /usr/lib/libXrender.so.1.3.0
0096b000-0096c000 rwxp 00007000 03:01 797896 /usr/lib/libXrender.so.1.3.0
0096c000-00974000 rwxp 0096c000 00:00 0
00975000-00986000 r-xp 00000000 03:01 1671716 /home/gtuser4/idealistviewer/bin/Nini.dll
00986000-0098e000 rwxp 00986000 00:00 0
0098f000-00990000 rwxs 00000000 00:13 17406 /dev/shm/mono.5762
00990000-00ae6000 r-xp 00000000 03:01 1671718 /home/gtuser4/idealistviewer/bin/OpenMetaverse.dll
00ae6000-00afe000 rwxp 00ae6000 00:00 0
00afe000-00b03000 r-xs 00000000 03:01 1278136 /var/cache/fontconfig/beeeeb3dfe132a8a0633a017c99ce0c0-x86.cache-2
00b04000-00b54000 rwxp 00b04000 00:00 0
00b54000-00b5c000 r-xs 00000000 03:01 1277322 /var/cache/fontconfig/e19de935dec46bbf3ed114ee4965548a-x86.cache-2
00b5f000-00b67000 r-xp 00000000 03:01 806004 /usr/lib/libSM.so.6.0.0
00b67000-00b68000 rwxp 00007000 03:01 806004 /usr/lib/libSM.so.6.0.0
00b68000-00b70000 r-xp 00000000 03:01 792277 /usr/lib/libgif.so.4.1.3
00b70000-00b71000 rwxp 00007000 03:01 792277 /usr/lib/libgif.so.4.1.3
00b71000-00b77000 r-xs 00000000 03:01 1277323 /var/cache/fontconfig/7ddba6133ef499da58de5e8c586d3b75-x86.cache-2
00b79000-00b8d000 r-xp 00000000 03:01 1671726 /home/gtuser4/idealistviewer/bin/OpenMetaverseTypes.dll
00b8d000-00ba4000 r-xp 00000000 03:01 806003 /usr/lib/libICE.so.6.3.0
00ba4000-00ba5000 rwxp 00016000 03:01 806003 /usr/lib/libICE.so.6.3.0
00ba5000-00ba7000 rwxp 00ba5000 00:00 0
00ba7000-00bad000 r-xs 00000000 03:01 1276981 /var/cache/fontconfig/b79f3aaa7d385a141ab53ec885cc22a8-x86.cache-2
00bad000-00bb1000 rwxp 00bad000 00:00 0
00bb1000-00bb5000 r-xp 00000000 03:01 591964 /lib/libgthread-2.0.so.0.1200.9
00bb5000-00bb6000 rwxp 00003000 03:01 591964 /lib/libgthread-2.0.so.0.1200.9
00bb6000-00cea000 r-xp 00000000 03:01 527263 /opt/mono/lib/mono/gac/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
00cea000-00d11000 r-xp 00000000 03:01 807677 /usr/lib/libfontconfig.so.1.1.0
00d11000-00d19000 rwxp 00027000 03:01 807677 /usr/lib/libfontconfig.so.1.1.0
00d19000-00d38000 r-xp 00000000 03:01 591961 /lib/libexpat.so.0.5.0
00d38000-00d3a000 rwxp 0001e000 03:01 591961 /lib/libexpat.so.0.5.0
00d3d000-00d3e000 rwxp 00d3d000 00:00 0
00d3e000-00da8000 r-xp 00000000 03:01 807676 /usr/lib/libGL.so.1.2
00da8000-00dab000 rwxp 00069000 03:01 807676 /usr/lib/libGL.so.1.2
00dab000-00db0000 rwxp 00dab000 00:00 0
00db3000-00dd0000 r-xp 00000000 03:01 1671744 /home/gtuser4/idealistviewer/bin/IdealistViewer.exe
00dd0000-01042000 r-xp 00000000 03:01 268013 /opt/mono/lib/mono/2.0/mscorlib.dll
01042000-011cf000 r-xp 00000000 03:01 305142 /opt/mono/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll
011cf000-011d8000 --xp 011cf000 00:00 0
011d8000-012d0000 rwxp 011d8000 00:00 0
012d0000-012d9000 --xp 012d0000 00:00 0
012d9000-016d4000 rwxp 012d9000 00:00 0
016d4000-016dd000 --xp 016d4000 00:00 0
016dd000-017d5000 rwxp 016dd000 00:00 0
017d5000-017de000 --xp 017d5000 00:00 0
017de000-018d6000 rwxp 017de000 00:00 0
018d6000-018fb000 r-xp 00000000 03:01 807678 /usr/lib/libpng12.so.0.10.0
018fb000-018fc000 rwxp 00024000 03:01 807678 /usr/lib/libpng12.so.0.10.0
018fc000-0190e000 r-xp 00000000 03:01 805962 /usr/lib/libz.so.1.2.3
0190e000-0190f000 rwxp 00011000 03:01 805962 /usr/lib/libz.so.1.2.3
0190f000-0192f000 rwxp 0190f000 00:00 0
0192f000-01938000 r-xp 00000000 03:01 1671729 /home/gtuser4/idealistviewer/bin/PrimMesher.dll
01938000-01950000 rwxp 01938000 00:00 0
01996000-0199f000 --xp 01996000 00:00 0
0199f000-01a97000 rwxp 0199f000 00:00 0
01a97000-01aa0000 --xp 01a97000 00:00 0
01aa0000-01b98000 rwxp 01aa0000 00:00 0
01bc8000-01bd1000 --xp 01bc8000 00:00 0
01bd1000-01f8a000 rwxp 01bd1000 00:00 0
01f8a000-01f93000 --xp 01f8a000 00:00 0
01f93000-0208b000 rwxp 01f93000 00:00 0
0208b000-02094000 --xp 0208b000 00:00 0
02094000-022de000 rwxp 02094000 00:00 0
022de000-022e7000 --xp 022de000 00:00 0
022e7000-023df000 rwxp 022e7000 00:00 0
02480000-02484000 rwxp 02480000 00:00 0
02615000-0299a000 rwxs 00000000 03:01 230582 /home/gtuser4/.wapi/shared_fileshare-node111.gt.org-Linux-i686-36-12-0
02b26000-02b2f000 --xp 02b26000 00:00 0
02b2f000-02c27000 rwxp 02b2f000 00:00 0
02fb2000-02fbb000 --xp 02fb2000 00:00 0
02fbb000-030b3000 rwxp 02fbb000 00:00 0
0338c000-0364d000 rwxp 0338c000 00:00 0
036f5000-036fe000 --xp 036f5000 00:00 0
036fe000-037f6000 rwxp 036fe000 00:00 0
03954000-03964000 rwxp 03954000 00:00 0
03bac000-03bb5000 --xp 03bac000 00:00 0
03bb5000-03cad000 rwxp 03bb5000 00:00 0
03d12000-03d1b000 --xp 03d12000 00:00 0
03d1b000-03e13000 rwxp 03d1b000 00:00 0
03e20000-03e24000 rwxp 03e20000 00:00 0
03f2a000-03f33000 --xp 03f2a000 00:00 0
03f33000-0402b000 rwxp 03f33000 00:00 0
040e0000-040f0000 rwxp 040e0000 00:00 0
04139000-041b8000 r-xp 00000000 03:01 791723 /usr/lib/libGLU.so.1.3.060501
041b8000-041b9000 rwxp 0007f000 03:01 791723 /usr/lib/libGLU.so.1.3.060501
0447f000-04488000 --xp 0447f000 00:00 0
04488000-04580000 rwxp 04488000 00:00 0
04696000-0469a000 rwxp 04696000 00:00 0
04701000-0491a000 rwxp 04701000 00:00 0
04ea7000-04fa5000 r-xp 00000000 03:01 808001 /usr/lib/libX11.so.6.2.0
04fa5000-04fa9000 rwxp 000fe000 03:01 808001 /usr/lib/libX11.so.6.2.0
0532b000-0534c000 r-xp 00000000 03:01 806007 /usr/lib/libjpeg.so.62.0.0
0534c000-0534d000 rwxp 00020000 03:01 806007 /usr/lib/libjpeg.so.62.0.0
053b3000-053be000 r-xp 00000000 03:01 591981 /lib/libgcc_s-4.1.2-20070626.so.1
053be000-053bf000 rwxp 0000a000 03:01 591981 /lib/libgcc_s-4.1.2-20070626.so.1
05426000-05506000 r-xp 00000000 03:01 793013 /usr/lib/libstdc++.so.6.0.8
05506000-0550a000 r-xp 000df000 03:01 793013 /usr/lib/libstdc++.so.6.0.8
0550a000-0550b000 rwxp 000e3000 03:01 793013 /usr/lib/libstdc++.so.6.0.8
0550b000-05511000 rwxp 0550b000 00:00 0
05553000-056e6000 rwxp 05553000 00:00 0
05743000-05799000 r-xp 00000000 03:01 806032 /usr/lib/libtiff.so.3.8.2
05799000-0579b000 rwxp 00056000 03:01 806032 /usr/lib/libtiff.so.3.8.2
05b45000-05bc2000 r-xp 00000000 03:01 795054 /usr/lib/libfreetype.so.6.3.10
05bc2000-05bc5000 rwxp 0007d000 03:01 795054 /usr/lib/libfreetype.so.6.3.10
05f82000-05f8b000 --xp 05f82000 00:00 0
05f8b000-06083000 rwxp 05f8b000 00:00 0
0663d000-06646000 --xp 0663d000 00:00 0
06646000-0673e000 rwxp 06646000 00:00 0
06781000-06785000 rwxp 06781000 00:00 0
06b28000-06bdd000 r-xp 00000000 03:01 797965 /usr/lib/libgdiplus.so.0.0.0
06bdd000-06be0000 rwxp 000b4000 03:01 797965 /usr/lib/libgdiplus.so.0.0.0
073e4000-0789b000 r-xp 00000000 03:01 1671704 /home/gtuser4/idealistviewer/bin/libIrrlichtW.so
0789b000-0789f000 rwxp 004b6000 03:01 1671704 /home/gtuser4/idealistviewer/bin/libIrrlichtW.so
07b22000-07b2b000 --xp 07b22000 00:00 0
07b2b000-07c23000 rwxp 07b2b000 00:00 0
07d4f000-07ddf000 rwxp 07d4f000 00:00 0
08048000-082e4000 r-xp 00000000 03:01 624551 /opt/mono/bin/mono
082e4000-082e6000 rwxp 0029c000 03:01 624551 /opt/mono/bin/mono
082e6000-08304000 rwxp 082e6000 00:00 0
09e67000-0a601000 rwxp 09e67000 00:00 0
b7e00000-b7e21000 rwxp b7e00000 00:00 0
b7e21000-b7f00000 --xp b7e21000 00:00 0
b7f7e000-b7f7f000 rwxp b7f7e000 00:00 0
b7f7f000-b7f9e000 --xp b7f7f000 00:00 0
bf45c000-bf464000 --xp bf45c000 00:00 0
bfe46000-bfe5b000 rwxp bfe46000 00:00 0 [stack]
Stacktrace:
at (wrapper managed-to-native) object.__icall_wrapper_mono_marshal_free (intptr) <0x00004>
at (wrapper managed-to-native) object.__icall_wrapper_mono_marshal_free (intptr) <0xffffffff>
at (wrapper managed-to-native) IrrlichtNETCP.FileSystem.FileSystem_GetWorkingDirectory (intptr) <0xffffffff>
at IrrlichtNETCP.FileSystem.get_WorkingDirectory () <0x00014>
at IdealistViewer.TextureManager.RequestImage (OpenMetaverse.UUID,IdealistViewer.VObject) <0x001b6>
at IdealistViewer.BaseIdealistViewer.doObjectMods (int,System.Collections.Generic.Queue`1<IdealistViewer.VObject>&) <0x02707>
at IdealistViewer.BaseIdealistViewer.MainRenderLoop (IrrlichtNETCP.GUISkin,IrrlichtNETCP.Color) <0x008aa>
at IdealistViewer.BaseIdealistViewer.startupGUI (object) <0x01264>
at (wrapper runtime-invoke) object.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
mono [0x81035b9]
[0x93d440]
/lib/libc.so.6(abort+0x101) [0x3f24b1]
/lib/libc.so.6 [0x426dfb]
/lib/libc.so.6 [0x42ea96]
/lib/libc.so.6(cfree+0x90) [0x431fb0]
/lib/libglib-2.0.so.0(g_free+0x31) [0x5996e1]
[0x848afc]
[0x39580bd]
[0x395805d]
[0x39579ff]
[0x40e8c70]
[0x1921bbb]
[0x845ae5]
[0x320086]
mono(mono_runtime_delegate_invoke+0x36) [0x815eed6]
mono [0x815b08d]
mono [0x81f6df5]
mono [0x822b9c9]
/lib/libpthread.so.0 [0x55345b]
/lib/libc.so.6(clone+0x5e) [0x49623e]
Debug info from gdb:
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Aborted |