bugGlobulation 2 - Bugs: bug #19716, glob2 0.8.23 map generator crash...

 
 

bug #19716: glob2 0.8.23 map generator crash in HeightMapGenerator.cpp in HeightMap::makeIslands: Assertion `false' failed.

Submitted by:  Joe Wells <jbw>
Submitted on:  Thu 26 Apr 2007 11:36:46 PM UTC  
 
Severity: 3 - NormalStatus: Fixed
Assigned to: Leo Wandersleb <giszmo>Open/Closed: Closed
Release: NoneOperating System: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 11 Mar 2008 02:46:38 AM UTC, comment #4:

ignore what I did, canned response things are >.<

Apple <appleboy>
Project Member
Tue 11 Mar 2008 02:43:04 AM UTC, comment #3:

The map code is being totally rewritten for a future release (it
will probably be in 0.8.17). If a bug like this one turns up
then, please re-submit it.

Apple <appleboy>
Project Member
Mon 30 Apr 2007 01:23:47 AM UTC, comment #2:

You are correct: I did not use the n-times feature.

You are correct: I was trying to get lots of islands (the more the
better).

Wow, trying nearly 8 million times to find a place to put the next
island! Obviously it is having trouble. :-)

The backtrace is from “bt full”. (Of course I had to compile with
debugging also.)

Joe Wells <jbw>
Sat 28 Apr 2007 09:58:34 PM UTC, comment #1:

thanx for reporting!

i've seen that adding the "repeat area n times" feature doesn't correspond well with the numbers you give on islands and free islands. so:
4 players, 5 free islands, 8 times the same area will result in the map generator to try to build a map that is:
1/8th the size you selected
with 9 islands
and repeat this 8 times.
so in the end you have 4 islands with swarms and 72 islands in total.
guess i will have to modify some controls.

reading on i see you didn't use n-times-feature but still tried to place many islands. problems occure if the function doesn't find a suitable center for the next island. in your case it randomly shot 7929856 times without success. maybe i have a bad estimator for the distance of islands depending on map size and island count.

btw: how did you get this very informative bt? i'm not a gdb pro.

Leo Wandersleb <giszmo>
Project MemberIn charge of this item.
Thu 26 Apr 2007 11:36:46 PM UTC, original submission:

I just saw glob2 0.8.23 crash with this error message:

This happened when invoking the map generator (obviously). The backtrace is:

The full backtrace is attached as
“bt-full-map-generator-makeislands.gz”.

My memory of the parameters is roughly that they were the defaults,
except wheat and wood were reduced to 5 percent, only 3 teams, 8 extra
islands, no fruit or stone.

Joe Wells <jbw>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #12604:  bt-full-map-generator-makeislands.gz added by jbw (12KiB - application/x-gzip)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by appleboy (Posted a comment)
  • -unavailable- added by giszmo (Updated the item)
  • -unavailable- added by jbw (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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 11 Mar 2008 09:01:56 PM UTCappleboyStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Tue 11 Mar 2008 02:46:38 AM UTCappleboyOpen/ClosedClosed=>Open
    Tue 11 Mar 2008 02:43:04 AM UTCappleboyOpen/ClosedOpen=>Closed
    Sat 28 Apr 2007 09:43:39 PM UTCgiszmoStatusNone=>Confirmed
      Assigned toNone=>giszmo
    Thu 26 Apr 2007 11:36:46 PM UTCjbwAttached File-=>Added bt-full-map-generator-makeislands.gz, #12604

    Back to the top


    Powered by Savane 3.1-cleanup1