MegaGlest Forum

MegaGlest => Bug reports => Topic started by: tomreyn on 12 January 2014, 21:04:46

Title: 4596.3425d4c: Value not found in listbox name [..], value: ***no Encontrado***
Post by: tomreyn on 12 January 2014, 21:04:46
I was just hosting a game of Prax, with techtree translation enabled. I had two network players connected, one of whom was likely a native Spanish speaker.

While the game continued just fine, I got this stack trace while hosting:

Code: [Select]
megaglest v3.9.1-dev
Compiled using: GNUC: 40801 [64bit] on: Jan 12 2014 08:53:31 platform: Linux-X64 endianness: little
GIT: [Rev: 4596.3425d4c] - using STREFLOP [SSE] - [no-denormals]
Connecting to host [[redacted]] using port: 61357
PBO Gen i = 0
PBO Gen i = 1
radeon: Acquired access to Hyper-Z.
*ERROR* SOCKET WRITE TIMEOUT In [/home/user1/SCM/megaglest-source/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1786] i = 0 sock = 18 [[redacted]]
*ERROR* SOCKET WRITE TIMEOUT In [/home/user1/SCM/megaglest-source/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1786] i = 0 sock = 18 [[redacted]]
*ERROR* SOCKET WRITE TIMEOUT In [/home/user1/SCM/megaglest-source/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1786] i = 0 sock = 19 [[redacted]]
*ERROR* SOCKET WRITE TIMEOUT In [/home/user1/SCM/megaglest-source/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1786] i = 0 sock = 18 [[redacted]]
*ERROR* In [components.cpp::setSelectedItem Line: 509]
instanceName [listBoxFactions2] idx = 0 items[idx] = [Natulka]
*ERROR* In [components.cpp::setSelectedItem Line: 509]
instanceName [listBoxFactions2] idx = 1 items[idx] = [*Random*]
*ERROR* In [menu_state_custom_game.cpp::switchSetupForSlots Line: 2354] Error [Value not found in listbox name: [listBoxFactions2] value: ***no Encontrado***
Stack Trace:
./megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&, bool)address [0xb1e7a8] line: 305
./megaglest:Glest::Game::GraphicListBox::setSelectedItem(std::string, bool)address [0x530afa] line: 514
./megaglest:Glest::Game::MenuStateCustomGame::switchSetupForSlots(Glest::Game::SwitchSetupRequest**, Glest::Game::ServerInterface*&, int, int, bool)address [0x7d3fcf] line: 2336
./megaglest:Glest::Game::MenuStateCustomGame::update()address [0x7eaf4d] line: 2510
./megaglest:Glest::Game::Program::loopWorker()address [0x6f916e] line: 476
./megaglest:Glest::Game::glestMain(int, char**)address [0x6d7b17] line: 5451
./megaglest:Glest::Game::glestMainSEHWrapper(int, char**)address [0x6ddba1] line: 5699
./megaglest:Glest::Game::glestMainWrapper(int, char**)address [0x6ddda4] line: 5771
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main()address [0x7f9dc4ee8de5] line: 0
./megaglest() [0x4eb878]address [0x4eb878]
]
*ERROR* SOCKET WRITE TIMEOUT In [/home/user1/SCM/megaglest-source/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1786] i = 0 sock = 18 [[redacted]]
*ERROR* SOCKET WRITE TIMEOUT In [/home/user1/SCM/megaglest-source/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1786] i = 0 sock = 19 [[redacted]]
Game unique identifier is: 1f1b4e90-7bc7-11e3-8c9b-4dd8ed1c94c6
PBO Delete size = 2
radeon: Released access to Hyper-Z.
Title: Re: 4596.3425d4c: Value not found in listbox name [..], value: ***no Encontrado***
Post by: tomreyn on 13 January 2014, 17:54:09
I had this happen again today, and this time I think I know how this happens:
I was hosting a game of Prax (Atze's techtree where to date the only faction is Natulka), and I had a player connect who did not have this techtree installed. So, I assume, his client would instead show Megapack, and while I was changing the game setup (still keeping the Prax techree), his client would receive these updates, fail to set set on his game (since the Prax techtree was still lacking), then reporting back to the server that it had switched some slots to different Megapack factions (for lack of the proper Prax factions), which then triggers this error condition on the server - it doesn't know about these (Megapack) factions in the Prax techtree.
Title: Re: 4596.3425d4c: Value not found in listbox name [..], value: ***no Encontrado***
Post by: filux on 17 January 2014, 22:52:21
Rev: 4608.27316e8

... I had a player connect who did not have this techtree installed...
No changes, player entered on (my hosted) server where all was set earlier and started downloading, then (still during downloading) I have seen this stack trace twice in console.

Code: [Select]
*ERROR* [2014-01-17 23:38:42] In [components.cpp::setSelectedItem Line: 509]
instanceName [listBoxFactions1] idx = 0 items[idx] = [Arcturus]
*ERROR* [2014-01-17 23:38:42] In [components.cpp::setSelectedItem Line: 509]
instanceName [listBoxFactions1] idx = 1 items[idx] = [Sirius]
*ERROR* [2014-01-17 23:38:42] In [components.cpp::setSelectedItem Line: 509]
instanceName [listBoxFactions1] idx = 2 items[idx] = [*Random*]
*ERROR* [2014-01-17 23:38:43] In [menu_state_custom_game.cpp::switchSetupForSlots Line: 2354] Error [Value not found in listbox name: [listBoxFactions1] value: ***no Encontrado***
Stack Trace:
./megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&, bool)address [0xb13ab8] line: 305
./megaglest:Glest::Game::GraphicListBox::setSelectedItem(std::string, bool)address [0x529285] line: 514
./megaglest:Glest::Game::MenuStateCustomGame::switchSetupForSlots(Glest::Game::SwitchSetupRequest**, Glest::Game::ServerInterface*&, int, int, bool)address [0x7b9a50] line: 2336
./megaglest:Glest::Game::MenuStateCustomGame::update()address [0x7d3ab0] line: 2510
./megaglest:Glest::Game::Program::loopWorker()address [0x6e9afd] line: 476
./megaglest:Glest::Game::glestMain(int, char**)address [0x6d6527] line: 5451
./megaglest:Glest::Game::glestMainSEHWrapper(int, char**)address [0x6daf71] line: 5699
/lib64/libc.so.6:__libc_start_main()address [0x7f2d3d533be5] line: 0
./megaglest() [0x4e6ba9]address [0x4e6ba9]
]