[alsa-devel] alsamixer crashes with SIGFPE

Clemens Ladisch clemens at ladisch.de
Thu Feb 18 09:44:22 CET 2010


Florian Faber wrote:
> there are several spots in alsamixer's mixer_display.c that cause SIGFPE
> through division by zero if (max-min) is zero:
> 
> bar_height = ((volumes[c] - min) * volume_height + max - min - 1) / (max - min);
> value = ((volumes[0] - min) * 100 + (max - min) / 2) / (max - min);

Thanks.  With which hardware do you see this error?


Regards,
Clemens


More information about the Alsa-devel mailing list