Skip to content

AppImage panics: "Failed to list sinks: invalid IPC message: invalid format encoding: 0x 7" #168

Description

@anlsh

I am trying to run the AppImage provided by the releases page. However

$ RUST_BACKTRACE=full ./android-mic_2.2.8_x86_64.AppImage 

thread 'main' (2428315) panicked at src/ui/app.rs:105:10:
called `Result::unwrap()` on an `Err` value: Error { kind: InvalidInput, message: Some("Failed to list sinks: invalid IPC message: invalid format encoding: 0x 7") }
stack backtrace:
   0:     0x5d77ee7f3d3a - <<std[52919eca6bce4da3]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[18c8dd30382e7099]::fmt::Display>::fmt
   1:     0x5d77ee811fea - core[18c8dd30382e7099]::fmt::write
   2:     0x5d77ee7fd492 - <std[52919eca6bce4da3]::sys::stdio::unix::Stderr as std[52919eca6bce4da3]::io::Write>::write_fmt
   3:     0x5d77ee7cdf6f - std[52919eca6bce4da3]::panicking::default_hook::{closure#0}
   4:     0x5d77ee7ea7f1 - std[52919eca6bce4da3]::panicking::default_hook
   5:     0x5d77ee7eaa6b - std[52919eca6bce4da3]::panicking::panic_with_hook
   6:     0x5d77ee7ce028 - std[52919eca6bce4da3]::panicking::panic_handler::{closure#0}
   7:     0x5d77ee7c2809 - std[52919eca6bce4da3]::sys::backtrace::__rust_end_short_backtrace::<std[52919eca6bce4da3]::panicking::panic_handler::{closure#0}, !>
   8:     0x5d77ee7cf19d - __rustc[8068f81614cfe5c]::rust_begin_unwind
   9:     0x5d77ee81278c - core[18c8dd30382e7099]::panicking::panic_fmt
  10:     0x5d77ee812562 - core[18c8dd30382e7099]::result::unwrap_failed
  11:     0x5d77ed37e4a8 - <android_mic::ui::app::AppState as cosmic::app::Application>::init::h4174afe0fd1e3e07
  12:     0x5d77ed34d532 - <iced::program::Program::run_with::Instance<P,I> as iced_winit::program::Program>::new::h26e1804565b1f33e
  13:     0x5d77ed2f92f1 - <cosmic::executor::single::Executor as iced_futures::executor::Executor>::enter::he93eb50adcd5245f
  14:     0x5d77ed42c93d - iced_winit::program::run::hdde582b1243ef935
  15:     0x5d77ed37517e - cosmic::app::run::h866d6ed2f515c7f4
  16:     0x5d77ed3511b9 - android_mic::ui::app::run_ui::hd5575abfc72876a9
  17:     0x5d77ed13424a - android_mic::main::h17d354a34d24552c
  18:     0x5d77ed140743 - std::sys::backtrace::__rust_begin_short_backtrace::h99d6ff274450f350
  19:     0x5d77ed140739 - std::rt::lang_start::{{closure}}::hd4ca5a969f2d3847
  20:     0x5d77ee7e90d4 - std[52919eca6bce4da3]::rt::lang_start_internal
  21:     0x5d77ed135cd5 - main
  22:     0x769b48c2a1ca - <unknown>
  23:     0x769b48c2a28b - __libc_start_main
  24:     0x5d77ed116785 - _start
  25:                0x0 - <unknown>

Claude tells me the output of pactl list sinks might be useful: given below

Sink #58
	State: RUNNING
	Name: alsa_output.pci-0000_12_00.6.analog-stereo
	Description: Family 17h/19h HD Audio Controller Analog Stereo
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 38857 /  59% / -13.62 dB,   front-right: 39993 /  61% / -12.87 dB
	        balance 0.03
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: alsa_output.pci-0000_12_00.6.analog-stereo.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "2"
		alsa.card_name = "HD-Audio Generic"
		alsa.class = "generic"
		alsa.components = "HDA:10ec0897,14629d78,00100402"
		alsa.device = "0"
		alsa.driver_name = "snd_hda_intel"
		alsa.id = "ALC897 Analog"
		alsa.long_card_name = "HD-Audio Generic at 0xfca80000 irq 107"
		alsa.mixer_name = "Realtek ALC897"
		alsa.name = "ALC897 Analog"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.sync.id = "00000000:00000000:00000000:00000000"
		api.alsa.card.longname = "HD-Audio Generic at 0xfca80000 irq 107"
		api.alsa.card.name = "HD-Audio Generic"
		api.alsa.path = "front:2"
		api.alsa.pcm.card = "2"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "[ FL, FR ]"
		card.profile.device = "4"
		device.api = "alsa"
		device.bus = "pci"
		device.class = "sound"
		device.icon_name = "audio-card-analog"
		device.id = "53"
		device.profile.description = "Analog Stereo"
		device.profile.name = "analog-stereo"
		device.routes = "2"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Family 17h/19h HD Audio Controller"
		node.name = "alsa_output.pci-0000_12_00.6.analog-stereo"
		node.nick = "ALC897 Analog"
		node.pause-on-idle = "false"
		object.path = "alsa:acp:Generic_1:4:playback"
		port.group = "playback"
		priority.driver = "1009"
		priority.session = "1009"
		factory.id = "19"
		clock.quantum-limit = "8192"
		client.id = "47"
		node.driver = "true"
		node.loop.name = "data-loop.0"
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "38"
		object.serial = "58"
		node.max-latency = "16384/48000"
		api.alsa.period-size = "1024"
		api.alsa.period-num = "32"
		api.alsa.headroom = "0"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "2"
		api.alsa.split-enable = "true"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio2"
		api.dbus.ReserveDevice1.Priority = "-20"
		device.bus_path = "pci-0000:12:00.6"
		device.enum.api = "udev"
		device.name = "alsa_card.pci-0000_12_00.6"
		device.nick = "HD-Audio Generic"
		device.plugged.usec = "181375878"
		device.product.id = "0x15e3"
		device.product.name = "Family 17h/19h HD Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:12:00.6/sound/card2"
		device.vendor.id = "0x1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		spa.object.id = "6"
		device.string = "2"
	Ports:
		analog-output-lineout: Line Out (type: Line, priority: 9000, availability group: Legacy 4, available)
		analog-output-headphones: Headphones (type: Headphones, priority: 9900, availability group: Legacy 5, not available)
	Active Port: analog-output-lineout
	Formats:
		pcm

Sink #10101
	State: SUSPENDED
	Name: alsa_output.pci-0000_03_00.1.hdmi-stereo-extra3
	Description: Navi 21/23 HDMI/DP Audio Controller Digital Stereo (HDMI 4)
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 29181 /  45% / -21.08 dB,   front-right: 29181 /  45% / -21.08 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: alsa_output.pci-0000_03_00.1.hdmi-stereo-extra3.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS 
	Properties:
		alsa.card = "0"
		alsa.card_name = "HDA ATI HDMI"
		alsa.class = "generic"
		alsa.components = "HDA:1002aa01,00aa0100,00100800"
		alsa.device = "9"
		alsa.driver_name = "snd_hda_intel"
		alsa.id = "HDMI 3"
		alsa.long_card_name = "HDA ATI HDMI at 0xfcc20000 irq 106"
		alsa.mixer_name = "ATI R6xx HDMI"
		alsa.name = "Beyond TV"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.sync.id = "00000000:00000000:00000000:00000000"
		api.alsa.card.longname = "HDA ATI HDMI at 0xfcc20000 irq 106"
		api.alsa.card.name = "HDA ATI HDMI"
		api.alsa.path = "hdmi:0,3"
		api.alsa.pcm.card = "0"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "[ FL, FR ]"
		card.profile.device = "15"
		device.api = "alsa"
		device.bus = "pci"
		device.class = "sound"
		device.icon_name = "audio-card-analog"
		device.id = "52"
		device.profile.description = "Digital Stereo (HDMI 4)"
		device.profile.name = "hdmi-stereo-extra3"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		iec958.codecs = "[\"PCM\",\"DTS\",\"AC3\",\"MPEG2-AAC\",\"EAC3\",\"TrueHD\",\"DTS-HD\"]"
		media.class = "Audio/Sink"
		device.description = "Navi 21/23 HDMI/DP Audio Controller"
		node.name = "alsa_output.pci-0000_03_00.1.hdmi-stereo-extra3"
		node.nick = "Beyond TV"
		node.pause-on-idle = "false"
		object.path = "alsa:acp:HDMI:15:playback"
		port.group = "playback"
		priority.driver = "600"
		priority.session = "600"
		factory.id = "19"
		clock.quantum-limit = "8192"
		client.id = "47"
		node.driver = "true"
		node.loop.name = "data-loop.0"
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "152"
		object.serial = "10101"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "0"
		api.alsa.split-enable = "true"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		api.dbus.ReserveDevice1.Priority = "-20"
		device.bus_path = "pci-0000:03:00.1"
		device.enum.api = "udev"
		device.name = "alsa_card.pci-0000_03_00.1"
		device.nick = "HDA ATI HDMI"
		device.plugged.usec = "181342105"
		device.product.id = "0xab28"
		device.product.name = "Navi 21/23 HDMI/DP Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.1/sound/card0"
		device.vendor.id = "0x1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		spa.object.id = "2"
		device.string = "0"
	Ports:
		hdmi-output-3: HDMI / DisplayPort 4 (type: HDMI, priority: 5600, availability group: Legacy 4, available)
	Active Port: hdmi-output-3
	Formats:
		pcm
		dts-iec61937, format.rate = "{ \"min\": 32000, \"max\": 192000 }"
		ac3-iec61937, format.rate = "{ \"min\": 32000, \"max\": 192000 }"
		mpeg2-aac-iec61937, format.rate = "{ \"min\": 32000, \"max\": 192000 }"
		eac3-iec61937, format.rate = "{ \"min\": 32000, \"max\": 192000 }"
		truehd-iec61937, format.rate = "{ \"min\": 32000, \"max\": 192000 }"
		dtshd-iec61937, format.rate = "{ \"min\": 32000, \"max\": 192000 }"

Sink #13221
	State: SUSPENDED
	Name: virtual_mic
	Description: virtual_mic Audio/Sink sink
	Driver: PipeWire
	Sample Specification: float32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 536870916
	Mute: no
	Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: virtual_mic.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY 
	Properties:
		node.name = "virtual_mic"
		audio.channels = "2"
		audio.position = "[ FL, FR ]"
		media.class = "Audio/Sink"
		device.description = "virtual_mic Audio/Sink sink"
		factory.name = "support.null-audio-sink"
		monitor.channel-volumes = "true"
		monitor.passthrough = "true"
		pulse.module.id = "536870916"
		factory.id = "19"
		clock.quantum-limit = "8192"
		client.id = "111"
		node.driver = "true"
		port.group = "stream.0"
		node.loop.name = "data-loop.0"
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "75"
		object.serial = "13221"
	Formats:
		pcm

While I doubt that it's relevant, here is my system info

anish@pop-os:~/Downloads$ uname -a
Linux pop-os 7.0.11-76070011-generic #202606011647~1780583645~24.04~5c4cc15 SMP PREEMPT_DYNAMIC Thu J x86_64 x86_64 x86_64 GNU/Linux
anish@pop-os:~/Downloads$ cat /etc/os-release
NAME="Pop!_OS"
VERSION="24.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 24.04 LTS"
VERSION_ID="24.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=noble
UBUNTU_CODENAME=noble
LOGO=distributor-logo-pop-os

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions