Forum

> > CS2D > General > [SOLVED] Segmentation fault
Forums overviewCS2D overviewGeneral overviewLog in to reply

English [SOLVED] Segmentation fault

5 replies
To the start Previous 1 Next To the start

moved [SOLVED] Segmentation fault

mrc
User Off Offline

Quote
I was running 2 servers in the previous version normally, then I update to the newest version and now I get this error when I runthe dedicated. All files are from v.1.0.0.7, the cs2d_dedicated (linux) is up to date and everything has the permissions. What it can be? Thanks.

@edit omg I post in the wrong forum, it was supposed to be CS2D. sry
edited 1×, last 09.04.18 03:30:26 am

old Re: [SOLVED] Segmentation fault

GeoB99
Moderator Off Offline

Quote
Can you debug CS2D and paste all the information here? Type the following command bellow:
gdb ./cs2d_dedicated

After this you must run the debugger with
run
and when CS2D breaks into SIGSEGV use
bt
to get a backtrace. Keep in mind you must have GDB installed onto your machine before doing these steps above.

old Re: [SOLVED] Segmentation fault

mrc
User Off Offline

Quote
1
./cs2d_dedicated: not in executable format: File format not recognized

1
2
(gdb) bt cs2d_dedicated
No stack.

@user DC: are u aware of it? centos 7 64bit
edited 1×, last 08.04.18 11:39:48 pm

old Re: [SOLVED] Segmentation fault

DC
Admin Off Offline

Quote
I have no idea why this happens unfortunately. According to a quick search this happens when you try to run a file which is no executable.

Maybe the permissions for the file are not set properly or you are not running the right file. Double check if you put the actual binary in the right location.

The cs2d_dedicated Linux binary is definitively working. Some people are using it and I can run it as well.

old Re: [SOLVED] Segmentation fault

mrc
User Off Offline

Quote
@user DC: I think I found the solution. In the previous version it works if I use the windows client + dedicated linux. Now it doesnt. But if I use the linux client + dedicated linux it seems to work! #solved
edited 4×, last 09.04.18 01:34:03 am
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview