Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - tomreyn

Pages: 1 ... 4 5 6 7 [8] 9 10 11 12 ... 20
176
I've just created a test build of the latest development code: megaglest_win32_r3419_bin.7z.

Archive checksums:
  • MD5 1ec55d544dc3a31d6aad403c6441fe0f
  • SHA256 3553e714c34cac02240e535452c653f6261b5c8158d1f33053acb7b7d5249cfc
This 7-Zip archive contains only the executable files, no configuratio files such as glest.ini, glestkeys.ini and servers.ini, no installer, no debugging symbols, nothing automatic and no further instructions.

If you would like to use this build then you need to already know how to, since I cannot explain it in a way which will work for everybody. Basically the process is that you make a copy of your entire existing MegaGlest installation, then extract the contents of this archive into the copy of your MegaGlest directory, overwriting the existing files.

Another option which saves disk space is to unpack this archive to a new directory, rename all files so that they have a distinct name, such as megaglest.exe -> megaglest_r12345.exe (where 12345 is the new SVN revision) etc., then move them into your existing MegaGlest installation directory, next to the existing megaglest.exe etc.

If you would like to play a test game with this revision, please find me on IRC and let me know. Be aware though that because you only updated the game engine but not the game data, your old copy may have outdated data which can be incompatible with a complete copy of the current development code. This development build contains the (can I say awesome?) upcoming savegame feature, as well as code to point your team mates to a location on the map (bookmarks, accessible via the escape menu in-game) as well as building site indicators. It also fixes several bugs.

177
I gave the Republic vs Police State game a try yesterday (much fun! :) ). It doesn't come with any tutorials or scenarios. As such, when you enter these menus MegaGlest needs to handle this situation. Currently it doesn't seem to be able to cope with this. A workaround would be to hide these menus, but actually handling this situation would be nicer so that full conversions have more freedom there. I'm not providing log files at this time (please say so if they are still needed) since this should be fully reproducible.

178
We had a weird situation today. Jammy was hosting r3412 on his Windows system today. Pizza and I joined as clients, all of us were on 3412 (Pizza and I were both on Linux). When the game started, everything looked normal. Pizza and Jammy were able to play just fine, just on my end any command I gave was not carried out, my units were just standing there ion their start positions, and on my screen, this was the same for the other players - nobody was moving at all. For Jammy and Pizza, however, the game took playce and on their screens all of us were playing - apparently my team was played by CPU, but there was no message indicating this. For them all of us lost the game because we were run over by CPU. For me, we were just all standing around and the CPU never attacked.

So I left this game and got to see a stats screen with all zeros. By the time I left, for the first time during this game, Jammy got some out of synch warnings/errors:
Code: [Select]
megaglest.exe v3.6.1-dev
Compiled using: VC++: 1600 on: Jun 28 2012 21:39:14
SVN: [Rev: 3412M] - using STREFLOP [SSE] - [no-denormals]
[2012-06-29 23:27:57] *ERROR* In [game.cpp::Glest::Game::Game::update Line: 1569] Error [In [..\..\source\glest_game\game\commander.cpp::Glest::Game::Commander::pushNetworkCommand - 517] Command refers to non existent unit id = 1. Game out of synch.
Stack Trace:
00000000 00000000 00000000 6352a11b ZwGetContextThread!ntdll (null)(0) +18
00000000 00000000 00000000 6352a11b ZwGetContextThread!ntdll (null)(0) +18
]
[2012-06-29 23:28:02] *ERROR* In [game.cpp::Glest::Game::Game::update Line: 1569] Error [In [..\..\source\glest_game\game\commander.cpp::Glest::Game::Commander::pushNetworkCommand - 517] Command refers to non existent unit id = 2. Game out of synch.
Stack Trace:
00000000 00000000 00000000 6352a11b ZwGetContextThread!ntdll (null)(0) +18
00000000 00000000 00000000 6352a11b ZwGetContextThread!ntdll (null)(0) +18

No --verbose there, though.

Unfortunately I have no idea how to reproduce this, but it clearly seems like a bug since during the entire time when I could not command my units, we were able to chat with each other just fone - so this was not a network issue.

179
MegaGlest / I want everything, for free, now!!!
« on: 29 June 2012, 03:14:26 »
I think its very long time since I got everything I longed for instantly and for free and its hard to make my life enjoyable this way.
But this has to recommence once and i think its time. What about just getting luxary food, accommodation and my own sauna for free for a test?
If you agree me vote "YES  :thumbup:" please

If I can get everything I ever dreamed of for free, instantly and without spending any of my own labor then maybe someone else could get that, too. (the other guy told me, I don't know if its right)

180
I've just made a test build of the latest development code: megaglest_win32_r3411_bin.7z.

Archive checksums:
  • MD5 6879ab97fb7b01f710caaeb033a56adf
  • SHA256 c987f7bc1966beedb7edb283bbada1dbaa2fc460aafe90f1e6569fd775024f99
This 7-Zip archive contains only the executable files, no configuratio files such as glest.ini, glestkeys.ini and servers.ini, no installer, no debugging symbols, nothing automatic and no further instructions.

If you would like to use this build then you need to already know how to, since I cannot explain it in a way which will work for everybody. Basically the process is that you make a copy of your entire existing MegaGlest installation, then extract the contents of this archive into the copy of your MegaGlest directory, overwriting the existing files.

Another option which saves disk space is to unpack this archive to a new directory, rename all files so that they have a distinct name, such as megaglest.exe -> megaglest_r12345.exe (where 12345 is the new SVN revision) etc., then move them into your existing MegaGlest installation directory, next to the existing megaglest.exe etc.

If you would like to play a test game with this revision, please let me know. Be aware though that because you only updated the game engine but not the game data, your old copy may have outdated data which can be incompatible with a complete copy of the current development code. This development build contains the (can I say awesome?) upcoming savegame feature, as well as code to point your team mates to a location on the map (bookmarks, accessible via the escape menu in-game) as well as building site indicators. It also fixes several bugs.

181
Titi and I were trying to create a network scenario and test it. He was hosting and did not pass the scenario to me. I connected to his server and got a repeating on-screen message which matches the first error described on standard output/error. Then Titi started the game and I got more errors which are also contained in the terminal output:

Code: [Select]
tomreyn@atibox:~/SCM/megaglest-trunk$ mk/linux/megaglest --ini-path=mk/linux/ --data-path=mk/linux/
megaglest v3.6.1-dev
Compiled using: GNUC: 40603 [64bit] on: Jun 19 2012 03:02:00
SVN: [Rev: 3401M] - using STREFLOP [SSE] - [no-denormals]
[2012-06-19 22:55:38] *ERROR* In [components.cpp::setSelectedItem Line: 411]
instanceName [listBoxScenario] idx = 0 items[idx] = [Benchmark Os]
[2012-06-19 22:55:40] *ERROR* In [menu_state_connected_game.cpp::update Line: 2566] Error [[listBoxScenario] Value not found on list box: [Net Magic]
Stack Trace:
mk/linux/megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&) address [0xa082d6] line: 246
mk/linux/megaglest:Glest::Game::GraphicListBox::setSelectedItem(std::string, bool) address [0x556da4] line: 413
mk/linux/megaglest:Glest::Game::MenuStateConnectedGame::setupUIFromGameSettings(Glest::Game::GameSettings*, bool) address [0x7c21d8] line: 3291
mk/linux/megaglest:Glest::Game::MenuStateConnectedGame::update() address [0x7cd672] line: 2471
mk/linux/megaglest:Glest::Game::Program::loopWorker() address [0x6aef66] line: 432
mk/linux/megaglest:Glest::Game::glestMain(int, char**) address [0x6949a0] line: 4660
mk/linux/megaglest:Glest::Game::glestMainWrapper(int, char**) address [0x6985c6] line: 4840
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main() address [0x7fcaa33d876d] line: 0
mk/linux/megaglest() [0x4f1f39] address [0x4f1f39]
]

...

[2012-06-19 22:56:56] *ERROR* In [scenario.cpp::load 74]
Error loading scenario []:
/home/tomreyn/SCM/megaglest-trunk/source/shared_lib/sources/util/util.cpp line: 610 pos == string::npos for []
Stack Trace:
mk/linux/megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&) address [0xa082d6] line: 246
mk/linux/megaglest:Shared::Util::lastDir(std::string const&) address [0x9db235] line: 610
mk/linux/megaglest:Glest::Game::Scenario::load(std::string const&) address [0x9121c8] line: 51
mk/linux/megaglest:Glest::Game::World::loadScenario(std::string const&, Shared::Util::Checksum*, bool, Shared::Xml::XmlNode const*) address [0x93440d] line: 346
mk/linux/megaglest:Glest::Game::Game::load(int) address [0x5af521] line: 859
mk/linux/megaglest:Glest::Game::Program::setState(Glest::Game::ProgramState*, bool) address [0x6aa43d] line: 563
mk/linux/megaglest:Glest::Game::MenuStateConnectedGame::update() address [0x7ce9a7] line: 2528
mk/linux/megaglest:Glest::Game::Program::loopWorker() address [0x6aef66] line: 432
mk/linux/megaglest:Glest::Game::glestMain(int, char**) address [0x6949a0] line: 4660
mk/linux/megaglest:Glest::Game::glestMainWrapper(int, char**) address [0x6985c6] line: 4840
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main() address [0x7fcaa33d876d] line: 0
mk/linux/megaglest() [0x4f1f39] address [0x4f1f39]

