<div dir="ltr">On Thu, Sep 6, 2018 at 10:57 PM Rajil Saraswat <<a href="mailto:rajil.s@gmail.com">rajil.s@gmail.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 09/06/2018 10:17 PM, Bill Meek wrote:<br>
><br>
> #define GENERIC_EXIT_KILLED 140 ///< Process killed or stopped<br>
><br>
> I'd try running it from the command line to see<br>
> what happens. The arguments are in mythbackend.log.<br>
><br>
> E.g.: /usr/local/bin/<a href="http://find-zero-byte.pl" rel="noreferrer" target="_blank">find-zero-byte.pl</a> 1 1110 2018-09-06T20:52:24 cancel<br>
><br>
>> The script is supposed to create the file,<br>
>><br>
>> my $runningfile = "/tmp/$cardid-$chanid-$starttime.running";<br>
>><br>
>> but i dont any such file being created in /tmp.<br>
><br>
Not sure what happend but i restarted the backend and sure enough i can see<br>
<br>
1-1110-2018-09-06T22:53:15.running in /tmp<br>
<br>
But it disappears soon after and i see the following in dmesg,<br>
<br>
find-zero-byte.[24121]: segfault at a7f2674f38 ip 00007f8d3de8a328 sp<br>
00007ffd89da15f0 error 4 in libmysqlclient.so.18.4.0[7f8d3de4c000+34a000]<br>
<br>
Why is it crashing?<br></blockquote><div><br></div><div style="font-family:monospace,monospace" class="gmail_default">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...</div></div></div>