Skip to content

auto_unmount - #93

Merged
probonopd merged 2 commits into
mainfrom
auto_unmount
Dec 3, 2024
Merged

auto_unmount#93
probonopd merged 2 commits into
mainfrom
auto_unmount

Conversation

@probonopd

@probonopdprobonopd commented Nov 28, 2024

Copy link
Copy Markdown
Member

Closes#92

@mehmetakbulut@lalten does this fix the issue?

@github-actions

Copy link
Copy Markdown

Build for testing:
artifacts x86_64
artifacts i686
artifacts armhf
artifacts aarch64
Use at your own risk.

@probonopd

probonopd commented Nov 28, 2024

Copy link
Copy Markdown
MemberAuthor

Still get

sudo strace -f -e waitpid,fork,execve ./test-1-x86_64.AppImage
(...)
[pid 933] execve("/usr/bin/python3", ["python3", "/tmp/.mount_appimagkjGMD/AppRun"], 0x7ffe345736a8 /* 18 vars */) = 0
Hello world!
[pid 933] +++ exited with 0 +++
[pid 937] --- SIGPIPE {si_signo=SIGPIPE, si_code=SI_USER, si_pid=936, si_uid=0} ---
[pid 937] --- SIGTERM {si_signo=SIGTERM, si_code=SI_USER, si_pid=936, si_uid=0} ---
[pid 937] +++ exited with 0 +++
^Cstrace: Process 936 detached

@probonopd
probonopd marked this pull request as draft November 28, 2024 13:58
@probonopd

Copy link
Copy Markdown
MemberAuthor

Maybe, just maybe, we also need opts.idle_timeout_secs = 1;?

@github-actions

Copy link
Copy Markdown

Build for testing:
artifacts x86_64
artifacts i686
artifacts armhf
artifacts aarch64
Use at your own risk.

@probonopd

Copy link
Copy Markdown
MemberAuthor
[pid 194] execve("/usr/bin/python3", ["python3", "/tmp/.mount_appimaICnnNe/AppRun"], 0x7fff521778d8 /* 18 vars */) = 0
Hello world!
[pid 194] +++ exited with 0 +++
[pid 198] --- SIGPIPE {si_signo=SIGPIPE, si_code=SI_USER, si_pid=197, si_uid=0} ---
[pid 198] --- SIGTERM {si_signo=SIGTERM, si_code=SI_USER, si_pid=197, si_uid=0} ---
[pid 198] +++ exited with 0 +++
--- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
+++ exited with 0 +++

Seems to have done the trick!

@probonopd
probonopd marked this pull request as ready for review November 29, 2024 10:43
@mehmetakbulut

Copy link
Copy Markdown

I tested the x86_64 build in my setup, worked great!

@github-actions

Copy link
Copy Markdown

Build for testing:
artifacts x86_64
artifacts i686
artifacts armhf
artifacts aarch64
Use at your own risk.

@probonopd
probonopd merged commit 92caa2e into mainDec 3, 2024
@probonopd
probonopd deleted the auto_unmount branch December 3, 2024 19:10
@Samueru-samaSamueru-sama mentioned this pull request Mar 8, 2025
probonopd added a commit that referenced this pull request Oct 21, 2025
@probonopdprobonopd mentioned this pull request Oct 21, 2025
TheAssassin pushed a commit that referenced this pull request Nov 7, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AppImage orphan survives main process exit

3 participants

@probonopd@mehmetakbulut@TheAssassin