← Back to team overview

openjdk team mailing list archive

[Bug 1001409] Re: Minecraft segfault on exit

 

** Attachment added: "Command output"
   https://bugs.launchpad.net/bugs/1001409/+attachment/3152731/+files/java-log.txt

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in Ubuntu.
https://bugs.launchpad.net/bugs/1001409

Title:
  Minecraft segfault on exit

Status in “openjdk-6” package in Ubuntu:
  New

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/1001409/+subscriptions



References