udoprog / c10t

A minecraft cartography tool
Other
225 stars 50 forks source link

basic_string::_S_construct NULL not valid #130

Closed kilorat closed 13 years ago

kilorat commented 13 years ago

I just tries this now with commit 558e6f7431359f9229d8 (then again later in 9c98d8f6f9c85d7a1b36 that I see you committed a minute ago, does the same thing.


c10t -w /tmp/mc/test -o test.png

Generating PNG Map

Threads: 4
 --- SCANNING WORLD DIRECTORY ---
world: /tmp/mc/test
...............................     3100 parts
...............................     6200 parts
...............................     9300 parts
...............................    12400 parts
...............................    15500 parts
...............................    18600 parts
...............................    21700 parts
...............................    24800 parts
...............................    27900 parts
...............................    31000 parts
...............................    34100 parts
...............................    37200 parts
...............................    40300 parts
.    40477 parts
 --- ALLOCATING MEMORY ---
memory usage: 574.06 MB
memory limit: 1048.58 MB
 --- RENDERING ---
...............................     1550 parts 3%
...............................     3100 parts 7%
...............................     4650 parts 11%
...............................     6200 parts 15%
...............................     7750 parts 19%
...............................     9300 parts 23%
...............................    10850 parts 27%
...............................    12400 parts 30%
...............................    13950 parts 34%
...............................    15500 parts 38%
...............................    17050 parts 42%
...............................    18600 parts 46%
...............................    20150 parts 50%
...............................    21700 parts 54%
.........terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct NULL not valid
Aborted

World data http://minecraft.nom-nom-nom.us/backups/survival/minecraft.20110224-0400-full.7z

udoprog commented 13 years ago

Yeah, this is mush for brains on my part, for some reason a region chunk cannot be deflated, new commit is available which should just throw an error.

See commit a4b158a53993aa0d481f810374c89e3bcaec4794

kilorat commented 13 years ago

Interesting, I've never had world corruption before. I guess all of the crashes after the update can leave things inconsistent.

...............................    20150 parts 50%
...............................    21700 parts 54%
........./tmp/mc/test/region/r.18.19.mcr(594,634): failed to inflate data (Z_STREAM_END)
......................    23250 parts 58%
...............................    24800 parts 61%
...............................    26350 parts 65%