NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
16.5k stars 12.99k forks source link

wireplumber crash #323635

Open andrew-isakov opened 1 week ago

andrew-isakov commented 1 week ago

Describe the bug

A clear and concise description of what the bug is.

Steps To Reproduce

Steps to reproduce the behavior:

  1. connect BT phones/mic, switch default output
  2. freeze applications when try playback
  3. disconnect BT phones/mic normaize. work only integrated audio/mic

Expected behavior

correct work audio

Notify maintainers

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 - system: `"x86_64-linux"`
 - host os: `Linux 6.9.6, NixOS, 24.11 (Vicuna), 24.11pre644361.1e3deb3d8a86`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.3`
 - channels(root): `"nix-ld, nixpkgs"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

nixos-unstable crash too

dmesg

[ 1164.676121] wireplumber[1813]: segfault at 7f63c5637128 ip 00007f63c7fc7c79 sp 00007ffec1913440 error 4 in libpipewire-module-protocol-native.so[7f63c7fbc000+26000] likely on CPU 3 (core 1, socket 0)
[ 1164.676163] Code: 48 8b 54 24 38 31 ed 48 89 50 08 48 8b 0a 48 89 08 48 89 02 48 8b 10 48 89 42 08 48 39 c3 74 55 90 48 8b 50 10 48 85 d2 74 16 <48> 8b 52 28 48 85 d2 74 0d 48 8b 78 18 8b 74 24 0c 83 c5 01 ff d2
[ 1166.450649] input: Redmi AirDots 3 (AVRCP) as /devices/virtual/input/input18
[ 1167.090779] wireplumber[15653]: segfault at 7f0d4a014140 ip 00007f0d50bc8219 sp 00007fffbfe718e0 error 4 in libpipewire-module-protocol-native.so[7f0d50bbc000+26000] likely on CPU 7 (core 3, socket 0)
[ 1167.090817] Code: 48 8b 54 24 38 31 ed 48 89 50 08 48 8b 0a 48 89 08 48 89 02 48 8b 10 48 89 42 08 48 39 c3 74 55 90 48 8b 50 10 48 85 d2 74 16 <48> 8b 52 40 48 85 d2 74 0d 48 8b 78 18 8b 74 24 0c 83 c5 01 ff d2
[ 1210.957041] input: Redmi AirDots 3 (AVRCP) as /devices/virtual/input/input19
[ 1231.789508] Bluetooth: hci0: SCO packet for unknown connection handle 3
[ 1252.043688] input: Redmi AirDots 3 (AVRCP) as /devices/virtual/input/input20
[ 1275.558806] wireplumber[15720]: segfault at 7fb6b8176140 ip 00007fb6b9d75219 sp 00007ffc71ce07b0 error 4 in libpipewire-module-protocol-native.so[7fb6b9d69000+26000] likely on CPU 6 (core 3, socket 0)
[ 1275.558848] Code: 48 8b 54 24 38 31 ed 48 89 50 08 48 8b 0a 48 89 08 48 89 02 48 8b 10 48 89 42 08 48 39 c3 74 55 90 48 8b 50 10 48 85 d2 74 16 <48> 8b 52 40 48 85 d2 74 0d 48 8b 78 18 8b 74 24 0c 83 c5 01 ff d2
[ 1276.963708] input: Redmi AirDots 3 (AVRCP) as /devices/virtual/input/input21
[ 1278.088613] wireplumber[15890]: segfault at 7f86f8c0e140 ip 00007f86fbf7f219 sp 00007fff759efd50 error 4 in libpipewire-module-protocol-native.so[7f86fbf73000+26000] likely on CPU 7 (core 3, socket 0)
[ 1278.088634] Code: 48 8b 54 24 38 31 ed 48 89 50 08 48 8b 0a 48 89 08 48 89 02 48 8b 10 48 89 42 08 48 39 c3 74 55 90 48 8b 50 10 48 85 d2 74 16 <48> 8b 52 40 48 85 d2 74 0d 48 8b 78 18 8b 74 24 0c 83 c5 01 ff d2

reproduce on hp and honor magic (clean install)

Add a :+1: reaction to issues you find important.

mabl commented 5 days ago

I had the same behaviour, but it is fixed now, after updating to latest unstable.