1

Topic: 0.7.4 does't launch on Linux Mint 19

Hi folks,
wanted to try the new 0.7.4 on a Linux Mint machine, but i receive 

[2020-01-14 19:36:43][client]: starting...
No protocol specified
Segmentation fault (core dumped)

Can anybody help?

2

Re: 0.7.4 does't launch on Linux Mint 19

There might have been a *.core file being dumped somewhere, it's some gigabyte big, if you zip it, you can get its size down to a few megabyte.

If there isn't, you gotta open a terminal, write "ulimit -c unlimited" then navigate to the teeworlds client via the terminal and open the client and wait until it crashes.

https://stackoverflow.com/questions/291 … -c-program

Then you need to zip the coredump file and the teeworlds client, best would be the simply zip the whole folder with the core dump and upload it somewhere.

Teeworlds [ friends ] clan
Some YouTube Stuff about Teeworlds

3

Re: 0.7.4 does't launch on Linux Mint 19

Hey, I use Mint as well. Have you ever successfully run other versions of Teeworlds on this machine?

Not Luck, Just Magic.

4

Re: 0.7.4 does't launch on Linux Mint 19

I successfully ran 0.6.4 from Ubuntu repository and 0.7.2 from snap repository. But there are no 0.7.4 files on those repos.

5

Re: 0.7.4 does't launch on Linux Mint 19

haretuerk wrote:

I successfully ran 0.6.4 from Ubuntu repository and 0.7.2 from snap repository. But there are no 0.7.4 files on those repos.

In order to identify whether this is a 0.7.4 or a install-out-of-zip problem, could you try the flathub version? We officially maintain it at https://flathub.org/apps/details/com.te … .Teeworlds

Not Luck, Just Magic.

6

Re: 0.7.4 does't launch on Linux Mint 19

Ok, now it works. I installed 7.4. from Flathub and I recognize I am not very familiar with this Flatpak and Snap stuff...
Also, i would like to run a local server. I found teeworlds_srv in /var/lib/flatpak/app/com.teeworlds.Teeworlds/x86_64/stable/9c3c7a1f4ec22bf6c0c5601e180f4a2237262037e7fa79606c3c48fb11039fed/files/bin (omg).
First attempt was aborted:

[2020-01-20 19:31:54][console]: failed to open 'autoexec.cfg'

.. ok, is there an easy way to launch an 7.4 linux server?

7

Re: 0.7.4 does't launch on Linux Mint 19

haretuerk wrote:

Ok, now it works. I installed 7.4. from Flathub and I recognize I am not very familiar with this Flatpak and Snap stuff...
Also, i would like to run a local server. I found teeworlds_srv in /var/lib/flatpak/app/com.teeworlds.Teeworlds/x86_64/stable/9c3c7a1f4ec22bf6c0c5601e180f4a2237262037e7fa79606c3c48fb11039fed/files/bin (omg).

Yeah, Flatpak works as a sandbox. But glad it works for you.
It is strange that it doesn't work out of the zip though.

haretuerk wrote:

First attempt was aborted:

[2020-01-20 19:31:54][console]: failed to open 'autoexec.cfg'

.. ok, is there an easy way to launch an 7.4 linux server?

This is not a critical error, it just means you haven't set up a configuration file. The server will start with defaults and should continue, showing other messages such as the password it has shuffled. Does it not?

Not Luck, Just Magic.

8

Re: 0.7.4 does't launch on Linux Mint 19

Thank you for this extraordinary quick reply!

$ ./teeworlds_srv 
[2020-01-20 20:00:47][engine]: running on unix-linux-amd64
[2020-01-20 20:00:47][engine]: arch is little endian
[2020-01-20 20:00:47][storage]: warning no data directory found
[2020-01-20 20:00:47][storage]: couldn't open storage.cfg
[2020-01-20 20:00:47][storage]: using standard paths
[2020-01-20 20:00:47][storage]: added path '$USERDIR' ('/home/jbb/.teeworlds')
[2020-01-20 20:00:47][storage]: added path '$CURRENTDIR' ('/var/lib/flatpak/app/com.teeworlds.Teeworlds/x86_64/stable/9c3c7a1f4ec22bf6c0c5601e180f4a2237262037e7fa79606c3c48fb11039fed/files/bin')
[2020-01-20 20:00:47][storage]: added path '$APPDIR' ('.')
[2020-01-20 20:00:47][console]: failed to open 'autoexec.cfg'
[2020-01-20 20:00:47][console]: Info: only relative paths starting from the ones you specify in 'storage.cfg' are allowed
[2020-01-20 20:00:47][server]: starting...
[2020-01-20 20:00:47][mapchecker]: invalid standard map
[2020-01-20 20:00:47][server]: failed to load map. mapname='dm1'

Server does not start.

9

Re: 0.7.4 does't launch on Linux Mint 19

haretuerk wrote:

Thank you for this extraordinary quick reply!

