bugFreeciv - Bugs: bug #20543, lua error: Execution time limit...

 
 
Show feedback again

bug #20543: lua error: Execution time limit exceeded in script

Submitted by:  pepeto <pepeto>
Submitted on:  Wed Feb 20 15:13:33 2013  
 
Category: rulesetsSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Assigned to: Marko Lindqvist <cazfi>Open/Closed: Closed
Release: trunk r22403Operating System: Any
Planned Release: 2.5.0Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Tue Aug 26 11:22:55 2014, comment #8:

I am not able to reproduce anymore. I think I got this error running very deep valgrind introspection. I doubt something more could be done.

pepeto <pepeto>
Project Member
Thu Mar 7 08:17:00 2013, comment #7:

I've committed the patch, but given the parameters Pepeto had, there might be more than inefficiency to this issue (or problems with bug maps even after this patch), so leaving ticket open for now.

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Thu Mar 7 08:13:59 2013, SVN revision 22495:

Reorganized lua code to add map labels to make it significantly faster.

Too long script execution time reported by pepeto

See bug #20543

(Browse SVN revision 22495)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Thu Feb 28 14:04:50 2013, comment #5:

Randomness issue seems to be there regardless of the patch, so I'm about to commit it.

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Tue Feb 26 16:43:30 2013, comment #4:

Testing my patch I've noticed that there's something wrong with the supposed randomness of it. Every map I create has "Scorched Spot" and "Deep Trench" and no other labels while each label should appear with same probability.

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Thu Feb 21 09:46:23 2013, comment #3:

> Starting game with big map?


It was on a map of size=5, landmass=30 for 10 players.

pepeto <pepeto>
Project Member
Thu Feb 21 09:12:47 2013, comment #2:

Attached patch should be much more efficient way to place labels on map.

Place all the labels in one whole_map_iterate instead of separate whole_map_iterate for each terrain type to be labeled.

(file #17303)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Thu Feb 21 09:00:01 2013, comment #1:

Starting game with big map?

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Wed Feb 20 15:13:33 2013, original submission:

Got it with classic ruleset:

pepeto <pepeto>
Project Member

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #17303:  MapLabelingSpeedup.patch added by cazfi (3kB - text/x-diff)

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -unavailable- added by jtn (Updated the item)
  • -unavailable- added by cazfi (Posted a comment)
  • -unavailable- added by pepeto (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Error: not logged in

     

     

    Follow 10 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue Aug 26 11:23:02 2014pepetoOpen/ClosedOpen=>Closed
    Tue Aug 26 11:22:55 2014pepetoStatusNone=>Fixed
      Assigned toNone=>cazfi
      Operating SystemNone=>Any
    Mon Apr 1 15:07:30 2013jtnPlanned Release=>2.5.0
    Thu Mar 7 08:17:00 2013cazfiStatusReady For Test=>None
    Tue Mar 5 00:03:07 2013jtnDependencies-=>bugs #20588 is dependent
    Thu Feb 21 09:12:47 2013cazfiAttached File-=>Added MapLabelingSpeedup.patch, #17303
      CategoryNone=>rulesets
      StatusNone=>Ready For Test
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup