Forum

> > CS2D > General > linux cd2d Segmentation fault
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch linux cd2d Segmentation fault

6 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt geschlossen linux cd2d Segmentation fault

oleg
User Off Offline

Zitieren
oleg@localhost ~/Counter-Strike 2D $ ./CounterStrike2D
Graphics Mode Error:
640x480 at 32 bit does not work!
oleg@localhost ~/Counter-Strike 2D $ ./CounterStrike2D -win
Segmentation fault

OS info:
Linux localhost 2.6.30-gentoo-r6 #2 SMP PREEMPT Tue Sep 8 01:33:40 EEST 2009 i686 AMD Athlon(tm) XP 2200+ AuthenticAMD GNU/Linux

libstdc++v3 installed
/usr/lib/libstdc++.so.5 -> libstdc++.so.5.0.7
/usr/lib/libstdc++.so.5.0.7

alt Re: linux cd2d Segmentation fault

spartan029
User Off Offline

Zitieren
That's odd. So your not running Ubuntu?

and truly i have no idea what a segmentation fault is.

I'm terribly sorry. i am not to skilled in the Linux OS although i had some time with it, i do know a little.

alt Re: linux cd2d Segmentation fault

DC
Admin Off Offline

Zitieren
it's also possible that you didn't extract everything properly and/or that CS2D tries to access some resources which are not available.

these resources are either files or libraries.

alt Re: linux cd2d Segmentation fault

oleg
User Off Offline

Zitieren
This is on Gentoo Linux and permission is good
-rwxr-xr-x 1 oleg oleg 2.1M Jun 14 07:45 CounterStrike2D

I think problem with reading of gfx/fonts/arial.ttf
strace show last open() call before segfault on
open("gfx/fonts/arial.ttf", O_RDONLY)
...
read(7, "\0\2\246\324\0\2\247\270\0\2\2518\0\2\252\272\0\2\253\272\0\2\254\316\0\2\256\22\0\2\256\"\0"..., 4096) = 4096
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht