Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keeps processes running after quitting #1532

Open
MennoLabs opened this issue Dec 21, 2024 · 5 comments
Open

Keeps processes running after quitting #1532

MennoLabs opened this issue Dec 21, 2024 · 5 comments

Comments

@MennoLabs
Copy link

After quitting the application (from the tray), ps shows there are still processes running.

Steps to reproduce the behavior:

  1. Start Teams and log in.
  2. Log out and quit Teams (using menu in tray).
  3. In a terminal type ps aux | grep teams | grep -v grep
  4. Find three processes labeled /snap/teams-for-linux/724/teams-for-linux.

Expected behavior
Quitting an application should remove all its processes IMHO.

Desktop (please complete the following information):

  • OS: Kubuntu 24.10
  • Installation package snap
  • Version 1.12.5

Debug
See attached file.
teamsdebug.txt

@IsmaelMartinez
Copy link
Owner

IsmaelMartinez commented Dec 21, 2024

Hello @MennoLabs ,

You can use the closeAppOnCross if you want the application to quit on clicking the cross.

More info in https://github.com/IsmaelMartinez/teams-for-linux/tree/main/app/config

Thanks!

@MennoLabs
Copy link
Author

That makes the icon in the tray disappear, but still leaves the processes.

@IsmaelMartinez
Copy link
Owner

IsmaelMartinez commented Dec 21, 2024

well, then that is a bug if it doesn't close it.

Looking at the logs you provided you got at least another couple of issues in there. See #1426 (comment) and create an apparmour profile.

You also got some issues with your drivers, so probably use --disableGpu or use another packaging than snap (that can create a lot of issues).

Once you done those 2, then run the app with the following command and provide the logs:

teams-for-linux --logConfig='{}'

It could be a side effect of the apparmour and snap not allowing you to kill the app. So not our bug but a side effect of Ubuntu deciding to force apparmour to all apps.

@MennoLabs
Copy link
Author

I tried running the .deb before and that would not launch.
For now I'll just use a quick bash script to kill the remaining processes.
And for the longer term I'm looking at moving away from (K)Ubuntu.

@IsmaelMartinez
Copy link
Owner

If you can make those amendments and run it with the command/logs, then I can have a further look.

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

No branches or pull requests

2 participants