<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>selfoss support forum - error from cron job on cliupdate.php concerning libpng</title>
<link>https://forum.selfoss.aditu.de/</link>
<description>selfoss support forum</description>
<language>en</language>
<item>
<title>error from cron job on cliupdate.php concerning libpng (reply)</title>
<content:encoded><![CDATA[<p>I just saw the error on selfoss master. It appears that it indeed has something to do with running out of memory</p>
<pre><code>$ php cliupdate.php
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 43975482 bytes)
[vendor/bcosca/fatfree-core/db/sql.php:230] 
An error occurred⏎</code></pre>]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=1415</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=1415</guid>
<pubDate>Fri, 27 Dec 2019 20:08:03 +0000</pubDate>
<dc:creator>jtojnar</dc:creator>
</item>
<item>
<title>error from cron job on cliupdate.php concerning libpng (reply)</title>
<content:encoded><![CDATA[<p>Unfortumately, I was not able to reproduce the issue.</p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=1361</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=1361</guid>
<pubDate>Wed, 23 Jan 2019 18:28:48 +0000</pubDate>
<dc:creator>jtojnar</dc:creator>
</item>
<item>
<title>error from cron job on cliupdate.php concerning libpng (reply)</title>
<content:encoded><![CDATA[<blockquote><blockquote><p>How does the error manifest?</p>
</blockquote></blockquote><blockquote><p>Every time the cronjob with cliupdate.php is running and new entries in the rss feed I mentioned are fetched.</p>
</blockquote><p>Were you able to reproduce the error?<br />
Did you find a cause?</p>
<p>At the moment I get a lot of emails per day from the error messages from the cron demon.</p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=1360</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=1360</guid>
<pubDate>Wed, 23 Jan 2019 14:55:47 +0000</pubDate>
<dc:creator>marteng69</dc:creator>
</item>
<item>
<title>error from cron job on cliupdate.php concerning libpng (reply)</title>
<content:encoded><![CDATA[<blockquote><p>How does the error manifest?</p>
</blockquote><p>Every time the cronjob with cliupdate.php is running and new entries in the rss feed I mentioned are fetched.</p>
<blockquote><p>Is it surronded by other log statements or just interspersed.</p>
</blockquote><p>No. I only get an E-Mail from the cronjob where the error is included</p>
<blockquote><p>Does it crash the PHP process?</p>
</blockquote><p>I don't know.<br />
I am running selfoss on a shared host and I can not see what happens with the PHP-process.</p>
<blockquote><p>What PHP, libpng and distribution versions do you use?</p>
</blockquote><p>PHP 7.2.13<br />
libpng 1.6.28<br />
Debian with Kernel 4.9.xxx (shared host, no own server)</p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=1345</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=1345</guid>
<pubDate>Tue, 11 Dec 2018 17:34:07 +0000</pubDate>
<dc:creator>marteng69</dc:creator>
</item>
<item>
<title>error from cron job on cliupdate.php concerning libpng (reply)</title>
<content:encoded><![CDATA[<p>How does the error manifest? Is it surronded by other log statements or just interspersed. Does it crash the PHP process? What PHP, libpng and distribution versions do you use?</p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=1344</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=1344</guid>
<pubDate>Tue, 11 Dec 2018 16:04:59 +0000</pubDate>
<dc:creator>jtojnar</dc:creator>
</item>
<item>
<title>error from cron job on cliupdate.php concerning libpng (reply)</title>
<content:encoded><![CDATA[<blockquote><p>Unfortunately there is no error message in the debugging data.</p>
</blockquote><p>Yesterday I was able to find out, which feed is causing the error.<br />
It is: <a href="https://www.aerzteblatt.de/service/rss">https://www.aerzteblatt.de/service/rss</a></p>
<p>Everytime the feed is updated the error occurs.</p>
<p>Is there any way to avoid this error messages?</p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=1343</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=1343</guid>
<pubDate>Tue, 11 Dec 2018 06:51:48 +0000</pubDate>
<dc:creator>marteng69</dc:creator>
</item>
<item>
<title>error from cron job on cliupdate.php concerning libpng (reply)</title>
<content:encoded><![CDATA[<blockquote><p>I would expect the libpng error to appear somewhere and you should be able to see what feed is causing it.</p>
</blockquote><p>Unfortunately there is no error message in the debugging data.</p>
<p>Some additional information when the error occurs:<br />
The cronjob runs four times every hour, every 15 minutes. The first time during the day it occurs is after 8 o'clock in the morning. Then it re-occurs almost every 45 minutes up to 11 o'clock in the evening. During the night, the cronjob runs all the time (what I can see in the logfile of the cronjob) but the error does not occur.</p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=1342</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=1342</guid>
<pubDate>Tue, 04 Dec 2018 07:44:30 +0000</pubDate>
<dc:creator>marteng69</dc:creator>
</item>
<item>
<title>error from cron job on cliupdate.php concerning libpng (reply)</title>
<content:encoded><![CDATA[<p>I would expect the libpng error to appear somewhere and you should be able to see what feed is causing it.</p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=1338</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=1338</guid>
<pubDate>Sun, 02 Dec 2018 17:17:58 +0000</pubDate>
<dc:creator>jtojnar</dc:creator>
</item>
<item>
<title>error from cron job on cliupdate.php concerning libpng (reply)</title>
<content:encoded><![CDATA[<blockquote><p>I guess that it occurs when favicon/thumbnail for some feed is resized and libpng does not support it. I would still say it is either a bug in libpng or PHP.</p>
<p>Try adding the following code before <span style="color:#999;">$f3-&gt;run();</span> in <em>index.php</em>:</p>
<p><a href="https://gist.github.com/jtojnar/cbf19757c01b7aaa47832d5baf26f3e3">https://gist.github.com/jtojnar/cbf19757c01b7aaa47832d5baf26f3e3</a></p>
</blockquote><p>I added the lines in the index.php.<br />
Now I only get the debug messages as result.<br />
What part of the debug messages do you need to investigate further?</p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=1337</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=1337</guid>
<pubDate>Sun, 02 Dec 2018 16:53:45 +0000</pubDate>
<dc:creator>marteng69</dc:creator>
</item>
<item>
<title>error from cron job on cliupdate.php concerning libpng (reply)</title>
<content:encoded><![CDATA[<p>I guess that it occurs when favicon/thumbnail for some feed is resized and libpng does not support it. I would still say it is either a bug in libpng or PHP.</p>
<p>Try adding the following code before <code>$f3-&gt;run();</code> in <em>index.php</em>:</p>
<p><a href="https://gist.github.com/jtojnar/cbf19757c01b7aaa47832d5baf26f3e3">https://gist.github.com/jtojnar/cbf19757c01b7aaa47832d5baf26f3e3</a></p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=1335</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=1335</guid>
<pubDate>Sun, 02 Dec 2018 11:36:47 +0000</pubDate>
<dc:creator>jtojnar</dc:creator>
</item>
<item>
<title>error from cron job on cliupdate.php concerning libpng (reply)</title>
<content:encoded><![CDATA[<blockquote><p>It is a bug in older versions of libpng according to <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1121035">https://bugzilla.redhat.com/show_bug.cgi?id=1121035</a></p>
</blockquote><p>I found this too. The bug was closed because of insufficient data.<br />
What is really irritating that the error message does not appear on every run of the cronjob.<br />
Is it possible that during the cronjob the shared host runs out of memory and then the error occurs?</p>
<p>Also I have a new behaviour:<br />
The error is now changing from the original error to a new one:<br />
libpng warning: iCCP: known incorrect sRGB profile</p>
<p>Sometimes both errors occur at the same time, most of the times they are alternating</p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=1334</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=1334</guid>
<pubDate>Sat, 01 Dec 2018 09:20:38 +0000</pubDate>
<dc:creator>marteng69</dc:creator>
</item>
<item>
<title>error from cron job on cliupdate.php concerning libpng (reply)</title>
<content:encoded><![CDATA[<p>It is a bug in older versions of libpng according to <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1121035">https://bugzilla.redhat.com/show_bug.cgi?id=1121035</a></p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=1333</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=1333</guid>
<pubDate>Fri, 30 Nov 2018 23:45:06 +0000</pubDate>
<dc:creator>jtojnar</dc:creator>
</item>
<item>
<title>error from cron job on cliupdate.php concerning libpng</title>
<content:encoded><![CDATA[<p>Hello,</p>
<p>I am running selfoss on a shared host.<br />
In the last few weeks I am getting several times a day a error message from the cron job that is executing cliupdate.php</p>
<p>The cron job looks like:<br />
/xxx/xxx/php /usr/xxx/xxx/xxx/selfoss/cliupdate.php</p>
<p>The error message is like this:<br />
libpng warning: Interlace handling should be turned on when using png_read_image</p>
<p>It does not happen every time the cron job is running.</p>
<p>Looking in the logs of the shared host does not show me any hint, what is the reason of this error.</p>
<p>I have also checked the php config of the shared host, but this seems all fine.</p>
<p>Do you have any hint, where I can search or what I can ask the support of my hosting provider to solve the error.</p>
<p>Kind regards<br />
Martin</p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=1332</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=1332</guid>
<pubDate>Tue, 27 Nov 2018 17:12:14 +0000</pubDate>
<dc:creator>marteng69</dc:creator>
</item>
</channel>
</rss>
