Skip to content

[Bug]: NDI HX crash on Linux (Ubuntu 24.04) #1192

@RayneYoruka

Description

@RayneYoruka

Is there an existing issue for this?

  • I have searched the existing issues and did not find a similar issue

This bug exists on the latest available release of DistroAV and supported environment?

  • I have checked this bug still exist on the latest available version of DistroAV
  • I have checked that my OS / OBS / NDI versions are supported

OBS Log [URL] - Important!

https://obsproject.com/logs/Nf50AGrr0pHOjlAU

Issue reported - Current Behavior

This was brought up within the Development channel on the discord server.
Adding it here to keep track of things.

Issue:
When you try to select and add an NDI HX source, like the NDI HX camera on android results in an instant crash with segfault.

info: [DistroAV] -preview_output_init()
info: [DistroAV] 'NDI HX camera' +ndi_source_update(…)
info: [DistroAV] 'NDI HX camera' ndi_source_update: Check for 'NDI Source Name' changes: new_ndi_source_name='RAYNEOSX-BRIDGE (BLOODYVAMPIRE (NDI HX Camera))' vs config.ndi_source_name=''
info: [DistroAV] 'NDI HX camera' ndi_source_update: Check for 'Bandwidth' setting changes: new_bandwidth='0' vs config.bandwidth='0'
info: [DistroAV] 'NDI HX camera' ndi_source_update: Check for 'Latency' setting changes: new_latency='0' vs config.latency='0'
info: [DistroAV] 'NDI HX camera' ndi_source_update: Check for 'Framesync' setting changes: new_framesync_enabled='false' vs config.framesync_enabled='false'
info: [DistroAV] 'NDI HX camera' ndi_source_update: Check for 'Hardware Acceleration' setting changes: new_ndi_source_name='false' vs config.ndi_source_name='false'
info: [DistroAV] 'NDI HX camera' ndi_source_update: Check for 'Behavior' setting changes: behavior='2' vs config.behavior='2'
info: [DistroAV] 'NDI HX camera' ndi_source_update: Deactivate source output video (Actively reset the frame content)
warning: DEPRECATION: obs_frontend_get_global_config is deprecated. Read from global or user configuration explicitly instead.
info: [DistroAV] 'NDI HX camera' ndi_source_update: NDI Source 'RAYNEOSX-BRIDGE (BLOODYVAMPIRE (NDI HX Camera))' selected.
info: [DistroAV] 'NDI HX camera' -ndi_source_update(…)
info: [DistroAV] 'NDI HX camera' ndi_source_thread: reset_ndi_receiver: Resetting NDI receiver…
Segmentation fault

I was suggested to get the coredumped, it can be found here

I tried within my new laptop install and the virtual machine that I run to test the new releases of DistroAV.
I've tried removing the R from the source name as suggested.

Terminal capture
Image

Expected Behavior

Not a crash / segfault.

Steps To Reproduce

NDI HX source, be via NDI bridge or NDI HX camera, add the source on linux, upon selecting the source it will instantly crash.

Environment

- OS: 2x Ubuntu mate 24.04
- OBS: 31.0.1
- DistroAV: 6.0.0
- NDI: 6.1.1 Dec 20 2024 
- Ffmpeg 6.1.1

Pre-Check for Bug Report

  • I am able to reproduce the bug following the steps provided above
  • I have confirmed this bug exist on more than one device/computer
  • I have tested using a new scene collection to reproduce the issue
  • I have tested on a 'clean' OBS installation (aka with no other scripts or plugin installed)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions