[SOLVED] crash when trying to connect on LAN (GlobalDestroyedError)

[SOLVED] crash when trying to connect on LAN (GlobalDestroyedError)

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
pierrouf
Posts: 18
Joined: 21 Jan 2015, 23:32

[SOLVED] crash when trying to connect on LAN (GlobalDestroyedError)

Post by pierrouf »

Hi,
I am (desperatly) trying to set up a LAN for Spring.
The server (uberserver) is running, and I can connect on it with springlobby using 127.0.0.1 (thus from the server computer itself).
However I cannot connect using the server IP.
If I do so, the springlobby crashes, and the message in the terminal is:

Code: Select all

(springlobby:3823): Gtk-CRITICAL **: IA__gtk_window_move: assertion 'GTK_IS_WINDOW (window)' failed

(springlobby:3823): Gtk-CRITICAL **: IA__gtk_window_resize: assertion 'GTK_IS_WINDOW (window)' failed

(springlobby:3823): Gtk-CRITICAL **: IA__gtk_window_unmaximize: assertion 'GTK_IS_WINDOW (window)' failed
terminate called after throwing an instance of 'GlobalDestroyedError'
  what():  trying to access global during or after DestroyAll
Abandon (core dumped)
Tried from another computer on the same network, and the same crash.
Any idea?
(conf: ubuntu)
Last edited by pierrouf on 29 Mar 2015, 13:24, edited 1 time in total.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: crash when trying to connect on LAN (GlobalDestroyedErr

Post by abma »

which version of springlobby are you using?

any useful when you start with springlobby with

Code: Select all

springlobby -cl -l 5
?

anything in server.log/console output from uberserver?

can you connect to the official server?

which uberserver (=commit hash) version are you using?

i can't reproduce the crash... the Gtk-CRITICAL errors can be ignored, afaik the cause are (noncriticial) bugs in gtk/the window manager.
pierrouf
Posts: 18
Joined: 21 Jan 2015, 23:32

Re: crash when trying to connect on LAN (GlobalDestroyedErr

Post by pierrouf »

My spring lobby is 0.169 (which is the latest in the ppa I guess)
using


I can connect to the official server with no problem.

I am not sure about the commit hash, but I downloaded yesterday from github.

BUT!
today I had to install python-sqlalchemy today, the server would not launch without it.
The only difference with yesterday is that:
- today I did not do

Code: Select all

source ~/virtenvs/uberserver/bin/activate
before launching the server

- I created an alias and a password on 127.0.0.1, disconnected, and tried to connect on this ID to the IP of the server (not sure I am clear)

Anyway it seems to work (although I now have another issue on the springlobby of my 2nd computer).

I'll get the topic solved if it does not crash anymore for the next few days.

Sorry for the big edit of this message
Last edited by pierrouf on 22 Jan 2015, 21:04, edited 2 times in total.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: crash when trying to connect on LAN (GlobalDestroyedErr

Post by abma »

ugh, latest springlobby version is 0.201 :-|

ppa sadly is very outdated. can you compile springlobby on your own?

installing dependencies:

Code: Select all

sudo apt-get install build-essential cmake libwxgtk2.8-dev libcurl4-openssl-dev libboost1.53-dev libalure-dev libboost-thread-dev libboost-filesystem-dev libboost-system-dev libpng12-dev
fetching source code / compile:
git clone --recursive git://github.com/springlobby/springlobby.git
cd springlobby
cmake .
make
make install
run with src/springlobby
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: crash when trying to connect on LAN (GlobalDestroyedErr

Post by abma »

are you sure the ppa is used?

here springlobby 0.180 is available:
https://launchpad.net/~spring/+archive/ubuntu/ppa

its quiet old, too, but maybe works already for you.
pierrouf
Posts: 18
Joined: 21 Jan 2015, 23:32

Re: crash when trying to connect on LAN (GlobalDestroyedErr

Post by pierrouf »

abma wrote:are you sure the ppa is used?

here springlobby 0.180 is available:
https://launchpad.net/~spring/+archive/ubuntu/ppa

its quiet old, too, but maybe works already for you.
Here is the ppa I have:
http://ppa.launchpad.net/spring/ppa/ubuntu

I did compile springlobby.
Still works :wink:

However, in the frame of a LAN, it is not a very good idea to start with some compile process...
I'll get you other ppa and see if it works for me...
pierrouf
Posts: 18
Joined: 21 Jan 2015, 23:32

Re: crash when trying to connect on LAN (GlobalDestroyedErr

Post by pierrouf »

Indeed on your link you would think that the ppa would lead to the 180. However it still proposes me the 169.1.

Anyway I think that on ubuntu 14.04, springlobby 169.1 is what it is supposed to be (cf https://launchpad.net/ubuntu/+source/springlobby)
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: crash when trying to connect on LAN (GlobalDestroyedErr

Post by abma »

sorry for the delay, maybe an alternative:
http://www.playdeb.net/updates/ubuntu/1 ... pringlobby
pierrouf
Posts: 18
Joined: 21 Jan 2015, 23:32

Re: crash when trying to connect on LAN (GlobalDestroyedErr

Post by pierrouf »

I do not know how, but I made it work on my main computer.
However still no success with the LAN (the second computer cannot launch game on ubuntu, and cannot see the server on windows)

On a separate note:
abma wrote:sorry for the delay, maybe an alternative:
http://www.playdeb.net/updates/ubuntu/1 ... pringlobby
I followed your link, but it installed the 0.169 (once in the ubuntu installer).
But, I found the link below that worked for me:
http://www.ubuntuupdates.org/package/ge ... pringlobby
Post Reply

Return to “Help & Bugs”