Page MenuHomeSchine - Phabricator

Launcher | Beta Launcher (build 148) fails to load ubuntu font and autoupdates with --steam argument
Closed, FinishedPublic

Description

Launcher shouldn't be autoupdating with the --steam parameter. Both font and update issues occur on Windows and Ubuntu. The development argument does not seem to have this issue, no autoupdating and the font works.

Windows 10 - 64 bit log

C:\Users\duke\Desktop\starmade-launcher-win32-x64>cmd /K ""starmade-launcher.exe" --steam""
[13492:0704/161537:INFO:renderer_main.cc(200)] Renderer process started
[8912:0704/161539:INFO:renderer_main.cc(200)] Renderer process started
[1656:0704/161539:INFO:CONSOLE(65)] "undefined", source: C:\Users\duke\Desktop\starmade-launcher-win32-x64\resources\app.asar\lib\main.js (65)
[1656:0704/161539:INFO:CONSOLE(67)] "Launcher v2.0.6 build b089bfa", source: C:\Users\duke\Desktop\starmade-launcher-win32-x64\resources\app.asar\lib\main.js (67)
[1656:0704/161539:INFO:CONSOLE(68)] "Steam?  true", source: C:\Users\duke\Desktop\starmade-launcher-win32-x64\resources\app.asar\lib\main.js (68)
[1656:0704/161539:INFO:CONSOLE(69)] "Dev?    false", source: C:\Users\duke\Desktop\starmade-launcher-win32-x64\resources\app.asar\lib\main.js (69)
[1656:0704/161539:INFO:CONSOLE(70)] "Debug?  false", source: C:\Users\duke\Desktop\starmade-launcher-win32-x64\resources\app.asar\lib\main.js (70)
[1656:0704/161539:INFO:CONSOLE(71)] "Attach? true", source: C:\Users\duke\Desktop\starmade-launcher-win32-x64\resources\app.asar\lib\main.js (71)
[1656:0704/161540:INFO:CONSOLE(117)] "Updating launcher...", source: C:\Users\duke\Desktop\starmade-launcher-win32-x64\resources\app.asar\lib\main.js (117)
[5976:0704/161540:INFO:renderer_main.cc(200)] Renderer process started
[1656:0704/161540:INFO:CONSOLE(115)] "C:\Users\duke\Desktop\starmade-launcher-win32-x64\resources", source: C:\Users\duke\Desktop\starmade-launcher-win32-x64\resources\app.asar\lib\services\updater.js (115)
[1656:0704/161542:INFO:CONSOLE(0)] "Failed to decode downloaded font: file:///C:/Users/duke/Desktop/starmade-launcher-win32-x64/resources/app.asar/static/fonts/ubuntu/Ubuntu-M.ttf", source: file:///C:/Users/duke/Desktop/starmade-launcher-win32-x64/resources/app.asar/static/index.html#/ (0)
1656:0704/161553:INFO:CONSOLE(0)] "Failed to decode downloaded font: file:///C:/Users/duke/Desktop/starmade-launcher-win32-x64/resources/app.asar/static/fonts/ubuntu/Ubuntu-L.ttf", source: file:///C:/Users/duke/Desktop/starmade-launcher-win32-x64/resources/app.asar/static/index.html#/ (0)
[1656:0704/161553:INFO:CONSOLE(132)] "Launcher updated! Restarting...", source: C:\Users\duke\Desktop\starmade-launcher-win32-x64\resources\app.asar\lib\main.js (132)

C:\Users\duke\Desktop\starmade-launcher-win32-x64>[10988:0704/161553:INFO:renderer_main.cc(200)] Renderer process started
[7972:0704/161555:INFO:renderer_main.cc(200)] Renderer process started
[4884:0704/161555:INFO:CONSOLE(57)] "Launcher v2.0.4 build 5d991f5", source: C:\Users\duke\Desktop\starmade-launcher-win32-x64\resources\app.asar\lib\main.js (57)

Ubuntu 16.04 - 64 bit log

