Page MenuHomeSchine - Phabricator

Starmade | JVM Crash detected: incorrect dialog
Closed, FinishedPublic

Description

It contains a small typo, but the information given is also incorrect.

It mentioned that the problem is 99% on intel cards but this is simply not true, it's almost always because they are using 32 bit java on a 64 bit OS.

It is also highly unprofessional. Either change that to reflect all graphics vendors, or remove it.
Also, include the mention of 64bit Java incase 32bit was detected.

Details

Commits
Restricted Diffusion Commit
Restricted Diffusion Commit
Restricted Diffusion Commit
Restricted Diffusion Commit
Task Type
Bug
Testing Results
Affected Gamemode(s)
Single and Multi
Reproducible
Yes
Last tested (version)
0.19412
Category
Engine
First occurrence (version)
0.1852
Hardware/Software/System
OS-Specific
No
Hardware-Specific
No
Video Card Vendor
uncertain

Event Timeline

lancake updated the task description. (Show Details)Jun 25 2015, 1:05 PM
lancake changed the visibility from "Custom Policy" to "Public (No Login Required)".
lancake changed the edit policy from "Task Author" to "Starmade (Project)".
lancake changed Category from none/unspecified to Engine.
lancake changed Affected Gamemode(s) from none/unspecified to Single and Multi.
lancake set First occurrence (version) to 0.1852.
lancake changed Reproducible from uncertain to Yes.
lancake set Last tested (version) to 0.19291.
lancake edited Serverconfig (server.cfg). (Show Details)
lancake edited Clientconfig (settings.cfg). (Show Details)
lancake added a subscriber: lancake.
lancake created this task.
lancake raised the priority of this task from to High.
Restricted Application added projects: Issue Navigation, Starmade. · View Herald TranscriptJun 25 2015, 1:05 PM
lancake set Task Type to Bug.Jun 25 2015, 1:06 PM
lancake set OS-Specific to No.
lancake set Hardware-Specific to No.
lancake set Video Card Vendor to uncertain.
lancake changed the task status from Open to In Queue (Game).
Restricted Application edited projects, added Game Development; removed Issue Navigation. · View Herald TranscriptJun 25 2015, 1:06 PM
lancake edited a custom field.Jun 25 2015, 8:22 PM
AndyP added a subscriber: AndyP.EditedJun 27 2015, 9:36 AM

It should show a warning if using 32bit java,

100% crashes on 64bit are usually 'covered' by this support reply:

If you have another graphics-card in your computer, tell your computer to execute java via GPU only. (In the case of NVidia cards you can do this in the "NVidia Control center")
Adding "javaw.exe" to program list in control center and setting it to 'GPU only' usually fixes this.
You may also visit the site of the manufacturer of your graphics-card and get the latest beta drivers for your card.
Also please install the 64bit Java Development Kit (JDK)
some intel drivers seem to link against extended java functions the default Java Runtime Environment (JRE) does not support.
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Check this page for downloads for your system. (Select 64 bit Offline for windows)

The driver issue and JDK requirement is in most cases for custom-manufactured notebooks that have slightly altered hardware and thus have custom drivers, and cant use the real manufacturers drivers.

Restricted Application added a commit: Restricted Diffusion Commit.Jul 19 2015, 8:11 AM
Restricted Application changed the task status from In Queue (Game) to Resolved by committing Restricted Diffusion Commit.
Restricted Application edited projects, added Quality Assurance; removed Game Development. · View Herald TranscriptJul 19 2015, 8:11 AM

It would help to know how the game notices the last launch ended in a JVM-crash, so it is possible to fake a crash of the previous run.

AndyP added a comment.Jul 26 2015, 5:07 PM

This usually pops up on a video-crash on startup while the shaders load or the display is initialized,
cant really nail it down to a specific occurence,
but an exception related to "video/display" in the range of 70-100% usually pops this message up.

That does not answer the question.
The question is regarding how to force such a crash, when it normally never occurs, or how to 'fool' the game into thinking it crashed last time.

AndyP added a comment.Jul 27 2015, 7:54 AM

I have no idea, lol

Possibly enable some mode that does not allow the game to start properly.
I'll try to trigger it, by unlocking Java from GPU on my system, my intel card should crash when I set the video settings high enough.

AndyP shifted this object from the S1 Public space to the S3 Starmade space.Aug 11 2015, 11:22 PM
AndyP changed the edit policy from "Starmade (Project)" to "All Users".


I know this is not the JVM-crash detected dialog, but it does contain the same text as the old JVM-crash dialog.
it needs to at least be changed too.

