mu-editor / mu

A small, simple editor for beginner Python programmers. Written in Python and Qt5.
http://codewith.mu
GNU General Public License v3.0
1.39k stars 433 forks source link

Need to reset mutex #2429

Closed tjguk closed 10 months ago

tjguk commented 1 year ago

What were you trying to do?

Run Mu via AppImage on Linux Mint

What steps did you take to trigger the issue?

Ran AppImage

What did you expect to happen?

No response

What actually happened?

First segfaulted. Tried again with QT_QPA_PLATFORM=wayland fix Failed with status code 2. Logs say "ERROR: MUTEX: Mu is already running with pid 2448"

Therefore we need a way to reset the mutex or detect when it's no longer valid

Operating System Version

Linux Mint 21.1 Cinnamon

Mu Version

Mu 1.2.1 (dev branch)

Other Info

No response

Editor Log

Starting Mu 1.2.1 2023-07-01 12:46:15,648 - root:352(run) INFO: uname_result(system='Linux', node='tim-MiniAir-11', release='5.15.0-76-generic', version='#83-Ubuntu SMP Thu Jun 15 19:16:32 UTC 2023', machine='x86_64', processor='x86_64') 2023-07-01 12:46:15,648 - root:353(run) INFO: Process id: 2523 2023-07-01 12:46:15,649 - root:354(run) INFO: Platform: Linux-5.15.0-76-generic-x86_64-with-glibc2.2.5 2023-07-01 12:46:15,649 - root:355(run) INFO: Python path: ['/tmp/.mount_Mu_EdisHv7hY/usr/lib/python38.zip', '/tmp/.mount_Mu_EdisHv7hY/usr/lib/python3.8', '/tmp/.mount_Mu_EdisHv7hY/usr/lib/python3.8/lib-dynload', '/tmp/.mount_Mu_EdisHv7hY/usr/lib/python3.8/site-packages'] 2023-07-01 12:46:15,649 - root:356(run) INFO: Language code: en_GB 2023-07-01 12:46:15,650 - root:333(check_only_running_once) ERROR: MUTEX: Mu is already running with pid 2448 2023-07-01 12:46:15,650 - mu.settings:169(save) DEBUG: Saving to /home/tim/.local/share/mu/venv.json

tjguk commented 10 months ago

Resolved by #2460