Arch Linux - Missing quote causes segmentation fault

  1. Bug description
    [Describe what the bug is in your own words.]

The OmegaUpdater binary successfully downloads the game files and the mouse cursor changes graphics but the game window does not appear.
As you can see here from the log

Setting up permissions...
chmod: cannot access '/media/DATA/Programs/YGO': No such file or directory
chmod: cannot access 'Omega/': No such file or directory

Instead of chmod the folder '/media/DATA/Programs/YGO Omega'.
I would like to suggest adding the parameter with the current folder name in quotes.
The game files are downloaded to the correct folder.

  1. Bug reproduction steps

    [Write the exact steps to reproduce the bug. Provide a replay code if you can. You can attach replay codes, or use a pastebin link or you can even use a spoiler tag using]

    Just run the OmegaUpdater binary in an empty directory with whitespace in its name.

  2. Screenshot OR error code

Full log

[remmar@archlinux YGO Omega]$ ./OmegaUpdater
Gathering required information…
Previous installation not found…
Applying update…
Setting up permissions…
chmod: cannot access ‚Äė/media/DATA/Programs/YGO‚Äô: No such file or directory
chmod: cannot access ‚ÄėOmega/‚Äô: No such file or directory
Failed to extract update‚Ķ The process cannot access the file ‚Äė/tmp/update.zip‚Äô because it is being used by another process.
Cleaning up…
Setting up permissions…
chmod: cannot access ‚Äė/media/DATA/Programs/YGO‚Äô: No such file or directory
chmod: cannot access ‚ÄėOmega/‚Äô: No such file or directory
Previous installation not found…
Downloading Update…
Failed to download: The process cannot access the file ‚Äė/tmp/update.zip‚Äô because it is being used by another process.
Applying update…
Setting up permissions…
Failed to extract update‚Ķ The process cannot access the file ‚Äė/tmp/update.zip‚Äô because it is being used by another process.
Cleaning up…
Setting up permissions…
chmod: cannot access ‚Äė/media/DATA/Programs/YGO‚Äô: No such file or directory
chmod: cannot access ‚ÄėOmega/‚Äô: No such file or directory
chmod: cannot access ‚Äė/media/DATA/Programs/YGO‚Äô: No such file or directory
chmod: cannot access ‚ÄėOmega/‚Äô: No such file or directory
Previous installation not found…
Downloading Update…
Downloading… 114733KB / 114936KB - (9470KBps) (99,82%) / … Completed!
ERROR: Update file not found!
Downloading Update…
Downloading… 114760KB / 114936KB - (16800KBps) (99,85%) / … Completed!
Applying update…
Setting up permissions…
chmod: cannot access ‚Äė/media/DATA/Programs/YGO‚Äô: No such file or directory
chmod: cannot access ‚ÄėOmega/‚Äô: No such file or directory
Setting up permissions…
chmod: cannot access ‚Äė/media/DATA/Programs/YGO‚Äô: No such file or directory
chmod: cannot access ‚ÄėOmega/‚Äô: No such file or directory
Cleaning up…
Setting up permissions…
Update Completed!
chmod: cannot access ‚Äė/media/DATA/Programs/YGO‚Äô: No such file or directory
chmod: cannot access ‚ÄėOmega/‚Äô: No such file or directory
Launching game…
Launched! Closing updater…
[UnityMemory] Configuration Parameters - Can be set up in boot.config
‚Äúmemorysetup-bucket-allocator-granularity=16‚ÄĚ
‚Äúmemorysetup-bucket-allocator-bucket-count=8‚ÄĚ
‚Äúmemorysetup-bucket-allocator-block-size=4194304‚ÄĚ
‚Äúmemorysetup-bucket-allocator-block-count=1‚ÄĚ
‚Äúmemorysetup-main-allocator-block-size=16777216‚ÄĚ
‚Äúmemorysetup-thread-allocator-block-size=16777216‚ÄĚ
‚Äúmemorysetup-gfx-main-allocator-block-size=16777216‚ÄĚ
‚Äúmemorysetup-gfx-thread-allocator-block-size=16777216‚ÄĚ
‚Äúmemorysetup-cache-allocator-block-size=4194304‚ÄĚ
‚Äúmemorysetup-typetree-allocator-block-size=2097152‚ÄĚ
‚Äúmemorysetup-profiler-bucket-allocator-granularity=16‚ÄĚ
‚Äúmemorysetup-profiler-bucket-allocator-bucket-count=8‚ÄĚ
‚Äúmemorysetup-profiler-bucket-allocator-block-size=4194304‚ÄĚ
‚Äúmemorysetup-profiler-bucket-allocator-block-count=1‚ÄĚ
‚Äúmemorysetup-profiler-allocator-block-size=16777216‚ÄĚ
‚Äúmemorysetup-profiler-editor-allocator-block-size=1048576‚ÄĚ
‚Äúmemorysetup-temp-allocator-size-main=4194304‚ÄĚ
‚Äúmemorysetup-job-temp-allocator-block-size=2097152‚ÄĚ
‚Äúmemorysetup-job-temp-allocator-block-size-background=1048576‚ÄĚ
‚Äúmemorysetup-job-temp-allocator-reduction-small-platforms=262144‚ÄĚ
‚Äúmemorysetup-temp-allocator-size-background-worker=32768‚ÄĚ
‚Äúmemorysetup-temp-allocator-size-job-worker=262144‚ÄĚ
‚Äúmemorysetup-temp-allocator-size-preload-manager=262144‚ÄĚ
‚Äúmemorysetup-temp-allocator-size-nav-mesh-worker=65536‚ÄĚ
‚Äúmemorysetup-temp-allocator-size-audio-worker=65536‚ÄĚ
‚Äúmemorysetup-temp-allocator-size-cloud-worker=32768‚ÄĚ
‚Äúmemorysetup-temp-allocator-size-gfx=262144‚ÄĚ
Loading in SingleInstance mode

[remmar@archlinux YGO Omega]$ ./YGO\ Omega.x86_64
[UnityMemory] Configuration Parameters - Can be set up in boot.config
‚Äúmemorysetup-bucket-allocator-granularity=16‚ÄĚ
‚Äúmemorysetup-bucket-allocator-bucket-count=8‚ÄĚ
‚Äúmemorysetup-bucket-allocator-block-size=4194304‚ÄĚ
‚Äúmemorysetup-bucket-allocator-block-count=1‚ÄĚ
‚Äúmemorysetup-main-allocator-block-size=16777216‚ÄĚ
‚Äúmemorysetup-thread-allocator-block-size=16777216‚ÄĚ
‚Äúmemorysetup-gfx-main-allocator-block-size=16777216‚ÄĚ
‚Äúmemorysetup-gfx-thread-allocator-block-size=16777216‚ÄĚ
‚Äúmemorysetup-cache-allocator-block-size=4194304‚ÄĚ
‚Äúmemorysetup-typetree-allocator-block-size=2097152‚ÄĚ
‚Äúmemorysetup-profiler-bucket-allocator-granularity=16‚ÄĚ
‚Äúmemorysetup-profiler-bucket-allocator-bucket-count=8‚ÄĚ
‚Äúmemorysetup-profiler-bucket-allocator-block-size=4194304‚ÄĚ
‚Äúmemorysetup-profiler-bucket-allocator-block-count=1‚ÄĚ
‚Äúmemorysetup-profiler-allocator-block-size=16777216‚ÄĚ
‚Äúmemorysetup-profiler-editor-allocator-block-size=1048576‚ÄĚ
‚Äúmemorysetup-temp-allocator-size-main=4194304‚ÄĚ
‚Äúmemorysetup-job-temp-allocator-block-size=2097152‚ÄĚ
‚Äúmemorysetup-job-temp-allocator-block-size-background=1048576‚ÄĚ
‚Äúmemorysetup-job-temp-allocator-reduction-small-platforms=262144‚ÄĚ
‚Äúmemorysetup-temp-allocator-size-background-worker=32768‚ÄĚ
‚Äúmemorysetup-temp-allocator-size-job-worker=262144‚ÄĚ
‚Äúmemorysetup-temp-allocator-size-preload-manager=262144‚ÄĚ
‚Äúmemorysetup-temp-allocator-size-nav-mesh-worker=65536‚ÄĚ
‚Äúmemorysetup-temp-allocator-size-audio-worker=65536‚ÄĚ
‚Äúmemorysetup-temp-allocator-size-cloud-worker=32768‚ÄĚ
‚Äúmemorysetup-temp-allocator-size-gfx=262144‚ÄĚ
Loading in SingleInstance mode
Segmentation fault (core dumped)

  1. Expected behavior
    [Tell us what should have happened when the bug occurred.]

The game should have started.

  1. What OS are you using
    [Windows-10 / Linux / Android]
    Arch Linux
    KDE Plasma Version: 5.26.5
    KDE Frameworks Version: 5.102.0
    Qt Version: 5.15.8
    Kernel Version: 6.1.9-arch1-1 (64-bit)
    Graphics Platform: X11
    Vulkan Instance Version: 1.3.240
1 Like

I have the same error in Fedora 37 on Wayland and X11, GNOME 43.3, Kernel Version: 6.2.8-200.fc37.

Do you know how to resolve this?