Package: libasound2 Version: 1.1.3-5 Severity: important Dear Maintainer,
I have a test program that only calls snd_rawmidi_open() with appropriate parameters. In an amd64 system, the open call always ends with "snd_rawmidi_open_conf: Assertion `err >= 0' failed." ====== main.c ===== int main ( int argc, char *argv[] ) { snd_rawmidi_t * midiIn = 0; int ret = snd_rawmidi_open( & midiIn, NULL, "default", SND_RAWMIDI_SYNC ); if ( ret == 0 ) { snd_rawmidi_close( midiIn ); } printf( "return %d\n", ret ); return ret; } ================= With the above data in a file named main.c, build with command in an amd64 environment: gcc -m32 -o main -lasound main.c ./main will exit with the assertion listed above. -- System Information: Debian Release: 9.4 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-5-hog4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) ================================================================ Package: libasound2 Status: install ok installed Priority: optional Section: libs Installed-Size: 1390 Maintainer: Debian ALSA Maintainers <pkg-alsa-de...@lists.alioth.debian.org> Architecture: i386 Multi-Arch: same Source: alsa-lib Version: 1.1.3-5 Depends: libasound2-data (>= 1.1.3-5), libc6 (>= 2.16) Suggests: libasound2-plugins (>= 1.0.24) Breaks: bluez-alsa (<= 4.94-2), libasound2-plugin-equal (<= 0.6-1), libasound2-plugins (<< 1.0.24) Description: shared library for ALSA applications This package contains the ALSA library and its standard plugins, as well as the required configuration files. . ALSA is the Advanced Linux Sound Architecture. Homepage: https://www.alsa-project.org/