Bug#1034649: 7kaa: Unplugging USB headset hangs 7kaa

2023-12-18 Thread P. J. McDermott
Hi Nils,

On Thu, 20 Apr 2023 22:20:34 +0200 Nils Dagsson Moskopp 
 wrote:
> whenever I unplug the USB headset while 7kaa is running, it hangs.
> 7kaa prints a single line of output to the terminal, quoted below:
> 
> > AL lib: (EE) ALCpulsePlayback_streamStateCallback: Received stream failure!

This looks like one of (many[1][2][3][4]) bugs in OpenAL's PulseAudio
backend (apparently OpenAL's upstream maintainer doesn't use PulseAudio,
which I don't either).  I found reports of it affecting at least one
other game.  If we can't solve it here, I'll reassign.

An apparent solution is to edit "/etc/openal/alsoft.conf" and under
"[pulse]" change "allow-moves" to "true".  Can you try this and report
whether that solves the issue?

It's also possible that there's an infinite loop somewhere in 7kaa's
src/openal/openal_audio.cpp triggered by this OpenAL error.  Could you
please install 7kaa-dbgsym, run 7kaa under gdb, reproduce the hang, and
get a backtrace?

$ apt install 7kaa-dbgsym gdb
$ gdb 7kaa
(gdb) run
^C
(gdb) backtrace
(gdb) quit

> Versions of packages 7kaa depends on:
[...]
> ii  libopenal1   1:1.19.1-2

[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=548373
[2]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=551018
[3]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=562524
[4]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=566634
-- 
Patrick "P. J." McDermott:  http://www.pehjota.net/
Lead Developer, ProteanOS:  http://www.proteanos.com/
Founder and CEO, Libiquity: http://www.libiquity.com/



Bug#1034649: 7kaa: Unplugging USB headset hangs 7kaa

2023-04-20 Thread Nils Dagsson Moskopp
Package: 7kaa
Version: 2.15.4p1+dfsg-1
Severity: normal
X-Debbugs-Cc: nils+debian-p...@dieweltistgarnichtso.net

Dear Maintainer,

whenever I unplug the USB headset while 7kaa is running, it hangs.
7kaa prints a single line of output to the terminal, quoted below:

> AL lib: (EE) ALCpulsePlayback_streamStateCallback: Received stream failure!

“lsusb” outputs the following information about the USB headset:

> Bus 003 Device 017: ID 0b0e:0308 GN Netcom Jabra EVOLVE LINK

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

Kernel: Linux 5.15.0-0.bpo.3-amd64 (SMP w/16 CPU threads)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages 7kaa depends on:
ii  7kaa-data2.15.4p1+dfsg-1
ii  libc62.31-13+deb11u5
ii  libcurl3-gnutls  7.74.0-1.3+deb11u7
ii  libenet7 1.3.13+ds-1
ii  libgcc-s110.2.1-6
ii  libopenal1   1:1.19.1-2
ii  libsdl2-2.0-02.0.14+dfsg2-3+deb11u1
ii  libstdc++6   10.2.1-6
ii  libuuid1 2.36.1-8+deb11u1

7kaa recommends no packages.

Versions of packages 7kaa suggests:
pn  7kaa-music  

-- no debconf information