PDA

View Full Version : Linux NDI & CentOS



tbimages
04-02-2017, 01:50 AM
Hi,

First up, out of interest, which Linux dist is recommended/ most stable for NDI development?

Now my main problem, has anyone run into issues with the avahi/dbus sub sytem on CentOS 7 64? I am getting Seg faults in dbus.


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe4ff9700 (LWP 7871)]
0x00007ffff679d10c in _dbus_list_unlink ([email protected]=0x8e06c0, [email protected]=0x7ffff0001750) at dbus-list.c:498
498 link->prev->next = link->next;

Generally only occurs after creating a receiver on a stream originating on a Win7 machine.

I have installed an Ubuntu Server 16.10 instance and the code seems to be stable on it hence wondering if its a CentOS specific issue?

Thanks, Blake

Imbens
04-21-2017, 03:13 AM
has anyone run into issues with the avahi/dbus sub sytem on CentOS 7 64?
I had similar issues with crashes in avahi/dbus on Ubuntu 14.04. On Ubuntu 16.04 I had no such problems.

tbimages
05-05-2017, 05:24 AM
Thanks for the feedback. I am experiencing similar on Ubuntu 16.10 and Debian (Jessie) as well. Mostly random from what I can see. I also find that it's more stable when running code through GDB however then it's also running ALOT slower. Makes debugging extremely difficult.

I'm open to any suggestions for alternate ways to better debug this.

livepad
05-05-2017, 05:28 AM
if you are crashing in Avahi under Linux, see if its associated with discovery of 2 NDI sources with the same name. If so that's a known old bug, and a newer NDI Library build may fix it.

livepad
05-05-2017, 09:36 AM
Hi,
First up, out of interest, which Linux dist is recommended/ most stable for NDI development?
Now my main problem, has anyone run into issues with the avahi/dbus sub sytem on CentOS 7 64? I am getting Seg faults in dbus.


We are using Ubuntu 16.10 and 16.04 and they are working well.

Out of interest, which NDI linux library build are you using with CentOS 7 ?

chossette
09-07-2017, 07:06 AM
We are using Ubuntu 16.10 and 16.04 and they are working well.

Out of interest, which NDI linux library build are you using with CentOS 7 ?

Hello,

I observed the same issue with the SDK v3 on a Linux CentOS 7.3.

Does anyone find more info on this ?

Tx !
Nicolas,

brianbrice
09-08-2017, 10:41 AM
Hi all. I've been in contact with someone who managed to figure this out. It seems that the version of dbus-libs on CentOS 7.3 is a little bit buggy. This particular developer said he updated to v1.10.14 of the dbus-libs package and everything seemed to work well.

chossette
09-11-2017, 08:41 AM
Hi Brian,

I force-upgrade the d-bus lib and effectively, this is much more stable !

Thanks for the feedback,
Nicolas,

bobthedino
09-20-2017, 05:12 AM
I force-upgrade the d-bus lib and effectively, this is much more stable !


Hi - can you give me some tips on how to do this force upgrade of dbus on Centos 7? I am having trouble finding a suitable source of packages for dbus 1.10.

chossette
09-20-2017, 06:54 AM
Hello Bob the Dino :)

I do not have found an official package for CentOS with newer version. Even the next coming version 7.4 does not have update the dbus package.
I get the package from this location:
- http://dl.fedoraproject.org/pub/fedora/linux/releases/25/Everything/x86_64/os/Packages/d/dbus-1.11.6-1.fc25.x86_64.rpm
- http://dl.fedoraproject.org/pub/fedora/linux/releases/25/Everything/x86_64/os/Packages/d/dbus-libs-1.11.6-1.fc25.x86_64.rpm

Then force the rpm installation:


rpm -i --force dbus-libs-1.11.6-1.fc25.x86_64.rpm
rpm -i --force dbus-1.11.6-1.fc25.x86_64.rpm


Note, that you have to restart the DBUS service. This generally does not happen with great success (graphical freeze on my side). I then reboot the system with success. The system logs does not raise any issues, and I do not have observed any instability.

bobthedino
09-21-2017, 08:29 AM
I get the package from this location:
- http://dl.fedoraproject.org/pub/fedora/linux/releases/25/Everything/x86_64/os/Packages/d/dbus-1.11.6-1.fc25.x86_64.rpm
- http://dl.fedoraproject.org/pub/fedora/linux/releases/25/Everything/x86_64/os/Packages/d/dbus-libs-1.11.6-1.fc25.x86_64.rpm


Thanks very much - I'll certainly try that!