View Full Version : Segmentation fault (core dumped)
platyna
12-20-2018, 07:40 PM
I have a following problem:
[platyna@boadicea regnum]$ ./rolauncher
Segmentation fault (core dumped)
Fedora 29 with newest updates, NVdia Quadro card.
schachteana
12-20-2018, 11:03 PM
C++ in a nutshell
_Enio_
12-31-2018, 01:10 PM
Hah platyna, i remember you from long ago:biggrin: To the issue at hand - it could well be some incompatile library version.
I suggest to install gdb, the gnu debugger (yum install gdb) and start rolauncher with it, it might be able to give some insight in where exactly it is crashing.
Once gdb is installed, naviage to the regnum directory and launch a console, then issue gdb ./rolauncher
This will bring you inside the gdb console ready to debug. now just type run or r to get rolauncher executed with the debugger attached.
Once it crashed it will pause and you can issue more commands, i suggest to issue bt to get a backtrace on the function calls - paste the output here, it might give a hint which library is the culprit.
Exit gdb with the command quit
Good luck and a happy new year.
_Lutz_
10-12-2019, 06:28 AM
I have same issue with fedora 30 (kernel 5.2.18-200.fc30.x86_64 #1 SMP Tue Oct 1 13:14:07 UTC 2019)
GNU gdb (GDB) Fedora 8.3-6.fc30
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 /usr/local/regnum/rolauncher...
(No debugging symbols found in /usr/local/regnum/rolauncher)
(gdb) r
Starting program: /usr/local/regnum/rolauncher
[New LWP 6195]
[LWP 6195 exited]
[New LWP 6196]
[New LWP 6197]
[New LWP 6198]
[New LWP 6199]
[New LWP 6200]
[LWP 6200 exited]
Thread 1 "rolauncher" received signal SIGSEGV, Segmentation fault.
0x000000084d564d08 in ?? ()
(gdb) bt full
#0 0x000000084d564d08 in ?? ()
No symbol table info available.
#1 0x0000000000aa8615 in ?? ()
No symbol table info available.
#2 0x00000000016deb00 in ?? ()
No symbol table info available.
#3 0x00000000012d4460 in ?? ()
No symbol table info available.
#4 0x00000000016deb00 in ?? ()
No symbol table info available.
#5 0x00000000012cf550 in ?? ()
No symbol table info available.
#6 0x000000000000009c in ?? ()
No symbol table info available.
#7 0x0000009c0001faa4 in ?? ()
No symbol table info available.
#8 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb) info threads
Id Target Id Frame
* 1 LWP 6185 "rolauncher" 0x000000084d564d08 in ?? ()
3 LWP 6196 "rolauncher" 0x00007ffff7d910a5 in ?? ()
4 LWP 6197 "gmain" 0x00007ffff71dbae7 in ?? ()
5 LWP 6198 "gdbus" 0x00007ffff71dbae7 in ?? ()
6 LWP 6199 "pool-rolauncher" 0x00007ffff71e11fd in ?? ()
(gdb) thread apply all bt full
Thread 6 (LWP 6199):
#0 0x00007ffff71e11fd in ?? ()
No symbol table info available.
#1 0x00007ffff7ad2f76 in ?? ()
No symbol table info available.
#2 0x000000000000070c in ?? ()
No symbol table info available.
#3 0x000000000fb656b6 in ?? ()
No symbol table info available.
#4 0x000000000000000e in ?? ()
No symbol table info available.
#5 0x000000003b9ac622 in ?? ()
No symbol table info available.
#6 0x00007fffe62d0bb0 in ?? ()
No symbol table info available.
#7 0x5ac9915a61af7400 in ?? ()
No symbol table info available.
#8 0x0000000000000001 in ?? ()
No symbol table info available.
#9 0x0000000000000001 in ?? ()
No symbol table info available.
#10 0x000000006c6fc277 in ?? ()
No symbol table info available.
#11 0x00000000014adf50 in ?? ()
No symbol table info available.
#12 0x00000000014adf68 in ?? ()
No symbol table info available.
#13 0x00007ffff7a58031 in ?? ()
No symbol table info available.
#14 0x0000000000003a98 in ?? ()
No symbol table info available.
#15 0x00000000014adf50 in ?? ()
--Type <RET> for more, q to quit, c to continue without paging--
No symbol table info available.
#16 0x000000006c6fc277 in ?? ()
No symbol table info available.
#17 0x0000000000000002 in ?? ()
No symbol table info available.
#18 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 5 (LWP 6198):
#0 0x00007ffff71dbae7 in ?? ()
No symbol table info available.
#1 0x00000000014c8cf0 in ?? ()
No symbol table info available.
#2 0x00000000014c8cf0 in ?? ()
No symbol table info available.
#3 0x0000000000000002 in ?? ()
No symbol table info available.
#4 0xffffffff00000001 in ?? ()
No symbol table info available.
#5 0x00000000014c6c10 in ?? ()
No symbol table info available.
#6 0x00007ffff7a871ce in ?? ()
No symbol table info available.
#7 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 4 (LWP 6197):
#0 0x00007ffff71dbae7 in ?? ()
No symbol table info available.
#1 0x00000000014b5f50 in ?? ()
No symbol table info available.
#2 0x00000000014b5f50 in ?? ()
No symbol table info available.
--Type <RET> for more, q to quit, c to continue without paging--
#3 0x0000000000000002 in ?? ()
No symbol table info available.
#4 0xffffffff00000001 in ?? ()
No symbol table info available.
#5 0x00000000014b7180 in ?? ()
No symbol table info available.
#6 0x00007ffff7a871ce in ?? ()
No symbol table info available.
#7 0xffffffffffffffa0 in ?? ()
No symbol table info available.
#8 0x00000001ffffa0e0 in ?? ()
No symbol table info available.
#9 0xffffffff7fffffff in ?? ()
No symbol table info available.
#10 0x5ac9915a61af7400 in ?? ()
No symbol table info available.
#11 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 3 (LWP 6196):
#0 0x00007ffff7d910a5 in ?? ()
No symbol table info available.
#1 0x00007fffe7da2280 in ?? ()
No symbol table info available.
#2 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 1 (LWP 6185):
#0 0x000000084d564d08 in ?? ()
No symbol table info available.
#1 0x0000000000aa8615 in ?? ()
No symbol table info available.
#2 0x00000000016deb00 in ?? ()
--Type <RET> for more, q to quit, c to continue without paging--
No symbol table info available.
#3 0x00000000012d4460 in ?? ()
No symbol table info available.
#4 0x00000000016deb00 in ?? ()
No symbol table info available.
#5 0x00000000012cf550 in ?? ()
No symbol table info available.
#6 0x000000000000009c in ?? ()
No symbol table info available.
#7 0x0000009c0001faa4 in ?? ()
No symbol table info available.
#8 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb) quit
_Enio_
10-23-2019, 07:19 AM
Not really useful info in there.
Regarding rolauncher, i remember it could crash related to issues with themes, can you try to disable any special effects and themes? Also can you run ldd on rolauncher and paste its output here?
Also try to run the game executable directly, just to see if it crashes or just produces some error.
_Lutz_
10-27-2019, 01:29 PM
$ ldd -v /usr/local/regnum/rolauncher
not a dynamic executable
I have 2 pc, here.. with fedora, 29 and 30, regnum don't start.
the fedora 29, is not a fresh installation, I upgraded system since fedora 26 and worked till 28
the pc with fedora 30, it's fresh install on nvme (i had ssd with fedora 28), the theme is dark breeze (kde), i tryed on gnome with adwaita (default), no success also
to play i need to plug old ssd card with fedora 28.. sad
_Enio_
10-28-2019, 06:57 PM
$ ldd -v /usr/local/regnum/rolauncher
not a dynamic executable
I have 2 pc, here.. with fedora, 29 and 30, regnum don't start.
the fedora 29, is not a fresh installation, I upgraded system since fedora 26 and worked till 28
the pc with fedora 30, it's fresh install on nvme (i had ssd with fedora 28), the theme is dark breeze (kde), i tryed on gnome with adwaita (default), no success also
to play i need to plug old ssd card with fedora 28.. sad
I see, can you try strace -o strace.log -Tfe trace=openat,open ./rolauncher, put it to i.e. pastebin and put a link here or in a pm? Maybe we can find out what its trying to load just before it crashes.
_Lutz_
10-29-2019, 03:31 AM
I did this command in both OS
strace on fedora 30
https://pastebin.com/yuCE1fyd
strace on fedora 28
https://pastebin.com/zD9rGx1U
on fedora 28 I closed after load login window
maybe some issue with fonts?
_Enio_
10-29-2019, 09:22 AM
I did this command in both OS
strace on fedora 30
https://pastebin.com/yuCE1fyd
strace on fedora 28
https://pastebin.com/zD9rGx1U
on fedora 28 I closed after load login window
maybe some issue with fonts?
Very nice you did both, it looks definitely like some issue with themes, not some missing library.
See if there are more settings regarding that.
I.e. on cinnamon i can set default fonts + sizes, theme for window borders, mouse pointer, controls, desktop elements separately (all set to adwaita). And try disable all effects, all that visual candy.
Edit: I just read that with new gnome they added a new adwaita theme, so it could well be there are problems with it. Try to get some older theme, maybe you can download the old adwaita and use it on fedora 30 for a test.
_Lutz_
10-29-2019, 05:23 PM
I found the problem... [font configs on fedora 29/30]
I did a hard work with fonts on this system, and I configured to get best font rendering ever, but I copy my entire home to new installation.
1st I test renaming the files ~/.fonts ~/.fonts.conf and ~/.config/fontconfig/fonts.conf I think the file ~/.fonts.conf is decrapted, not sure about that
but the real problem was in ~/.config/fontconfig/fonts.conf, after relogin, system created new one with few things and all worked. If I use old file.. regnum not load, I didnt check which exactly block config making game crash. My fonts rendering didnt changed
I instaled others gtk-2 and gtk-3 themes also, but wasnt the problem, now all work with gnome default
on kde/gnome i dont use antialising/hint configs by display manager (using system default).
Any1 with Fedora 29/30, check font configs
Thank you very much for help Enio and give me some light about that.
_Enio_
10-30-2019, 05:57 PM
I found the problem... [font configs on fedora 29/30]
[...]
Thank you very much for help Enio and give me some light about that.
Very welcome! Glad to hear you figured it out and good to know the fonts can be an issue :thumb:
Sulimo
04-08-2020, 08:18 PM
I think that I have the same problem but on kubuntu 18.04
this is the strace:
https://pastebin.com/LFZ4wnFM
some help pls
platyna
02-11-2021, 03:30 AM
10 yeas have passed and the problem still persist.
I also learned I have "infractions" on forums, no idea how, and they do not seem to be related to the posts they link to, tried to PM admins about it, but they have PMs off.
I ran strace and removed this file: /usr/share/fonts/bitstream-vera-sans-fonts/VeraBd.ttf RO client proceeded to the EULA and then crashed again when I agreed to it. So I removed whole /usr/share/fonts/liberation-sans/ and managed to start the game...and all my chars are level 1 mages with empty inventories in the starting area. What the heck?! I had four chars - all high level and fully geared, with a lot of stuff from xim bought boxes...
What's up guys? I remember I put quite some money in this game, where are my skills and items???
Cheers!
vBulletin® v3.8.7, Copyright ©2000-2024, vBulletin Solutions, Inc.