Skip to content

Random frequent crashes (IOT instruction, segmentation fault) #305

@theoratkin

Description

@theoratkin

Describe the bug
About 2 weeks ago, the program suddenly became very unstable, crashing at very random times with either 2 of these errors:

> droidcam-cli -size=1920x1080 -hflip 10.11.10.20 4747              139 ←
Client v2.1.5
Video: /dev/video2
free(): invalid size
zsh: IOT instruction (core dumped)  droidcam-cli -size=1920x1080 -hflip 10.11.10.20 4747
> droidcam-cli -size=1920x1080 -hflip 10.11.10.20 4747              134 ←
Client v2.1.5
Video: /dev/video2
zsh: segmentation fault (core dumped)  droidcam-cli -size=1920x1080 -hflip 10.11.10.20 4747

Sometimes it can work well for 10-20 minutes, but more often it crashes within the first minute. Which is, needless to say, very disruptive (especially during meetings).

Expected behavior
The program should work for extended periods of time without crashing.

Additional context
I'm on Arch Linux, kernel 6.19.11-arch1-1.

I'm using the droidcam AUR package 1:2.1.5-1 and on my Android phone I have Droidcam 9.0.

Here's my /etc/modprobe.d/droidcam.conf:

options v4l2loopback width=1920 height=1080 card_label=DroidCam video_nr=2 exclusive_caps=1

And here are the backtraces which I extracted from coredumps:

droidcam-bt-iot-instruction.txt
droidcam-bt-segmentation-fault.txt

Let me know if there's anything else I can provide to help with the issue.

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