This forum is closed for posting. Please, join us in our Discord server at discord.gg/regnum. See you there!
|
Technical Support Questions about game technical support to the users of the community |
11-24-2013, 04:48 PM
|
#1
|
Apprentice
Join Date: Dec 2007
Location: FRANCE
Posts: 93
|
Rolauncher segfault
Hi,
Today i does a new install and i fail to use regnum
I will show step by step what i try:
Running RO
Code:
$ LANG=C ./rolauncher
Erreur de segmentation (core dumped)
Running RO with env var
Code:
$ LANG=C MALLOC_CHECK_=1 ./rolauncher
Erreur de segmentation (core dumped
Running RO with gdb
Code:
$ LANG=C MALLOC_CHECK_=1 gdb -q ./rolauncher
Reading symbols from /.../...../...../regnum/rolauncher...(no debugging symbols found)...done.
(gdb) r --sync
Starting program: /.../.../.../regnum/rolauncher --sync
Program received signal SIGSEGV, Segmentation fault.
0x00000030d8f06a40 in ?? ()
(gdb) bt
#0 0x00000030d8f06a40 in ?? ()
#1 0x0000000000000057 in ?? ()
#2 0x0000000001434400 in ?? ()
#3 0x00007fffffffb2f0 in ?? ()
#4 0x00000030ca819584 in ?? ()
#5 0x0000000000000000 in ?? ()
(gdb) quit
A debugging session is active.
Inferior 1 [process 16170] will be killed.
Quit anyway? (y or n) y
Running Live/game directly
Code:
$ ./game login md5EncryptedPassword &
[2] 15102
That display this
Looking for missing dependencies
Code:
for lib in $(ldd live/game | grep -o '/lib.* '); do
[[ ! -e $lib ]] && echo "error lib $lib not installed"
done
All linked file listed are present on my system
System
Code:
$ lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: Fedora
Description: Fedora release 20 (Heisenbug)
Release: 20
Codename: Heisenbug
So what can i do ?
Last edited by Zarakaye; 11-24-2013 at 05:05 PM.
|
|
|
11-28-2013, 12:33 AM
|
#2
|
Master
Join Date: May 2010
Location: England
Posts: 455
|
Hi.
What version of libpng does your distro have?
|
|
|
12-07-2013, 01:20 PM
|
#3
|
Pledge
Join Date: Dec 2007
Posts: 9
|
segfault too at Archlinux
The same thing here but no stack?
LANG=C MALLOC_CHECK_=1 gdb -q ./rolauncher
Reading symbols from /home/nikolay/regnum/rolauncher...
warning: no loadable sections found in added symbol-file /home/nikolay/regnum/rolauncher
(no debugging symbols found)...done.
(gdb) r --sync
Starting program: /home/nikolay/regnum/./rolauncher --sync
During startup program terminated with signal SIGSEGV, Segmentation fault.
(gdb) bt
No stack.
Archlinux
Linux 3.12.3-1-ARCH i686 GNU/Linux
libpng 1.6.7-1
nvidia 331.20-2
GeForce 9300M GS
__________________
Hunter (50) "get me" Knight (50) "kejo" Warlock (50) "KINGFISHER" barbarian (50) "manaf"
Registered Linux User #375603 at counter.li.org
|
|
|
12-07-2013, 05:28 PM
|
#4
|
Master
Join Date: May 2010
Location: England
Posts: 455
|
Quote:
Originally Posted by regnumproba
The same thing here but no stack?
LANG=C MALLOC_CHECK_=1 gdb -q ./rolauncher
Reading symbols from /home/nikolay/regnum/rolauncher...
warning: no loadable sections found in added symbol-file /home/nikolay/regnum/rolauncher
(no debugging symbols found)...done.
(gdb) r --sync
Starting program: /home/nikolay/regnum/./rolauncher --sync
During startup program terminated with signal SIGSEGV, Segmentation fault.
(gdb) bt
No stack.
Archlinux
Linux 3.12.3-1-ARCH i686 GNU/Linux
libpng 1.6.7-1
nvidia 331.20-2
GeForce 9300M GS
|
You can try to isntall libpng 1.2 from the AUR, but I think you will need an older version of gdk-pixbuf too as the latest version of that causes segfaults on the launcher too.
What I found helps is to place all the older libs the launcher needs into a folder "libs" in the same directory as the launcher executable, if you need the older gdk-pixbuf lib, let me know I'll stick it up somewhere for you to download.
Good luck! Here's hoping NGD shows linux some love in 2014, so we can stop tinkering to get their game that's supposedly supported on linux to work.
|
|
|
12-07-2013, 05:55 PM
|
#5
|
Count
Join Date: Sep 2008
Posts: 1,690
|
I might be wrong but some friends told me that the linux binaries offered by NGD for download are broken. They had no problems running the game with my binary (updated through the launcher from a game version I downloaded years ago).
|
|
|
12-08-2013, 06:03 AM
|
#6
|
Master
Join Date: Jan 2009
Location: Kriegsplatz 6, Hopstad Alsius Ra
Posts: 291
|
I've found the cause of this issue
For developers:
Quote:
$ strace ./rolauncher
***
open("/usr/share/icons/Faenza/actions/16/gtk-cancel.png", O_RDONLY) = 14
fstat(14, {st_mode=S_IFREG|0644, st_size=816, ...}) = 0
read(14, "\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0\20\0\0\0\20\10 \6\0\0\0\37\363\377"..., 65536) = 816
read(14, "", 65536) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x40} ---
+++ killed by SIGSEGV (core dumped) +++
|
Its all about icon and developer's mistake)))
For users solution colud be in
Quote:
sudo rm /usr/share/icons/YOUR_GTK_THEME/actions/*/gtk-cancel.png
|
This file is symlink in Arch so don't worry
EDIT: also you can try to switch to default GNOME icon theme (for me there was no file gtk-cncel.png) After you authorize your computer via email, there should be no problems.
Last edited by Truewar; 12-08-2013 at 07:13 AM.
|
|
|
12-08-2013, 07:05 PM
|
#7
|
Master
Join Date: Jan 2009
Location: Kriegsplatz 6, Hopstad Alsius Ra
Posts: 291
|
|
|
|
12-09-2013, 11:59 AM
|
#8
|
Pledge
Join Date: Dec 2007
Posts: 9
|
works
Quote:
Originally Posted by Iliares
I've found the cause of this issue
For developers:
Its all about icon and developer's mistake)))
For users solution colud be in
This file is symlink in Arch so don't worry
EDIT: also you can try to switch to default GNOME icon theme (for me there was no file gtk-cncel.png) After you authorize your computer via email, there should be no problems.
|
Yes, it depends on themes
open("/usr/share/themes/Adwaita/gtk-2.0/Entry/entry-border-fill.png", O_RDONLY|O_LARGEFILE) = 19
I use openbox and its not working, changing to kde4 is back to normal.
__________________
Hunter (50) "get me" Knight (50) "kejo" Warlock (50) "KINGFISHER" barbarian (50) "manaf"
Registered Linux User #375603 at counter.li.org
|
|
|
12-10-2013, 04:37 AM
|
#9
|
Master
Join Date: Jan 2009
Location: Kriegsplatz 6, Hopstad Alsius Ra
Posts: 291
|
Quote:
Originally Posted by regnumproba
Yes, it depends on themes
open("/usr/share/themes/Adwaita/gtk-2.0/Entry/entry-border-fill.png", O_RDONLY|O_LARGEFILE) = 19
I use openbox and its not working, changing to kde4 is back to normal.
|
Maybe It is all because of symlinks. On opensuse there is no such troubles on same machine with same settings.
|
|
|
12-10-2013, 10:18 AM
|
#10
|
Count
Join Date: Sep 2008
Posts: 1,690
|
Quote:
Originally Posted by Iliares
Maybe It is all because of symlinks. On opensuse there is no such troubles on same machine with same settings.
|
We don't know the code they used before the segfault, however they should use readlink to get a symlinks real path and filename before they try to open it with the open command. Opening a symlink directly by open( is clearly an error of programmation.
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT. The time now is 04:19 PM.
|