Comments (4)
This seems to also cause any use of the --loop-file=N
option to segfault (--loop-file=0
and inf
keep working), e.g. mpv --loop-file=2 /dev/null
:
Thread 11 "mpv/SO plugin (" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffd2ffd700 (LWP 75101)]
0x00007fffe82b7616 in event_handler () from /home/mod/.config/mpv/scripts/mpris.so
(gdb) bt
#0 0x00007fffe82b7616 in event_handler () at /home/mod/.config/mpv/scripts/mpris.so
#1 0x00007ffff52d726f in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#2 0x00007ffff52d91b1 in () at /usr/lib/libglib-2.0.so.0
#3 0x00007ffff52da0c3 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#4 0x00007fffe82b8380 in mpv_open_cplugin () at /home/mod/.config/mpv/scripts/mpris.so
#5 0x00005555556204c3 in ()
#6 0x000055555562036b in ()
#7 0x00007ffff65b146f in start_thread () at /usr/lib/libpthread.so.0
#8 0x00007ffff54bc3d3 in clone () at /usr/lib/libc.so.6
from mpv-mpris.
Thanks for the bug report! Thankfully the issue wasn't as bad as I thought and was just simply a case of properly cleaning up the glib callbacks and dbus objects before shutdown. I hadn't considered the possibility of reinitialising mpv so didn't feel it necessary to properly clean up everything.
Let me know if it works properly with your application.
from mpv-mpris.
(@duxks2 I can't seem to repro your issue. Running mpv --loop-file=2 /dev/null
gives an mpv error and running mpv --loop-file=2 /some/file.mp3
seems to work. Feel free to create another issue if needed.)
from mpv-mpris.
Indeed, everything seems to be working fine now. Thank you for the quick fix! :)
from mpv-mpris.
Related Issues (20)
- Loop property doesn't 'update' in 0.33.0 HOT 1
- Unable to make mpris.c after cloning repo HOT 6
- Cannot Get mpv-mpris To Show Up In Playerctl HOT 2
- Feature Request: show Youtube "artist" with Playerctl HOT 2
- mpv mpris doesn't work correctly in flatpak
- mpv-mpris shows unexpected behaviour while mpris indicator button (Gnome Shell extension) is installed HOT 1
- Empty value for url
- Can I use without MPV HOT 1
- Plugin doesn't work inside terminal. HOT 1
- Does not send an event on exit HOT 1
- Cover image in opus file is not shown in KDE media control in system tray HOT 7
- Setting or defining seek distance HOT 2
- Can you add fullscreen status signals (true/false)?
- g_dbus_connection_register_object: assertion 'error == NULL || *error == NULL' failed HOT 6
- test failed because not pass `--no-config `
- Multiple delimiters for splitting artist field
- Position provided by Seeked signal inaccuracies
- Stops working after waking up from standby HOT 2
- Cover Image in notification HOT 1
- mpv-mpris not detected HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mpv-mpris.