It took a little longer to crash on Linux, but eventually it did. I got this
bt.

(gdb) run
Starting program: /home/kieran/Games/glob2-release/src/glob2
[Thread debugging using libthread_db enabled]
[New Thread -1228224240 (LWP 11541)]
[New Thread -1229763680 (LWP 11544)]
[New Thread -1252418656 (LWP 11545)]
[New Thread -1260811360 (LWP 11546)]
[New Thread -1281360992 (LWP 11578)]
[Thread -1281360992 (LWP 11578) exited]
[New Thread -1281360992 (LWP 11586)]
[Thread -1281360992 (LWP 11586) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1228224240 (LWP 11541)]
0xb7b5f269 in free () from /lib/i686/libc.so.6
Current language:  auto; currently c
(gdb) bt
#0  0xb7b5f269 in free () from /lib/i686/libc.so.6
#1  0xb7d0a981 in operator delete () from /usr/lib/libstdc++.so.6
#2  0xb7d0a9dd in operator delete[] () from /usr/lib/libstdc++.so.6
#3  0x081f7645 in Team::dirtyGlobalGradient (this=0x9144f80) at
src/Team.cpp:1247
#4  0x080a8460 in Building::kill (this=0xaeddfc8) at src/Building.cpp:2079
#5  0x0820eaf7 in Unit::syncStep (this=0xa935298) at src/Unit.cpp:472
#6  0x081f9624 in Team::syncStep (this=0x90db5e0) at src/Team.cpp:1040
#7  0x080dbc09 in Game::syncStep (this=0xbfe8a674, localTeam=0) at
src/Game.cpp:1117
#8  0x080d455b in Engine::run (this=0xbfe8a65c) at src/Engine.cpp:324
#9  0x08112b97 in Glob2::run (this=0xbfec42c3, argc=1, argv=0xbfec4364) at
src/Glob2.cpp:361
#10 0x08113343 in main (argc=Cannot access memory at address 0x1) at
src/Glob2.cpp:485
(gdb)



It doesn't price any files or line numbers though (like it does sometimes),
so I dont know how helpful this will be. And there doesn't seem to be a
pattern, it crashes randomly. I also dont know when it started, because
while I've been doing the tutorial, I haven't actually played a game in a
while.

You should be able to replicate this bug by making playground, 7 castor, add
a 9th player (red, nicowar (to assist you)), then just let it run forever
quickly (minimize all windows, check back once every minute or so).

I'm sorry I can't be more helpful (unless someone gives me a gdb command to
run after "bt")

Regards
Kieran



On 8/12/07, Kieran P <[EMAIL PROTECTED]> wrote:
>
> On top of all that, my game of Globulation just crashed on Windows without
> warning, and gdb isn't the best on this system. I'll see if I can duplicate
> it on Linux. In the mean time, it looks like only a few things are left to
> fix/test.
>
_______________________________________________
glob2-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/glob2-devel

Reply via email to