Forum

> > CS2D > General > Segmentation fault on launch (Antergos)
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch Segmentation fault on launch (Antergos)

13 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Segmentation fault on launch (Antergos)

GeoB99
Moderator Off Offline

Zitieren
On my Antergos (Arch based distro, 4.11.6-1-ARCH version) box, CS2D fails to launch and throws a segmentation fault (core dumped). I can't judge whether it's an internal bug or my fail setup but I suspect the problem might be caused by certain incompatible libraries in order to run this game.

This is what strace reports the CS2D's behaviour while launching:

Strace output - Pastebin

And additional information from gdb, the backtrace is also included:
gdb output >

And finally, the ldd output. It reports no missing libraries whatsoever and none of them are corrupt as you can see below:
ldd output >

These are all the debugging info I could bring here. If you guys know a solution to get rid of this I'd be happy.

alt Re: Segmentation fault on launch (Antergos)

_Yank
User Off Offline

Zitieren
I'm not sure but I believe that it's due to the fact that CS2D now uses a more recent version of OpenGL which is not available on most integrated intel GPUs.

Could you try to run an older version and see how it goes (preferably before SQ's updates on the light engine and such) ?

Also, what's your integrated card or CPU ? Do you have any other GPU appart from the integrated one ?

alt Re: Segmentation fault on launch (Antergos)

GeoB99
Moderator Off Offline

Zitieren
@user SQ: I use Pulseaudio as main sound card driver however I doubt it could be caused by that because Ubuntu and its derivatives use Pulseaudio as well and no seg.faults occured (apart that there was no sound).

@user _Yank: Got an earlier version of CS2D and same issue occurs. Here's some info about my CPU.

Info >

As for the GPU, I only have an iGPU which is Intel HD Graphics and this is it. I don't have other GPUs present on my motherboard.

alt Re: Segmentation fault on launch (Antergos)

SQ
Moderator Off Offline

Zitieren
Nope, it uses same openGL as 1.0.0.1 version.. and it doesn't load the engine until you join the server.

Also I know that it will crash when using pulse audio when going into "intro menu", so I'm pretty sure that's the problem.

Try running the game with skip intro flag.

alt Re: Segmentation fault on launch (Antergos)

_Yank
User Off Offline

Zitieren
I don't want to offtopic but the new versions do indeed make use of new GL extensions. On 1.0.0.1, I'm able to use the advanced light and shadow settings but in newer versions I'm not even able to choose them.

alt Re: Segmentation fault on launch (Antergos)

SQ
Moderator Off Offline

Zitieren
Oh right, I was wrong. In 1.0.0.2* I built new engine.
On 1.0.0.1 it still used CPU to generate lighting.

Well it requires openGL 1.5 at the very best. I remember using extensions from 2003, so it should work in anyway, try upgrading drivers perhaps.

But lighting is initialized only when running the gameplay for the first time, so the menu should be loaded without any problems.
Of course it checks for the extensions in when initializing the game, so it would prevent you from using it in the first place.

alt Re: Segmentation fault on launch (Antergos)

GeoB99
Moderator Off Offline

Zitieren
user SQ hat geschrieben
Try running the game with skip intro flag.

I ran the game without the intro and it is still the same. Begs the question, if Pulseaudio is really of a big problem then why does it happen on Arch based distros and not on other distros such as Ubuntu?

Sure, it will still crash because of other issues like win bug explained there thread cs2d Black screen on Linux however you can bypass it temporarily and you'll see CS2D not crashing. By this matter, I assume there's something wrong in my system but I can't see exactly where...

alt Re: Segmentation fault on launch (Antergos)

SQ
Moderator Off Offline

Zitieren
In either way, I don't really want to explain the issue, you won't just get it. It was fixed meanwhile rewriting some core stuff in 1.0.0.4. DC initialized a lot of stuff twice due to command line and config parameters conflict. I need to get Linux to make sure that doesn't happen anymore.

alt Re: Segmentation fault on launch (Antergos)

_Yank
User Off Offline

Zitieren
@user GeoB99: Nothing is wrong with your system, I used to have this problem on my Arch machine but I can't remember how I fixed it.

Somehow I still think it that it is related to the graphics scene. Your gdb backtrace is reporting that the error is related to i965_dri which happens to be the driver module for your intel integrated GPU.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht