Opened 4 years ago

Last modified 3 years ago

#60966 assigned defect

mpv @0.32.0: fails to play: Assertion failed: (group_index >= 0)

Reported by: mrkapqa Owned by: Ionic (Mihai Moldovan)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: i0ntempest
Port: mpv

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hello ,

on ElCapitan with newest build of mpv i would get the following error

mpv /Volumes/NewerTechHDD/How\ to\ limit\ Time\ Machine\ backup\ size\ on\ Time\ Capsule\ -\ Tutorial.mp4 
 (+) Video --vid=1 (*) (h264 1152x720 30.000fps)
 (+) Audio --aid=1 --alang=eng (*) (aac 2ch 44100Hz)
Assertion failed: (group_index >= 0), function m_config_cache_alloc_internal, file ../options/m_config.c, line 1461.
Abort trap: 6

Thank you

Attachments (1)

output.txt (18.6 KB) - added by mrkapqa 4 years ago.

Download all attachments as: .zip

Change History (12)

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: i0ntempest added
Description: modified (diff)
Owner: set to Ionic
Port: mpv added
Status: newassigned
Summary: (mpv,10.11.6) fails to play > Assertion failed: (group_index >= 0),mpv @10.11.6: fails to play: Assertion failed: (group_index >= 0)

comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: mpv @10.11.6: fails to play: Assertion failed: (group_index >= 0)mpv @0.32.0: fails to play: Assertion failed: (group_index >= 0)

comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Assertion failure sounds like a bug in the software. You should report it to the developers of mpv so that they can fix it.

comment:4 Changed 4 years ago by mrkapqa

Hello ,

i just filed a bugreport with mpv; hope it gets through.

https://github.com/mpv-player/mpv/issues/8106

comment:5 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Has duplicate #61204.

comment:6 Changed 4 years ago by mrkapqa

Hello , this has several "duplicates" on new installation with Mac OS X El Capitan and mpv this is still occurring.

Assertion failed: (group_index >= 0), function m_config_cache_alloc_internal, file ../options/m_config.c, line 1461.
Abort trap: 6

please let me know if i can do anything about it.

Last edited 3 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:7 Changed 4 years ago by i0ntempest

You need to install mpv with +debug and with the source code retained in the build dir (stop macports from cleaning after installing using -k), then run lldb to get a stack trace to submit to the devs. lldb /opt/local/bin/mpv to initialize lldb, then inside lldb type run /path/to/your/file to trigger the crash, then bt all gives you the stack trace. Submit this to your issue and hopefully they'll take a look.

comment:8 Changed 4 years ago by mrkapqa

i am not sure if i have understood this correctly.

"sudo port install mpv +debug -k" first and then the rest?

this gave this here

https://pastebin.com/mkfM9mun

this is the output.txt from normal playback (mpv -v)

Last edited 4 years ago by mrkapqa (previous) (diff)

Changed 4 years ago by mrkapqa

Attachment: output.txt added

comment:9 Changed 4 years ago by i0ntempest

You need to do "sudo port -k install mpv +debug" and run lldb again, so the stack trace points to specific lines in the source.

comment:10 Changed 4 years ago by mrkapqa

the error shown in "mpv -v" is the following

[vo/gpu] Probing for best GPU context.
[vo/gpu/opengl] Initializing GPU context 'cocoa'
Assertion failed: (group_index >= 0), function m_config_cache_alloc_internal, file ../options/m_config.c, line 1461.
Abort trap: 6

maybe the error is related to the graphics card NVIDIA GeForce 9400 or maybe i need to -re-configure mpv with X11 variant?

Last edited 3 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:11 in reply to:  4 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to mrkapqa:

i just filed a bugreport with mpv; hope it gets through.

https://github.com/mpv-player/mpv/issues/8106

Upstream closed that bug report because you did not provide them enough information. If you still experience the problem, please work with them to get the issue resolved. If the issue is already resolved, please close this ticket.

Note: See TracTickets for help on using tickets.