Page MenuHomeSchine - Phabricator

Launcher | pressing Launch doesn't start up the game under certain conditions
Closed, FinishedPublic

Description

As the title says, pressing launch doesn't do what it should do.
It just closes the launcher and never starts up the starmade connection setup. The 3 processes in the background don't stop running though and the javaw.exe doesn't boot up too.

Also confirmed by @SmilingDemon

Details

Commits
Restricted Diffusion Commit
Restricted Diffusion Commit
Restricted Diffusion Commit
Restricted Diffusion Commit
Task Type
Bug
Testing Results
Affected Gamemode(s)
none/unspecified
Reproducible
Yes
Last tested (version)
v0.0.5
Category
Launcher
First occurrence (version)
v0.0.2
Hardware/Software/System
OS-Specific
No
Hardware-Specific
No
Video Card Vendor
uncertain
Steps to reproduce
  1. start the launcher, make sure the environment path is not equal to the installation path of the launcher. (default environment path is the personal folder, and not the installation folder on linux)
  2. attempt to launch the game
  3. observe as the game does not launch
Tester information (Internal use only)

On ubuntu 12.04, when attempting to launch the game, this error message is written to the console, if the launcher is started from console:
(the absolute path to the personal folder was manually replaced by ~)

[4025:0120/111338:INFO:CONSOLE(12450)] "Error: spawn ~/dep/java/jre1.7.0_80/bin/java ENOENT
    at exports._errnoException (util.js:814:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
    at onErrorNT (internal/child_process.js:344:16)
    at doNTCallback2 (node.js:438:9)
    at process._tickCallback (node.js:352:17)
    at EventEmitter.ipc.sendSync (~/Downloads/starmade-launcher-linux-ia32/resources/atom.asar/renderer/api/lib/ipc.js:21:31)
    at BrowserWindow.RemoteMemberFunction [as hide] (~/Downloads/starmade-launcher-linux-ia32/resources/atom.asar/renderer/api/lib/remote.js:140:29)
    at Scope.$scope.launch (~/Downloads/starmade-launcher-linux-ia32/resources/app.asar/lib/controllers/launch.js:83:40)
    at fn (eval at <anonymous> (~/Downloads/starmade-launcher-linux-ia32/resources/app.asar/node_modules/angular/angular.js:1:0), <anonymous>:2:332)
    at callback (~/Downloads/starmade-launcher-linux-ia32/resources/app.asar/node_modules/angular/angular.js:23481:17)", source: ~/Downloads/starmade-launcher-linux-ia32/resources/app.asar/node_modules/angular/angular.js (12450)

Further investigation into the paths in question concluded, that it is likely caused by the java executable's path being falsely resolved into the wrong folder ~/dep/java/jre1.7.0_80/bin/java instead of _/dep/java/jre1.7.0_80/bin/java, with _ being the install folder.

Java Version (64bit)

java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)

Event Timeline

lancake updated the task description. (Show Details)Oct 5 2015, 8:42 AM
lancake shifted this object from the S1 Public space to the Restricted Space space.
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 Launcher.
lancake set First occurrence (version) to v0.0.2.
lancake changed Reproducible from uncertain to Yes.
lancake set Last tested (version) to v0.0.2.
lancake edited Serverconfig (server.cfg). (Show Details)
lancake edited Clientconfig (settings.cfg). (Show Details)
lancake edited Java Version (64bit). (Show Details)
lancake added subscribers: lancake, SmilingDemon.
lancake created this task.
lancake raised the priority of this task from to Release Blocker.
Restricted Application added a project: Issue Navigation. · View Herald TranscriptOct 5 2015, 8:42 AM
Restricted Application added a subscriber: AndyP. · View Herald Transcript
lancake moved this task from New / Unconfirmed to Confirmed on the Issue Navigation board.EditedOct 5 2015, 8:42 AM
lancake changed the task status from Open to In Queue (Game).

-Confirmed-

Restricted Application edited projects, added Game Development, Starmade; removed Issue Navigation. · View Herald TranscriptOct 5 2015, 8:43 AM
lancake claimed this task.Oct 5 2015, 8:43 AM
lancake set Task Type to Bug.Oct 5 2015, 8:45 AM
lancake set Affected Gamemode(s) to none/unspecified.
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 In Queue (Game) to In Queue (Launcher).
Restricted Application edited projects, added Launcher Development; removed Game Development. · View Herald TranscriptOct 5 2015, 8:45 AM
wedtm changed the task status from In Queue (Launcher) to Resolved.Oct 26 2015, 4:17 AM
Restricted Application edited projects, added Quality Assurance; removed Launcher Development. · View Herald TranscriptOct 26 2015, 4:17 AM
lancake claimed this task.Oct 26 2015, 11:54 AM

Game starts again now for me.
there are 3 task open while the game is started alongside the Java.exe .. is that intended ?
they are gone after ending SM