Megacrafter127 changed the task status from Resolved to In Queue (Game).Aug 14 2015, 7:28 PM
Restricted Application edited projects, added Game Development; removed Quality Assurance. · View Herald TranscriptAug 14 2015, 7:28 PM
Megacrafter127 changed Last tested (version) from 0.19291 to 0.19368.Aug 14 2015, 7:29 PM
Megacrafter127 edited Serverconfig (server.cfg). (Show Details)
Megacrafter127 edited Clientconfig (settings.cfg). (Show Details)
Restricted Application added a commit: Restricted Diffusion Commit.Aug 16 2015, 1:52 AM
Restricted Application changed the task status from In Queue (Game) to Resolved by committing Restricted Diffusion Commit.
Restricted Application edited projects, added Quality Assurance; removed Game Development. · View Herald TranscriptAug 16 2015, 1:52 AM
Megacrafter127 changed the task status from Resolved to In Queue (Game).Aug 22 2015, 1:45 AM

Change confirmed.


To create the message on purpose create a file named "hs_err_pid.log" in the installation folder.
However, I recommend making the link either clickable or adding a button opening the default browser at that location.
Also, as installing the JDK fixes the problem in the vast majority of all cases, I recommend putting that part of the dialog at the top.

Restricted Application edited projects, added Game Development; removed Quality Assurance. · View Herald TranscriptAug 22 2015, 1:45 AM
Restricted Application added a commit: Restricted Diffusion Commit.Aug 25 2015, 5:14 AM
Restricted Application changed the task status from In Queue (Game) to Resolved by committing Restricted Diffusion Commit.
Restricted Application edited projects, added Quality Assurance; removed Game Development. · View Herald TranscriptAug 25 2015, 5:14 AM
Megacrafter127 changed the task status from Resolved to In Queue (Game).Aug 26 2015, 3:14 AM

No change within message between last test and this test confirmed. (tested on linux. in some of my own java applications I have confirmed that the standard way of opening the default browser java.awt.Desktop.browse(java.net.URI) works].

Restricted Application edited projects, added Game Development; removed Quality Assurance. · View Herald TranscriptAug 26 2015, 3:14 AM
Megacrafter127 changed Last tested (version) from 0.19368 to 0.19409.Aug 26 2015, 3:15 AM
micdoodle8 added a subscriber: micdoodle8.EditedAug 26 2015, 5:48 AM

The change must've not been added to the latest build correctly, because the buttons have definitely been added :)

micdoodle8 changed the task status from In Queue (Game) to Resolved.Aug 26 2015, 5:48 AM
Restricted Application edited projects, added Quality Assurance; removed Game Development. · View Herald TranscriptAug 26 2015, 5:48 AM

If the change isn't included in the next build, something still needs to be fixed, even if it is not the game but the build-tool's config.

Megacrafter127 changed the task status from Resolved to In Queue (Game).Aug 26 2015, 6:56 PM

Change confirmed.
Clicking the button does indeed open the browser on http://www.oracle.com/technetwork/java/javase/downloads/index.html
However, on that page the user can download:

  • the JDK
  • the server JRE
  • the standard JRE
  • the netbeans IDE

To fix the problem at hand only the 1st option will work.
As such, to prevent user-confusion, I recommend opening the default browser on http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
If this is not possible for any reason, please state so.

Restricted Application edited projects, added Game Development; removed Quality Assurance. · View Herald TranscriptAug 26 2015, 6:56 PM
Megacrafter127 changed Last tested (version) from 0.19409 to 0.19412.Aug 26 2015, 6:57 PM

It is possible, however with such as specific url, this will constantly need updated as the jdk version increases. I think it's better for them to make one extra click than have them possibly linked to an old version of the jdk.

micdoodle8 lowered the priority of this task from High to Low.Aug 30 2015, 3:57 AM
Restricted Application added a commit: Restricted Diffusion Commit.Sep 8 2015, 5:31 AM
Restricted Application changed the task status from In Queue (Game) to Resolved by committing Restricted Diffusion Commit.
Restricted Application edited projects, added Quality Assurance; removed Game Development. · View Herald TranscriptSep 8 2015, 5:31 AM

Okay, so I've added a tiny.cc link, which allows us to edit the underlying link if the specific link (mentioned above) ends up going 404. This will point them to the download page directly without risking the 404 error in the future.

Megacrafter127 closed this task as Closed.Sep 14 2015, 1:08 PM

-QA Testing-
Fixed.

Restricted Application removed a project: Quality Assurance. · View Herald TranscriptSep 14 2015, 1:08 PM
Restricted Application removed a subscriber: AndyP. · View Herald Transcript
Restricted Application added a project: Engine. · View Herald TranscriptMar 10 2017, 6:32 PM