Closed catb0t closed 8 years ago
Could you run RoR in gdb and give a backtrace like so:
gdb ./RoR
(gdb) r
(gdb) bt
#0 0x00007ffff46c5418 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1 0x00007ffff46c701a in __GI_abort () at abort.c:89
#2 0x00007ffff470772a in __libc_message (do_abort=do_abort@entry=2,
fmt=fmt@entry=0x7ffff48206b0 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#3 0x00007ffff4713c18 in malloc_printerr (ar_ptr=0x0, ptr=<optimized out>,
str=0x7ffff48206d8 "munmap_chunk(): invalid pointer", action=<optimized out>) at malloc.c:5007
#4 munmap_chunk (p=<optimized out>) at malloc.c:2843
#5 __GI___libc_free (mem=<optimized out>) at malloc.c:2964
#6 0x00000000008aa049 in MyGUI::OgreDataStream::~OgreDataStream (this=0x1569c60, __in_chrg=<optimized out>)
at /home/cat/Downloads/misc/mygui/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataStream.cpp:20
#7 0x00007ffff61714cb in MyGUI::DataStreamHolder::~DataStreamHolder (this=<synthetic pointer>,
__in_chrg=<optimized out>) at /home/cat/rigs-of-rods/source/mygui/MyGUIEngine/include/MyGUI_DataStreamHolder.h:26
#8 MyGUI::ResourceManager::_loadImplement (this=this@entry=0x153ce50, _file="MyGUI_Images.xml",
_match=_match@entry=false, _type="", _instance="ResourceManager")
at /home/cat/rigs-of-rods/source/mygui/MyGUIEngine/src/MyGUI_ResourceManager.cpp:134
#9 0x00007ffff61747a0 in MyGUI::ResourceManager::_loadList (this=0x153ce50, _node=<optimized out>, _file=...,
_version=...) at /home/cat/rigs-of-rods/source/mygui/MyGUIEngine/src/MyGUI_ResourceManager.cpp:115
#10 0x00007ffff6172070 in MyGUI::delegates::CMethodDelegate3<MyGUI::ResourceManager, MyGUI::xml::Element*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, MyGUI::Version>::invoke (p3=...,
p2="MyGUI_Core.xml", p1=0x1569c80, this=<optimized out>)
at /home/cat/rigs-of-rods/source/mygui/MyGUIEngine/include/MyGUI_DelegateImplement.h:89
#11 MyGUI::delegates::CDelegate3<MyGUI::xml::Element*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, MyGUI::Version>::operator() (p3=..., p2="MyGUI_Core.xml", p1=0x1569c80, this=0x153d7c0)
at /home/cat/rigs-of-rods/source/mygui/MyGUIEngine/include/MyGUI_DelegateImplement.h:192
#12 MyGUI::ResourceManager::_loadImplement (this=this@entry=0x153ce50, _file="MyGUI_Core.xml",
_match=_match@entry=false, _type="", _instance="ResourceManager")
at /home/cat/rigs-of-rods/source/mygui/MyGUIEngine/src/MyGUI_ResourceManager.cpp:163
#13 0x00007ffff61741cd in MyGUI::ResourceManager::load (this=0x153ce50, _file="MyGUI_Core.xml")
at /home/cat/rigs-of-rods/source/mygui/MyGUIEngine/src/MyGUI_ResourceManager.cpp:63
#14 0x000000000062a834 in RoR::GUIManager::createGui (this=this@entry=0x153c6e0)
at /home/cat/rigs-of-rods/source/rigs-of-rods/source/main/gui/GUIManager.cpp:100
#15 0x000000000062bb7d in RoR::GUIManager::create (this=this@entry=0x153c6e0)
at /home/cat/rigs-of-rods/source/rigs-of-rods/source/main/gui/GUIManager.cpp:64
#16 0x000000000062d1b8 in RoR::GUIManager::GUIManager (this=0x153c6e0)
at /home/cat/rigs-of-rods/source/rigs-of-rods/source/main/gui/GUIManager.cpp:51
#17 0x000000000051dba0 in RoR::Application::CreateGuiManagerIfNotExists ()
at /home/cat/rigs-of-rods/source/rigs-of-rods/source/main/utils/ZeroedMemoryAllocator.h:50
#18 0x0000000000522f67 in RoR::MainThread::Go (this=this@entry=0x7fffffffd1d0)
at /home/cat/rigs-of-rods/source/rigs-of-rods/source/main/MainThread.cpp:192
#19 0x00000000004fc075 in main (argc=<optimized out>, argv=<optimized out>)
at /home/cat/rigs-of-rods/source/rigs-of-rods/source/main/main.cpp:239
hm, I just built the newest versions of all dependencies and RoR also using the scripts but I don't get this error. This machine is still running Ubuntu 15.10 however. I see that you are using an Intel HD GPU. @tritonas00 experienced problems with the Intel driver and switched back to Ogre 1.8 to solve them. Maybe he can leave a comment.
Is Ogre 1.8 a drop-in replacement for 1.9?
Is Ogre 1.8 a drop-in replacement for 1.9?
Yes, I think so.
Yes, I think so.
Right, so, I've installed libogre-1.8*
which of course won't be good enough. If I grab 1.8 from here: https://bitbucket.org/sinbad/ogre/downloads, and compile and link it, then... what? How do I get RoR to link with ogre 1.8?
I guess libogre-1.8-dev
should be enough. If you remove the ogre 1.9 files from ~/rigs-of-rods/install/ogre
and rebuild RoR (remove CMakeFiles and CMakeCache.txt first and run cmake again) then it should work.
It's not a drop-in replacements in the sense of linking to another library. Some code is different for Ogre 1.8. But it should compile without any patches or hacks.
[ 96%] Building CXX object source/main/CMakeFiles/RoR.dir/scripting/ScriptEngine.cpp.o
[ 96%] Linking CXX executable ../../bin/RoR
/usr/local/lib/libMyGUI.OgrePlatform.a(MyGUI_OgreRenderManager.cpp.o): In function `MyGUI::OgreRenderManager::getTexture(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/home/cat/Downloads/misc/mygui/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp:409: undefined reference to `Ogre::TextureManager::getByName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/local/lib/libMyGUI.OgrePlatform.a(MyGUI_OgreTexture.cpp.o): In function `MyGUI::OgreTexture::loadFromFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/home/cat/Downloads/misc/mygui/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreTexture.cpp:245: undefined reference to `Ogre::TextureManager::getByName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/local/lib/libMyGUI.OgrePlatform.a(MyGUI_OgreTexture.cpp.o): In function `Ogre::Image::loadDynamicImage(unsigned char*, unsigned int, unsigned int, Ogre::PixelFormat)':
/usr/local/include/OGRE/OgreImage.h:207: undefined reference to `Ogre::Image::loadDynamicImage(unsigned char*, unsigned int, unsigned int, unsigned int, Ogre::PixelFormat, bool, unsigned long, unsigned char)'
collect2: error: ld returned 1 exit status
source/main/CMakeFiles/RoR.dir/build.make:5046: recipe for target 'bin/RoR' failed
make[2]: *** [bin/RoR] Error 1
CMakeFiles/Makefile2:201: recipe for target 'source/main/CMakeFiles/RoR.dir/all' failed
make[1]: *** [source/main/CMakeFiles/RoR.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Perhaps there have been some API changes between 1.8 and 1.9? :(
There used to be packages for Linux distros on the website, are those available somewhere?
Looks like a problem with MyGUI (the error with Ogre 1.9 does, too). Perhaps it's some kind of conflict between the installed package and the one installed by RoRdeps.apt. You could try to remove the package, maybe it helps...
There used to be packages for Linux distros on the website, are those available somewhere?
http://rigsofrods.org/thread-68.html There is no up-to-date package for Debian or Ubuntu however.
Blargh, the PPA doesn't seem to have a Release file and Apt doesn't want to believe it exists. I guess I'll just wait for more progress on prebuilts and getting it to compile.
Apt doesn't want to believe it exists
Probably because it's for Ubuntu precise (12.04).
I have the same problem here on Funtoo Linux; I used ror_linux_build scripts
Gui successfully initialized Load ini file 'MyGUI_Images.xml' * Error in `./RoR': munmap_chunk(): invalid pointer: 0x00007faf4d951218 * ======= Backtrace: ========= /lib64/libc.so.6(+0x7174b)[0x7faf5329f74b] /lib64/libc.so.6(+0x76c0e)[0x7faf532a4c0e] ./RoR(_ZN5MyGUI14OgreDataStreamD0Ev+0x9)[0x8ca839] /home/dakk/rigs-of-rods/install/lib/libMyGUIEngine.so.3.2.3(_ZN5MyGUI15ResourceManager14_loadImplementERKSsbS2S2+0x45c)[0x7faf54a5e87c] /home/dakk/rigs-of-rods/install/lib/libMyGUIEngine.so.3.2.3(_ZN5MyGUI15ResourceManager9_loadListEPNS_3xml7ElementERKSsNS_7VersionE+0x4a3)[0x7faf54a62873] /home/dakk/rigs-of-rods/install/lib/libMyGUIEngine.so.3.2.3(_ZN5MyGUI15ResourceManager14_loadImplementERKSsbS2S2+0xdb9)[0x7faf54a5f1d9] /home/dakk/rigs-of-rods/install/lib/libMyGUIEngine.so.3.2.3(_ZN5MyGUI15ResourceManager4loadERKSs+0x58)[0x7faf54a622b8] ./RoR(_ZN3RoR10GUIManager9createGuiEv+0x22b)[0x62f6fb] ./RoR(_ZN3RoR10GUIManager6createEv+0x4e)[0x62fc4e] ./RoR(_ZN3RoR10GUIManagerC2Ev+0xfd)[0x62fe8d] ./RoR(_ZN3RoR11Application27CreateGuiManagerIfNotExistsEv+0x31)[0x50c9b1] ./RoR(_ZN3RoR10MainThread2GoEv+0x5a1)[0x512bf1] ./RoR(main+0x8a0)[0x4e8620] /lib64/libc.so.6(__libc_start_main+0xf0)[0x7faf5324dfb0] ./RoR(_start+0x29)[0x50b5f9] ======= Memory map: ======== 00400000-00a01000 r-xp 00000000 08:04 318390 /home/dakk/rigs-of-rods/install/bin/RoR 00c00000-00c05000 rw-p 00600000 08:04 318390 /home/dakk/rigs-of-rods/install/bin/RoR 00c05000-00c14000 rw-p 00000000 00:00 0 01838000-040ba000 rw-p 00000000 00:00 0 [heap] 40539000-405d9000 rw-p 00000000 00:00 0 40cf1000-40d91000 rw-p 00000000 00:00 0 419b8000-419ba000 r-xs 00000000 08:04 4331621 /tmp/.gl0gDJQA (deleted) 7faf14000000-7faf14021000 rw-p 00000000 00:00 0 7faf14021000-7faf18000000 ---p 00000000 00:00 0 7faf1affc000-7faf1affd000 ---p 00000000 00:00 0 7faf1affd000-7faf1b7fd000 rw-p 00000000 00:00 0 [stack:9688] 7faf1b7fd000-7faf1b7fe000 ---p 00000000 00:00 0 7faf1b7fe000-7faf1bffe000 rw-p 00000000 00:00 0 [stack:9687] 7faf1bffe000-7faf1ffff000 rw-s 00000000 00:12 60190 /dev/shm/pulse-shm-3445457689 7faf1ffff000-7faf24000000 rw-s 00000000 00:12 123387 /dev/shm/pulse-shm-2833315488 7faf24000000-7faf24021000 rw-p 00000000 00:00 0 7faf24021000-7faf28000000 ---p 00000000 00:00 0 7faf28084000-7faf28085000 ---p 00000000 00:00 0 7faf28085000-7faf28885000 rw-p 00000000 00:00 0 [stack:9686] 7faf28885000-7faf28886000 ---p 00000000 00:00 0 7faf28886000-7faf29086000 rw-p 00000000 00:00 0 [stack:9685] 7faf29086000-7faf29087000 ---p 00000000 00:00 0 7faf29087000-7faf29887000 rw-p 00000000 00:00 0 [stack:9684] 7faf29887000-7faf29888000 ---p 00000000 00:00 0 7faf29888000-7faf2a088000 rw-p 00000000 00:00 0 [stack:9683] 7faf2a088000-7faf2a089000 ---p 00000000 00:00 0 7faf2a089000-7faf2a889000 rw-p 00000000 00:00 0 [stack:9682] 7faf2a889000-7faf2a88a000 ---p 00000000 00:00 0 7faf2a88a000-7faf2b08a000 rw-p 00000000 00:00 0 [stack:9681] 7faf2b08a000-7faf2b08b000 ---p 00000000 00:00 0 7faf2b08b000-7faf2b88b000 rw-p 00000000 00:00 0 [stack:9680] 7faf2b88b000-7faf2b8be000 r-xp 00000000 08:04 9319919 /lib64/libtinfo.so.6.0 7faf2b8be000-7faf2babd000 ---p 00033000 08:04 9319919 /lib64/libtinfo.so.6.0 7faf2babd000-7faf2bac2000 rw-p 00032000 08:04 9319919 /lib64/libtinfo.so.6.0 7faf2bac2000-7faf2bb02000 r-xp 00000000 08:04 8670924 /lib64/libreadline.so.6.3 7faf2bb02000-7faf2bd01000 ---p 00040000 08:04 8670924 /lib64/libreadline.so.6.3 7faf2bd01000-7faf2bd0a000 rw-p 0003f000 08:04 8670924 /lib64/libreadline.so.6.3 7faf2bd0a000-7faf2bd0b000 rw-p 00000000 00:00 0 7faf2bd0b000-7faf2bd0f000 r-xp 00000000 08:04 7482138 /usr/lib64/libpulse-simple.so.0.1.0 7faf2bd0f000-7faf2bf0e000 ---p 00004000 08:04 7482138 /usr/lib64/libpulse-simple.so.0.1.0 7faf2bf0e000-7faf2bf0f000 rw-p 00003000 08:04 7482138 /usr/lib64/libpulse-simple.so.0.1.0 7faf2bf0f000-7faf2bfdc000 r-xp 00000000 08:04 7262975 /usr/lib64/libasound.so.2.0.0 7faf2bfdc000-7faf2c1dc000 ---p 000cd000 08:04 7262975 /usr/lib64/libasound.so.2.0.0 7faf2c1dc000-7faf2c1e4000 rw-p 000cd000 08:04 7262975 /usr/lib64/libasound.so.2.0.0 7faf2c1e4000-7faf2c229000 r-xp 00000000 08:04 7482000 /usr/lib64/libjack.so.0.1.0 7faf2c229000-7faf2c428000 ---p 00045000 08:04 7482000 /usr/lib64/libjack.so.0.1.0 7faf2c428000-7faf2c42c000 rw-p 00044000 08:04 7482000 /usr/lib64/libjack.so.0.1.0 7faf2c42c000-7faf2c562000 r-xp 00000000 08:04 9601419 /usr/lib64/libglib-2.0.so.0.4400.1 7faf2c562000-7faf2c762000 ---p 00136000 08:04 9601419 /usr/lib64/libglib-2.0.so.0.4400.1 7faf2c762000-7faf2c764000 rw-p 00136000 08:04 9601419 /usr/lib64/libglib-2.0.so.0.4400.1 7faf2c764000-7faf2c7ba000 r-xp 00000000 08:04 7477339 /usr/lib64/libfluidsynth.so.1.5.2 7faf2c7ba000-7faf2c9b9000 ---p 00056000 08:04 7477339 /usr/lib64/libfluidsynth.so.1.5.2 7faf2c9b9000-7faf2c9bc000 rw-p 00055000 08:04 7477339 /usr/lib64/libfluidsynth.so.1.5.2 7faf2c9bc000-7faf2ca2b000 rw-p 00000000 00:00 0 7faf2ca2b000-7faf2ca2c000 ---p 00000000 00:00 0 7faf2ca2c000-7faf2d22c000 rw-p 00000000 00:00 0 [stack:9678] 7faf2d22c000-7faf2d23f000 r-xp 00000000 08:04 9461911 /lib64/libresolv-2.21.so 7faf2d23f000-7faf2d43f000 ---p 00013000 08:04 9461911 /lib64/libresolv-2.21.so 7faf2d43f000-7faf2d440000 r--p 00013000 08:04 9461911 /lib64/libresolv-2.21.so 7faf2d440000-7faf2d441000 rw-p 00014000 08:04 9461911 /lib64/libresolv-2.21.so 7faf2d441000-7faf2d443000 rw-p 00000000 00:00 0 7faf2d443000-7faf2d4d4000 r-xp 00000000 08:04 8037817 /usr/lib64/libvorbisenc.so.2.0.11 7faf2d4d4000-7faf2d6d3000 ---p 00091000 08:04 8037817 /usr/lib64/libvorbisenc.so.2.0.11 7faf2d6d3000-7faf2d6f5000 rw-p 00090000 08:04 8037817 /usr/lib64/libvorbisenc.so.2.0.11 7faf2d6f5000-7faf2d720000 r-xp 00000000 08:04 8037563 /usr/lib64/libvorbis.so.0.4.8 7faf2d720000-7faf2d91f000 ---p 0002b000 08:04 8037563 /usr/lib64/libvorbis.so.0.4.8 7faf2d91f000-7faf2d920000 rw-p 0002a000 08:04 8037563 /usr/lib64/libvorbis.so.0.4.8 7faf2d920000-7faf2d926000 r-xp 00000000 08:04 8033776 /usr/lib64/libogg.so.0.8.2 7faf2d926000-7faf2db25000 ---p 00006000 08:04 8033776 /usr/lib64/libogg.so.0.8.2 7faf2db25000-7faf2db26000 rw-p 00005000 08:04 8033776 /usr/lib64/libogg.so.0.8.2 7faf2db26000-7faf2db60000 r-xp 00000000 08:04 8039657 /usr/lib64/libFLAC.so.8.3.0 7faf2db60000-7faf2dd5f000 ---p 0003a000 08:04 8039657 /usr/lib64/libFLAC.so.8.3.0 7faf2dd5f000-7faf2dd61000 rw-p 00039000 08:04 8039657 /usr/lib64/libFLAC.so.8.3.0 7faf2dd61000-7faf2dd65000 r-xp 00000000 08:04 8029318 /usr/lib64/libasyncns.so.0.3.1 7faf2dd65000-7faf2df64000 ---p 00004000 08:04 8029318 /usr/lib64/libasyncns.so.0.3.1 7faf2df64000-7faf2df65000 rw-p 00003000 08:04 8029318 /usr/lib64/libasyncns.so.0.3.1 7faf2df65000-7faf2dfd5000 r-xp 00000000 08:04 8038689 /usr/lib64/libsndfile.so.1.0.26 7faf2dfd5000-7faf2e1d5000 ---p 00070000 08:04 8038689 /usr/lib64/libsndfile.so.1.0.26 7faf2e1d5000-7faf2e1d8000 rw-p 00070000 08:04 8038689 /usr/lib64/libsndfile.so.1.0.26 7faf2e1d8000-7faf2e1da000 rw-p 00000000 00:00 0 7faf2e1da000-7faf2e1e2000 r-xp 00000000 08:04 7999058 /lib64/libwrap.so.0.7.6 7faf2e1e2000-7faf2e3e2000 ---p 00008000 08:04 7999058 /lib64/libwrap.so.0.7.6 7faf2e3e2000-7faf2e3e3000 rw-p 00008000 08:04 7999058 /lib64/libwrap.so.0.7.6 7faf2e3e3000-7faf2e3e4000 rw-p 00000000 00:00 0 7faf2e3e4000-7faf2e3e9000 r-xp 00000000 08:04 8034443 /usr/lib64/libXtst.so.6.1.0 7faf2e3e9000-7faf2e5e8000 ---p 00005000 08:04 8034443 /usr/lib64/libXtst.so.6.1.0 7faf2e5e8000-7faf2e5e9000 rw-p 00004000 08:04 8034443 /usr/lib64/libXtst.so.6.1.0 7faf2e5e9000-7faf2e5ea000 r-xp 00000000 08:04 7237523 /usr/lib64/libX11-xcb.so.1.0.0 7faf2e5ea000-7faf2e7e9000 ---p 00001000 08:04 7237523 /usr/lib64/libX11-xcb.so.1.0.0 7faf2e7e9000-7faf2e7ea000 rw-p 00000000 08:04 7237523 /usr/lib64/libX11-xcb.so.1.0.0 7faf2e7ea000-7faf2e82d000 r-xp 00000000 08:04 10120400 /usr/lib64/libdbus-1.so.3.14.6 7faf2e82d000-7faf2ea2c000 ---p 00043000 08:04 10120400 /usr/lib64/libdbus-1.so.3.14.6 7faf2ea2c000-7faf2ea2e000 rw-p 00042000 08:04 10120400 /usr/lib64/libdbus-1.so.3.14.6 7faf2ea2e000-7faf2ea38000 r-xp 00000000 08:04 7263570 /usr/lib64/libjson-c.so.2.0.1 7faf2ea38000-7faf2ec37000 ---p 0000a000 08:04 7263570 /usr/lib64/libjson-c.so.2.0.1 7faf2ec37000-7faf2ec38000 rw-p 00009000 08:04 7263570 /usr/lib64/libjson-c.so.2.0.1 7faf2ec38000-7faf2f227000 rw-s 115a22000 00:06 102712 /dev/nvidiactl 7faf2f422000-7faf2fa11000 rw-s 15e9bf000 00:06 102712 /dev/nvidiactl 7faf2fb2f000-7faf2fbad000 r-xp 00000000 08:04 7482133 /usr/lib64/pulseaudio/libpulsecommon-8.0.so 7faf2fbad000-7faf2fdac000 ---p 0007e000 08:04 7482133 /usr/lib64/pulseaudio/libpulsecommon-8.0.so 7faf2fdac000-7faf2fdaf000 rw-p 0007d000 08:04 7482133 /usr/lib64/pulseaudio/libpulsecommon-8.0.so 7faf2fdaf000-7faf2fdfe000 r-xp 00000000 08:04 7482143 /usr/lib64/libpulse.so.0.19.0 7faf2fdfe000-7faf2fffe000 ---p 0004f000 08:04 7482143 /usr/lib64/libpulse.so.0.19.0 7faf2fffe000-7faf30000000 rw-p 0004f000 08:04 7482143 /usr/lib64/libpulse.so.0.19.0 7faf30000000-7faf30021000 rw-p 00000000 00:00 0 7faf30021000-7faf34000000 ---p 00000000 00:00 0 7faf34000000-7faf34021000 rw-p 00000000 00:00 0 7faf34021000-7faf38000000 ---p 00000000 00:00 0 7faf38000000-7faf38021000 rw-p 00000000 00:00 0 7faf38021000-7faf3c000000 ---p 00000000 00:00 0 7faf3c000000-7faf3c021000 rw-p 00000000 00:00 0 7faf3c021000-7faf40000000 ---p 00000000 00:00 0 7faf40000000-7faf40022000 rw-p 00000000 00:00 0 7faf40022000-7faf44000000 ---p 00000000 00:00 0 7faf4400a000-7faf4400b000 ---p 00000000 00:00 0 7faf4400b000-7faf448f5000 rw-p 00000000 00:00 0 [stack:9679] 7faf448f5000-7faf44af5000 rw-s 15e973000 00:06 102712 /dev/nvidiactl 7faf44af5000-7faf44c7e000 r--p 00000000 08:04 1048897 /usr/lib64/locale/locale-archive 7faf44c7e000-7faf44e7e000 rw-p 00000000 00:00 0 7faf44e7e000-7faf44e7f000 ---p 00000000 00:00 0 7faf44e7f000-7faf4567f000 rw-p 00000000 00:00 0 [stack:9675] 7faf4567f000-7faf45680000 ---p 00000000 00:00 0 7faf45680000-7faf45e80000 rw-p 00000000 00:00 0 [stack:9674] 7faf45e80000-7faf45e81000 ---p 00000000 00:00 0 7faf45e81000-7faf46681000 rw-p 00000000 00:00 0 [stack:9673] 7faf46681000-7faf46682000 ---p 00000000 00:00 0 7faf46682000-7faf46e82000 rw-p 00000000 00:00 0 [stack:9672] 7faf46e82000-7faf46f02000 rw-s 38a9f000 00:06 102712 /dev/nvidiactl 7faf46f02000-7faf46f82000 rw-s 11b6a4000 00:06 102712 /dev/nvidiactl 7faf46f82000-7faf47002000 rw-s 101ef4000 00:06 102712 /dev/nvidiactl 7faf47002000-7faf471d7000 rw-s 00000000 00:05 8814619 /SYSV00000000 (deleted) 7faf471d7000-7faf472d8000 rw-p 00000000 00:00 0 7faf472d8000-7faf474ad000 rw-s 06bef000 00:06 102712 /dev/nvidiactl 7faf474ad000-7faf475ad000 rw-s 19e9ff000 00:06 102712 /dev/nvidiactl 7faf475ad000-7faf47782000 rw-p 00000000 00:00 0 7faf47782000-7faf47957000 rw-s 00000000 00:05 8781850 /SYSV00000000 (deleted) 7faf47957000-7faf47958000 ---p 00000000 00:00 0 7faf47958000-7faf48158000 rw-p 00000000 00:00 0 [stack:9671] 7faf48158000-7faf481d8000 rw-s acac1000 00:06 102712 /dev/nvidiactl 7faf481d8000-7faf48258000 rw-s 1c512f000 00:06 102712 /dev/nvidiactl 7faf48258000-7faf482d8000 rw-s 11b6b0000 00:06 102712 /dev/nvidiactl 7faf482d8000-7faf483d8000 rw-s 06a96000 00:06 102712 /dev/nvidiactl 7faf483d8000-7faf483eb000 rw-s 1ad7f000 00:06 102712 /dev/nvidiactl 7faf483eb000-7faf4840b000 rw-s e0020000 00:06 102713 /dev/nvidia0 7faf4840b000-7faf4844b000 rw-s b9e2e000 00:06 102712 /dev/nvidiactl 7faf4846b000-7faf4856f000 rw-s 607f6000 00:06 102712 /dev/nvidiactl 7faf4856f000-7faf49256000 r-xp 00000000 08:05 7880892 /opt/nvidia-cg-toolkit/lib64/libCg.so 7faf49256000-7faf49355000 ---p 00ce7000 08:05 7880892 /opt/nvidia-cg-toolkit/lib64/libCg.so 7faf49355000-7faf499dd000 rw-p 00ce6000 08:05 7880892 /opt/nvidia-cg-toolkit/lib64/libCg.so 7faf499dd000-7faf49a48000 rw-p 00000000 00:00 0 7faf49a4d000-7faf49a4e000 rw-p 00000000 00:00 0 7faf49a4e000-7faf49a50000 rw-s 00000000 08:04 4331621 /tmp/.gl0gDJQA (deleted) 7faf49a50000-7faf49a54000 rw-s 413ca000 00:06 102712 /dev/nvidiactl 7faf49a54000-7faf49a94000 rw-s 118007000 00:06 102712 /dev/nvidiactl 7faf49a94000-7faf49acd000 r-xp 00000000 08:04 308692 /home/dakk/rigs-of-rods/install/lib/OGRE/Plugin_CgProgramManager.so.1.9.0 7faf49acd000-7faf49ccd000 ---p 00039000 08:04 308692 /home/dakk/rigs-of-rods/install/lib/OGRE/Plugin_CgProgramManager.so.1.9.0 7faf49ccd000-7faf49cd2000 rw-p 00039000 08:04 308692 /home/dakk/rigs-of-rods/install/lib/OGRE/Plugin_CgProgramManager.so.1.9.0 7faf49cd2000-7faf49cf9000 r-xp 00000000 08:04 308670 /home/dakk/rigs-of-rods/install/lib/OGRE/Plugin_OctreeSceneManager.so.1.9.0 7faf49cf9000-7faf49ef9000 ---p 00027000 08:04 308670 /home/dakk/rigs-of-rods/install/lib/OGRE/Plugin_OctreeSceneManager.so.1.9.0 7faf49ef9000-7faf49efc000 rw-p 00027000 08:04 308670 /home/dakk/rigs-of-rods/install/lib/OGRE/Plugin_OctreeSceneManager.so.1.9.0 7faf49efc000-7faf49f43000 r-xp 00000000 08:04 308699 /home/dakk/rigs-of-rods/install/lib/OGRE/Plugin_ParticleFX.so.1.9.0 7faf49f43000-7faf4a142000 ---p 00047000 08:04 308699 /home/dakk/rigs-of-rods/install/lib/OGRE/Plugin_ParticleFX.so.1.9.0 7faf4a142000-7faf4a147000 rw-p 00046000 08:04 308699 /home/dakk/rigs-of-rods/install/lib/OGRE/Plugin_ParticleFX.so.1.9.0 7faf4a147000-7faf4a1f3000 r-xp 00000000 08:04 308578 /home/dakk/rigs-of-rods/install/lib/OGRE/RenderSystem_GL3Plus.so.1.9.0 7faf4a1f3000-7faf4a3f2000 ---p 000ac000 08:04 308578 /home/dakk/rigs-of-rods/install/lib/OGRE/RenderSystem_GL3Plus.so.1.9.0 7faf4a3f2000-7faf4a3fa000 rw-p 000ab000 08:04 308578 /home/dakk/rigs-of-rods/install/lib/OGRE/RenderSystem_GL3Plus.so.1.9.0 7faf4a3fa000-7faf4a4fb000 rw-p 00000000 00:00 0 7faf4a4fb000-7faf4b890000 r-xp 00000000 08:04 7503454 /usr/lib64/libnvidia-glcore.so.367.27 7faf4b890000-7faf4b8b0000 rwxp 01395000 08:04 7503454 /usr/lib64/libnvidia-glcore.so.367.27 7faf4b8b0000-7faf4bc50000 r-xp 013b5000 08:04 7503454 /usr/lib64/libnvidia-glcore.so.367.27 7faf4bc50000-7faf4be50000 ---p 01755000 08:04 7503454 /usr/lib64/libnvidia-glcore.so.367.27 7faf4be50000-7faf4c218000 rw-p 01755000 08:04 7503454 /usr/lib64/libnvidia-glcore.so.367.27 7faf4c218000-7faf4c230000 rw-p 00000000 00:00 0 7faf4c230000-7faf4c233000 r-xp 00000000 08:04 7503475 /usr/lib64/libnvidia-tls.so.367.27 7faf4c233000-7faf4c433000 ---p 00003000 08:04 7503475 /usr/lib64/libnvidia-tls.so.367.27 7faf4c433000-7faf4c434000 rw-p 00003000 08:04 7503475 /usr/lib64/libnvidia-tls.so.367.27 7faf4c434000-7faf4c4fc000 r-xp 00000000 08:04 7503435 /usr/lib64/opengl/nvidia/lib/libGLX_nvidia.so.367.27[{WIFSIGNALED(s) && WTERMSIG(s) == SIGABRT}], 0, NULL) = 9661 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=9661, si_uid=1000, si_status=SIGABRT, si_utime=364, si_stime=448} --- wait4(-1, 0x7fffad6bc7ec, 0, NULL) = -1 ECHILD (No child processes) rt_sigreturn({mask=[]}) = 9661 shutdown(3, SHUT_RDWR) = 0 close(3) = 0 exit_group(134) = ? +++ exited with 134 +++ dakk ~/rigs-of-rods/install/bin
I found the problem; this error belong to the fact that I compiled mygui against ogre1.9 (installed via the package manager) while at runtime it uses the ogre custom build (from ror-linux); I removed ogre1.9 from my system, recompiled mygui and it works fine (y)
I'd like to point out that you don't need to compile OGRE yourself if it's available in your distribution's repositories.
I successfully installed RoR using the buildscripts from https://github.com/RigsOfRods/ror-linux-buildscripts. RoRConfig and the RoR binary both give a core dump when run. This is after clicking "Save and Play" in the Config UI.
System info:
Have I done something incorrectly? I can provide more information about the environment if needed.