AndyP shifted this object from the Restricted Space space to the S5 Launcher space.Oct 26 2015, 10:17 PM
lancake changed the task status from Resolved to In Queue (Launcher).Oct 29 2015, 5:01 PM

-QA Testing-

64 bit version works fine, the 32 bit windows version download however doesn't have a bundled java so it doesn't work.

Restricted Application edited projects, added Launcher Development; removed Quality Assurance. · View Herald TranscriptOct 29 2015, 5:01 PM
calani added a subscriber: calani.Jan 13 2016, 4:20 AM

Apart from win32 missing bundled java, is this still an issue?

Assuming this is resolved ~
The missing win32 java dependency will be addressed with the next launcher release. If you are still having issues, please create another ticket!

calani closed this task as Closed.Jan 17 2016, 5:09 AM
Restricted Application removed a project: Launcher Development. · View Herald TranscriptJan 17 2016, 5:09 AM
Restricted Application removed a subscriber: AndyP. · View Herald Transcript
SmilingDemon reopened this task as Open.Jan 19 2016, 12:00 PM
Restricted Application added a project: Issue Navigation. · View Herald TranscriptJan 19 2016, 12:00 PM

not starting on Ubuntu 14.04 for me

SmilingDemon changed Last tested (version) from v0.0.2 to v0.0.4.Jan 19 2016, 12:03 PM
SmilingDemon reassigned this task from SmilingDemon to Megacrafter127.
Megacrafter127 edited Tester information (Internal use only). (Show Details)
Megacrafter127 changed the task status from Open to In Queue (Launcher).

-QA Testing-
Still occurring on ubuntu 12.04 and 14.04, other linux versions are likely also affected.

Restricted Application edited projects, added Launcher Development; removed Issue Navigation. · View Herald TranscriptJan 19 2016, 12:09 PM

What errors get thrown in ubuntu 14.04 x64? Is it trying to launch the game before downloading it? Are there any missing files/dependencies, ex ~/dep/java/jre1.7.0_80/bin/java?
I've so far been unable to reproduce the behavior.

as for the three background processes not closing: this is expected behavior if the launcher crashes.

calani added a commit: Restricted Diffusion Commit.Jan 20 2016, 9:44 AM
calani changed the task status from In Queue (Launcher) to Resolved by committing Restricted Diffusion Commit.
Restricted Application edited projects, added Quality Assurance; removed Launcher Development. · View Herald TranscriptJan 20 2016, 9:44 AM
Megacrafter127 changed Last tested (version) from v0.0.4 to v0.0.5.Jan 20 2016, 10:16 AM
Megacrafter127 edited Tester information (Internal use only). (Show Details)
Megacrafter127 changed the task status from Resolved to In Queue (Launcher).EditedJan 20 2016, 10:18 AM

-QA Testing-
Not fixed, at least on ubuntu linux 14.04 32bit. Tester information field updated with new log. Does occur on 64bit ubuntu linux 12.04 too, unless the environment path is manually set to the launcher's install folder beforehand. Thus assuming the cause to be a path resolving issue.

Restricted Application edited projects, added Launcher Development; removed Quality Assurance. · View Herald TranscriptJan 20 2016, 10:18 AM
Megacrafter127 edited Serverconfig (server.cfg). (Show Details)Jan 20 2016, 10:41 AM
Megacrafter127 edited Clientconfig (settings.cfg). (Show Details)
Megacrafter127 edited Tester information (Internal use only). (Show Details)
Megacrafter127 edited Steps to reproduce. (Show Details)
Megacrafter127 renamed this task from pressing Launch doesn't start up the game to pressing Launch doesn't start up the game under certain conditions.
calani added a commit: Restricted Diffusion Commit.Jan 21 2016, 8:10 AM
calani changed the task status from In Queue (Launcher) to Resolved by committing Restricted Diffusion Commit.
Restricted Application edited projects, added Quality Assurance; removed Launcher Development. · View Herald TranscriptJan 21 2016, 8:10 AM
Megacrafter127 added a comment.EditedJan 21 2016, 9:34 AM

-QA Testing-
Fixed on linux, and windows.

Megacrafter127 closed this task as Closed.Jan 21 2016, 10:36 AM

-QA Testing-
Fix confirmed for all OS

Restricted Application removed a project: Quality Assurance. · View Herald TranscriptJan 21 2016, 10:36 AM
calani added a commit: Restricted Diffusion Commit.Jan 23 2016, 8:52 AM
calani reopened this task as Resolved by committing Restricted Diffusion Commit.
Restricted Application added a project: Quality Assurance. · View Herald TranscriptJan 23 2016, 8:52 AM
calani added a commit: Restricted Diffusion Commit.Jan 23 2016, 8:52 AM
Megacrafter127 closed this task as Closed.Jan 23 2016, 10:15 AM

-QA Testing-
Still fixed, as far as I can tell.

Restricted Application removed a project: Quality Assurance. · View Herald TranscriptJan 23 2016, 10:15 AM