[2012-06-19 22:56:57] *ERROR* In [program.cpp::setState Line: 590]
Error [In [scenario.cpp::load 74]
Error loading scenario []:
/home/tomreyn/SCM/megaglest-trunk/source/shared_lib/sources/util/util.cpp line: 610 pos == string::npos for []
Stack Trace:
mk/linux/megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&) address [0xa082d6] line: 246
mk/linux/megaglest:Shared::Util::lastDir(std::string const&) address [0x9db235] line: 610
mk/linux/megaglest:Glest::Game::Scenario::load(std::string const&) address [0x9121c8] line: 51
mk/linux/megaglest:Glest::Game::World::loadScenario(std::string const&, Shared::Util::Checksum*, bool, Shared::Xml::XmlNode const*) address [0x93440d] line: 346
mk/linux/megaglest:Glest::Game::Game::load(int) address [0x5af521] line: 859
mk/linux/megaglest:Glest::Game::Program::setState(Glest::Game::ProgramState*, bool) address [0x6aa43d] line: 563
mk/linux/megaglest:Glest::Game::MenuStateConnectedGame::update() address [0x7ce9a7] line: 2528
mk/linux/megaglest:Glest::Game::Program::loopWorker() address [0x6aef66] line: 432
mk/linux/megaglest:Glest::Game::glestMain(int, char**) address [0x6949a0] line: 4660
mk/linux/megaglest:Glest::Game::glestMainWrapper(int, char**) address [0x6985c6] line: 4840
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main() address [0x7fcaa33d876d] line: 0
mk/linux/megaglest() [0x4f1f39] address [0x4f1f39]

Stack Trace:
mk/linux/megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&) address [0xa082d6] line: 246
mk/linux/megaglest:Glest::Game::Scenario::load(std::string const&) address [0x912a98] line: 78
mk/linux/megaglest:Glest::Game::World::loadScenario(std::string const&, Shared::Util::Checksum*, bool, Shared::Xml::XmlNode const*) address [0x93440d] line: 346
mk/linux/megaglest:Glest::Game::Game::load(int) address [0x5af521] line: 859
mk/linux/megaglest:Glest::Game::Program::setState(Glest::Game::ProgramState*, bool) address [0x6aa43d] line: 563
mk/linux/megaglest:Glest::Game::MenuStateConnectedGame::update() address [0x7ce9a7] line: 2528
mk/linux/megaglest:Glest::Game::Program::loopWorker() address [0x6aef66] line: 432
mk/linux/megaglest:Glest::Game::glestMain(int, char**) address [0x6949a0] line: 4660
mk/linux/megaglest:Glest::Game::glestMainWrapper(int, char**) address [0x6985c6] line: 4840
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main() address [0x7fcaa33d876d] line: 0
mk/linux/megaglest() [0x4f1f39] address [0x4f1f39]
]

182
I just tried to validate the "benchmark" scenario titi created for testing purposes:

Code: [Select]
tomreyn@atibox:~/SCM/megaglest-trunk$ mk/linux/megaglest --ini-path=mk/linux/ --data-path=mk/linux/ --validate-scenario=benchmark
 ====== Started Validation ======
 Filtering scenario: benchmark
 
 ---------------- Loading scenario inside world ----------------
 
 ====== Finished Validation ======
 tomreyn@atibox:~/SCM/megaglest-trunk$

This seems to have worked fine. However, I get the exact same output when specifying a scenario which does not actually exist:
Code: [Select]
tomreyn@atibox:~/SCM/megaglest-trunk$ mk/linux/megaglest --ini-path=mk/linux/ --data-path=mk/linux/ --validate-scenario=no_such_scenario
 ====== Started Validation ======
 Filtering scenario: no_such_scenario
 
 ---------------- Loading scenario inside world ----------------
 
 ====== Finished Validation ======
tomreyn@atibox:~/SCM/megaglest-trunk$

So I'm wondering whether validation actually took place (it is very fast, too). I also think there should be an error message or warning when the scenario filter did not match at least one existing scenario (and this improvement should be applied to the other validation types, too).

I also tried running the validation command without specifying a scenario filter, so just:
Code: [Select]
mk/linux/megaglest --ini-path=mk/linux/ --data-path=mk/linux/ --validate-scenario
This did actually seem to work, but the validation contained much more steps than expected: it iterated over all the techtrees, factions and units I have installed, whether or not they are part of any scenarios. Ideally, this test would skip validation of anything which is not a scenrio by itself. I.e., in my opinion, no unit nor structure nor audio file nor anything should be validated there in my opinion, just the scenario XML file and the Lua code embedded in (and possibly referenced by) it.
 

