Opened 11 years ago

Closed 11 years ago

#7630 closed defect (invalid)

backend crashes when making h264 previews

Reported by: kl@… Owned by: Isaac Richards
Priority: trivial Milestone: unknown
Component: MythTV - General Version: 0.22
Severity: low Keywords:
Cc: Ticket locked: no

Description

I just setup mythtv 0.22+fixes from svn (from 20091118) on my qnap ts-119 backend.

It seems to work fine - execpt I noticed several shows wasn't recorded in full, even though myth thought it was.

I noticed in the logs, that mythbackend had died at the time the recordings had stopped - the text in the logs was this: 2009-11-20 23:40:14.626 [h264 @ 0x40e6b478]non-existing PPS referenced 2009-11-20 23:40:14.627 [h264 @ 0x40e6b478]non-existing SPS 23 referenced in buffering period 2009-11-20 23:40:14.629 [h264 @ 0x40e6b478]non-existing PPS referenced 2009-11-20 23:40:14.630 [h264 @ 0x40e6b478]non-existing SPS 27 referenced in buffering period 2009-11-20 23:40:14.632 [h264 @ 0x40e6b478]non-existing PPS referenced 2009-11-20 23:40:14.634 [h264 @ 0x40e6b478]non-existing SPS 7 referenced in buffering period 2009-11-20 23:40:14.639 [h264 @ 0x40e6b478]non-existing PPS referenced 2009-11-20 23:40:14.645 [h264 @ 0x40e6b478]non-existing SPS 8 referenced in buffering period 2009-11-20 23:40:14.646 [h264 @ 0x40e6b478]non-existing PPS referenced 2009-11-20 23:40:14.648 [h264 @ 0x40e6b478]non-existing SPS 9 referenced in buffering period 2009-11-20 23:40:14.649 [h264 @ 0x40e6b478]non-existing PPS referenced 2009-11-20 23:40:14.651 [h264 @ 0x40e6b478]non-existing SPS 10 referenced in buffering period 2009-11-20 23:40:14.653 [h264 @ 0x40e6b478]non-existing PPS referenced 2009-11-20 23:40:14.655 [h264 @ 0x40e6b478]non-existing SPS 11 referenced in buffering period 2009-11-20 23:40:14.656 [h264 @ 0x40e6b478]non-existing PPS referenced 2009-11-20 23:40:14.658 [h264 @ 0x40e6b478]non-existing SPS 12 referenced in buffering period 2009-11-20 23:40:14.659 [h264 @ 0x40e6b478]non-existing PPS referenced 2009-11-20 23:40:14.661 [h264 @ 0x40e6b478]non-existing SPS 13 referenced in buffering period 2009-11-20 23:40:14.663 [h264 @ 0x40e6b478]non-existing PPS referenced 2009-11-20 23:40:14.678 [h264 @ 0x40e6b478]non-existing SPS 14 referenced in buffering period 2009-11-20 23:40:14.680 [h264 @ 0x40e6b478]non-existing PPS referenced 2009-11-20 23:40:14.725 [h264 @ 0x40e6b478]number of reference frames exceeds max (probably corrupt input), discarding one 2009-11-20 23:40:14.727 [h264 @ 0x40e6b478]number of reference frames exceeds max (probably corrupt input), discarding one 2009-11-20 23:40:14.728 [h264 @ 0x40e6b478]number of reference frames exceeds max (probably corrupt input), discarding one 2009-11-20 23:40:15.273 [h264 @ 0x40e6b478]number of reference frames exceeds max (probably corrupt input), discarding one 2009-11-20 23:40:15.276 [h264 @ 0x40e6b478]number of reference frames exceeds max (probably corrupt input), discarding one 2009-11-20 23:40:15.277 [h264 @ 0x40e6b478]number of reference frames exceeds max (probably corrupt input), discarding one 2009-11-20 23:40:15.948 [h264 @ 0x40e6b478]number of reference frames exceeds max (probably corrupt input), discarding one 2009-11-20 23:40:16.125 [h264 @ 0x40e6b478]number of reference frames exceeds max (probably corrupt input), discarding one 2009-11-20 23:40:16.636 [h264 @ 0x40e6b478]mmco: unref short failure 2009-11-20 23:40:18.152 Preview: Grabbed preview '/home/mythtv/storage/1006_20091120221500.mpg' 1280x720@64s 2009-11-20 23:42:49.870 [mpeg2video @ 0x40e6b478]ac-tex damaged at 21 16 2009-11-20 23:42:49.875 [mpeg2video @ 0x40e6b478]Warning MVs not available 2009-11-20 23:42:52.652 myth_system('/usr/bin/mythbackend --generate-preview 0x0 --chanid 1002 --starttime 20091120220500 '): Error: Can not redirect /dev/null to standard input, failed to open.

eno: Bad file descriptor (9)

2009-11-20 23:42:54.045 mythbackend version: branches/release-0-22-fixes [svn20091118] www.mythtv.org 2009-11-20 23:42:54.053 Using runtime prefix = /usr ...

I'm guessing there's a bug in the preview grabbing functionality for mpeg4 dvb-t streams somewhere.

I'm currently looking for a way to disable generating previews to see if this fixes it.

Pls. advise how I can help with more debugging info.

Attachments (1)

x00 (490.0 KB) - added by kl@… 11 years ago.
Hej haj - using faad for audio. Fails to play sound and makes preview generator barf

Download all attachments as: .zip

Change History (11)

comment:1 Changed 11 years ago by kl@…

It happened again the next day (21/11) - also on an mpeg4 stream in HD (don't know exactly what format - expect 720p). It only record 18 minutes and 40 seconds, at least that's what's available when playing the recording.

The log says this, exactly when the recording actually stopped (18 minutes in) - and the recording is without sound this time (probably some other bug?): 2009-11-21 07:30:03.782 Started recording: Hurlum Haj "(Shark Bait - the reef) Amerikansk tegnefilm fra 2006.Den lille fisk Per kommer ud på sit livs rejse, da hans forældre bliver fa": channel 1004 on cardid 1, sourceid 1 .... 2009-11-21 07:47:06.506 Current MythTV Schema Version (DBSchemaVer): 1244 2009-11-21 07:47:06.519 New DB connection, total: 2 2009-11-21 07:47:06.530 Connected to database 'mythconverg' at host: localhost 2009-11-21 07:47:06.737 Filter dir '/usr/lib/mythtv/filters' doesn't exist? 2009-11-21 07:47:06.992 [NULL @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:06.994 [NULL @ 0x40e6b478]non-existing PPS referenced 2009-11-21 07:47:07.081 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:07.082 [h264 @ 0x40e6b478]non-existing PPS 0 referenced 2009-11-21 07:47:07.084 [h264 @ 0x40e6b478]decode_slice_header error 2009-11-21 07:47:07.085 [h264 @ 0x40e6b478]no frame! 2009-11-21 07:47:07.087 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:07.088 [h264 @ 0x40e6b478]non-existing PPS referenced 2009-11-21 07:47:07.091 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:07.092 [h264 @ 0x40e6b478]B picture before any references, skipping 2009-11-21 07:47:07.093 [h264 @ 0x40e6b478]decode_slice_header error 2009-11-21 07:47:07.094 [h264 @ 0x40e6b478]no frame! 2009-11-21 07:47:07.112 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:07.114 [h264 @ 0x40e6b478]non-existing PPS referenced 2009-11-21 07:47:07.117 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:07.118 [h264 @ 0x40e6b478]B picture before any references, skipping 2009-11-21 07:47:07.119 [h264 @ 0x40e6b478]decode_slice_header error 2009-11-21 07:47:07.121 [h264 @ 0x40e6b478]no frame! 2009-11-21 07:47:07.125 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:07.126 [h264 @ 0x40e6b478]non-existing PPS referenced 2009-11-21 07:47:07.129 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:07.143 [h264 @ 0x40e6b478]non-existing PPS 0 referenced 2009-11-21 07:47:07.144 [h264 @ 0x40e6b478]decode_slice_header error 2009-11-21 07:47:07.145 [h264 @ 0x40e6b478]no frame! 2009-11-21 07:47:07.195 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:07.197 [h264 @ 0x40e6b478]non-existing PPS referenced 2009-11-21 07:47:07.200 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:07.201 [h264 @ 0x40e6b478]B picture before any references, skipping 2009-11-21 07:47:07.202 [h264 @ 0x40e6b478]decode_slice_header error 2009-11-21 07:47:07.203 [h264 @ 0x40e6b478]no frame! 2009-11-21 07:47:07.209 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:07.210 [h264 @ 0x40e6b478]non-existing PPS referenced 2009-11-21 07:47:07.215 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:07.219 [h264 @ 0x40e6b478]B picture before any references, skipping 2009-11-21 07:47:07.369 [h264 @ 0x40e6b478]decode_slice_header error 2009-11-21 07:47:07.440 [h264 @ 0x40e6b478]no frame! 2009-11-21 07:47:07.443 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:07.445 [h264 @ 0x40e6b478]non-existing PPS referenced 2009-11-21 07:47:07.449 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:07.451 [h264 @ 0x40e6b478]non-existing PPS 0 referenced 2009-11-21 07:47:07.454 [h264 @ 0x40e6b478]decode_slice_header error 2009-11-21 07:47:07.470 [h264 @ 0x40e6b478]no frame! 2009-11-21 07:47:07.501 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:07.504 [h264 @ 0x40e6b478]non-existing PPS referenced 2009-11-21 07:47:07.511 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:07.513 [h264 @ 0x40e6b478]B picture before any references, skipping 2009-11-21 07:47:07.514 [h264 @ 0x40e6b478]decode_slice_header error 2009-11-21 07:47:07.515 [h264 @ 0x40e6b478]no frame! 2009-11-21 07:47:07.533 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:07.554 [h264 @ 0x40e6b478]non-existing PPS referenced 2009-11-21 07:47:07.558 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:07.559 [h264 @ 0x40e6b478]B picture before any references, skipping 2009-11-21 07:47:07.562 [h264 @ 0x40e6b478]decode_slice_header error 2009-11-21 07:47:07.563 [h264 @ 0x40e6b478]no frame! 2009-11-21 07:47:07.568 [h264 @ 0x40e6b478]non-existing SPS 1 referenced in buffering period 2009-11-21 07:47:07.571 [h264 @ 0x40e6b478]non-existing SPS 1 referenced in buffering period 2009-11-21 07:47:07.778 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:07.785 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:07.801 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:07.822 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:07.829 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:07.846 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:07.851 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:07.858 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:07.890 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:07.894 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:07.901 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:08.031 AFD: Opened codec 0x1f9d50, id(H264) type(Video) 2009-11-21 07:47:08.033 AFD: codec AAC/LATM has 2 channels 2009-11-21 07:47:08.035 AFD: Opened codec 0x1fa2d0, id(AAC/LATM) type(Audio) 2009-11-21 07:47:08.337 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:08.339 [h264 @ 0x40e6b478]non-existing PPS referenced 2009-11-21 07:47:08.344 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:08.354 [h264 @ 0x40e6b478]non-existing PPS referenced 2009-11-21 07:47:08.356 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:08.358 [h264 @ 0x40e6b478]non-existing PPS referenced 2009-11-21 07:47:08.366 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:08.367 [h264 @ 0x40e6b478]non-existing PPS referenced 2009-11-21 07:47:08.368 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:08.377 [h264 @ 0x40e6b478]non-existing PPS referenced 2009-11-21 07:47:08.388 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:08.391 [h264 @ 0x40e6b478]non-existing PPS referenced 2009-11-21 07:47:08.393 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:08.409 [h264 @ 0x40e6b478]non-existing PPS referenced 2009-11-21 07:47:08.411 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:08.413 [h264 @ 0x40e6b478]non-existing PPS referenced 2009-11-21 07:47:08.415 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:08.416 [h264 @ 0x40e6b478]non-existing PPS referenced 2009-11-21 07:47:08.418 [h264 @ 0x40e6b478]non-existing SPS 1 referenced in buffering period 2009-11-21 07:47:08.541 [h264 @ 0x40e6b478]non-existing SPS 1 referenced in buffering period 2009-11-21 07:47:08.795 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:08.799 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:08.811 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:08.813 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:08.815 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:08.818 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:08.819 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:08.821 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:08.823 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:08.826 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:08.828 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:08.843 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:08.845 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:08.848 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:08.851 [h264 @ 0x40e6b478]non-existing SPS 1 referenced in buffering period 2009-11-21 07:47:08.854 [h264 @ 0x40e6b478]non-existing SPS 1 referenced in buffering period 2009-11-21 07:47:08.855 [h264 @ 0x40e6b478]number of reference frames exceeds max (probably corrupt input), discarding one 2009-11-21 07:47:08.857 [h264 @ 0x40e6b478]number of reference frames exceeds max (probably corrupt input), discarding one 2009-11-21 07:47:08.858 [h264 @ 0x40e6b478]number of reference frames exceeds max (probably corrupt input), discarding one 2009-11-21 07:47:08.860 [h264 @ 0x40e6b478]number of reference frames exceeds max (probably corrupt input), discarding one 2009-11-21 07:47:09.042 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:09.043 [h264 @ 0x40e6b478]non-existing PPS referenced 2009-11-21 07:47:09.044 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:09.046 [h264 @ 0x40e6b478]B picture before any references, skipping 2009-11-21 07:47:09.048 [h264 @ 0x40e6b478]decode_slice_header error 2009-11-21 07:47:09.049 [h264 @ 0x40e6b478]no frame! 2009-11-21 07:47:09.050 AFD Error: Unknown decoding error 2009-11-21 07:47:09.069 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:09.087 [h264 @ 0x40e6b478]non-existing PPS referenced 2009-11-21 07:47:09.089 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:09.090 [h264 @ 0x40e6b478]B picture before any references, skipping 2009-11-21 07:47:09.091 [h264 @ 0x40e6b478]decode_slice_header error 2009-11-21 07:47:09.093 [h264 @ 0x40e6b478]no frame! 2009-11-21 07:47:09.094 AFD Error: Unknown decoding error 2009-11-21 07:47:09.096 [h264 @ 0x40e6b478]non-existing SPS 1 referenced in buffering period 2009-11-21 07:47:09.100 [h264 @ 0x40e6b478]non-existing SPS 1 referenced in buffering period 2009-11-21 07:47:09.266 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:09.268 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:09.446 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:09.448 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:09.614 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:09.681 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:09.864 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:09.867 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:10.048 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:10.049 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:10.339 [h264 @ 0x40e6b478]non-existing SPS 1 referenced in buffering period 2009-11-21 07:47:10.342 [h264 @ 0x40e6b478]non-existing SPS 1 referenced in buffering period 2009-11-21 07:47:10.525 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:10.528 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:10.686 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:10.781 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:10.962 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:10.963 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:11.165 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:11.169 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:11.327 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:11.328 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:11.487 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:11.489 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:11.741 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:11.743 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:11.929 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:11.931 [h264 @ 0x40e6b478]non-existing SPS 31 referenced in buffering period 2009-11-21 07:47:12.146 Preview: Grabbed preview '/home/mythtv/storage/1004_20091121073000.mpg' 704x576@64s 2009-11-21 07:54:33.087 UPnpMedia: BuildMediaMap? - no VideoStartupDir? set, skipping scan. 2009-11-21 07:55:43.788 AutoExpire?: CalcParams?(): Max required Free Space: 3.0 GB w/freq: 15 min 2009-11-21 07:56:08.622 Reschedule requested for id -1.

comment:2 Changed 11 years ago by danielk

Priority: criticaltrivial
Severity: highlow
Status: newinfoneeded_new

Please provide a short sample which causes the preview generator to crash along with a backtrace as per the TicketHowTo

comment:3 Changed 11 years ago by kl@…

Attached "Hej Haj" - first 10M.

This is also the video which the player can't play sound from - mplayer(on same client where mythfrontend won't play sound) plays sound just fine and says this about sound: Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding) FAAD: compressed input bitrate missing, assuming 128kbit/s! AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000) Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))

The package on the frontend is from debian-multimedia - experimental branch (also v0.22 with fixes)

hmm. can't see the attach file option.. I'll try to figure out why.

Changed 11 years ago by kl@…

Attachment: x00 added

Hej haj - using faad for audio. Fails to play sound and makes preview generator barf

comment:4 Changed 11 years ago by Klavs Klavsen <kl@…>

trac only allows attaching files of 500K or less - so this sample may not be enough. I can put a larger sample on my own server for download if you like.

I just found how to make a backtrace, and will do so if need be.

I may very well be wrong with how or why myth-backend stopped recording.

I've put the full backend log file for the periode here: http://vsen.dk/files/mythbackend.log

I hope you can help me identify a pattern from the logfile and the below details of what recordings went fine, and which stopped.

These recordings was stopped at some point: 2009-11-20 23:00:03.379 Started recording: Stigmata "Amerikansk thriller fra 1999.Da den helt almindelige unge pige Frankie viser foruroligende tegn på stigmata, Jesu sår, sender Va": channel 1003 on cardid 2, sourceid 1

2009-11-20 23:28:51.303 Started recording: The Manchurian Candidate: channel 1002 on cardid 7, sourceid 1 2009-11-21 07:30:03.782 Started recording: Hurlum Haj "(Shark Bait - the reef) Amerikansk tegnefilm fra 2006.Den lille fisk Per kommer ud på sit livs rejse, da hans forældre bliver fa": channel 1004 on cardid 1, sourceid 1

