Skip to content

Conversation

@aecsocket
Copy link

While debugging a Tauri app which was crashing on startup, I got into a state where every time I opened the app, it would close unexpectedly with exit code 0. I had to open gdb, break exit and use bt to figure out that it was actually Tauri closing the app due to the single-instance plugin. I had a zombie process taking the DBus SingleInstance name for my app.

This PR adds a tracing::info message when exit(0)ing the app on Linux if the single instance DBus name is already taken.

@aecsocket aecsocket requested a review from a team as a code owner September 12, 2025 13:06
Copy link
Contributor

@Legend-Master Legend-Master left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should do the same for other platforms as well? (you can find them from std::process::exit(0) calls)

Also do you mind also adding a change file?

https://github.com/tauri-apps/plugins-workspace/blob/v2/.changes/readme.md

),
);
}
tracing::info!(
Copy link
Contributor

@Legend-Master Legend-Master Oct 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We probably want tochange this to debug level

Sign up for free to 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.

2 participants