[mythtv-users] Backend Seg fault

tbaca at heritagewifi.com tbaca at heritagewifi.com
Tue Dec 19 06:35:29 UTC 2006


I have a PCHDTV 5500 card running Suse 10.1, Myth 0.20-12.  The S-video is
connected to the output of my Satellite receiver.  I am having a problem
scheduling a recording on the S-video.  I can watch Live TV on these
channels.
In the Mythbackend, if I leave the “External channel change command” for
the S-video input blank, I get an error when the scheduler tries to
“change channel” which causes the recorder to fail.
2006-12-18 23:10:28.146 Using runtime prefix = /usr
2006-12-18 23:10:28.162 New DB connection, total: 1
2006-12-18 23:10:28.168 Connected to database 'mythconverg' at host:
localhost2006-12-18 23:10:28.172 Current Schema Version: 1160
Starting up as the master server.
2006-12-18 23:10:28.181 New DB connection, total: 2
2006-12-18 23:10:28.181 Connected to database 'mythconverg' at host:
localhost2006-12-18 23:10:28.182 mythbackend: MythBackend started as master server
2006-12-18 23:10:28.189 EITHelper: localtime offset -7:00:00
2006-12-18 23:10:28.195 New DB connection, total: 3
2006-12-18 23:10:28.195 Connected to database 'mythconverg' at host:
localhost2006-12-18 23:10:28.236 DVBChan(0) Warning: Symbol Rate setting (0) is out
of range (min/max:5056941/10762000)2006-12-18 23:10:28.266 New DB scheduler connection
2006-12-18 23:10:28.266 Connected to database 'mythconverg' at host:
localhostAnalog is defined, but isn't attached to a cardinput.
2006-12-18 23:10:28.270 Main::Starting HttpServer
2006-12-18 23:10:28.277 Main::Registering HttpStatus Extension
2006-12-18 23:10:28.283 mythbackend version: 0.20.20060828-3 www.mythtv.org
2006-12-18 23:10:28.283 Enabled verbose msgs:  important general
2006-12-18 23:10:28.284 AutoExpire: Found 1 recorders w/max rate of 138
MiB/min2006-12-18 23:10:28.285 AutoExpire: Required Free Space: 4.0 GB w/freq: 10
min2006-12-18 23:10:30.297 Reschedule requested for id -1.
2006-12-18 23:10:30.662 Scheduled 136 items in 0.4 = 0.23 match + 0.14 place
2006-12-18 23:10:30.666 scheduler: Scheduled items: Scheduled 136 items in
0.4 = 0.23 match + 0.14 place2006-12-18 23:10:30.669 Recording starts soon, AUTO-Startup assumed
2006-12-18 23:10:30.728 TVRec(7): Changing from None to RecordingOnly
2006-12-18 23:10:30.730 TVRec(7): HW Tuner: 7->8
2006-12-18 23:10:30.730 Recreating channel...
2006-12-18 23:10:30.782 Channel::GetCurrentChannelNum(): Failed to find
Channel ''2006-12-18 23:10:30.782 Channel(/dev/video0)::TuneTo(): Error, failed to
find channel.2006-12-18 23:10:30.791 Channel::GetCurrentChannelNum(): Failed to find
Channel ''2006-12-18 23:10:30.791 Channel(/dev/video0)::TuneTo(): Error, failed to
find channel.2006-12-18 23:10:30.791 TVRec(7) Error: Setting start channel '44610' failed,
                        and backup '35601' failed as well.
2006-12-18 23:10:30.841 Channel::GetCurrentChannelNum(): Failed to find
Channel ''2006-12-18 23:10:30.841 Channel(/dev/video0)::TuneTo(): Error, failed to
find channel.2006-12-18 23:10:30.841 TVRec(7) Error: Failed to set channel to 44610.
Reverting to kState_None2006-12-18 23:10:30.842 TVRec(7): Changing from RecordingOnly to None
2006-12-18 23:10:30.849 Canceled recording (Recorder Failed): Lost Worlds
"Jesus' Jerusalem": channel 3130 on cardid 7, sourceid 32006-12-18 23:10:30.853 scheduler: Canceled recording (Recorder Failed):
Lost Worlds "Jesus' Jerusalem": channel 3130 on cardid 7, sourceid 3