$ ./teeworlds_srv 
[2020-01-20 20:00:47][engine]: running on unix-linux-amd64
[2020-01-20 20:00:47][engine]: arch is little endian
[2020-01-20 20:00:47][storage]: warning no data directory found
[2020-01-20 20:00:47][storage]: couldn't open storage.cfg
[2020-01-20 20:00:47][storage]: using standard paths
[2020-01-20 20:00:47][storage]: added path '$USERDIR' ('/home/jbb/.teeworlds')
[2020-01-20 20:00:47][storage]: added path '$CURRENTDIR' ('/var/lib/flatpak/app/com.teeworlds.Teeworlds/x86_64/stable/9c3c7a1f4ec22bf6c0c5601e180f4a2237262037e7fa79606c3c48fb11039fed/files/bin')
[2020-01-20 20:00:47][storage]: added path '$APPDIR' ('.')
[2020-01-20 20:00:47][console]: failed to open 'autoexec.cfg'
[2020-01-20 20:00:47][console]: Info: only relative paths starting from the ones you specify in 'storage.cfg' are allowed
[2020-01-20 20:00:47][server]: starting...
[2020-01-20 20:00:47][mapchecker]: invalid standard map
[2020-01-20 20:00:47][server]: failed to load map. mapname='dm1'

Server does not start.

Ah, so you don't have a maps folder. Not cool. I think we should edit flatpak to include it...
In your case a quick & dirty fix would be to take the teeworlds-0.7.4/data/maps folder from the zip you downloaded, and copy it to `~/.local/share/teeworlds/maps`

We have a support IRC channel at https://webchat.quakenet.org/?channels=teeworlds for even faster replies ;-)

Not Luck, Just Magic.

10

Re: 0.7.4 does't launch on Linux Mint 19

Yeah, i can do it. That's ok for me, but maybe not for everybody. And i can't find an up-to-date manual.

11

Re: 0.7.4 does't launch on Linux Mint 19

haretuerk wrote:

Yeah, i can do it. That's ok for me, but maybe not for everybody. And i can't find an up-to-date manual.

Well, it is very surprising that out-of-zip builds yield a segfault for you, and I have no idea what causes that. It should be pretty simple, that's the recommended way to get Teeworlds in Linux.
PS: you can also copy the data folder to '/app/share/teeworlds' when it comes to flatpak

Not Luck, Just Magic.

12

Re: 0.7.4 does't launch on Linux Mint 19

Dune wrote:

We have a support IRC channel at https://webchat.quakenet.org/?channels=teeworlds for even faster replies ;-)

Thanky Dune for this kind help, but I am at work atm and there is no IRC client available.
And maybe some other people are interested in the solving of those issues here...

13 (edited by Dune 2020-01-24 21:08:59)

Re: 0.7.4 does't launch on Linux Mint 19

haretuerk wrote:
Dune wrote:

We have a support IRC channel at https://webchat.quakenet.org/?channels=teeworlds for even faster replies ;-)

Thanky Dune for this kind help, but I am at work atm and there is no IRC client available.
And maybe some other people are interested in the solving of those issues here...

The link is to a webchat, so you don't need an IRC client.
Troubleshooting over the forum is a bit slower, but that can be done. I struggle to see what could print "No protocol specified". Do you just start teeworlds with

./teeworlds

?
Can you send us the full log?

Edit: this was sorted on IRC

Not Luck, Just Magic.

14 (edited by 2020-01-24 18:25:58)

Re: 0.7.4 does't launch on Linux Mint 19

Ok, second attempt on a vanilla Linux Mint 19.2 XFCE

$ ./teeworlds
./teeworlds: error while loading shared libraries: libSDL2-2.0.so.0: cannot open shared object file: No such file or directory

so i did:

sudo apt install  libSDL2-2.0

then:

