Open EMJB opened 9 years ago
Further investigation seems to indicate the problem arises when pidvbip tries to load the channel list from tvheadend, as the no startup option defers the fault till you request display of the channel list. Perhaps this is as a result of a change to tvheadend?
Don't know the reason behind your error, but compiled it some weeks ago without any problems on the last raspbian. It's been running smooth every since. Here's my buildlog, hope it helps:
Thanks pbosgraaf. I was doing as you suggest but different directories and using the command line instead of the configuration file, but to play safe have repeated using your instructions with no obvious effect if I run pidvbip as a pi user. However if I run with "sudo ./pidvbip" I no longer get the segmentation fault report, but pidvbip seems to exit leaving a prompt which fails to respond to any attempt to enter a command. Starting a separate SSH log in and trying to reboot then fails with:
"[info] will now restart [..] snmsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wake-up"
though I can reboot with the GUI.
Could you lease clarify what commands you are using to run pidvbip & tvheadend, and which version of tvheadend (I am using version 4.1-373~gcb5f6a1).
TIA,
EMJB
Sure no problem, i'm running tvheadend 4.0.5 on ubuntu lts 14.04 For pidvbip i just start it as root without any arguments.
Found the source of my problems - I hadn't mapped any channels in tvheadend, so the channel list was empty. Naughty!
Hope this will help someone else with similar problems.
EMJB
When I try to run a newly compiled pidvbip with a newly compiled tvheadend both on my Pi2 with latest Raspbian build, I get:
"Using host "127.0.0.1:9982" host[1]=(null) Using /dev/input/event0 - PixArt USB Optical Mouse Connecting to 1 servers Connecting to server 0 - 127.0.0.1 Starting vcodec_omx_thread vcodec_omx_thread: next_channel Connecting to server 0: 127.0.0.1 (127.0.0.1) port 9982... 2015-08-13 13:51:42.664 [ INFO] htsp: Got connection from 127.0.0.1 2015-08-13 13:51:42.664 [ INFO] htsp: 127.0.0.1: Welcomed client software: pidvbip (HTSPv1) Initial sync completed Startup stopped 0 Channels_getfirst 2015-08-13 13:51:42.724 [ INFO] htsp: 127.0.0.1 [ pidvbip ]: Disconnected Segmentation fault"
with timed/dated entries coming from tvheadend rather than pidvbip. There is indeed an optical mouse connected, and tvheadend appears to work correctly because I can watch TV on my PC using VLC and the 9982 port on my Pi.
Any ideas what I am doing wrong?