Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Start-up time of gallery-app

    Support
    2
    6
    397
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      guru last edited by

      Hello,
      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.

      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.

      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:

      stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2619, ...}) = 0
      stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2619, ...}) = 0
      stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2619, ...}) = 0
      ...
      nearly 200.000 times:

      root@ubuntu-phablet:/home/phablet# grep /etc/local gallery.tr | wc -l
      192097

      Any ideas what the hell it is doing with /etc/localtime?

      Matthias

      advocatux 1 Reply Last reply Reply Quote 0
      • advocatux
        advocatux @guru last edited by

        @guru what UT version and what gallery-app version are you running on your phone?

        G 1 Reply Last reply Reply Quote 0
        • G
          guru @advocatux last edited by

          This is still 2.9.1.1209 from Canonical. Ofc, you are free to say "not invented here".

          advocatux 1 Reply Last reply Reply Quote 0
          • advocatux
            advocatux @guru last edited by advocatux

            @guru are you still running UT OTA-15 (Canonical)?

            G 1 Reply Last reply Reply Quote 0
            • G
              guru @advocatux last edited by

              on some of my devices, yes;

              advocatux 1 Reply Last reply Reply Quote 0
              • advocatux
                advocatux @guru last edited by

                @guru do you observe the same behaviour on your devices running UT by UBports?

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post