Now that this forum is back up, I can say that I am not crashing at all in this new update... seems at least for me there is not a need for this type of fix. If any of you are still crashing in a similar manner despite the Halloween update, give me your full crash dump and I'll try to see if it is indeed related.
If you apply this fix to the files of the Halloween update, you will encounter problems because fz.class is no longer the same as it was before. Do NOT apply it to the Halloween-updated client!
How to use: Open minecraft.jar (as this is a client mod, not a server mod) in your favorite archive program such as 7zip and replace the existing fz.class with this one. Also be sure to delete the MOJANG files located in in the /META-INF directory of the .jar - leave the Manifest file!
What this fixes: So, you're playing Minecraft and all of a sudden your game seems to freeze and turn black after a moment. This is a very familiar problem for many people. If you stick around for the crash report, you typically see:
java.lang.NullPointerException
at fz.b(SourceFile:58)
at fz.a(SourceFile:54)
at bn.a(SourceFile:152)
at e.a(SourceFile:942)
at iq.c(SourceFile:342)
at iq.b(SourceFile:284)
at net.minecraft.client.Minecraft.run(SourceFile:608)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT ac0a2f43 ----------
Most people have been working around this by setting RENDER DISTANCE to Normal. That's not a proper solution, but it works at the expense of your visual enjoyment of the game. Instead, give this fix a try.
Server administrators, you too are familiar with this! People affected by this terrible bug show up as socket errors in your console:
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at hp.b(hp.java:45)
at bb.f(SourceFile:147)
at bb.c(SourceFile:9)
at hn.run(SourceFile:57)
2010-10-19 20:28:51 [INFO] Poorguywiththebug lost connection: Internal exception: java.net.SocketException: Connection reset
All because of one little error handling problem! Well, my replacement fz.class takes care of this - share it with all guests of your servers so that they may play worry and interruption free, now!
A lot of people in my community, including myself, had to live with these minecraft crashes. Originally, since we started off with a vanilla server, the crashes weren't that frequent but they still did happen. After a while we decided to start a-new with a modded server using hey0's mod, llamacraft and an abundance of plugins. Around that time hey0's mod came out with hitblox support which allowed for teleportation to wherever your cursor was pointing at, so we eagerly through that on the server since walking was, and currently still is, pointless and tedious.
As I'm sure a lot of you are aware and familiar with, teleportation leads to Minecraft having to keep up with the rendering of the world that it didn't have to before due to how slowly your character could walk around. Now those crashes we were experiencing on the vanilla server became a familiar friend and the only fix at the time was to turn on fog. But I think we can all agree that turning on fog on a game that shouldn't be all that demanding is an unacceptable work around.
Luckily, Animosity felt the same way and fixed the problem with a class replacement. After I tried it out myself and experienced the freedom of Minecraft (+ teleportation) without crashes, I shared it with my community along with a few other mods.
Thanks Animosity, I can go back to playing without fog and crashing due to your fix :smile.gif:
I'm still encountering crashes despite this fix. Here's an excerpt of the message that popped up (not the normal one inside the Java window, but an OS X one)
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread: 22 Java: Minecraft main thread
Application Specific Information:
Java information:
Exception type: Bus Error (0xa) at pc=000000008f062553
Java VM: Java HotSpot(TM) Client VM (16.3-b01-279 mixed mode macosx-x86)
I only tested on Windows and Linux (Ubuntu) so I can't speak to any problems you're enduring - looks related to the root cause, similar stack trace... up to a point.
Hm. Well, I'll see if I can investigate any further.
On an unrelated note, distribution of modified .class files has been an issue in the past. You might consider contacting xau to integrate your patch into his patcher, which would keep you in the clear since you wouldn't be distributing any of Notch's code. Or, you could make a patcher yourself, like MrMessiah did for Simple Map, since xau has released his source.
If there are no Mojang files in your /META-INF folder in the minecraft.jar, then you're fine. Deletion of those is a requirement of any modification to the client, so you may have done this already. You'll know if they still exist because you won't be able to get past 'loading terrain' due to a SHA1 digest check failure.
java.lang.NullPointerException
at bs.a(SourceFile:24)
at ev.a(SourceFile:75)
at eu.a(SourceFile:193)
at dm.a(SourceFile:187)
at ly.a(ly.java:286)
at nj.c(SourceFile:86)
at net.minecraft.client.Minecraft.a(SourceFile:757)
at net.minecraft.client.Minecraft.i(SourceFile:1053)
at net.minecraft.client.Minecraft.run(SourceFile:589)
at java.lang.Thread.run(Thread.java:637)
OK, maybe I am stupid but I have the latest alpha freshly downloaded, I open with WinRAR or I even downloaded 7zip and I do not see an existing fz.class anywhere. I can find the 2 files to delete but if I add the fz.class in with all the other ones I can't get past the log in page?
also, i had some maps a while back that i tried to adjust the terrain in with minedit but afterwords the map would load then immediately crash, which was found to be a common bug. well anyways, i deleted those maps but this makes me wonder if i could have used them? is that the same kind of crash or no?
java.lang.NullPointerException
at bs.a(SourceFile:24)
at ev.a(SourceFile:75)
at eu.a(SourceFile:193)
at dm.a(SourceFile:187)
at ly.a(ly.java:286)
at nj.c(SourceFile:86)
at net.minecraft.client.Minecraft.a(SourceFile:757)
at net.minecraft.client.Minecraft.i(SourceFile:1053)
at net.minecraft.client.Minecraft.run(SourceFile:589)
at java.lang.Thread.run(Thread.java:637)
Is it the same problem, or different?
Different - haven't seen that one myself but perhaps resolvable through the same or similar means as this particular crash fix.
Out of curiosity, what command did you use to compile this? I tried to make this fix myself a few days ago, but couldn't get it to compile-- kept complaining that it couldn't find ob.class, along with a couple other classes in the same directory.
java.lang.SecurityException: SHA1 digest error for fz.class
at sun.security.util.ManifestEntryVerifier.verify(Unknown Source)
at java.util.jar.JarVerifier.processEntry(Unknown Source)
at java.util.jar.JarVerifier.update(Unknown Source)
at java.util.jar.JarVerifier$VerifierStream.read(Unknown Source)
at sun.misc.Resource.getBytes(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at e.a(SourceFile:263)
at iq.c(SourceFile:351)
at iq.b(SourceFile:284)
at net.minecraft.client.Minecraft.run(SourceFile:608)
at java.lang.Thread.run(Unknown Source)
java.lang.SecurityException: SHA1 digest error for fz.class
at sun.security.util.ManifestEntryVerifier.verify(Unknown Source)
at java.util.jar.JarVerifier.processEntry(Unknown Source)
at java.util.jar.JarVerifier.update(Unknown Source)
at java.util.jar.JarVerifier$VerifierStream.read(Unknown Source)
at sun.misc.Resource.getBytes(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at e.a(SourceFile:263)
at iq.c(SourceFile:351)
at iq.b(SourceFile:284)
at net.minecraft.client.Minecraft.run(SourceFile:608)
at java.lang.Thread.run(Unknown Source)
How to use: Open minecraft.jar in your favorite archive program such as 7zip and replace the existing fz.class with this one. Also be sure to delete the MOJANG files located in /META-INF - leave the Manifest file!
Before: I would login to an SMP server, I would only a little bit of the world, if any, then I would crash. My internet would also crap out and I'd have to restart. I eventually played around and somehow made it so my internet connected after a few minutes without a restart.
After: I played on my friends SMP server for a few hours. Got the error. The main difference was that all I had to do was re-enter the server IP and it reconnected. Didn't kill my internet at all. However I lost all my items in the server. D:
The point I'm trying to make is while it didn't fix my problem ENTIRELY, it made it 300x easier to deal with, seeing as it only happens once every few hours. Actually, It might even be an unrelated error. I didn't read the error to see if it was the same.
PRE-HALLOWEEN UPDATE Download: http://dl.dropbox.com/u/7849/fz.class
DO NOT APPLY TO HALLOWEEN UPDATE.
How to use: Open minecraft.jar (as this is a client mod, not a server mod) in your favorite archive program such as 7zip and replace the existing fz.class with this one. Also be sure to delete the MOJANG files located in in the /META-INF directory of the .jar - leave the Manifest file!
What this fixes: So, you're playing Minecraft and all of a sudden your game seems to freeze and turn black after a moment. This is a very familiar problem for many people. If you stick around for the crash report, you typically see:
Most people have been working around this by setting RENDER DISTANCE to Normal. That's not a proper solution, but it works at the expense of your visual enjoyment of the game. Instead, give this fix a try.
Server administrators, you too are familiar with this! People affected by this terrible bug show up as socket errors in your console:
java.net.SocketException: Connection reset at java.net.SocketInputStream.read(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at java.io.FilterInputStream.read(Unknown Source) at hp.b(hp.java:45) at bb.f(SourceFile:147) at bb.c(SourceFile:9) at hn.run(SourceFile:57) 2010-10-19 20:28:51 [INFO] Poorguywiththebug lost connection: Internal exception: java.net.SocketException: Connection resetAll because of one little error handling problem! Well, my replacement fz.class takes care of this - share it with all guests of your servers so that they may play worry and interruption free, now!
Shouts outs to TEAM PEGGLE
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumAs I'm sure a lot of you are aware and familiar with, teleportation leads to Minecraft having to keep up with the rendering of the world that it didn't have to before due to how slowly your character could walk around. Now those crashes we were experiencing on the vanilla server became a familiar friend and the only fix at the time was to turn on fog. But I think we can all agree that turning on fog on a game that shouldn't be all that demanding is an unacceptable work around.
Luckily, Animosity felt the same way and fixed the problem with a class replacement. After I tried it out myself and experienced the freedom of Minecraft (+ teleportation) without crashes, I shared it with my community along with a few other mods.
Thanks Animosity, I can go back to playing without fog and crashing due to your fix :smile.gif:
Any idea what might be causing this?
EDIT: I am running Minecraft with Doku's RPG pack + items installed, HD Texture Fix, Better Grass, Simplemap 0.8, and your patch on OS X 10.6.
On an unrelated note, distribution of modified .class files has been an issue in the past. You might consider contacting xau to integrate your patch into his patcher, which would keep you in the clear since you wouldn't be distributing any of Notch's code. Or, you could make a patcher yourself, like MrMessiah did for Simple Map, since xau has released his source.
-
View User Profile
-
View Posts
-
Send Message
Curse Premium-
View User Profile
-
View Posts
-
Send Message
Curse PremiumIs it the same problem, or different?
also, i had some maps a while back that i tried to adjust the terrain in with minedit but afterwords the map would load then immediately crash, which was found to be a common bug. well anyways, i deleted those maps but this makes me wonder if i could have used them? is that the same kind of crash or no?
Different - haven't seen that one myself but perhaps resolvable through the same or similar means as this particular crash fix.
He's slightly sloppy, in many places of his code - it adds up... this is just a bandaid and a simple one at that.
After: I played on my friends SMP server for a few hours. Got the error. The main difference was that all I had to do was re-enter the server IP and it reconnected. Didn't kill my internet at all. However I lost all my items in the server. D:
The point I'm trying to make is while it didn't fix my problem ENTIRELY, it made it 300x easier to deal with, seeing as it only happens once every few hours. Actually, It might even be an unrelated error. I didn't read the error to see if it was the same.
Nice Fix! :3