tai@ubuntu:~/Desktop/starmade-launcher-linux-x64$ ./starmade-launcher --steam
[3766:0703/214308:ERROR:browser_main_loop.cc(173)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[3801:0703/214309:INFO:renderer_main.cc(200)] Renderer process started
ATTENTION: default value of option force_s3tc_enable overridden by environment.
[3790:0703/214309:ERROR:gles2_cmd_decoder.cc(11539)] [GroupMarkerNotSet(crbug.com/242999)!:D0D2D6D6CD190000]GL ERROR :GL_INVALID_OPERATION : glTexStorage2DEXT: <- error from previous GL command
[3818:0703/214309:INFO:renderer_main.cc(200)] Renderer process started
[3801:0703/214310:WARNING:channel.cc(549)] Failed to send message to ack remove remote endpoint (local ID 1, remote ID 1)
[3801:0703/214310:WARNING:channel.cc(549)] Failed to send message to ack remove remote endpoint (local ID 2147483648, remote ID 2)
[3766:0703/214310:INFO:CONSOLE(65)] "undefined", source: /home/tai/Desktop/starmade-launcher-linux-x64/resources/app.asar/lib/main.js (65)
[3766:0703/214310:INFO:CONSOLE(67)] "Launcher v2.0.6 build b089bfa", source: /home/tai/Desktop/starmade-launcher-linux-x64/resources/app.asar/lib/main.js (67)
[3790:0703/214310:ERROR:gles2_cmd_decoder.cc(11539)] [GroupMarkerNotSet(crbug.com/242999)!:D0DED6D6CD190000]GL ERROR :GL_INVALID_OPERATION : glTexStorage2DEXT: <- error from previous GL command
[3766:0703/214310:INFO:CONSOLE(68)] "Steam?  true", source: /home/tai/Desktop/starmade-launcher-linux-x64/resources/app.asar/lib/main.js (68)
[3766:0703/214310:INFO:CONSOLE(69)] "Dev?    false", source: /home/tai/Desktop/starmade-launcher-linux-x64/resources/app.asar/lib/main.js (69)
[3766:0703/214310:INFO:CONSOLE(70)] "Debug?  false", source: /home/tai/Desktop/starmade-launcher-linux-x64/resources/app.asar/lib/main.js (70)
[3766:0703/214310:INFO:CONSOLE(71)] "Attach? true", source: /home/tai/Desktop/starmade-launcher-linux-x64/resources/app.asar/lib/main.js (71)
[3766:0703/214311:INFO:CONSOLE(117)] "Updating launcher...", source: /home/tai/Desktop/starmade-launcher-linux-x64/resources/app.asar/lib/main.js (117)
[3832:0703/214311:INFO:renderer_main.cc(200)] Renderer process started
[3790:0703/214311:ERROR:gles2_cmd_decoder.cc(11539)] [GroupMarkerNotSet(crbug.com/242999)!:D0D8D6D6CD190000]GL ERROR :GL_INVALID_OPERATION : glTexStorage2DEXT: <- error from previous GL command
[3766:0703/214311:INFO:CONSOLE(115)] "/home/tai/Desktop/starmade-launcher-linux-x64/resources", source: /home/tai/Desktop/starmade-launcher-linux-x64/resources/app.asar/lib/services/updater.js (115)
[3766:0703/214312:INFO:CONSOLE(0)] "Failed to decode downloaded font: file:///home/tai/Desktop/starmade-launcher-linux-x64/resources/app.asar/static/fonts/ubuntu/Ubuntu-M.ttf", source: file:///home/tai/Desktop/starmade-launcher-linux-x64/resources/app.asar/static/index.html#/ (0)
[3766:0703/214323:INFO:CONSOLE(132)] "Launcher updated! Restarting...", source: /home/tai/Desktop/starmade-launcher-linux-x64/resources/app.asar/lib/main.js (132)
[3818:0703/214323:WARNING:channel.cc(549)] Failed to send message to ack remove remote endpoint (local ID 1, remote ID 1)
[3818:0703/214323:WARNING:channel.cc(549)] Failed to send message to ack remove remote endpoint (local ID 2147483648, remote ID 2)

Details

Commits
Restricted Diffusion Commit
Task Type
Bug
Testing Results
Affected Gamemode(s)
Launcher
Reproducible
Yes
Category
Launcher
Hardware/Software/System
OS-Specific
No
Hardware-Specific
No
Video Card Vendor
uncertain
Steps to reproduce

Launch build 148 of beta launcher with --steam argument set.

Tester information (Internal use only)

Launcher in build b089bfa
starting updates immediately to build 5d991f5
There is no option to prevent the update
(-steam flag was supposed to surpress that.)

Another effect is:
As we have an old build on star-made.org its effectively downgrading to a version without auto-update.

Event Timeline

Restricted Application edited projects, added Issue Navigation; removed Launcher Development. · View Herald TranscriptJul 4 2016, 4:52 AM
AndyP shifted this object from the S1 Public space to the S5 Launcher space.Jul 4 2016, 7:50 AM
AndyP changed the visibility from "Custom Policy" to "Public (No Login Required)".
AndyP changed the edit policy from "Task Author" to "Starmade (Project)".
AndyP edited Serverconfig (server.cfg). (Show Details)
AndyP edited Clientconfig (settings.cfg). (Show Details)
AndyP claimed this task.
Restricted Application added a project: Starmade. · View Herald TranscriptJul 4 2016, 7:50 AM
AndyP added a subscriber: AndyP.
AndyP removed AndyP as the assignee of this task.
AndyP triaged this task as High priority.

-Validated-

AndyP moved this task from Open / Validated to Confirmed on the Issue Navigation board.EditedJul 4 2016, 9:31 AM
AndyP changed the task status from Open to In Queue (Launcher).
AndyP claimed this task.

-Confirmed-

"Flag"
Steam true/false flip their state, but have no visible effect.

D:\Starmade\starmade-launcher-win32-x64>start starmade-launcher.exe

D:\Starmade\starmade-launcher-win32-x64>[8664:0704/112411:INFO:renderer_main.cc(200)] Renderer process started
[9600:0704/112413:INFO:renderer_main.cc(200)] Renderer process started
[5332:0704/112414:INFO:CONSOLE(65)] "undefined", source: D:\Starmade\starmade-launcher-win32-x64\resources\app.asar\lib\main.js (65)
[5332:0704/112414:INFO:CONSOLE(67)] "Launcher v2.0.6 build b089bfa", source: D:\Starmade\starmade-launcher-win32-x64\resources\app.asar\lib\main.js (67)
[5332:0704/112414:INFO:CONSOLE(68)] "Steam?  false", source: D:\Starmade\starmade-launcher-win32-x64\resources\app.asar\lib\main.js (68)
[5332:0704/112414:INFO:CONSOLE(69)] "Dev?    false", source: D:\Starmade\starmade-launcher-win32-x64\resources\app.asar\lib\main.js (69)
[5332:0704/112414:INFO:CONSOLE(70)] "Debug?  false", source: D:\Starmade\starmade-launcher-win32-x64\resources\app.asar\lib\main.js (70)
[5332:0704/112414:INFO:CONSOLE(71)] "Attach? false", source: D:\Starmade\starmade-launcher-win32-x64\resources\app.asar\lib\main.js (71)
[5332:0704/112414:INFO:CONSOLE(117)] "Updating launcher...", source: D:\Starmade\starmade-launcher-win32-x64\resources\app.asar\lib\main.js (117)
[9880:0704/112415:INFO:renderer_main.cc(200)] Renderer process started
[5332:0704/112415:INFO:CONSOLE(115)] "D:\Starmade\starmade-launcher-win32-x64\resources", source: D:\Starmade\starmade-launcher-win32-x64\resources\app.asar\lib\services\updater.js (115)
[5332:0704/112431:INFO:CONSOLE(132)] "Launcher updated! Restarting...", source: D:\Starmade\starmade-launcher-win32-x64\resources\app.asar\lib\main.js (132)
[5356:0704/112433:INFO:renderer_main.cc(200)] Renderer process started
[1684:0704/112435:INFO:renderer_main.cc(200)] Renderer process started
[7488:0704/112435:INFO:CONSOLE(57)] "Launcher v2.0.4 build 5d991f5", source: D:\Starmade\starmade-launcher-win32-x64\resources\app.asar\lib\main.js (57)
Restricted Application edited projects, added Launcher Development; removed Issue Navigation. · View Herald TranscriptJul 4 2016, 9:31 AM
AndyP edited Tester information (Internal use only). (Show Details)Jul 4 2016, 9:35 AM
AndyP updated the task description. (Show Details)
AndyP updated the task description. (Show Details)
AndyP raised the priority of this task from High to Release Blocker.Jul 4 2016, 9:42 AM
In T1649#64379, @AndyP wrote:

-Confirmed-

You didn't actually specify the --steam argument in your command "start starmade-launcher.exe" . You can see this because "Steam? false" is set in your log.

AndyP added a comment.EditedJul 5 2016, 8:51 AM

Thats right, but this log was to add the "tester information" that both argument sets with and without -steam do not make a difference.
(Inverse logic could have stopped the update if -steam was missing, but that was to show there is no difference)
I tried several combinations and just took the last log to show its all the same

calani added a commit: Restricted Diffusion Commit.Jul 7 2016, 5:00 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 TranscriptJul 7 2016, 5:00 AM
calani added a subscriber: calani.Aug 2 2016, 5:08 PM

This really needs to be two separate tickets.

-QA Testing-

Steamflag and auto-update prevention works by console.
Poking @DukeofRealms for the font problem - I will create a new ticket if it still happens.

The font issue seems to have been resolved.

AndyP closed this task as Closed.

Fix confirmed then.
Great.

Restricted Application removed a project: Quality Assurance. · View Herald TranscriptFeb 24 2017, 8:36 AM