[mythtv-users] HDPVR, Sonoff and find-zero-byte.pl

Rajil Saraswat rajil.s at gmail.com
Fri Sep 7 04:19:25 UTC 2018


On 09/06/2018 11:00 PM, Greg Oliver wrote:
> On Thu, Sep 6, 2018 at 10:57 PM Rajil Saraswat <rajil.s at gmail.com
> <mailto:rajil.s at gmail.com>> wrote:
>
>     On 09/06/2018 10:17 PM, Bill Meek wrote:
>     >
>     > #define GENERIC_EXIT_KILLED 140 ///< Process killed or stopped
>     >
>     > I'd try running it from the command line to see
>     > what happens. The arguments are in mythbackend.log.
>     >
>     > E.g.: /usr/local/bin/find-zero-byte.pl
>     <http://find-zero-byte.pl> 1 1110 2018-09-06T20:52:24 cancel
>     >
>     >> The script is supposed to create the file,
>     >>
>     >> my $runningfile = "/tmp/$cardid-$chanid-$starttime.running";
>     >>
>     >> but i dont any such file being created in /tmp.
>     >
>     Not sure what happend but i restarted the backend and sure enough
>     i can see
>
>     1-1110-2018-09-06T22:53:15.running in /tmp
>
>     But it disappears soon after and i see the following in dmesg,
>
>     find-zero-byte.[24121]: segfault at a7f2674f38 ip 00007f8d3de8a328 sp
>     00007ffd89da15f0 error 4 in
>     libmysqlclient.so.18.4.0[7f8d3de4c000+34a000]
>
>     Why is it crashing?
>
>
> You are hunting the wrong rabbits at this stage.  Until you can run
> that cat command for a couple hours without it failing, no zero byte
> file check will help you...
>
The crashing fix might be this
https://archives.gentoo.org/gentoo-user/message/62f53c464bf9a54d6e768b2537841a5d


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20180906/7a7e7d8e/attachment.html>


More information about the mythtv-users mailing list