Opened 5 years ago

Closed 5 years ago

#11964 closed Bug Report - General (Fixed)

mythpreviewgen does not run

Reported by: mythtv@… Owned by: JYA
Priority: minor Milestone: unknown
Component: MythTV - Mythpreviewgen Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Mythpreviewgen does not run. Running stat against the binary shows that it does not get touched, so the backend does not appear to be calling it.

This means that if you try and delete recordings, you cannot as it comes back and says the preview is being generated. It's not...

Although auto expiring does work of live viewing, recording cannot be deleted.

This may result in disk space filling up.

Change History (7)

comment:1 Changed 5 years ago by Raymond Wagner

Milestone: 0.28unknown
Priority: majorminor

Resetting defaults.

Are you sure your filesystem is actually configured to record access time, such that you would be able to track when it runs in that manner? Could you provide backend logs showing that mythpreviewgen is not being run?

comment:2 Changed 5 years ago by mythtv@…

You're right, the file system was not configured for access time... apologies.

I moved it to ...bin and created a shell script to call the bin file.

It calls with: --size 0x0 --chanid 9901 --starttime 20131129220658 --verbose general --logpath /var/log/mythtv --loglevel crit --quiet

However it segfaults.

In most mythpreviewgen logs (I should have looked at this before), has:

2013-11-29 21:31:54.602152 C [20546/20546] thread_unknown mythcommandlineparser.cpp:2595 (ConfigureLogging) - mythpreviewgen version: master [v0.28-pre-576-g8a3f4b6] www.mythtv.org
2013-11-29 21:31:54.602378 C [20546/20546] thread_unknown mythcommandlineparser.cpp:2597 (ConfigureLogging) - Qt version: compile: 4.8.5, runtime: 4.8.5
2013-11-29 21:31:54.602397 N [20546/20546] thread_unknown mythcommandlineparser.cpp:2599 (ConfigureLogging) - Enabled verbose msgs:  general

In one:

2013-11-29 22:16:33.373089 C [21608/21608] thread_unknown mythcommandlineparser.cpp:2595 (ConfigureLogging) - mythpreviewgen version: master [v0.28-pre-576-g8a3f4b6] www.mythtv.org
2013-11-29 22:16:33.373211 C [21608/21608] thread_unknown mythcommandlineparser.cpp:2597 (ConfigureLogging) - Qt version: compile: 4.8.5, runtime: 4.8.5
2013-11-29 22:16:33.373228 N [21608/21608] thread_unknown mythcommandlineparser.cpp:2599 (ConfigureLogging) - Enabled verbose msgs:  general
2013-11-29 22:16:33.373615 N [21608/21608] thread_unknown logging.cpp:926 (logStart) - Setting Log Level to LOG_INFO
2013-11-29 22:16:33.386745 I [21608/21612] Logger logging.cpp:322 (run) - Added logging to the console
2013-11-29 22:16:33.388932 I [21608/21608] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Interrupt handler
2013-11-29 22:16:33.388970 I [21608/21608] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Terminated handler
2013-11-29 22:16:33.389002 I [21608/21608] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Segmentation fault handler
2013-11-29 22:16:33.389033 I [21608/21608] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Aborted handler
2013-11-29 22:16:33.389065 I [21608/21608] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Bus error handler
2013-11-29 22:16:33.389097 I [21608/21608] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Floating point exception handler
2013-11-29 22:16:33.389132 I [21608/21608] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Illegal instruction handler
2013-11-29 22:16:33.389168 I [21608/21608] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Real-time signal 0 handler
2013-11-29 22:16:33.389454 N [21608/21608] thread_unknown mythdirs.cpp:130 (InitializeMythDirs) - Using runtime prefix = /opt/mythtv-20131129
2013-11-29 22:16:33.389478 N [21608/21608] thread_unknown mythdirs.cpp:132 (InitializeMythDirs) - Using configuration directory = /home/mythtv/.mythtv
2013-11-29 22:16:33.389731 I [21608/21608] CoreContext mythcorecontext.cpp:249 (Init) - Assumed character encoding: en_GB.UTF-8
2013-11-29 22:16:33.391294 N [21608/21608] CoreContext mythcontext.cpp:504 (LoadDatabaseSettings) - Empty LocalHostName.
2013-11-29 22:16:33.391335 I [21608/21608] CoreContext mythcontext.cpp:512 (LoadDatabaseSettings) - Using localhost value of eth7
2013-11-29 22:16:33.464711 N [21608/21608] CoreContext mythcorecontext.cpp:1272 (InitLocale) - Setting QT default locale to en_GB
2013-11-29 22:16:33.464882 I [21608/21608] CoreContext mythcorecontext.cpp:1305 (SaveLocaleDefaults) - Current locale en_GB
2013-11-29 22:16:33.465062 N [21608/21608] CoreContext mythlocale.cpp:121 (LoadDefaultsFromXML) - Reading locale defaults from /opt/mythtv-20131129/share/mythtv//locales/en_gb.xml
2013-11-29 22:16:33.493283 I [21608/21611] LogForward loggingserver.cpp:1372 (forwardMessage) - New Client:  (#1)
2013-11-29 22:16:33.493790 I [21608/21611] LogForward loggingserver.cpp:142 (FileLogger) - Added logging to /var/log/mythtv/mythpreviewgen.20131129221633.21608.log
2013-11-29 22:16:33.520230 I [21608/21608] CoreContext previewgenerator.cpp:669 (LocalPreviewRun) - Preview at calculated offset (82 seconds)
2013-11-29 22:16:33.588353 I [21608/21617] SendMessage mythcorecontext.cpp:418 (ConnectCommandSocket) - MythCoreContext: Connecting to backend server: 81.187.35.205:6543 (try 1 of 1)
2013-11-29 22:16:33.597508 I [21608/21617] SendMessage mythcorecontext.cpp:1185 (CheckProtoVersion) - Using protocol version 79
2013-11-29 22:16:34.860303 I [21608/21608] CoreContext avformatdecoder.cpp:2378 (OpenAVCodec) - AFD: Opened codec 0x18600e0, id(DVB_SUBTITLE) type(Subtitle)
2013-11-29 22:16:34.860551 I [21608/21608] CoreContext avformatdecoder.cpp:1898 (ScanStreams) - AFD: codec AC3 has 2 channels
2013-11-29 22:16:34.861750 I [21608/21608] CoreContext avformatdecoder.cpp:2378 (OpenAVCodec) - AFD: Opened codec 0x1860b40, id(AC3) type(Audio)
2013-11-29 22:16:34.876956 I [21608/21608] CoreContext avformatdecoder.cpp:2378 (OpenAVCodec) - AFD: Opened codec 0x17915c0, id(H264) type(Video)
Last edited 5 years ago by Raymond Wagner (previous) (diff)

comment:3 Changed 5 years ago by JYA

Status: newinfoneeded_new

can you please upgrade to 0.27.2 and reports if you are still experiencing the issue?

comment:4 Changed 5 years ago by JYA

Owner: set to JYA

comment:5 Changed 5 years ago by JYA

or latest master for that matter

comment:6 Changed 5 years ago by mythtv@…

It is fixed in master, during or before May.

comment:7 Changed 5 years ago by JYA

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