Minecraft segfault on exit

Bug #1001409 reported by Victor Engmark
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openjdk-6 (Ubuntu)
New
Undecided
Unassigned

Bug Description

To reproduce:
1. mkdir ~/.minecraft
2. wget -O ~/.minecraft/minecraft.jar https://s3.amazonaws.com/MinecraftDownload/launcher/minecraft.jar
3. java -Xmx1024M -Xms512M -cp ~/.minecraft/minecraft.jar net.minecraft.LauncherFrame 2>&1 > ~/java-log.txt
3a. If you exit now, there's no error message
4. Log in with valid Minecraft credentials.
5. Wait for the package downloads to finish
6. Quit immediately.

The result: A segfault reported in ~/java-log.txt and the following shell output:

java.io.FileNotFoundException: /home/victor/.minecraft/lastlogin (No such file or directory)
 at java.io.FileInputStream.open(Native Method)
 at java.io.FileInputStream.<init>(FileInputStream.java:137)
 at net.minecraft.LoginForm.readUsername(LoginForm.java:131)
 at net.minecraft.LoginForm.<init>(LoginForm.java:76)
 at net.minecraft.LauncherFrame.<init>(LauncherFrame.java:24)
 at net.minecraft.LauncherFrame.main(LauncherFrame.java:152)
Aborted (core dumped)

Revision history for this message
Victor Engmark (victor-engmark) wrote :
Revision history for this message
Victor Engmark (victor-engmark) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.