[mythtv] [mythtv-commits] Ticket #8986: mythfilldatabase hangs on MacOS in QFSFileEnginePrivate::nativeRead

Nigel Pearson nigel at ind.tansu.com.au
Mon Oct 11 01:05:31 UTC 2010

On 29/09/2010, at 11:38 AM, Michael T. Dean wrote:
> If wget or its execution is the issue, ideally we'd fix it by dumping the wget usage

No, I think it is the popen() (or rather, Qt reading from the pipe).

1) If I butcher DataDirectProcessor::DDPost() to:

    return popen("cat /dev/null", "r")

it will do busy-wait reading for the second or third days' grab
(but, interestingly, not fail on the first).

2) If, instead, it does:

    return fopen("/dev/null", "r");

it will happily grab each day's empty data, and finish.

I suspect a QProcess() would work always correctly with wget,
but that doesn't really fit around the file caching that we
do with the DD (SD?) data.

Nigel Pearson, nigel at ind.tansu.com.au|"It'll be safe in here."
Telstra Net. Eng., Sydney, Australia |"Yes. Shielded by the
Office: 9202 3900    Fax:  9212 6348 | power of my intense
Mobile: 0408 664435  Home: 9792 6998 | disinterest"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-dev/attachments/20101011/36771960/attachment.htm>

More information about the mythtv-dev mailing list