Anki launches mpv proces which isn't killed after quiting anki

sanderbartsantema2's Avatar

sanderbartsantema2

12 May, 2020 04:36 PM

I noticed a few mpv processes which were still running eventhough I hadn't opened these myself, it seems anki launches these (even though I haven't got any audio or video in my cards) but doesn't kill them after quitting.

Anki info:
Version 2.1.26 (2a0d40e1)
Python 3.8.1 Qt 5.14.1 PyQt 5.14.1

System info:
Operating System: openSUSE Tumbleweed 20200509
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.1
Kernel Version: 5.6.11-1-default

System Mpv version: 0.32.0+git.20200501T204851.cae2ffb6eb-258.2

  1. Support Staff 1 Posted by Damien Elmes on 13 May, 2020 08:13 AM

    Damien Elmes's Avatar

    If you kill them, start Anki, and close it again, are there any processes remaining? If not, under what circumstances are the processes not being cleaned up?

  2. 2 Posted by sanderbartsante... on 13 May, 2020 11:30 AM

    sanderbartsantema2's Avatar

    I've done the following:
    1. Quit anki in a normal way (ctrl-q)
    2. Kill the remaining mpv process (by sending a signal from ksysguard, this shouldn't differ from sending a signal from for instance htop)
    3. Launch anki again without doing anything (I've tried the same with doing a review)
    4. Quit anki again normally
    5. No mpv processes remain and no extra mpv processes were spawned by anki.

    As you can read, I don't seem to be able to reproduce the bug at this moment, I will keep an eye on any remaining processes. I will be able to do more extensive testing once I'm done with an exam (learning for the exam using anki :)).

    Now that I think of it, the remaining mpv process might have been caused by the regex bug I reported here: https://anki.tenderapp.com/discussions/beta-testing/1950-anki-freez...

    I'll try to reproduce that later too, but if that's the case the bug wouldn't be that surprising given the ungraceful quit of Anki after the freeze.

  3. Support Staff 3 Posted by Damien Elmes on 14 May, 2020 09:13 AM

    Damien Elmes's Avatar

    An unclean shutdown would explain it

Comments are closed, but you can start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac