If you stop player by ctrl+c it's crash. $ mpv anything ctrl+ c $ Segmentation fault
(In reply to sasamotikomi from comment #0) It crashes if you press 'q' key?
(In reply to Carlos J Puga Medina from comment #1) No, it doesn't
(In reply to sasamotikomi from comment #2) So, what's the problem here? Use 'q' key to close mpv :)
Can we close this PR?
@Carlos, at maintainer request yes. I've assigned the issue to you, please let me know if you cannot close it. Please triage the issue as best you can (keywords, other fields), and then use the most correct resolution
(In reply to Kubilay Kocak from comment #5) Thanks, @Kubilay
(In reply to Carlos J Puga Medina from comment #4) Problem still present.
I can't reproduce this issue.
(In reply to Carlos J. Puga Medina from comment #8) Open any terminal emulator (xterm. urxvt etc.) or even without X. $ mpv something.media CTRL+C (in terminal emulator not in player window) Get crash. It's really terrible issue, I often forget and use CTRL+C in terminal instead of q and my system often full of mpv.core... backtrace: Reading symbols from /usr/local/lib/libXdmcp.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXdmcp.so.6 Reading symbols from /usr/local/lib/libglib-2.0.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libglib-2.0.so.0 Reading symbols from /usr/local/lib/libintl.so.8...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libintl.so.8 Reading symbols from /usr/local/lib/libgraphite2.so.3...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libgraphite2.so.3 Reading symbols from /usr/local/lib/libiconv.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libiconv.so.2 Reading symbols from /usr/local/lib/libpcre.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libpcre.so.1 Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x29f705a5 in swapcontext () from /lib/libthr.so.3 [New Thread 2c006a00 (LWP 100224/mpv/terminal)] [New Thread 2c006780 (LWP 100158/mpv/lua (ytdl_hook))] [New Thread 2c006500 (LWP 100147/mpv/lua (osc))] [New Thread 2c003080 (LWP 101131/mpv)] (gdb) bt full #0 0x29f705a5 in swapcontext () from /lib/libthr.so.3 No symbol table info available. #1 0x29f6fff1 in sigaction () from /lib/libthr.so.3 No symbol table info available. #2 0xbfbff044 in ?? () No symbol table info available. #3 0x00000002 in ?? () No symbol table info available. #4 0x00010006 in ?? () No symbol table info available. #5 0xbf7fbc20 in ?? () No symbol table info available. #6 0x00000000 in ?? () No symbol table info available.
You can define the keybindings. See https://github.com/mpv-player/mpv/blob/master/etc/input.conf
Mpv exits properly with Ctrl^C'ed % mpv file ... CTRL+C Exiting... (Quit) So it works fine.