Stopped 18 minutes and 40 seconds in.

2009-11-21 10:40:04.408 Started recording: Troldspejlet: channel 1001 on cardid 1, sourceid 1 Stopped approx. 2 minutes in.

Unfortunately I deleted the rest - so I can't say exactly how long it recorded. I'll keep recording and when it happens again I'll gladly provide whatever info you mean can help with identifying the problem.

These recordings where fine: 2009-11-20 22:15:03.154 Started recording: Just Like Heaven "Amerikansk romantisk komedie fra 2005.Arkitekten David bliver temmelig overrasket, da han opdager, at hans nye lejlighed allered": channel 1006 on cardid 1, sourceid 1 2009-11-21 07:27:55.963 Started recording: Hello Kitty: channel 1002 on cardid 2, sourceid 1

Thank you for your time and a GREAT piece of software

comment:5 Changed 11 years ago by Klavs Klavsen <kl@…>

btw. Troldspejlet died 2 and ~20 seconds minutes after start and there's no entries around that time in the logfile - and no one asking for previews - so that one was not caused by that.

I'll record it next time as well - and if it stops again - I'll run mythbackend with gdb when it records again.

Is this an ok approach?

comment:6 Changed 11 years ago by Klavs Klavsen <kl@…>

It happened again :(

I was recording two shows from tv2 and dr simultanious - and the load was 0.8, and the wa (in vmstat output) was ~17 (with system having one 1200mhz cpu that doesn't seem bad.

comment:7 Changed 11 years ago by Klavs Klavsen <kl@…>

I can't change the status away from infoneeded_new - even though I think it should be changed :(

If you're missing anything, pls. advise.

I'll gladly modify source (or switch to another branch - or just compile a newer version of 0.22+fixes branch - with debug options enabled (if any exist) - to help with hunting this down.

DR and TV2 is standard mpeg2 channels - so there should be nothing special about those.

comment:8 Changed 11 years ago by Dibblah

We still need a backtrace.

You also need to make sure that you're not running out of RAM + swap - dmesg will tell you this.

comment:9 Changed 11 years ago by Klavs Klavsen <kl@…>

I havne't been able to reproduce the crashing, while generating previews of shows from an mpeg4 channel - so it's most likely that it was just a bad guess on my part.

I have made mythbackend crash (ie. run and not record or be contactable) - but I have another bug report for that problem #7647 - so pls. mark this invalid.

p.s. I tried to make a backtrace when it crashed.. but apperantly gdb doesn't like me or something. Pressing ctrl+c finished gdb - instead of only disconnecting it from mythbackend :(

I'll try again :)

comment:10 Changed 11 years ago by stuartm

Resolution: invalid
Status: infoneeded_newclosed
Note: See TracTickets for help on using tickets.