Skip to content

Using Android phone as mic on Discord on Linux - segmentation fault on refocusing window #6115

Open
@annalasko

Description

@annalasko

Environment

  • OS: Arch Linux (6.14.7-arch2-1)
  • Scrcpy version: 3.2
  • Installation method: pacman
  • Device model: Google Pixel 9 Pro
  • Android version: 15 (BP1A.250405.007.D1)

Describe the bug

I have been attempting to use my phone as a mic on Discord, and I am encountering a bug.

Upon clicking back into the Discord window, scrcpy segfaults.

I have taken the steps outlined in Ristovski's comment on #4208, and it produces the following error:

scrcpy 3.2 <https://github.com/Genymobile/scrcpy>
No video mirroring, SDK mouse disabled
INFO: ADB device found:
INFO:     -->   (usb)  XXXXXXXXXXXXXX                  device  Pixel_9_Pro
/usr/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 281.2 MB/s (90888 bytes in 0.000s)
[server] INFO: Device: [Google] google Pixel 9 Pro (Android 15)
INFO: Recording started to wav file: /tmp/mic_pipe
zsh: segmentation fault (core dumped)  scrcpy --no-video --no-window -N --audio-source=mic --audio-codec=raw

I am unsure how to best capture the relevant output of adb logcat, as my experience with ADB is limited.

I'm willing to give more information as needed. Any help would be appreciated, thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions