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?