Package: moc
Version: 1:2.6.0~svn-r3005-3
Severity: normal

Whether this belongs with moc I don't know but it's where the problem
is most immediately apparent.  To reproduce the bug (whether moc's or
not):

1. Start mocp

   $ mocp

2. Set volume of the default sink (mine has id of 1) to 100%

   $ pactl set-sink-volume 1 100%

3. Nothing changes in mocp, except the volume. Now increase the volume,

   $ pactl set-sink-volume 1 +1%

mocp promptly exits (return code 2):

   FATAL_ERROR: Can't receive value from the server!

4. Try to restart mocp:

   $ mocp
   Running the server...
   Trying JACK...
   Trying ALSA...
   mocp: alsa.c:319: alsa_read_mixer_raw: Assertion `RANGE(0, vol, 100)' failed.

   FATAL_ERROR: Server exited!

The return code is 2 again.

Reducing the volume to 100% or less allows mocp to run again.  Whether
pactl should be able to set the volume over 100% I'll leave for
someone else to decide :)

Please let me know if I can provide more information.
Thanks

-- System Information:
Debian Release: 12.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-11-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages moc depends on:
ii  libasound2                        1.2.8-1+b1
ii  libc6                             2.36-9+deb12u1
ii  libcurl3-gnutls                   7.88.1-10+deb12u1
ii  libdb5.3                          5.3.28+dfsg2-1
ii  libfaad2                          2.10.1-1
ii  libflac12                         1.4.2+ds-2
ii  libgcc-s1                         12.2.0-14
ii  libid3tag0                        0.15.1b-14
ii  libjack-jackd2-0 [libjack-0.125]  1.9.21~dfsg-3
ii  libltdl7                          2.4.7-5
ii  libmad0                           0.15.1b-10.1+b1
ii  libmagic1                         1:5.44-3
ii  libmodplug1                       1:0.8.9.0-3
ii  libmpcdec6                        2:0.1~r495-2
ii  libncursesw6                      6.4-4
ii  libogg0                           1.3.5-3
ii  libopusfile0                      0.12-4
ii  libpopt0                          1.19+dfsg-1
ii  librcc0                           0.2.13+ds-2
ii  libresid-builder0c2a              2.1.1-15+b1
ii  libsamplerate0                    0.2.2-3
ii  libsidplay2                       2.1.1-15+b1
ii  libsidutils0                      2.1.1-15+b1
ii  libsndfile1                       1.2.0-1
ii  libspeex1                         1.2.1-2
ii  libstdc++6                        12.2.0-14
ii  libtagc0                          1.13-2
ii  libtinfo6                         6.4-4
ii  libvorbisfile3                    1.3.7-1
ii  libwavpack1                       5.6.0-1

moc recommends no packages.

Versions of packages moc suggests:
pn  moc-ffmpeg-plugin  <none>

-- no debconf information

Reply via email to