SDL client crashes on Ubuntu

You can get help here if Freeciv doesn't start on your computer, or if you keep getting fatal errors while playing etc.
Ignatus
Hardened
Posts: 230
Joined: Mon Nov 06, 2017 12:05 pm
Location: St.Petersburg, Russia
Contact:

SDL client crashes on Ubuntu

Postby Ignatus » Tue Jul 02, 2019 11:01 am

Ubuntu 18.04, can't run any version SDL client, both compiled myself or installed from the repo. When I connect to any game, local or remote, it firstly longly prints some messages over blurred terrain and then crashes, in the console after some one line is printed only "Emergency stop - stack dumped to the disk" (where?).
Last edited by Ignatus on Tue Jul 02, 2019 3:02 pm, edited 1 time in total.

darkjudas
Posts: 3
Joined: Tue Jul 02, 2019 12:16 pm

Re: SDL client crashes on Ubuntu

Postby darkjudas » Tue Jul 02, 2019 12:18 pm

same on archlinux with freeciv-sdl 2.6 and 3.0-git

cazfi
Elite
Posts: 1718
Joined: Tue Jan 29, 2013 6:54 pm

Re: SDL client crashes on Ubuntu

Postby cazfi » Tue Jul 02, 2019 8:31 pm

Can you get a backtrace with gdb?

http://www.freeciv.org/wiki/Bug_Reporting

cazfi
Elite
Posts: 1718
Joined: Tue Jan 29, 2013 6:54 pm

Re: SDL client crashes on Ubuntu

Postby cazfi » Tue Jul 02, 2019 8:40 pm

darkjudas wrote:3.0-git

Do you mean S3_0 or master by that? Not that I expect it to matter.

darkjudas
Posts: 3
Joined: Tue Jul 02, 2019 12:16 pm

Re: SDL client crashes on Ubuntu

Postby darkjudas » Tue Jul 02, 2019 9:42 pm

master https://aur.archlinux.org/cgit/aur.git/ ... reeciv-git

Code: Select all

#0  0x0000555555588e94 in ?? ()                                                                                               
#1  0x000055555558cae7 in ?? ()                                                                                               
#2  0x00005555555b0a1d in ?? ()                                                                                               
#3  0x00005555555b2f79 in ?? ()                                                                                               
#4  0x00005555555bbd50 in ?? ()
#5  0x000055555558118b in ?? ()
#6  0x000055555558832d in ?? ()
#7  0x000055555557fc84 in ?? ()
#8  0x00005555555803be in ?? ()
#9  0x00005555555819d8 in ?? ()
#10 0x00007ffff6eefee3 in __libc_start_main () from /usr/lib/libc.so.6
#11 0x000055555557f11e in ?? ()

cazfi
Elite
Posts: 1718
Joined: Tue Jan 29, 2013 6:54 pm

Re: SDL client crashes on Ubuntu

Postby cazfi » Tue Jul 02, 2019 10:52 pm


darkjudas
Posts: 3
Joined: Tue Jul 02, 2019 12:16 pm

Re: SDL client crashes on Ubuntu

Postby darkjudas » Wed Jul 03, 2019 2:49 pm

seems fixed for me

cazfi
Elite
Posts: 1718
Joined: Tue Jan 29, 2013 6:54 pm

Re: SDL client crashes on Ubuntu

Postby cazfi » Thu Jul 04, 2019 11:46 am

cazfi wrote:Maybe Bug #824589

It has now been pushed to the repo.

Ignatus
Hardened
Posts: 230
Joined: Mon Nov 06, 2017 12:05 pm
Location: St.Petersburg, Russia
Contact:

Re: SDL client crashes on Ubuntu

Postby Ignatus » Thu Jul 04, 2019 2:16 pm

2.5 should also be fixed.

cazfi
Elite
Posts: 1718
Joined: Tue Jan 29, 2013 6:54 pm

Re: SDL client crashes on Ubuntu

Postby cazfi » Thu Jul 04, 2019 3:20 pm

The bug fixed was specific to sdl2-client. Is there also an issue with S2_5(&S2_6) sdl-client?