Author Topic: [fixed] RP-beta in 3.5.0 beta 1 crashes immediately  (Read 931 times)

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
[fixed] RP-beta in 3.5.0 beta 1 crashes immediately
« on: 1 April 2011, 19:53:43 »
With 3.5.0 beta1 and RP-beta, immediately after I started a non-networked game with one CPU player on my team and 2 CPU players on the other team, MG crashed:

Quote
Core was generated by `./glest.bin'.
Program terminated with signal 6, Aborted.
#0  0x00007f4e7321aba5 in raise () from /lib/libc.so.6
#0  0x00007f4e7321aba5 in raise () from /lib/libc.so.6
#1  0x00007f4e7321e6b0 in abort () from /lib/libc.so.6
#2  0x00007f4e73213a71 in __assert_fail () from /lib/libc.so.6
#3  0x00000000004a46f2 in Glest::Game::RoutePlanner::doRouteCache (this=0x7f4e4fb1edc0, unit=0x7f4e50bf0c80) at /home/user1/SCM/megaglest-trunk/source/glest_game/ai/route_planner.cpp:576
#4  0x00000000004a4946 in Glest::Game::RoutePlanner::findPathToGoal (this=0x7f4e4fb1edc0, unit=0x7f4e50bf0c80, goal=..., target=...) at /home/user1/SCM/megaglest-trunk/source/glest_game/ai/route_planner.cpp:903
#5  0x00000000004a61ed in Glest::Game::RoutePlanner::findPathToResource (this=0x7f4e4fb1edc0, unit=0x7f4e50bf0c80, targetPos=..., rt=<value optimized out>) at /home/user1/SCM/megaglest-trunk/source/glest_game/ai/route_planner.cpp:214
#6  0x00000000006e3630 in Glest::Game::UnitUpdater::updateHarvest (this=0x7f4e5c04f140, unit=0x7f4e50bf0c80, frameIndex=-1) at /home/user1/SCM/megaglest-trunk/source/glest_game/world/unit_updater.cpp:932
#7  0x00000000006e106a in Glest::Game::UnitUpdater::updateUnitCommand (this=0x7f4e5c04f140, unit=0x7f4e50bf0c80, frameIndex=<value optimized out>) at /home/user1/SCM/megaglest-trunk/source/glest_game/world/unit_updater.cpp:268
#8  0x00000000006e7734 in Glest::Game::UnitUpdater::updateUnit (this=0x7f4e5c04f140, unit=0x7f4e50bf0c80) at /home/user1/SCM/megaglest-trunk/source/glest_game/world/unit_updater.cpp:155
#9  0x0000000000704e86 in Glest::Game::World::updateAllFactionUnits (this=0x7f4e5c04e978) at /home/user1/SCM/megaglest-trunk/source/glest_game/world/world.cpp:326
#10 0x0000000000709c07 in Glest::Game::World::update (this=0x7f4e5c04e978) at /home/user1/SCM/megaglest-trunk/source/glest_game/world/world.cpp:411
#11 0x00000000004dcb84 in Glest::Game::Game::update (this=0x7f4e5c04e950) at /home/user1/SCM/megaglest-trunk/source/glest_game/game/game.cpp:854
#12 0x000000000055c191 in Glest::Game::Program::loopWorker (this=0x17dd730) at /home/user1/SCM/megaglest-trunk/source/glest_game/main/program.cpp:281
#13 0x0000000000556e65 in Glest::Game::glestMain (argc=<value optimized out>, argv=<value optimized out>) at /home/user1/SCM/megaglest-trunk/source/glest_game/main/main.cpp:2194
#14 0x000000000055848e in Glest::Game::glestMainWrapper (argc=1, argv=0x7fffc0aa86c8) at /home/user1/SCM/megaglest-trunk/source/glest_game/main/main.cpp:2268
#15 0x00007f4e73205d8e in __libc_start_main () from /lib/libc.so.6
#16 0x000000000048cc89 in _start ()
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 · · ·

ultifd

  • Airship
  • ********
  • Posts: 4,443
  • The Glest Video Guy :) The one and only. :P
    • View Profile
    • My Youtube Channel
Re: RP-beta in 3.5.0 beta 1 crashes immediately
« Reply #1 on: 2 April 2011, 00:49:24 »
Confirmed on Windows too.  :(

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: RP-beta in 3.5.0 beta 1 crashes immediately
« Reply #2 on: 3 April 2011, 06:20:31 »
This was my fault (And fixed in svn) as i added threading for factions pathfinding and the route planner is likely not thread safe, so I fixed this for the route planner selection now in svn.

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: RP-beta in 3.5.0 beta 1 crashes immediately
« Reply #3 on: 3 April 2011, 09:37:37 »
Thanks for the fix (r1980). I think if we just remove RP-beta off the GUI entirely (at least by default, there could be an ini option to make it selectable in the "advanced" view of the "custom game" screen again, so as it is now) then this and other RP-beta issues are nothing we need to care about.
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