<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Start-up time of gallery-app]]></title><description><![CDATA[<p dir="auto">Hello,<br />
On my BQ E4.5 it takes always around 10++ secs to start the gallery-app until the tiles of the pictures thumbnails are showing up. Today I was lazy and tried to figure out what might be the problem.</p>
<p dir="auto">First, I unloaded the small sqlite database, only the table ' MediaTable' has rows of all the picture files (around 1323) and I checked with a script: all the pictures are existing.</p>
<p dir="auto">Second, I tried to attach strace to the starting proc gallery-app, which is a bit tricky, because it is launched from the Unity desktop. But I managed it and, surprise surprise, the problem is that is spending nearly all time with nothing else at these syscalls:</p>
<p dir="auto"><code>stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2619, ...}) = 0</code><br />
<code>stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2619, ...}) = 0</code><br />
<code>stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2619, ...}) = 0</code><br />
<code>...</code><br />
nearly 200.000 times:</p>
<p dir="auto"><code>root@ubuntu-phablet:/home/phablet# grep /etc/local gallery.tr | wc -l</code><br />
<code>192097</code></p>
<p dir="auto">Any ideas what the hell it is doing with <code>/etc/localtime</code>?</p>
<p dir="auto">Matthias</p>
]]></description><link>https://forums.ubports.com/topic/1458/start-up-time-of-gallery-app</link><generator>RSS for Node</generator><lastBuildDate>Sat, 16 May 2026 02:18:41 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/1458.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 13 Jul 2018 13:47:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Start-up time of gallery-app on Fri, 13 Jul 2018 15:49:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/guru" aria-label="Profile: guru">@<bdi>guru</bdi></a> do you observe the same behaviour on your devices running UT by UBports?</p>
]]></description><link>https://forums.ubports.com/post/10697</link><guid isPermaLink="true">https://forums.ubports.com/post/10697</guid><dc:creator><![CDATA[advocatux]]></dc:creator><pubDate>Fri, 13 Jul 2018 15:49:45 GMT</pubDate></item><item><title><![CDATA[Reply to Start-up time of gallery-app on Fri, 13 Jul 2018 15:27:44 GMT]]></title><description><![CDATA[<p dir="auto">on some of my devices, yes;</p>
]]></description><link>https://forums.ubports.com/post/10696</link><guid isPermaLink="true">https://forums.ubports.com/post/10696</guid><dc:creator><![CDATA[guru]]></dc:creator><pubDate>Fri, 13 Jul 2018 15:27:44 GMT</pubDate></item><item><title><![CDATA[Reply to Start-up time of gallery-app on Fri, 13 Jul 2018 15:26:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/guru" aria-label="Profile: guru">@<bdi>guru</bdi></a> are you still running UT OTA-15 (Canonical)?</p>
]]></description><link>https://forums.ubports.com/post/10695</link><guid isPermaLink="true">https://forums.ubports.com/post/10695</guid><dc:creator><![CDATA[advocatux]]></dc:creator><pubDate>Fri, 13 Jul 2018 15:26:17 GMT</pubDate></item><item><title><![CDATA[Reply to Start-up time of gallery-app on Fri, 13 Jul 2018 15:10:51 GMT]]></title><description><![CDATA[<p dir="auto">This is still 2.9.1.1209 from Canonical. Ofc, you are free to say "not invented here".</p>
]]></description><link>https://forums.ubports.com/post/10694</link><guid isPermaLink="true">https://forums.ubports.com/post/10694</guid><dc:creator><![CDATA[guru]]></dc:creator><pubDate>Fri, 13 Jul 2018 15:10:51 GMT</pubDate></item><item><title><![CDATA[Reply to Start-up time of gallery-app on Fri, 13 Jul 2018 14:47:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/guru" aria-label="Profile: guru">@<bdi>guru</bdi></a> what UT version and what gallery-app version are you running on your phone?</p>
]]></description><link>https://forums.ubports.com/post/10690</link><guid isPermaLink="true">https://forums.ubports.com/post/10690</guid><dc:creator><![CDATA[advocatux]]></dc:creator><pubDate>Fri, 13 Jul 2018 14:47:00 GMT</pubDate></item></channel></rss>