2.6-alpha3 in debug mode and player crash on HDMI audio

2.5.2 work good.
Bug in 2.6-alpha3:

$ mocp --version This is : Music On Console Version : 2.6-alpha3 Revision : Unversioned directory Built : Sep 13 2018 18:24:53 Compiled with : ALSA Network streams resample Running on : Linux 4.10.0-pf3 x86_64 Author : Damian Pietras Homepage : http://moc.daper.net/ E-Mail : mocmaint@daper.net Copyright : (C) 2003-2016 Damian Pietras and others License : GNU General Public License, version 2 or later $ mocp Running the server... Trying ALSA... FATAL_ERROR: No valid sound driver! FATAL_ERROR: Server exited!

I build with debug info, and:

$ ./mocp Segmentation fault ./mocp --version -D This is : Music On Console Version : 2.6-alpha3 Revision : Unversioned directory Built : Sep 13 2018 18:27:55 Compiled with : OSS ALSA DEBUG Network streams resample Running on : Linux 4.10.0-pf3 x86_64 Author : Damian Pietras Homepage : http://moc.daper.net/ E-Mail : mocmaint@daper.net Copyright : (C) 2003-2016 Damian Pietras and others License : GNU General Public License, version 2 or later #gdb result (gdb) bt #0 clone_popt_options (opts=0x6620e0 <general_opts>) at main.c:699 #1 0x0000000000414b3e in clone_popt_options (opts=opts@entry=0x661aa0 <mocp_opts>) at main.c:720 #2 0x0000000000414de8 in render_popt_command_line () at main.c:825 #3 0x000000000040e685 in log_popt_command_line () at main.c:1168 #4 main (argc=<optimized out>, argv=<optimized out>) at main.c:1224

Gentoo, 4.10.0-pf3

Forums:

You might try current svn version, there were some popt related fixes recently.

The second problem was probably resolved by commit r2948 and described here. That commit is post-2.6-alpha3, so building from the current SVN HEAD should fix this problem.

The starting point for the first problem is to check with you which sound subsystem you are running? It looks on the information given that necessary ALSA libraries are installed and detected at build time, but ALSA is not actually available for MOC to connect to.

If you could build MOC from SVN and run it with the '-DSF' option that will give you more information with which you might be able to resolve the problem or post the tail of the output to this thread.