Latest Posts

Topic: Many crashes

Tibor

Topic Opener
Joined: 2009-03-23, 23:24
Posts: 1377
Ranking
One Elder of Players
Location: Slovakia
Posted at: 2017-10-23, 12:32

Hi,

I have been playing a lot lately, but I found that the game crashes really a lot. Like every 20 minutes... I have backtraces and they points to different code everytime. F.e. - removing immovable or drawing a text, but also to other places in the code.

Am I the only one who gets such frequent crashes? What can be an issue? I am using own compilation script so can the problem be compilation flags? Or is it something arch-linux specific?


Top Quote
WorldSavior
Avatar
Joined: 2016-10-15, 04:10
Posts: 2091
OS: Linux
Version: Recent tournament version
Ranking
One Elder of Players
Location: Germany
Posted at: 2017-10-23, 12:43

Do you play trunk? I also had a lot of crashes there, maybe not every 20 minutes, but also often.

Build19 is much more stable...


Wanted to save the world, then I got widetracked

Top Quote
Tibor

Topic Opener
Joined: 2009-03-23, 23:24
Posts: 1377
Ranking
One Elder of Players
Location: Slovakia
Posted at: 2017-10-23, 13:01

Yes, it is trunk. And what is strange it is really from various places in code....


Top Quote
kaputtnik
Avatar
Joined: 2013-02-18, 20:48
Posts: 2433
OS: Archlinux
Version: current master
Ranking
One Elder of Players
Location: Germany
Posted at: 2017-10-23, 18:15

I can't confirm this for my archlinux installation. At least not every 20 minutes... but i am playing not that often.

I use allways the compile script.

There is a bug report random seeming crashes. Maybe some of your found bugs is mentioned there?


Fight simulator for Widelands:
https://wide-fighter.netlify.app/

Top Quote
Tibor

Topic Opener
Joined: 2009-03-23, 23:24
Posts: 1377
Ranking
One Elder of Players
Location: Slovakia
Posted at: 2017-10-23, 22:24

I read on internet that perhaps this can be caused by user ulimits (ulimits -a), especially stack size. I have 8192kb, you probably have the same...


Top Quote
kaputtnik
Avatar
Joined: 2013-02-18, 20:48
Posts: 2433
OS: Archlinux
Version: current master
Ranking
One Elder of Players
Location: Germany
Posted at: 2017-10-24, 07:36

ulimits -a gives me (excluded unlimted values):

scheduling priority             (-e) 0
pending signals                 (-i) 31577
max locked memory       (kbytes, -l) 16384
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
max user processes              (-u) 31577

I guess these are the same values as yours.


Fight simulator for Widelands:
https://wide-fighter.netlify.app/

Top Quote
Tibor

Topic Opener
Joined: 2009-03-23, 23:24
Posts: 1377
Ranking
One Elder of Players
Location: Slovakia
Posted at: 2017-10-24, 07:42

Looks same. So this is probably not a problem...


Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 15:56
Posts: 3324
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2017-10-24, 21:24

I know that there is a crash in the font renderer that is sometimes triggered by the Collectors status messages - it's also in that bug.


Busy indexing nil values

Top Quote
Tibor

Topic Opener
Joined: 2009-03-23, 23:24
Posts: 1377
Ranking
One Elder of Players
Location: Slovakia
Posted at: 2017-10-24, 21:57

My very subjective feeling is that ulimit tweak improved the situation.... not fixed, just mitigated..


Top Quote