moc aborts or fails to start when system volume is high

Bug #2000477 reported by Christopher Barrington-Leigh
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
alsaplayer (Ubuntu)
Confirmed
Undecided
Unassigned
moc (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When launching the audio player moc, when Ubuntu's volume is set to be allowed to go over "100%", and when it is over 100%, the player fails to launch, with:

```
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!

```

Similarly, when using the player, if the system volume is increased over the "100%" mark, e.g. using the keyboard/OS volume keys, the player crashes.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: moc 1:2.6.0~svn-r3005-1
ProcVersionSignature: Ubuntu 5.15.0-56.62-generic 5.15.64
Uname: Linux 5.15.0-56-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Mon Dec 26 08:15:20 2022
EcryptfsInUse: Yes
InstallationDate: Installed on 2022-09-02 (114 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
SourcePackage: moc
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Christopher Barrington-Leigh (cpbl) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in alsaplayer (Ubuntu):
status: New → Confirmed
Changed in moc (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.