183
I'm summing up VictorJ's efforts to create a full rebuild yesterday, which failed, due to build error (which doesn't seem to be due to errors on his end).

Here's his termnial output: http://megaglest.pzt.me/3910

In line 2 Victor shows that he's just changed into the correct build directory (uppermost directory of his subversion working copy).

He then runs a series of commands which are of no use in this context but should also not be harmful - sudo svn up may be bad (because of how it may set permissions) but it fails anyways due to DNS issues.

In line 313, Victor runs rm -r build/ and gets this in return rm: não foi possível remover "build/": Arquivo ou diretório não encontrado which translates to: rm: Cannot delete "build/": File or directory not found.. So the build/ directory is already deleted.

In line 314, he runs svn up and (this time at least) it exits with a revisão 3365. without error message. The output ^[[A^[N is probably caused by pressing cursor keys during runtime and can be ignored.

At this point he should be ready to do a full rebuild. In line 320, he starts building using ./build-mg.sh. Cmake looks happy and determines that libvls is available and will be used. Then make kicks in and runs into build errors on line 552.

This is a Kubuntu 11.10 system.

184
Closed bug reports / [fixed] r3365: Stats screen is all grey
« on: 27 May 2012, 21:57:30 »
Since about when the video support was added, a bug seems to have been introduced which causes the end of game stats screen to become all grey. There are no more visible statistics nor any text is readable, all you get to see is a grey background and the "Exit" buttton which is placed at the usual location (below where the stats would normally display).

185
I ran into this yesterday with r3364 (unfortunately I forgot how, and I do not have a core file):
Code: [Select]
tomreyn@atibox:~/SCM/megaglest-trunk$ mk/linux/megaglest --ini-path=mk/linux/ --data-path=mk/linux/
megaglest v3.6.1-dev
Compiled using: GNUC: 40603 [64bit] on: May 26 2012 02:42:44
SVN: [Rev: 3364M] - using STREFLOP [SSE] - [no-denormals]
AL lib: pulseaudio.c:331: PulseAudio returned minreq > tlength/2; expect break up
Error saved to logfile [/home/tomreyn/.megaglest/error.log]
[2012-05-26 03:45:35] *ERROR* In [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 369] [OpenGL error #1281 [0x501] : [invalid value] at file: [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/graphics/renderer.cpp], line: 7311
Stack Trace:
mk/linux/megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&) address [0x9b9316] line: 246
mk/linux/megaglest() [0x5deb59] address [0x5deb59]
mk/linux/megaglest:Glest::Game::Renderer::reset3dMenu() address [0x5e8f43] line: 567
mk/linux/megaglest:Glest::Game::BattleEnd::render() address [0x6597a0] line: 163
mk/linux/megaglest:Glest::Game::Program::loopWorker() address [0x668ef4] line: 411
mk/linux/megaglest:Glest::Game::glestMain(int, char**) address [0x650144] line: 4571
mk/linux/megaglest:Glest::Game::glestMainWrapper(int, char**) address [0x653656] line: 4751
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main() address [0x7fd74ff1f76d] line: 0
mk/linux/megaglest() [0x4b5769] address [0x4b5769]
] gameInitialized = 1, program = 0x1755330
terminate called after throwing an instance of 'Shared::Platform::megaglest_runtime_error'
  what():  OpenGL error #1281 [0x501] : [invalid value] at file: [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/graphics/renderer.cpp], line: 7311
Stack Trace:
mk/linux/megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&) address [0x9b9316] line: 246
mk/linux/megaglest() [0x5deb59] address [0x5deb59]
mk/linux/megaglest:Glest::Game::Renderer::reset3dMenu() address [0x5e8f43] line: 567
mk/linux/megaglest:Glest::Game::BattleEnd::render() address [0x6596b2] line: 129
mk/linux/megaglest:Glest::Game::Program::loopWorker() address [0x668ef4] line: 411
mk/linux/megaglest:Glest::Game::ExceptionHandler::handleRuntimeError(char const*, bool) address [0x6577c5] line: 407
mk/linux/megaglest:Glest::Game::glestMain(int, char**) address [0x64924f] line: 4620
mk/linux/megaglest:Glest::Game::glestMainWrapper(int, char**) address [0x653656] line: 4751
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main() address [0x7fd74ff1f76d] line: 0
mk/linux/megaglest() [0x4b5769] address [0x4b5769]

error.log contains the same stacktrace as provided above.

186
When you are controlling a headless server and are in a higher slot, say player 7, and change maps ending up with a four player map, then you are on an unassigned network slot and immediately loose control.

Correctly, the serer admin should not loose control just because she is on an unassigned slot.

187
MegaGlest / MG on a Windows VirtualBox
« on: 26 May 2012, 00:01:55 »
I'm just putting this here as a note so it can be found when someone searches for it:
To use MegaGlest on a VirtualBox running Windows (tested on a Linux host), set this in your glestuser.ini to fix the drawbox unit/structure selection:

EnableColorPicking=true

Thanks for the hint, Softcoder!

188
With the masterserver being unavailable due to a planned outage, I tried to start a custom game on r3351. When entering the custom game menu,  before anything is drawn on screen, the game crashes with:

Code: [Select]
$ ./dev_rungame
Wrong JPEG library version: library is 80, caller expects 62
terminate called after throwing an instance of 'Shared::Platform::megaglest_runtime_error'
  what():  std::bad_alloc
Stack Trace:
./megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&) address [0x9b61b6] line: 246
./megaglest:Shared::PlatformCommon::SimpleTaskThread::execute() address [0x9654a2] line: 443
./megaglest:Shared::Platform::Thread::beginExecution(void*) address [0x9b629f] line: 81
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0:() address [0x7ffa80cb8fd5] line: 0
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0:() address [0x7ffa80cfc999] line: 0
/lib/x86_64-linux-gnu/libpthread.so.0:() address [0x7ffa80a90e9a] line: 0
/lib/x86_64-linux-gnu/libc.so.6:clone() address [0x7ffa7dab44bd] line: 0

megaglest v3.6.1-dev
Compiled using: GNUC: 40603 [64bit] on: May 22 2012 23:57:48
SVN: [Rev: 3351M] - using STREFLOP [SSE] - [no-denormals]
In [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 4712] Error detected: signal 11:
[2012-05-22 23:59:07] *ERROR* In [/home/tomreyn/SCM/megaglest-trunk/source/shared_lib/sources/platform/common/simple_threads.cpp::execute Line: 437] Error [std::bad_alloc]

Segmentation fault detected, analyzing...

Please also review the GDB backtrace. And error.log file has been written but is empty.

This is fully reproducable here, so if you need a debug.log or similar, please say so.

189
I guess this won't be of use to a lot of people, but maybe to some, or it could be a useful basis for integration into other window managers, so here's how I configured the XFCE4 "Generic Monitor" plugin to list relevant MG servers on the XFCE panel when they become available. To me, relevant servers are those which:
  • are not run by myself (since I will obviously know I'm running them already)
  • have at least one other player on them
  • are not full
  • are in status "waiting for players"
I started out with a simple shell script which queries the master server and 'parses' its output and lists IP/port combinations, one per line. But it turned out the Generic Monitor plugin supports some pseudo XML format which can be used to do more than just text.

So I now have this script, stored at /home/user1/bin/megaglest-servers-xml (and made executable):
Code: [Select]
#!/bin/sh

myplayername=tomreyn
mginstallpath=$HOME/megaglest

# add this to the awk script to filter out own ip address:  && $5 != "'$(wget -qO- http://whatismyip.org/)'"
for ipport in ` wget -qO- http://master.megaglest.org/showServersForGlest.php | grep -Ev '^$' | awk -F'|' '$14 == 0 && $4 !~ /^(Headless: |'$myplayername')/ { print $5":"$12 }' `
do
  ip=`echo $ipport | cut -d: -f1`
  port=`echo $ipport | cut -d: -f2`
  # Get the second level domain name of the reverse, if any
  isp=`dig -x $ip +short | awk -F. '{print $(NF-2)"."$(NF-1) }'`
  # Generate output for http://goodies.xfce.org/projects/panel-plugins/xfce4-genmon-plugin
  printf '<txt>%s</txt>\n<img>%s/megaglest.ico</img>\n<tool>%s (%s:%s)</tool>\n<click>%s/start_megaglest --connecthost=%s --use-ports=%s,61357</click>\n\n' "$isp" "$mginstallpath" "$isp" "$ip" "$port" "$mginstallpath" "$ip" "$port"
done
if [ "$ipport"x = 'x' ]; then date '+%H:%M:%S'; fi

You will want to adjust myplayername and mginstallpath to match your preferences.

And then I have this Generic Monitor plugin configuration:
Code: [Select]
Command: /home/tomreyn/bin/megaglest-servers-xml
Label: [MG]
Interval: 300
Font: Sans 7

As a result, this thing checks for suitable servers every 5 minutes. If it finds none are currently available, it just notes down the time of the last check on the panel:

If, however, suitable servers are available, then it will draw an MG icon followed by the servers' partial hostname (second level domain name only):

And if you mouse over these, you'll get more information, namely the servers' IP address. And when you click an icon, MegaGlest is launched and automatically connects to the given server.

190
Jammy (forum username Jammyjamjamman) was trying to build MG on Fedora Core 16 today and ran into a cmake issue. He also had trouble getting his forum account validated so I'm reporting this for him.

He pasted his build-mg.sh output to paste.megaglest.org. The issue is triggered by non-compliance with a cmake policy which appears to be mandatory in the cmake version Jammy is using.

Code: [Select]
<tomreyn> Jam__: what's the output of: cmake --version
<Jam__> the latest
<Jam__> 2.8.8

Compiling statically, so with the -DWANT_STATIC_LIBS=ON build option is a workaround which works for him.

191
Running --validate-techtrees on the Annex beta3 05/09/12 development snapshot (which is currently not available to the public), I ended up with a segfault after the validation had apparently completed.

Here's the end of the output:

Code: [Select]
Duplicates 119.95 MB (666) in files
Duplicates purged 0.00 MB (0) in files

Warning, duplicate files were detected - END:
----------------------------------------------------------------
====== Finished Validation ======
In [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 4712] Error detected: signal 11:
Error saved to logfile [/home/tomreyn/.annexconquer/error.log]
[2012-05-19 19:22:04] *ERROR* In [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 369] [In [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 4712] Error detected: signal 11:
] gameInitialized = 0, program = 0x1b102f0
Segmentation fault (core dumped)

The GDB trace is available on paste.megaglest.org.

192
Titi was hosting a game where he already had some players connected. Titi said "no downloads", then changed into another slot (which may or may not have been a network slot before he moved there). Very shortly after Titi switched slots, I connected to his server, ended up in Titi's old slot and said "yeay". What happened then is that what Titi said before, namely "no downloads" was reattributed to me, as if I had said it (but I had not, and I could not, since I was not fully connected when Titi wrote this).

I'm not sure whether this issue is still present in current development stage code, but I assume it is.


193
We played a game with Rubicon (game language set to german), Cavavin (game language set to french), me (game language set to english) and some others. Cavavin was hosting, we played a while and Rubicon got disconnected. So my game which was set to english language displayed the following messages:
Code: [Select]
Cavavin: Player rubicon, disconnected from the game.
Cavavin: Joueur #3 [rubicon] s'est déconnecté, passage au mode IA !
First of all, these messages bear a bit of duplication: one of them (I guess the second) would probably be sufficient.

Moreover, I had expected to get to see both message in English language, since that's what my game is set to. Instead the first message correctly displays in English, but the second message is in French.

I'm not sure whether this is still an issue with the current development stage code (I think it probably is).


194
I was just hosting a game with 8 players, we were playing for about  - roughly - 20 minutes, and at once the game displayed an error message window saying something about segfault, which vanished instantly leaving me only with this --verbose output...
Code: [Select]
[2012-05-17 20:12:55] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/branches/release-3.6.0.3/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1639] i = 0 sock = 17
[2012-05-17 20:12:55] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/branches/release-3.6.0.3/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1639] i = 0 sock = 17
[2012-05-17 20:12:55] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/branches/release-3.6.0.3/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1639] i = 0 sock = 17
In [/home/softcoder/Code/megaglest/branches/release-3.6.0.3/source/glest_game/main/main.cpp::handleSIGSEGV Line: 652] Error detected: signal 11:
Error saved to logfile [/home/tomreyn/.megaglest/error.log]
[2012-05-17 20:12:55] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/branches/release-3.6.0.3/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1639] i = 0 sock = 17
[2012-05-17 20:12:55] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/branches/release-3.6.0.3/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1639] i = 0 sock = 17
[2012-05-17 20:12:55] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/branches/release-3.6.0.3/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1639] i = 0 sock = 17
[2012-05-17 20:12:55] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/branches/release-3.6.0.3/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1639] i = 0 sock = 17
In [/home/softcoder/Code/megaglest/branches/release-3.6.0.3/source/glest_game/main/main.cpp::handleSIGSEGV Line: 652] Error detected: signal 11:
Error saved to logfile [/home/tomreyn/.megaglest/error.log]
Segmentation fault (core dumped)

