Client crashing

The worst monsters in the Hearthlands warp the fabric of space and time..
User avatar
Poly1212
Posts: 77
Joined: Tue Apr 27, 2010 6:16 pm

Client crashing

Post by Poly1212 »

Background: Was making statues. Client crashed the instant one finished and now any toon thats part of the village that logs in instantly crashes and gets logged out but any toon not part of village can walk around just fine. Does this for both enders and generic clients.

Here is error message from generic client:

java.lang.RuntimeException: Got malformed map blob
at haven.MCache.mapdata2(MCache.java:341)
at haven.MCache.mapdata(MCache.java:414)
at haven.Session$RWorker.run(Session.java:458)
Caused by: java.util.zip.DataFormatException: unknown compression method
at java.util.zip.Inflater.inflateBytes(Native Method)
at java.util.zip.Inflater.inflate(Unknown Source)
at java.util.zip.Inflater.inflate(Unknown Source)
at haven.MCache.mapdata2(MCache.java:334)
... 2 more

any ideas cause The guy that can break that statue freezes / crashes as soon as he logs in....?
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Client crashing

Post by borka »

looks like only Devs can help you with that... :cry:
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
User avatar
aghmed
Posts: 238
Joined: Fri Sep 07, 2012 7:20 pm
Location: between London and third part of LSD

Re: Client crashing

Post by aghmed »

Code: Select all

	synchronized(grids) {
	    Coord gc = tc.div(cmaps);
	    if((last != null) && last.gc.equals(gc))
		g = last;
	    else
		last = g = grids.get(gc);
	}

Code: Select all

		
Inflater z = new Inflater();
	    z.setInput(msg.blob, msg.off, msg.blob.length - msg.off);
...
try {
		    int len;
		    if((len = z.inflate(buf)) == 0) {
			if(!z.finished())
			    throw(new RuntimeException("Got unterminated map blob"));
			break;
		    }
		    blob.addbytes(buf, 0, len);
		} catch(java.util.zip.DataFormatException e) {
		    throw(new RuntimeException("Got malformed map blob", e));
line 341:
last = g = grids.get(gc);
line 414:
if(!z.finished())

both times seems to be blob operations
you had to get corrupted data. If issue will cuntinue then world map is corrupted in this place
public static class StupidJavaCodeContainer {
/* oh, i love swing. */
class checkOutMyPathfinder{
Image
}}
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Client crashing

Post by borka »

excellent explanation! - prolly just another corrupt part written (HDD corruption again?) that can't be read anymore ("Wrong DataFormat") like: viewtopic.php?f=4&t=29614
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head

Return to “Bugs”