$ ./teeworlds
[2020-01-24 17:06:19][engine]: running on unix-linux-amd64
[2020-01-24 17:06:19][engine]: arch is little endian
[2020-01-24 17:06:19][storage]: added path '$USERDIR' ('/home/jbb/.local/share/teeworlds')
[2020-01-24 17:06:19][storage]: added path '$DATADIR' ('data')
[2020-01-24 17:06:19][storage]: added path '$CURRENTDIR' ('/home/website/.teeworlds-0.7.4-linux_x86_64')
[2020-01-24 17:06:19][storage]: added path '$APPDIR' ('.')
[2020-01-24 17:06:19][binds]: bound f1 (186) = toggle_local_console
[2020-01-24 17:06:19][binds]: bound f2 (187) = toggle_remote_console
[2020-01-24 17:06:19][binds]: bound tab (9) = +scoreboard
[2020-01-24 17:06:19][binds]: bound e (101) = +stats
[2020-01-24 17:06:19][binds]: bound u (117) = +show_chat
[2020-01-24 17:06:19][binds]: bound f10 (195) = screenshot
[2020-01-24 17:06:19][binds]: bound ctrl+s (115) = snd_toggle
[2020-01-24 17:06:19][binds]: bound a (97) = +left
[2020-01-24 17:06:19][binds]: bound d (100) = +right
[2020-01-24 17:06:19][binds]: bound space (32) = +jump
[2020-01-24 17:06:19][binds]: bound mouse1 (411) = +fire
[2020-01-24 17:06:19][binds]: bound mouse2 (412) = +hook
[2020-01-24 17:06:19][binds]: bound lshift (353) = +emote
[2020-01-24 17:06:19][binds]: bound rshift (357) = +spectate
[2020-01-24 17:06:19][binds]: bound right (207) = spectate_next
[2020-01-24 17:06:19][binds]: bound left (208) = spectate_previous
[2020-01-24 17:06:19][binds]: bound 1 (49) = +weapon1
[2020-01-24 17:06:19][binds]: bound 2 (50) = +weapon2
[2020-01-24 17:06:19][binds]: bound 3 (51) = +weapon3
[2020-01-24 17:06:19][binds]: bound 4 (52) = +weapon4
[2020-01-24 17:06:19][binds]: bound 5 (53) = +weapon5
[2020-01-24 17:06:19][binds]: bound mousewheelup (420) = +prevweapon
[2020-01-24 17:06:19][binds]: bound mousewheeldown (421) = +nextweapon
[2020-01-24 17:06:19][binds]: bound t (116) = chat all
[2020-01-24 17:06:19][binds]: bound y (121) = chat team
[2020-01-24 17:06:19][binds]: bound x (120) = chat whisper
[2020-01-24 17:06:19][binds]: bound f3 (188) = vote yes
[2020-01-24 17:06:19][binds]: bound f4 (189) = vote no
[2020-01-24 17:06:19][binds]: bound r (114) = ready_change
[2020-01-24 17:06:19][console]: executing 'settings07.cfg'
[2020-01-24 17:06:19][binds]: bound tab (9) = +scoreboard
[2020-01-24 17:06:19][binds]: bound space (32) = +jump
[2020-01-24 17:06:19][binds]: bound 1 (49) = +weapon1
[2020-01-24 17:06:19][binds]: bound 2 (50) = +weapon2
[2020-01-24 17:06:19][binds]: bound 3 (51) = +weapon3
[2020-01-24 17:06:19][binds]: bound 4 (52) = +weapon4
[2020-01-24 17:06:19][binds]: bound 5 (53) = +weapon5
[2020-01-24 17:06:19][binds]: bound a (97) = +left
[2020-01-24 17:06:19][binds]: bound d (100) = +right
[2020-01-24 17:06:19][binds]: bound e (101) = +stats
[2020-01-24 17:06:19][binds]: bound r (114) = ready_change
[2020-01-24 17:06:19][binds]: bound ctrl+s (115) = snd_toggle
[2020-01-24 17:06:19][binds]: bound t (116) = chat all
[2020-01-24 17:06:19][binds]: bound u (117) = +show_chat
[2020-01-24 17:06:19][binds]: bound x (120) = chat whisper
[2020-01-24 17:06:19][binds]: bound y (121) = chat team
[2020-01-24 17:06:19][binds]: bound f1 (186) = toggle_local_console
[2020-01-24 17:06:19][binds]: bound f2 (187) = toggle_remote_console
[2020-01-24 17:06:19][binds]: bound f3 (188) = vote yes
[2020-01-24 17:06:19][binds]: bound f4 (189) = vote no
[2020-01-24 17:06:19][binds]: bound f10 (195) = screenshot
[2020-01-24 17:06:19][binds]: bound right (207) = spectate_next
[2020-01-24 17:06:19][binds]: bound left (208) = spectate_previous
[2020-01-24 17:06:19][binds]: bound lshift (353) = +emote
[2020-01-24 17:06:19][binds]: bound rshift (357) = +spectate
[2020-01-24 17:06:19][binds]: bound mouse1 (411) = +fire
[2020-01-24 17:06:19][binds]: bound mouse2 (412) = +hook
[2020-01-24 17:06:19][binds]: bound mousewheelup (420) = +prevweapon
[2020-01-24 17:06:19][binds]: bound mousewheeldown (421) = +nextweapon
[2020-01-24 17:06:19][console]: failed to open 'autoexec.cfg'
[2020-01-24 17:06:19][console]: Info: only relative paths starting from the ones you specify in 'storage.cfg' are allowed
[2020-01-24 17:06:19][client]: starting...
No protocol specified
Segmentation fault (core dumped)

and then let's try

sudo ./teeworlds

works... [facepalm]


[2020-01-24 17:06:19][storage]: added path '$USERDIR' ('/home/jbb/.local/share/teeworlds')
[2020-01-24 17:06:19][storage]: added path '$CURRENTDIR' ('/home/website/.teeworlds-0.7.4-linux_x86_64')

Logged-in user was "website"

15 (edited by Dune 2020-01-25 16:53:32)

Re: 0.7.4 does't launch on Linux Mint 19

Edit: nevermind

Not Luck, Just Magic.