Anonymousdog / displaycameras

System for displaying RTSP feeds from IP cameras on the Raspberry Pi
Apache License 2.0
566 stars 113 forks source link

Crash: _dbus_check_is_valid_bus_name #44

Closed darren-martz closed 4 years ago

darren-martz commented 4 years ago

I am on Raspbian Lite 2020-02-13 on a Pi4 device. This is a fresh install with all updates completed.

I have run sudo apt-get update && sudo apt-get dist-upgrade -y && sudo apt-get auto-remove -y && sudo apt-get autoclean

Has anyone else run into this? I cannot get it to display. The setup is the default layout modified for 2x2 with new camera names, and RTP paths to (4) HikVision cameras. VLC can view them without an issue, but I'm struggling getting this setup.

Mar 20 16:13:04 raspberrypi displaycameras[514]: Waiting for leaving, omxplayer startup 0 Mar 20 16:13:05 raspberrypi displaycameras[514]: Waiting for leaving, omxplayer startup 1 Mar 20 16:13:06 raspberrypi displaycameras[514]: Waiting for leaving, omxplayer startup 2 Mar 20 16:13:07 raspberrypi displaycameras[514]: Waiting for leaving, omxplayer startup 3 Mar 20 16:13:08 raspberrypi displaycameras[514]: Waiting for leaving, omxplayer startup 4 Mar 20 16:13:09 raspberrypi displaycameras[514]: Waiting for leaving, omxplayer startup 5 Mar 20 16:13:10 raspberrypi displaycameras[514]: leaving, failed playback Mar 20 16:13:10 raspberrypi displaycameras[514]: Starting omxplayer for canopy, Mar 20 16:13:10 raspberrypi displaycameras[514]: dbus[733]: arguments to dbus_bus_request_name() were incorrect, assertion "_dbus_check_is_valid_bus_name (name)" failed in file ../../../dbus/dbus-bus.c line 1122. Mar 20 16:13:10 raspberrypi displaycameras[514]: This is normally a bug in some application using the D-Bus library. Mar 20 16:13:10 raspberrypi displaycameras[514]: D-Bus not built with -rdynamic so unable to print a backtrace Mar 20 16:13:10 raspberrypi displaycameras[514]: /usr/bin/omxplayer: line 67: 733 Aborted LD_LIBRARY_PATH="$OMXPLAYER_LIBS${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" $OMXPLAYER_BIN "$@" Mar 20 16:13:11 raspberrypi systemd[1]: systemd-fsckd.service: Succeeded.`

I had read the following could help, but it just suppressed the errors.

export DBUS_FATAL_WARNINGS=0 unset XMODIFIERS

darren-martz commented 4 years ago

Yeah, of course right after spending 1/2 a day on this, posting the ticket, 30 minutes later it starts working. I tried the master branch and it just worked.