Bottles icon indicating copy to clipboard operation
Bottles copied to clipboard

Crashed Bottles on Fedora 43

Open sahinumut9119 opened this issue 7 months ago • 2 comments

⚠️ (Update 23 March 2026) !!!!!!READ HERE, YOUR ISSUE MIGHT BE CLOSED WITHOUT ANY COMMENT!!!!!! DO NOT OPEN ISSUES FOR WINDOWS PROGRAMS NOT WORKING IN BOTTLES. Bottles is a Wine prefix manager. If a Windows application doesn't work, it could be a Wine problem or a misconfiguration of the Wine prefix. Please visit WineHQ and ProtonDB for more information on the software you are trying to run. For additional support, use the Programs repository.

Image

sahinumut9119 avatar Apr 07 '26 17:04 sahinumut9119

This is speculation because I can't reproduce this issue.

The fvs2 subprocess is configured with the bottle path as its working directory. The directory is accessible when forking the child process because the call that python makes to chdir() would return an error before getwd() ever gets called. However, later on getwd() has an error that the directory appears to no longer exist.

It seems that likely that getwd() is called from the fvs2 code when the repo path is converted into an absolute path (the go filepath.Abs() code eventually calls getwd()) which happens because the default repo path is . and no path argument is given.

I'm wondering if the flatpak sandbox interferes with the directories available to child subprocess between the call to chdir() and the call to one of the exec() functions. It might be specific to how the bottle path is made accessible to the sandbox. If I remember right, processes store the filesystem node for the root and working directories, rather than using path strings, so if these get recreated at some point for the child process, it might look like the working directory was deleted.

Maybe the issue can be sidestepped by not setting the working directory and instead explicitly providing the bottle path as the repo path argument.

Same Issue:

  • #4448 The issue was closed because some users were using the arch package. However the OP was using flatpak on Linux Mint.

Graham--M avatar Apr 08 '26 13:04 Graham--M

The issue must provide ALL the details asked in the Bug form.

mirkobrombin avatar Apr 13 '26 08:04 mirkobrombin