If I put “/bin/true” in the External channel change command” for the
S-video input, all works fine until the scheduler tries to record
something via the s-video.  As you see below, the backend dies with a
Segmentation fault.:
2006-12-18 22:50:49.627 Using runtime prefix = /usr
2006-12-18 22:50:49.645 New DB connection, total: 1
2006-12-18 22:50:49.658 Connected to database 'mythconverg' at host:
localhost2006-12-18 22:50:49.662 Current Schema Version: 1160
Starting up as the master server.
2006-12-18 22:50:49.671 New DB connection, total: 2
2006-12-18 22:50:49.671 Connected to database 'mythconverg' at host:
localhost2006-12-18 22:50:49.672 mythbackend: MythBackend started as master server
2006-12-18 22:50:49.678 EITHelper: localtime offset -7:00:00
2006-12-18 22:50:49.684 New DB connection, total: 3
2006-12-18 22:50:49.684 Connected to database 'mythconverg' at host:
localhost2006-12-18 22:50:49.725 DVBChan(0) Warning: Symbol Rate setting (0) is out
of range (min/max:5056941/10762000)2006-12-18 22:50:49.754 New DB scheduler connection
2006-12-18 22:50:49.755 Connected to database 'mythconverg' at host:
localhostAnalog is defined, but isn't attached to a cardinput.
2006-12-18 22:50:49.759 Main::Starting HttpServer
2006-12-18 22:50:49.765 Main::Registering HttpStatus Extension
2006-12-18 22:50:49.771 mythbackend version: 0.20.20060828-3 www.mythtv.org
2006-12-18 22:50:49.771 Enabled verbose msgs:  important general
2006-12-18 22:50:49.771 AutoExpire: Found 1 recorders w/max rate of 138
MiB/min2006-12-18 22:50:49.772 AutoExpire: Required Free Space: 4.0 GB w/freq: 10
min2006-12-18 22:50:51.782 Reschedule requested for id -1.
2006-12-18 22:50:52.188 Scheduled 136 items in 0.4 = 0.22 match + 0.18 place
2006-12-18 22:50:52.199 scheduler: Scheduled items: Scheduled 136 items in
0.4 = 0.22 match + 0.18 place2006-12-18 22:50:52.202 Recording starts soon, AUTO-Startup assumed
2006-12-18 22:50:52.281 TVRec(7): Changing from None to RecordingOnly
2006-12-18 22:50:52.283 TVRec(7): HW Tuner: 7->8
2006-12-18 22:50:52.283 Recreating channel...
2006-12-18 22:50:53.342 ret_pid(19714) child(19714) status(0x0)
2006-12-18 22:50:53.343 External Tuning program exited with no error
2006-12-18 22:50:54.398 ret_pid(19715) child(19715) status(0x0)
2006-12-18 22:50:54.399 External Tuning program exited with no error
2006-12-18 22:50:54.518 Started recording: Engineering an Empire
"Napoleon: Steel Monster": channel 3130 on cardid 7, sourceid 32006-12-18 22:50:54.521 scheduler: Started recording: Engineering an
Empire "Napoleon: Steel Monster": channel 3130 on cardid 7, sourceid 3Segmentation fault


But at least once, when there was less than 10 minutes to go in the
program the backend started and did not seg fault?
2006-12-18 22:53:51.271 Using runtime prefix = /usr
2006-12-18 22:53:51.289 New DB connection, total: 1
2006-12-18 22:53:51.295 Connected to database 'mythconverg' at host:
localhost2006-12-18 22:53:51.299 Current Schema Version: 1160
Starting up as the master server.
2006-12-18 22:53:51.308 New DB connection, total: 2
2006-12-18 22:53:51.308 Connected to database 'mythconverg' at host:
localhost2006-12-18 22:53:51.309 mythbackend: MythBackend started as master server
2006-12-18 22:53:51.316 EITHelper: localtime offset -7:00:00
2006-12-18 22:53:51.322 New DB connection, total: 3
2006-12-18 22:53:51.322 Connected to database 'mythconverg' at host:
localhost2006-12-18 22:53:51.363 DVBChan(0) Warning: Symbol Rate setting (0) is out
of range (min/max:5056941/10762000)2006-12-18 22:53:51.393 New DB scheduler connection
2006-12-18 22:53:51.393 Connected to database 'mythconverg' at host:
localhostAnalog is defined, but isn't attached to a cardinput.
2006-12-18 22:53:51.397 Main::Starting HttpServer
2006-12-18 22:53:51.404 Main::Registering HttpStatus Extension
2006-12-18 22:53:51.410 mythbackend version: 0.20.20060828-3 www.mythtv.org
2006-12-18 22:53:51.410 Enabled verbose msgs:  important general
2006-12-18 22:53:51.410 AutoExpire: Found 1 recorders w/max rate of 138
MiB/min2006-12-18 22:53:51.412 AutoExpire: Required Free Space: 4.0 GB w/freq: 10
min2006-12-18 22:53:53.420 Reschedule requested for id -1.
2006-12-18 22:53:53.775 Scheduled 136 items in 0.4 = 0.22 match + 0.13 place
2006-12-18 22:53:53.779 scheduler: Scheduled items: Scheduled 136 items in
0.4 = 0.22 match + 0.13 place2006-12-18 22:53:53.782 Recording starts soon, AUTO-Startup assumed
2006-12-18 22:53:53.840 TVRec(7): Changing from None to RecordingOnly
2006-12-18 22:53:53.842 TVRec(7): HW Tuner: 7->8
2006-12-18 22:53:53.842 Recreating channel...
2006-12-18 22:53:54.900 ret_pid(19742) child(19742) status(0x0)
2006-12-18 22:53:54.900 External Tuning program exited with no error
2006-12-18 22:53:55.956 ret_pid(19743) child(19743) status(0x0)
2006-12-18 22:53:55.956 External Tuning program exited with no error
2006-12-18 22:53:56.019 Started recording: Engineering an Empire
"Napoleon: Steel Monster": channel 3130 on cardid 7, sourceid 32006-12-18 22:53:56.022 scheduler: Started recording: Engineering an
Empire "Napoleon: Steel Monster": channel 3130 on cardid 7, sourceid 32006-12-18 22:54:01.328 mythbackend: Running housekeeping thread





More information about the mythtv-users mailing list