Closed flagmaggot closed 5 years ago
Forgot the backtrace:
this=0x83d2750) at /usr/include/c++/6/bits/stl_vector.h:656
fnBase="/mnt/c/sikut/map/images/map") at /mnt/c/shawn/mcpe_viz/mcpe_viz.cc:3373
at /mnt/c/shawn/mcpe_viz/mcpe_viz.cc:3888
at /mnt/c/shawn/mcpe_viz/mcpe_viz.cc:5252
After some investigation, I find that this line is causing the issue:
adding some debugging code, I'm finding that blockid is a negative number (-127, -43, -97 to list a few)
Thanks - will have a look at this
Did you run --html-all or --html-most?
Pushed an update - give it a try
It works again for me. Thank you!
Works fine here too. Btw I was using --html-all when the error was occuring.
Using my fork it performs correctly but using your latest fixes (in a separate pull) crashes, I ran using "gdb" and this is what it came back with when it crashes:
Program received signal SIGSEGV, Segmentation fault. 0x00000000080f618e in std::vector<std::unique_ptr<mcpe_viz::BlockInfo, std::default_delete >, std::allocator<std::unique_ptr<mcpe_viz::BlockInfo, std::default_delete > > >::size (this=0x83d2750)
at /usr/include/c++/6/bits/stl_vector.h:656
656 { return size_type(this->_M_impl._M_finish - this->_M_impl._M_start); }