Azgaar / Fantasy-Map-Generator

Web application generating interactive and highly customizable maps

Home Page:https://azgaar.github.io/Fantasy-Map-Generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CtD on Launch - Linux

Vinidia opened this issue · comments

Application Crashes upon launch with/without using electron

"Double-Clicking" the executable opens a window for a brief moment, then closes the window.
Using Electron to launch the file has the same behavior, albeit with logs.
Steps to reproduce

  1. Attempt to open program with or without Electron
  2. Program window opens
  3. Program window closes

Expected behavior

A fully functional desktop version of FMG.
.map file

N/A
Screenshots

No screenshots, but logs instead.
Using Electron verbosely ($~ electron [Path to Program]):

$~ electron "/home/rylie/Downloads/FMG-linux-x64/Azgaar'sFantasyMapGenerator"                          ✔  32s  
App threw an error during load
/home/rylie/Downloads/FMG-linux-x64/Azgaar'sFantasyMapGenerator:1
ELF
^

SyntaxError: Invalid or unexpected token
    at Object.compileFunction (node:vm:352:18)
    at wrapSafe (node:internal/modules/cjs/loader:1040:15)
    at Module._compile (node:internal/modules/cjs/loader:1076:27)
    at Module._extensions..js (node:internal/modules/cjs/loader:1175:10)
    at Module.load (node:internal/modules/cjs/loader:988:32)
    at Module._load (node:internal/modules/cjs/loader:829:12)
    at c._load (node:electron/js2c/asar_bundle:5:13343)
    at loadApplicationPackage (/usr/lib/electron/resources/default_app.asar/main.js:110:16)
    at Object.<anonymous> (/usr/lib/electron/resources/default_app.asar/main.js:222:9)
    at Module._compile (node:internal/modules/cjs/loader:1120:14)
A JavaScript error occurred in the main process
Uncaught Exception:
/home/rylie/Downloads/FMG-linux-x64/Azgaar'sFantasyMapGenerator:1
ELF
^

SyntaxError: Invalid or unexpected token
    at Object.compileFunction (node:vm:352:18)
    at wrapSafe (node:internal/modules/cjs/loader:1040:15)
    at Module._compile (node:internal/modules/cjs/loader:1076:27)
    at Module._extensions..js (node:internal/modules/cjs/loader:1175:10)
    at Module.load (node:internal/modules/cjs/loader:988:32)
    at Module._load (node:internal/modules/cjs/loader:829:12)
    at c._load (node:electron/js2c/asar_bundle:5:13343)
    at loadApplicationPackage (/usr/lib/electron/resources/default_app.asar/main.js:110:16)
    at Object.<anonymous> (/usr/lib/electron/resources/default_app.asar/main.js:222:9)
    at Module._compile (node:internal/modules/cjs/loader:1120:14)
[64803:1001/215409.911092:ERROR:vaapi_wrapper.cc(1145)] vaQuerySurfaceAttributes failed, VA error: invalid parameter
[64803:1001/215409.911275:ERROR:vaapi_wrapper.cc(1092)] FillProfileInfo_Locked failed for va_profile VAProfileH264Main and entrypoint VAEntrypointVLD
[64803:1001/215409.911329:ERROR:vaapi_wrapper.cc(1145)] vaQuerySurfaceAttributes failed, VA error: invalid parameter
[64803:1001/215409.911361:ERROR:vaapi_wrapper.cc(1092)] FillProfileInfo_Locked failed for va_profile VAProfileH264High and entrypoint VAEntrypointVLD

Using terminal to open program directly results in the same issue, albeit with different logs:

    ~/Downloads/FMG-linux-x64  ./Azgaar\'sFantasyMapGenerator                                                      ✔ 
(electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false".  It will change to be "true" in Electron 9.  For more information please check https://github.com/electron/electron/issues/18397
[65089:1001/215643.869361:FATAL:gpu_data_manager_impl_private.cc(1034)] The display compositor is frequently crashing. Goodbye.
zsh: trace trap (core dumped)  ./Azgaar\'sFantasyMapGenerator

System

  • Version: 8.2.0 (1.87.13)
  • Browser: Desktop
  • OS: Manjaro Linux 5.19

I also tried launching it before I installed Electron, with the same result.

No ideas how to fix it. Probably it's better to use web version