Forum

> > CS2D > General > Cs2D Linux segmentation fault
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Cs2D Linux segmentation fault

5 replies
To the start Previous 1 Next To the start

old Cs2D Linux segmentation fault

G3tWr3ck3d
User Off Offline

Quote
I am trying to run cs2d on linux 64bit, I installed
1
apt-get install libgtk2.0-0:i386 libidn11:i386 libglu1-mesa:i386 libpangox-1.0-0:i386 libpangoxft-1.0-0:i386
used
1
chmod 777 ./CS2D
I get the following error
1
2
3
root@user:~/Desktop/CS2D# ./CS2D
Segmentation fault
root@user:~/Desktop/CS2D#
I am using
1
2
Kernel type 	Monolithic kernel (Linux)
OS family 	Unix-like

old Re: Cs2D Linux segmentation fault

GeoB99
Moderator Off Offline

Quote
Make sure that you have every required library necessary for CS2D to run. You can run
ldd ./CS2D
which lists the linked run-time libs.

GDB is also a very useful debugging utility to get the backtrace of a specific problem. The following command is:
gdb ./CS2D

Don't forget to obtain the backtrace with
bt
after CS2D has crashed with SIGSEGV. And then paste all the output here.

• Tip: I would not recommend changing the permission of CS2D executable to 777. This means that you allow every user the right to execute, read and write the specific binary application which is a very bad idea.

old Re: Cs2D Linux segmentation fault

G3tWr3ck3d
User Off Offline

Quote
1
2
3
4
5
6
Starting program: /root/Desktop/CS2D/CS2D 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0xf6dca38f in ?? () from /usr/lib/i386-linux-gnu/dri/i965_dri.so

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#0  0xf6dca38f in ?? () from /usr/lib/i386-linux-gnu/dri/i965_dri.so
#1  0xf6dc7992 in ?? () from /usr/lib/i386-linux-gnu/dri/i965_dri.so
#2  0xf6dbff5d in ?? () from /usr/lib/i386-linux-gnu/dri/i965_dri.so
#3  0xf6db0a10 in ?? () from /usr/lib/i386-linux-gnu/dri/i965_dri.so
#4  0xf6b690ac in ?? () from /usr/lib/i386-linux-gnu/dri/i965_dri.so
#5  0xf6b4cb7b in ?? () from /usr/lib/i386-linux-gnu/dri/i965_dri.so
#6  0xf6b4d5c2 in ?? () from /usr/lib/i386-linux-gnu/dri/i965_dri.so
#7  0xf6b54f41 in ?? () from /usr/lib/i386-linux-gnu/dri/i965_dri.so
#8  0xf69fe5cf in ?? () from /usr/lib/i386-linux-gnu/dri/i965_dri.so
#9  0x0828784e in ?? ()
#10 0x08289d0e in ?? ()
#11 0x0810ea7d in ?? ()
#12 0x0810dff6 in ?? ()
#13 0x0810dee8 in ?? ()
#14 0x0810df7d in ?? ()
#15 0x0811abca in ?? ()
#16 0x080dc665 in ?? ()
#17 0x080d6ccd in ?? ()
#18 0x0804e884 in ?? ()
#19 0xf78a3e81 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
#20 0x0804e761 in ?? ()

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
linux-gate.so.1 (0xf7ed7000)
	libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf7d4f000)
	libXxf86vm.so.1 => /usr/lib/i386-linux-gnu/libXxf86vm.so.1 (0xf7d48000)
	libGL.so.1 => /usr/lib/i386-linux-gnu/libGL.so.1 (0xf7ce7000)
	libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0xf7c29000)
	libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7c24000)
	libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf7aa6000)
	libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf79a4000)
	libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7986000)
	libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7967000)
	libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf778e000)
	libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf7760000)
	libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xf774b000)
	libGLX.so.0 => /usr/lib/i386-linux-gnu/libGLX.so.0 (0xf7728000)
	libGLdispatch.so.0 => /usr/lib/i386-linux-gnu/libGLdispatch.so.0 (0xf76c9000)
	libpng16.so.16 => /usr/lib/i386-linux-gnu/libpng16.so.16 (0xf768e000)
	libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xf7673000)
	/lib/ld-linux.so.2 (0xf7ed9000)
	libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf766e000)
	libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf7667000)
	libbsd.so.0 => /lib/i386-linux-gnu/libbsd.so.0 (0xf764c000)
	librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf7642000)

old Re: Cs2D Linux segmentation fault

mrc
User Playing CS2D

Quote
We already have tons of servers, dont waste ur time with this.

Admin/mod comment

Read carefully. He's trying to start the CLIENT on Linux and not a server. /DC

old Re: Cs2D Linux segmentation fault

GeoB99
Moderator Off Offline

Quote
Interesting...

The application faults on i965_dri which is supposed to be the driver module stack of your graphics driver. You're using an integrated Intel graphics card? If so, such drivers for these iGPUs have been always a hit and miss depending on your hardware. There's nothing that you can do much other than upgrading the specific Linux graphics driver and see if the problem does persist again.

old Re: Cs2D Linux segmentation fault

WyRe
User Off Offline

Quote
Is there any news about this issue, I've got a new ES1-132 with Arch Linux and I would like to try this appropriated game, hehe

I'm having exactly the same issue, this is my bt and debug

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
(gdb) run
Starting program: /home/wyre/.local/share/Steam/steamapps/common/CS2D/CS2D 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0xf63e0b40 (LWP 7483)]

Thread 1 "CS2D" received signal SIGSEGV, Segmentation fault.
0xf6a1cb07 in ?? () from /usr/lib32/dri/i965_dri.so
(gdb) bt
#0  0xf6a1cb07 in ?? () from /usr/lib32/dri/i965_dri.so
#1  0xf69f6972 in ?? () from /usr/lib32/dri/i965_dri.so
#2  0xf6a1ecd8 in ?? () from /usr/lib32/dri/i965_dri.so
#3  0xf69ddcce in ?? () from /usr/lib32/dri/i965_dri.so
#4  0xf6959886 in ?? () from /usr/lib32/dri/i965_dri.so
#5  0xf683346a in ?? () from /usr/lib32/dri/i965_dri.so
#6  0xf683366b in ?? () from /usr/lib32/dri/i965_dri.so
#7  0xf68337c3 in ?? () from /usr/lib32/dri/i965_dri.so
#8  0xf694e3f2 in ?? () from /usr/lib32/dri/i965_dri.so
#9  0x082935c1 in ?? ()
#10 0x0829507b in ?? ()
#11 0x08294e18 in ?? ()
#12 0x08293046 in ?? ()
#13 0x082990e7 in ?? ()
#14 0x082992b6 in ?? ()
#15 0x08108980 in ?? ()
#16 0x0811e403 in ?? ()
#17 0x080e0abf in ?? ()
#18 0x080d87fd in ?? ()
#19 0x0804eda4 in ?? ()
#20 0xf787f141 in __libc_start_main () from /usr/lib32/libc.so.6
#21 0x0804ec87 in ?? ()
(gdb) c
Continuing.
[Thread 0xf74cb940 (LWP 7482) exited]

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb)

I think this would be an awesome game for low-end laptops.

EDIT: I'm trying to deal with DRI options; I've tried to enable DRI with xorg conf as my distro wiki exposes but the issue persist, my hw is an Intel HD graphics 500
edited 1×, last 23.07.18 01:50:03 pm
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview