English Cs2D Linux segmentation fault

4 replies
Goto Page
To the start Previous 1 Next To the start
13.03.18 01:14:42 pm
Up
G3tWr3ck3d
User
Offline Off
I am trying to run cs2d on linux 64bit, I installed
Code:
1
apt-get install libgtk2.0-0:i386 libidn11:i386 libglu1-mesa:i386 libpangox-1.0-0:i386 libpangoxft-1.0-0:i386

used
Code:
1
chmod 777 ./CS2D

I get the following error
Code:
1
2
3
root@user:~/Desktop/CS2D# ./CS2D
Segmentation fault
root@user:~/Desktop/CS2D#

I am using
Code:
1
2
Kernel type      Monolithic kernel (Linux)
OS family      Unix-like
Mess with the best, die like the rest. ༼ つ ◕_◕ ༽つ
13.03.18 03:07:01 pm
Up
Fraizeraust
Moderator
Offline Off
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:
Code:
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.
19.03.18 04:28:43 pm
Up
G3tWr3ck3d
User
Offline Off
Code:
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


Code:
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 ?? ()


Code:
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)
Mess with the best, die like the rest. ༼ つ ◕_◕ ༽つ
19.03.18 04:57:25 pm
Up
mrc
User
Offline Off
We already have tons of servers, dont waste ur time with this.
CS2D World @ www.CS2D.com.br

Admin/mod comment:

Read carefully. He's trying to start the CLIENT on Linux and not a server. /DC
19.03.18 05:00:20 pm
Up
Fraizeraust
Moderator
Offline Off
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.
To the start Previous 1 Next To the start