... NO core file (despite of the message and my start script setting ulimit -c unlimited) and this error log:
Code: [Select]
[2012-05-17 20:18:01] Runtime Error information:
======================================================
In [/home/softcoder/Code/megaglest/branches/release-3.6.0.3/source/glest_game/main/main.cpp::handleSIGSEGV Line: 652] Error detected: signal 11:

Stack Trace:
./megaglest:Glest::Game::handleSIGSEGV(int) address [0x6d45c2] line: 657
/lib/x86_64-linux-gnu/libc.so.6:() address [0x7f35948f94c0] line: 0

That's not a whole lot of info. ;-)

Do you think this will be better with 3.6.1? I guess the blame is on me, though, since even though i have ulimit -c unlimited in my start_megaglest script (which I did use to run the game), running ulimit -c on the same terminal window now returns 0 - I wonder why...

So this is more an experience than a bug report really.

195
I've just made a test build of the latest development code: megaglest_win32_r3330_bin.7z.

Archive checksums:
  • MD5 10edd96f4597c65e5a97473dc3116b66
  • SHA256 b19845e7f7964956ec5449640b187c4eebdb5f322ccc6cdadc2d7e03012fc9cf

This 7-zip archive contains only the executable files, no glest.ini nor glestkeys.ini, no installer, no debugging symbols, nothing automatic and no further instructions.

