• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Compiling & running RME on Fedora 31

222222

Intermediate OT User
Joined
Jul 3, 2007
Messages
207
Reaction score
145
Hello,

Does anyone have RME running on Fedora 31?
After I compiled it I end up getting a "Segmentation fault" error when I try to run it.

Code:
$ ./rme
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Review COPYING in RME distribution for details.
Segmentation fault (core dumped)

When I run it in gdb I get this:
Code:
$ gdb rme
GNU gdb (GDB) Fedora 8.3.50.20190824-30.fc31
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from rme...
(gdb) run
Starting program: /usr/bin/open-tibia/rme/rme/build/rme
Missing separate debuginfos, use: dnf debuginfo-install glibc-2.30-10.fc31.x86_64
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Missing separate debuginfo for /lib64/libcairo-gobject.so.2
Try: dnf --enablerepo='*debug*' install /usr/lib/debug/.build-id/a8/2f837a6629de2cb0380593aef33a5fecad9fd3.debug
Missing separate debuginfo for /lib64/libwayland-cursor.so.0
Try: dnf --enablerepo='*debug*' install /usr/lib/debug/.build-id/08/5234d7cefc834eb6b3679dc08165c6ef1e4d26.debug
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Review COPYING in RME distribution for details.
[New Thread 0x7fffe1239700 (LWP 81180)]
[New Thread 0x7fffdbfff700 (LWP 81181)]
[New Thread 0x7fffd37fe700 (LWP 81182)]
[New Thread 0x7fffdb7fe700 (LWP 81183)]
[New Thread 0x7fffdaffd700 (LWP 81184)]
[New Thread 0x7fffda7fc700 (LWP 81185)]
[New Thread 0x7fffd9ffb700 (LWP 81186)]

Thread 1 "rme" received signal SIGSEGV, Segmentation fault.
0x00007ffff6a6f7b0 in free () from /lib64/libc.so.6
Missing separate debuginfos, use: dnf debuginfo-install expat-2.2.8-1.fc31.x86_64 fontconfig-2.13.92-3.fc31.x86_64 fribidi-1.0.5-5.fc31.x86_64 graphite2-1.3.13-1.fc31.x86_64 libXrender-0.9.10-10.fc31.x86_64 libdrm-2.4.100-1.fc31.x86_64 libepoxy-1.5.3-4.fc31.x86_64 libgpg-error-1.36-2.fc31.x86_64 libthai-0.1.28-3.fc31.x86_64 libxshmfence-1.3-5.fc31.x86_64 mesa-dri-drivers-19.2.8-1.fc31.x86_64 mesa-libGL-19.2.8-1.fc31.x86_64 mesa-libglapi-19.2.8-1.fc31.x86_64 pcre-8.43-2.fc31.1.x86_64 pcre2-10.34-5.fc31.x86_64 pixman-0.38.4-1.fc31.x86_64
(gdb) bt
#0  0x00007ffff6a6f7b0 in free () at /lib64/libc.so.6
#1  0x0000000000611186 in __gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long) (this=0x7fffffffcd50, __p=<optimized out>)
    at /usr/include/c++/9/ext/new_allocator.h:119
#2  std::allocator_traits<std::allocator<char> >::deallocate(std::allocator<char>&, char*, unsigned long)
    (__a=..., __n=<optimized out>, __p=<optimized out>) at /usr/include/c++/9/bits/alloc_traits.h:470
#3  std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_destroy(unsigned long) (__size=<optimized out>, this=0x7fffffffcd50)
    at /usr/include/c++/9/bits/basic_string.h:237
#4  std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_dispose() (this=0x7fffffffcd50)
    at /usr/include/c++/9/bits/basic_string.h:232
#5  std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() (this=0x7fffffffcd50, __in_chrg=<optimized out>)
    at /usr/include/c++/9/bits/basic_string.h:658
#6  ClientVersion::loadVersion(pugi::xml_node) (versionNode=...) at /usr/bin/open-tibia/rme/rme/source/client_version.cpp:187
#7  0x0000000000613cd8 in ClientVersion::loadVersions() () at /usr/bin/open-tibia/rme/rme/source/client_version.cpp:86
#8  0x00000000005f978d in Application::OnInit() (this=0x99e490) at /usr/bin/open-tibia/rme/rme/source/application.cpp:127
#9  0x00007ffff7363862 in wxEntry(int&, wchar_t**) (argc=<optimized out>, argv=<optimized out>) at ../include/wx/init.h:109
#10 0x00000000005d267d in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/bin/open-tibia/rme/rme/source/application.cpp:91

@Elime maybe you have some input on this? Any chances there will be a compilation guide for Fedora included on GitHub? Fedora 31 KDE made a lot of people move over to that from Ubuntu and the amount of users are increasing daily now. Would be awesome to have that.
 
Last edited:
Back
Top