Author Topic: [fixed] rev.4455 Joining a match  (Read 611 times)

titi_son

  • Draco Rider
  • *****
  • Posts: 283
  • titi_son
    • View Profile
[fixed] rev.4455 Joining a match
« on: 14 June 2013, 20:47:17 »
if you join a match client crashes (after some seconds)

Code: [Select]
[New LWP 7511]
[New LWP 7520]
[New LWP 7515]
[New LWP 7519]
[New LWP 7514]
[New LWP 7513]
[New LWP 7518]
[New LWP 7524]

warning: Can't read pathname for load map: Eingabe-/Ausgabefehler.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./megaglest'.
Program terminated with signal 6, Aborted.
#0  0x00007f91712cc425 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#0  0x00007f91712cc425 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f91712cfb8b in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f91712c50ee in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#3  0x00007f91712c5192 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
#4  0x00000000004fb4ea in Glest::Game::GraphicListBox::setSelectedItemIndex (errorOnMissing=<optimized out>, index=<optimized out>, this=<optimized out>) at /home/tscharn/megaglest_svn/megaglest/source/glest_game/facilities/components.cpp:413
#5  0x000000000054c962 in Glest::Game::GraphicListBox::setSelectedItemIndex (this=0x3c7d490, index=<optimized out>, errorOnMissing=<optimized out>) at /home/tscharn/megaglest_svn/megaglest/source/glest_game/facilities/components.cpp:413
#6  0x00000000008075dd in Glest::Game::MenuStateConnectedGame::setupUIFromGameSettings (this=0x3c7ac50, gameSettings=0x3c7ca70, errorOnMissingData=true) at /home/tscharn/megaglest_svn/megaglest/source/glest_game/menu/menu_state_connected_game.cpp:4525
#7  0x0000000000813694 in Glest::Game::MenuStateConnectedGame::update (this=0x3c7ac50) at /home/tscharn/megaglest_svn/megaglest/source/glest_game/menu/menu_state_connected_game.cpp:3138
#8  0x00000000006d08e9 in Glest::Game::Program::loopWorker (this=0x2cbd1a0) at /home/tscharn/megaglest_svn/megaglest/source/glest_game/main/program.cpp:458
#9  0x00000000006c27d0 in Glest::Game::glestMain (argc=<optimized out>, argv=<optimized out>) at /home/tscharn/megaglest_svn/megaglest/source/glest_game/main/main.cpp:5388
#10 0x00000000006c79b4 in Glest::Game::glestMainSEHWrapper (argc=1, argv=0x7fff4522c968) at /home/tscharn/megaglest_svn/megaglest/source/glest_game/main/main.cpp:5633
#11 0x00007f91712b776d in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#12 0x00000000005038d9 in _start ()
My first Tilseset: SPRING :) (included in Megaglest )

Secret Hint: To play online join the IRC #megaglest-lobby on freenode which is the lobby chat ingame. So you can chat with or wait for people in the lobby without running megaglest all the time.

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: rev.4455 Joining a match
« Reply #1 on: 15 June 2013, 00:45:32 »
This may have been caused by a bad build, ( just in case it makes no sense )
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: rev.4455 Joining a match
« Reply #2 on: 15 June 2013, 01:07:27 »
It looks like maybe a bad build or that not everyone had the same svn rev# from this stack trace.

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: Joining a match ( info on howto reproduce error)
« Reply #3 on: 16 June 2013, 16:16:31 »
Its not related to a bad build and now we know how to reproduce:

- server: open game .
- client: join
- wait until client is really connected
- server selects a mega CPU in one slot
- server switches multiplier down to 0.5 and one more so its 4.9
=> client gets error

Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: rev.4455 Joining a match
« Reply #4 on: 20 June 2013, 19:19:08 »
Fixed in svn rev 4475

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: rev.4455 Joining a match
« Reply #5 on: 20 June 2013, 20:52:39 »
Confirmed, thanks.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

 

anything