From: SourceForge.net <no...@so...> - 2011-11-03 19:35:15
|
Bugs item #3431334, was opened at 2011-10-31 12:20 Message generated for change (Comment added) made by zx_alexis You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=544942&aid=3431334&group_id=75752 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Client Group: Latest Subversion Status: Open Resolution: None Priority: 5 Private: No Submitted By: zx_alexis (zx_alexis) Assigned to: Nobody/Anonymous (nobody) Summary: [Linux-svn] Freeze and CPU load at 100% Initial Comment: After starting singleplayer with 10 systems and 1 AI opponent game freezes and shows only black screen. Logs even in verbose output mode are clear from 22.36 to 22.55 - 20 minutes of fun watching top screen on console. threaded-ml seen every 15-20 seconds. Memory was free enough, no mouse or kb input to grabbing freeorion screen, only global X kb shortcuts [Ctrl-Alt-F1 to see console worked properly]. ---------------------------------------------------------------------- >Comment By: zx_alexis (zx_alexis) Date: 2011-11-03 12:35 Message: FIX: in function TechTreeLayout::Node::Wobble ... if (improvement > 0.5) { // <-- fixed so minor movements can't go to infinite loop (was improvement > 0 ) if(column.Move(nextfree , this) ) { //std::cout << m_name << ":" << dist << " -> " << new_dist <<"\n"; return true; } } ---------------------------------------------------------------------- Comment By: zx_alexis (zx_alexis) Date: 2011-11-03 02:30 Message: Found an infinite loop in TechTreeLayout :: DoLayout , in optimizing procedure. Working on it - I'll fix it probably. (Attached log file that shows it))) ---------------------------------------------------------------------- Comment By: Geoff Topping (geoffthemedio) Date: 2011-11-01 11:18 Message: Look at the lines with Logger().debugStream() in them. They generate a line in the freeorion.log file. You can pass whatever text is useful to indicate where the program is when the line is executed, and this is useful to narrow down where things are going wrong. There are probably also ways to trace execution on Linux, but I'm not familiar with them. ---------------------------------------------------------------------- Comment By: zx_alexis (zx_alexis) Date: 2011-11-01 08:58 Message: How can I debug a class with its method? Where it resides and what can I do to get this output?.. It took around of 1 hour to build freeorion-svn pkgbuild (without gigi-svn) - I can wait another hour rebuilding it with debug facilities. But where and how? ---------------------------------------------------------------------- Comment By: Geoff Topping (geoffthemedio) Date: 2011-10-31 12:29 Message: The last thing in your client log file is that it's doing (starting) tech tree graph layout. I can't reproduce this problem, so unless you can insert some debugging output into TechTreeLayout::DoLayout or trace the execution, there's not much that can be done to fix this... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=544942&aid=3431334&group_id=75752 |