OpenIPC / majestic

Majestic Community edition integration kit
MIT License
31 stars 5 forks source link

Segfault when streaming from h264 endpoint #159

Open NekoB0x opened 3 months ago

NekoB0x commented 3 months ago

Required information

Issue description

Majestic segfaults when streaming from any h264 endpoint (RTSP stream0/1, HLS, /video.mp4), randomly between 10 minutes and ~8 hours. Doesn't segfault with mjpeg or when idle.

After segfault /proc/umap/h264e PICTURE INFO shows increasing BufLeak. OpenIPC has CHN ATTR BufSize set to 691200, on stock firmware it's set to 1382400 so it could be related.

This issue could be related to #139.

Expectations

No segfault.

Steps to reproduce

  1. Start streaming from RTSP/HLS/video.mp4
  2. Wait up to 8 hours

Information to attach

coredump.tgz.txt (rename to .tgz)