If you would like to use them you need to already know how, since I cannot explain it in a way which will work for everybody. Basically the process is that you make a copy of your entire existing MegaGlest installation, then extract the contents of this archive into the copy of your MegaGlest directory, overwriting the existing files.

Another option which saves disk space is to unpack this archive to a new directory, rename all files so that they have a distinct name, such as megaglest.exe -> megaglest_r12345.exe (where 12345 is the new SVN revision) etc., then move them into your existing MegaGlest installation directory, next to the existing megaglest.exe etc.

If you would like to play a test game with this revision, please let me know. This development build contains an early version of the (can I say awesome?) upcoming savegame feature. It also fixes several bugs.

196
Hi,

we've received the following announcement from our hosting provider today:

Quote
Unfortunately I need to announce another outage which will take place during the night from May 22nd to 23rd (Tue to Wed in the coming week). This outage is due to a physical relocation of the server hardware to a new colocation site in Falkenstein (Thuringa) in Germany. The outage will start at 22:00 local time (21:00 UTC) and last up to 08:00 local time (07:00 UTC). The outage may last considerably shorter and may already end in the early nighttime, but this depends on how streamlined the relocation process will be.

So... sorry for ths upcoming outage. This affects availability of master server, megaglest.org website as well as the Game Mods menu. The server doesn't get moved too often ;-) so I guess this longer outage is fine, after all it's an in-advance notification. We'll see how it turns out.

Thanks for flying MegaGlest ornithopters,

Tom

197
While playing on titi's server, I ran into a buffer overflow on r3325 on my ATI box running Ubuntu 12.04 x86_64 today.

uname -a:
Code: [Select]
Linux atibox 3.2.0-24-generic #38-Ubuntu SMP Tue May 1 16:18:50 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Code: [Select]
*** buffer overflow detected ***: ./megaglest terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f7715cef007]
/lib/x86_64-linux-gnu/libc.so.6(+0x107f00)[0x7f7715cedf00]
/lib/x86_64-linux-gnu/libc.so.6(+0x108fbe)[0x7f7715ceefbe]
./megaglest(_ZN6Shared8Platform6Socket10isWritableEP7timeval+0x5d)[0x9cc33d]
./megaglest(_ZN6Shared8Platform6Socket11isConnectedEv+0x47)[0x9cc537]
./megaglest(_ZN6Shared8Platform6Socket13getDataToReadEb+0xd9)[0x9cdb09]
./megaglest(_ZN5Glest4Game16NetworkInterface18getNextMessageTypeEv+0x6a)[0x79d2aa]
./megaglest(_ZN5Glest4Game15ClientInterface14waitForMessageEv+0x40)[0x7a54a0]
./megaglest(_ZN5Glest4Game15ClientInterface11updateFrameEPi+0x118)[0x7a9598]
./megaglest(_ZN5Glest4Game15ClientInterface10simpleTaskEPN6Shared14PlatformCommon10BaseThreadE+0x46)[0x7ac666]
./megaglest(_ZN6Shared14PlatformCommon16SimpleTaskThread7executeEv+0x384)[0x960674]
./megaglest(_ZN6Shared8Platform6Thread14beginExecutionEPv+0xf)[0x9b240f]
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0(+0x12fd5)[0x7f7718eb2fd5]
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0(+0x56999)[0x7f7718ef6999]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a)[0x7f7718c8ae9a]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f7715cd84bd]
======= Memory map: ========
00400000-00af4000 r-xp 00000000 fc:02 12189707                           /home/tomreyn/SCM/megaglest-trunk/mk/linux/megaglest
00cf4000-00cf5000 r--p 006f4000 fc:02 12189707                           /home/tomreyn/SCM/megaglest-trunk/mk/linux/megaglest
00cf5000-00cf7000 rw-p 006f5000 fc:02 12189707                           /home/tomreyn/SCM/megaglest-trunk/mk/linux/megaglest
00cf7000-00d0c000 rw-p 00000000 00:00 0
01654000-1fa95000 rw-p 00000000 00:00 0                                  [heap]
7f76ac000000-7f76ac021000 rw-p 00000000 00:00 0
7f76ac021000-7f76b0000000 ---p 00000000 00:00 0
7f76b4000000-7f76b4353000 rw-p 00000000 00:00 0
7f76b4353000-7f76b8000000 ---p 00000000 00:00 0
7f76bc000000-7f76bc7b5000 rw-p 00000000 00:00 0
7f76bc7b5000-7f76c0000000 ---p 00000000 00:00 0
7f76c4000000-7f76c4610000 rw-p 00000000 00:00 0
7f76c4610000-7f76c8000000 ---p 00000000 00:00 0
7f76cc000000-7f76cc021000 rw-p 00000000 00:00 0
7f76cc021000-7f76d0000000 ---p 00000000 00:00 0
7f76d4000000-7f76d4aaa000 rw-p 00000000 00:00 0
7f76d4aaa000-7f76d8000000 ---p 00000000 00:00 0
7f76d8dfa000-7f76d8dfb000 rw-p 00000000 00:00 0
7f76d8dfb000-7f76d97fb000 rwxp 00000000 00:00 0
7f76d97fb000-7f76d97fc000 ---p 00000000 00:00 0
7f76d97fc000-7f76d9ffc000 rw-p 00000000 00:00 0
7f76d9ffc000-7f76d9ffd000 ---p 00000000 00:00 0
7f76d9ffd000-7f76da7fd000 rw-p 00000000 00:00 0
7f76da7fd000-7f76da7fe000 ---p 00000000 00:00 0
7f76da7fe000-7f76daffe000 rw-p 00000000 00:00 0
7f76daffe000-7f76dafff000 ---p 00000000 00:00 0
7f76dafff000-7f76db7ff000 rw-p 00000000 00:00 0
7f76db7ff000-7f76db800000 ---p 00000000 00:00 0
7f76db800000-7f76dc000000 rw-p 00000000 00:00 0
7f76dc000000-7f76dc021000 rw-p 00000000 00:00 0
7f76dc021000-7f76e0000000 ---p 00000000 00:00 0
7f76e0000000-7f76e0087000 rw-p 00000000 00:00 0
7f76e0087000-7f76e4000000 ---p 00000000 00:00 0
7f76e4000000-7f76e403a000 rw-p 00000000 00:00 0
7f76e403a000-7f76e8000000 ---p 00000000 00:00 0
7f76e8000000-7f76e8021000 rw-p 00000000 00:00 0
7f76e8021000-7f76ec000000 ---p 00000000 00:00 0
7f76ec000000-7f76ec021000 rw-p 00000000 00:00 0
7f76ec021000-7f76f0000000 ---p 00000000 00:00 0
7f76f0261000-7f76f0263000 rw-s 13c09e000 00:05 7507                      /dev/dri/card0
7f76f0263000-7f76f0266000 rw-s 13c099000 00:05 7507                      /dev/dri/card0
7f76f0266000-7f76f0268000 rw-s 13c097000 00:05 7507                      /dev/dri/card0
7f76f0268000-7f76f026b000 rw-s 13c092000 00:05 7507                      /dev/dri/card0
7f76f026b000-7f76f027b000 rw-s 13c06c000 00:05 7507                      /dev/dri/card0
7f76f027b000-7f76f027c000 ---p 00000000 00:00 0
7f76f027c000-7f76f0a7c000 rw-p 00000000 00:00 0
7f76f0a7c000-7f76f0a7d000 ---p 00000000 00:00 0
7f76f0a7d000-7f76f127d000 rw-p 00000000 00:00 0
7f76f127d000-7f76f127e000 ---p 00000000 00:00 0
7f76f127e000-7f76f1a7e000 rw-p 00000000 00:00 0
7f76f1a7e000-7f76f1a85000 r-xp 00000000 fc:01 688879                     /lib/x86_64-linux-gnu/libnss_dns-2.15.so
7f76f1a85000-7f76f1c84000 ---p 00007000 fc:01 688879                     /lib/x86_64-linux-gnu/libnss_dns-2.15.so
7f76f1c84000-7f76f1c85000 r--p 00006000 fc:01 688879                     /lib/x86_64-linux-gnu/libnss_dns-2.15.so
7f76f1c85000-7f76f1c86000 rw-p 00007000 fc:01 688879                     /lib/x86_64-linux-gnu/libnss_dns-2.15.so
7f76f1c86000-7f76f1c87000 ---p 00000000 00:00 0
7f76f1c87000-7f76f2487000 rw-p 00000000 00:00 0
7f76f2487000-7f76f2488000 ---p 00000000 00:00 0
7f76f2488000-7f76f2c88000 rw-p 00000000 00:00 0
7f76f2c88000-7f76f2d88000 rw-s 13e0d7000 00:05 7507                      /dev/dri/card0
7f76f2d89000-7f76f2e89000 rw-s 13bf60000 00:05 7507                      /dev/dri/card0
7f76f2e89000-7f76f2e8a000 rw-s 13bf4f000 00:05 7507                      /dev/dri/card0
7f76f2e8a000-7f76f2e8b000 rw-s 13bf4e000 00:05 7507                      /dev/dri/card0
7f76f2e8b000-7f76f2e8c000 rw-s 13bf4d000 00:05 7507                      /dev/dri/card0
7f76f2e8c000-7f76f2e8d000 rw-s 13bf4c000 00:05 7507                      /dev/dri/card0
7f76f2e8d000-7f76f2e8e000 rw-s 13bf3c000 00:05 7507                      /dev/dri/card0
7f76f2e8e000-7f76f2e8f000 rw-s 13bf3b000 00:05 7507                      /dev/dri/card0
7f76f2e8f000-7f76f2e90000 rw-s 13bf3a000 00:05 7507                      /dev/dri/card0
7f76f2e90000-7f76f2e91000 rw-s 13bf39000 00:05 7507                      /dev/dri/card0
7f76f2e91000-7f76f2e92000 rw-s 13bf38000 00:05 7507                      /dev/dri/card0
7f76f2e92000-7f76f2e93000 rw-s 13bf37000 00:05 7507                      /dev/dri/card0
7f76f2e93000-7f76f2e94000 rw-s 13bf36000 00:05 7507                      /dev/dri/card0
7f76f2e94000-7f76f2e95000 rw-s 13bf35000 00:05 7507                      /dev/dri/card0
7f76f2e95000-7f76f2e96000 rw-s 13bf34000 00:05 7507                      /dev/dri/card0
7f76f2e96000-7f76f2e97000 rw-s 13bf33000 00:05 7507                      /dev/dri/card0
7f76f2e97000-7f76f2e98000 rw-s 13bf32000 00:05 7507                      /dev/dri/card0
7f76f2e98000-7f76f2e99000 rw-s 13bf31000 00:05 7507                      /dev/dri/card0
7f76f2e99000-7f76f2e9a000 rw-s 13bf30000 00:05 7507                      /dev/dri/card0
7f76f2e9a000-7f76f2e9b000 rw-s 13bf2f000 00:05 7507                      /dev/dri/card0
7f76f2e9b000-7f76f2e9c000 rw-s 13bf2e000 00:05 7507                      /dev/dri/card0
7f76f2e9c000-7f76f2e9d000 rw-s 13bf2d000 00:05 7507                      /dev/dri/card0
7f76f2e9d000-7f76f2e9e000 rw-s 13bf2c000 00:05 7507                      /dev/dri/card0
7f76f2e9e000-7f76f2e9f000 rw-s 13bf2b000 00:05 7507                      /dev/dri/card0
7f76f2e9f000-7f76f2ea0000 rw-s 13bf2a000 00:05 7507                      /dev/dri/card0
7f76f2ea0000-7f76f2ea1000 rw-s 13bf29000 00:05 7507                      /dev/dri/card0
7f76f2ea1000-7f76f2ea2000 rw-s 13bf28000 00:05 7507                      /dev/dri/card0
7f76f2ea2000-7f76f2ea3000 rw-s 13bf27000 00:05 7507                      /dev/dri/card0
7f76f2ea3000-7f76f2ea4000 rw-s 13bf26000 00:05 7507                      /dev/dri/card0
7f76f2ea4000-7f76f2ea5000 rw-s 13bf25000 00:05 7507                      /dev/dri/card0
7f76f2ea5000-7f76f2ea6000 rw-s 13bf24000 00:05 7507                      /dev/dri/card0
7f76f2ea6000-7f76f2ea7000 rw-s 13bf23000 00:05 7507                      /dev/dri/card0
7f76f2ea7000-7f76f2ea8000 rw-s 13bf22000 00:05 7507                      /dev/dri/card0
7f76f2ea8000-7f76f2ea9000 rw-s 13bf21000 00:05 7507                      /dev/dri/card0
7f76f2ea9000-7f76f2eaa000 rw-s 13bf20000 00:05 7507                      /dev/dri/card0
7f76f2eaa000-7f76f2eab000 rw-s 13bf1f000 00:05 7507                      /dev/dri/card0
7f76f2eab000-7f76f2eac000 rw-s 13bf1e000 00:05 7507                      /dev/dri/card0
7f76f2eac000-7f76f2ead000 rw-s 13bf1d000 00:05 7507                      /dev/dri/card0
7f76f2ead000-7f76f2eae000 rw-s 13bf1c000 00:05 7507                      /dev/dri/card0
7f76f2eae000-7f76f2eaf000 rw-s 13bf1b000 00:05 7507                      /dev/dri/card0
7f76f2eaf000-7f76f2eb0000 rw-s 13bf1a000 00:05 7507                      /dev/dri/card0
7f76f2eb0000-7f76f2eb1000 rw-s 13bf19000 00:05 7507                      /dev/dri/card0
7f76f2eb1000-7f76f2eb2000 rw-s 13bf18000 00:05 7507                      /dev/dri/card0
7f76f2eb2000-7f76f2eb3000 rw-s 13bf17000 00:05 7507                      /dev/dri/card0
7f76f2eb3000-7f76f2eb4000 rw-s 13bf16000 00:05 7507                      /dev/dri/card0
7f76f2eb4000-7f76f2eb5000 rw-s 13bf15000 00:05 7507                      /dev/dri/card0
7f76f2eb5000-7f76f2eb6000 rw-s 13bf13000 00:05 7507                      /dev/dri/card0
7f76f2eb6000-7f76f2eb7000 rw-s 13bf12000 00:05 7507                      /dev/dri/card0
7f76f2eb7000-7f76f2eb8000 rw-s 13bf11000 00:05 7507                      /dev/dri/card0
7f76f2eb8000-7f76f2eb9000 rw-s 13bf10000 00:05 7507                      /dev/dri/card0
7f76f2eb9000-7f76f2eba000 rw-s 13bf0f000 00:05 7507                      /dev/dri/card0
7f76f2eba000-7f76f2ebb000 rw-s 13bf0e000 00:05 7507                      /dev/dri/card0
7f76f2ebb000-7f76f2ebc000 rw-s 13bf0d000 00:05 7507                      /dev/dri/card0
7f76f2ebc000-7f76f2ebd000 rw-s 13bf0c000 00:05 7507                      /dev/dri/card0
7f76f2ebd000-7f76f2ebe000 rw-s 13bef9000 00:05 7507                      /dev/dri/card0
7f76f2ebe000-7f76f2ebf000 rw-s 13bef8000 00:05 7507                      /dev/dri/card0
7f76f2ebf000-7f76f2ec0000 rw-s 13bef7000 00:05 7507                      /dev/dri/card0
7f76f2ec0000-7f76f2ec1000 rw-s 13bef6000 00:05 7507                      /dev/dri/card0
7f76f2ec1000-7f76f2ec2000 rw-s 13beeb000 00:05 7507                      /dev/dri/card0
7f76f2ec2000-7f76f2ec3000 rw-s 13beea000 00:05 7507                      /dev/dri/card0
7f76f2ec3000-7f76f2ec4000 rw-s 13bee9000 00:05 7507                      /dev/dri/card0
7f76f2ec4000-7f76f2ec5000 rw-s 13bee8000 00:05 7507                      /dev/dri/card0
7f76f2ec5000-7f76f2ec6000 rw-s 13bee7000 00:05 7507                      /dev/dri/card0
7f76f2ec6000-7f76f2ec7000 rw-s 13bee6000 00:05 7507                      /dev/dri/card0
7f76f2ec7000-7f76f2ec8000 rw-s 13bee5000 00:05 7507                      /dev/dri/card0
7f76f2ec8000-7f76f2ec9000 rw-s 13bee4000 00:05 7507                      /dev/dri/card0
7f76f2ec9000-7f76f2eca000 rw-s 13bee3000 00:05 7507                      /dev/dri/card0
7f76f2eca000-7f76f2ecb000 rw-s 13bee2000 00:05 7507                      /dev/dri/card0
7f76f2ecb000-7f76f2ecc000 rw-s 13bee1000 00:05 7507                      /dev/dri/card0
7f76f2ecc000-7f76f2ecd000 rw-s 13bee0000 00:05 7507                      /dev/dri/card0
7f76f2ecd000-7f76f2ece000 rw-s 13bedf000 00:05 7507                      /dev/dri/card0
7f76f2ece000-7f76f2ecf000 rw-s 13bede000 00:05 7507                      /dev/dri/card0
7f76f2ecf000-7f76f2ed0000 rw-s 13bedd000 00:05 7507                      /dev/dri/card0
7f76f2ed0000-7f76f2ed1000 rw-s 13bedc000 00:05 7507                      /dev/dri/card0
7f76f2ed1000-7f76f2ed2000 rw-s 13bedb000 00:05 7507                      /dev/dri/card0
7f76f2ed2000-7f76f2ed3000 rw-s 13beda000 00:05 7507                      /dev/dri/card0
7f76f2ed3000-7f76f2ed4000 rw-s 13bed9000 00:05 7507                      /dev/dri/card0
7f76f2ed4000-7f76f2ed5000 rw-s 13bed8000 00:05 7507                      /dev/dri/card0
7f76f2ed5000-7f76f2ed6000 rw-s 13bed7000 00:05 7507                      /dev/dri/card0
7f76f2ed6000-7f76f2ed7000 rw-s 13bed6000 00:05 7507                      /dev/dri/card0
7f76f2ed7000-7f76f2ed8000 rw-s 13bed5000 00:05 7507                      /dev/dri/card0
7f76f2ed8000-7f76f2ed9000 rw-s 13bed4000 00:05 7507                      /dev/dri/card0
7f76f2ed9000-7f76f2eda000 rw-s 13bed3000 00:05 7507                      /dev/dri/card0
7f76f2eda000-7f76f2edb000 rw-s 13bed2000 00:05 7507                      /dev/dri/card0
7f76f2edb000-7f76f2edc000 rw-s 13bed1000 00:05 7507                      /dev/dri/card0
7f76f2edc000-7f76f2edd000 rw-s 13bed0000 00:05 7507                      /dev/dri/card0
7f76f2edd000-7f76f2ede000 rw-s 13becf000 00:05 7507                      /dev/dri/card0
7f76f2ede000-7f76f2edf000 rw-s 13bece000 00:05 7507                      /dev/dri/card0
7f76f2edf000-7f76f2ee0000 rw-s 13becd000 00:05 7507                      /dev/dri/card0
7f76f2ee0000-7f76f2ee1000 rw-s 13becc000 00:05 7507                      /dev/dri/card0
7f76f2ee1000-7f76f2ee2000 rw-s 13becb000 00:05 7507                      /dev/dri/card0
7f76f2ee2000-7f76f2ee3000 rw-s 13beca000 00:05 7507                      /dev/dri/card0
7f76f2ee3000-7f76f2ee4000 rw-s 13bec9000 00:05 7507                      /dev/dri/card0
7f76f2ee4000-7f76f2ee5000 rw-s 13bec8000 00:05 7507                      /dev/dri/card0
7f76f2ee5000-7f76f2ee6000 rw-s 13bec7000 00:05 7507                      /dev/dri/card0
7f76f2ee6000-7f76f2ee7000 rw-s 13bec6000 00:05 7507                      /dev/dri/card0
7f76f2ee7000-7f76f2ee8000 rw-s 13bec5000 00:05 7507                      /dev/dri/card0
7f76f2ee8000-7f76f2ee9000 rw-s 13bec4000 00:05 7507                      /dev/dri/card0
7f76f2ee9000-7f76f2eea000 rw-s 13bec3000 00:05 7507                      /dev/dri/card0
7f76f2eea000-7f76f2eeb000 rw-s 13bec2000 00:05 7507                      /dev/dri/card0
7f76f2eeb000-7f76f2eec000 rw-s 13bec1000 00:05 7507                      /dev/dri/card0
7f76f2eec000-7f76f2eed000 rw-s 13bec0000 00:05 7507                      /dev/dri/card0
7f76f2eed000-7f76f2efd000 rw-s 13be71000 00:05 7507                      /dev/dri/card0megaglest v3.6.1-dev
Compiled using: GNUC: 40603 [64bit] on: May 15 2012 23:57:18
SVN: [Rev: 3324M] - using STREFLOP [SSE] - [no-denormals]
[2012-05-16 00:45:23] *ERROR* In [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/game/commander.cpp::buildCommand Line: 989]
Can not find command type for network command = [networkCommandType = 0
unitId = 700026
commandTypeId = 2
positionX = 209
positionY = 441
unitTypeId = 3
targetId = 0
wantQueue= 0
fromFactionIndex = 0
unitFactionUnitCount = 42
unitFactionIndex = 7, commandStateType = 0, commandStateValue = -1, unitCommandGroupId = -1]
Commands:  id = 0 id = 1
for unit = 700026
[farm]
[

HP: 3000/3000
Armor: 0 (wood)
Sight: 5
Produce: 10 food
Store: 20 food]
actual local factionIndex = 7.
Unit Type Info:
[Unit Name: [farm] id = 4 maxHp = 3000 hpRegeneration = 0 maxEp = 0 epRegeneration = 0 maxUnitCount = 0 fields index = 0 value = 1 fields index = 1 value = 0 properties index = 0 value = 1 properties index = 1 value = 0 armor = 0 armorType Name: [wood id = 2 light = 0 lightColor = x [0] y [0] z [0] multiSelect = 0 sight = 5 size = 4 height = 2 rotatedBuildPos = 0.00 rotationAllowed = 1 cellMap: [4] i = 0 j = 0 value = 1 i = 0 j = 1 value = 1 i = 0 j = 2 value = 0 i = 0 j = 3 value = 1 i = 1 j = 0 value = 0 i = 1 j = 1 value = 0 i = 1 j = 2 value = 0 i = 1 j = 3 value = 0 i = 2 j = 0 value = 1 i = 2 j = 1 value = 1 i = 2 j = 2 value = 0 i = 2 j = 3 value = 1 i = 3 j = 0 value = 1 i = 3 j = 1 value = 1 i = 3 j = 2 value = 0 i = 3 j = 3 value = 1 skillTypes: [5] i = 0 Be built i = 1 Stop i = 2 Produce i = 3 Die i = 4 Upgrade commandTypes: [2] i = 0 Produce i = 1 Upgrade storedResources: [1] i = 0 food
20/0 levels: [0] meetingPoint = 1 countInVictoryConditions = 0]
Network unit type:
[fakir]
Game out of synch.
[2012-05-16 00:45:25] *ERROR* In [game.cpp::update Line: 1496] Error [Error [#3]: Game is out of sync, please check log files for details.
Stack Trace:
./megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&) address [0x9b2326] line: 246
./megaglest:Glest::Game::Commander::buildCommand(Glest::Game::NetworkCommand const*) const address [0x52e140] line: 1007
./megaglest:Glest::Game::Commander::giveNetworkCommand(Glest::Game::NetworkCommand*) const address [0x532dde] line: 845
./megaglest:Glest::Game::Commander::updateNetwork(Glest::Game::Game*) address [0x535a7f] line: 605
./megaglest:Glest::Game::Game::update() address [0x576232] line: 1311
./megaglest:Glest::Game::Program::loopWorker() address [0x667706] line: 432
./megaglest:Glest::Game::glestMain(int, char**) address [0x64da64] line: 4570
./megaglest:Glest::Game::glestMainWrapper(int, char**) address [0x650f76] line: 4750
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main() address [0x7f7715c0776d] line: 0
./megaglest() [0x4b4549] address [0x4b4549]
]

Note that the buffer overflow output is listed before the actual game output since I'm buffering the game output (due to using tee to also log to a file).
For the GDB backtrace on the core file which was written, please see the above pastebin link.

198
Headless server 'summoner' segfaulted two days ago. Since it's running MegaGlest 3.6.0.3 this issue may already be fixed. Nevertheless, to enable us to rule out issues before the next release, I'll post all information which is available:

199
Today I gave savegames another try. The game now handles the situation where a map or a techtree is missing (a situation you may well run into when sharing savegames between players) graciously, displaying a message box without crashing. That's pretty nice from a user perspective.

This does not yet work for missing tilesets, though. If a tileset given in a savegame is not available, the game will segfault immediately. Its own segfault handler doesn't get started in this case.

My dev_rungame script runs 'megaglest' (the binary) without further arguments, then, if the game crashes with a core file, it runs gdb -q -n -ex "thread apply all bt full" -batch megaglest core, i.e. a full thread backtrace. The output below is cut off, please find the entire output here.

Code: [Select]
tomreyn@atibox:~/SCM/megaglest-trunk/mk/linux$ ./dev_rungame
megaglest: /home/tomreyn/SCM/megaglest-trunk/source/shared_lib/sources/util/randomgen.cpp:51: int Shared::Util::RandomGen::randRange(int, int): Assertion `min<=max' failed.
megaglest v3.6.1-dev
Compiled using: GNUC: 40603 [64bit] on: May 11 2012 09:49:54
SVN: [Rev: 3303M] - using STREFLOP [SSE] - [no-denormals]

Segmentation fault detected, analyzing...

[New LWP 12207]
[New LWP 12211]
[New LWP 12215]
[New LWP 12220]
[New LWP 12217]
[New LWP 12221]
[New LWP 12219]
[New LWP 12213]
[New LWP 12218]
[New LWP 12210]

warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
64    ../nptl/sysdeps/unix/sysv/linux/raise.c: File or directory not found.
Core was generated by `./megaglest'.
Program terminated with signal 6, Aborted.
#0  0x00007f4e6ee41445 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64

Please have a look at the second line of the output, too:
megaglest: /home/tomreyn/SCM/megaglest-trunk/source/shared_lib/sources/util/randomgen.cpp:51: int Shared::Util::RandomGen::randRange(int, int): Assertion `min<=max' failed.
This also looks wrong to me and may or may not be related.

200
Code: [Select]
"C:\Users\user1\megaglest-svn\mk\windoze\Glest_vc2010.sln" (default target) (1) ->
"C:\Users\user1\megaglest-svn\mk\windoze\glest_game.vcxproj" (default target) (2) ->
(ClCompile target) ->
c:\users\user1\megaglest-svn\source\glest_game\ai\IntrHeapHash.hpp(15): fatal error C1083: Cannot open include file: 'inttypes.h': No such file or directory [C:\Users\user1\megaglest-svn\mk\windoze\glest_game.vcxproj]

Looks like MuwuM ran into this, too:

<MuwuM> softcoder, I got an error compiling SVN head (log was too large for Pastebin): http://www.muwum-lexicons.de/bg/file.log

Pages: 1 ... 4 5 6 7 [8] 9 10 11 12 ... 20
anything