UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    The camera-app is crashing!

    Scheduled Pinned Locked Moved Support
    39 Posts 12 Posters 6.2k Views 5 Watching
    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.
      • KenedaK Offline
        Keneda
        last edited by

        Here it goes : https://gitlab.com/ubports/apps/camera-app/-/issues/167

        2015-2023 : Meizu MX4 ☠️⚰️✝️
        2023-2024 : Nexus 5 ☠️⚰️✝️
        2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
        🇲🇫🇬🇧

        1 Reply Last reply Reply Quote 0
        • M Offline
          Markatrafik @Keneda
          last edited by Markatrafik

          @keneda ubports_GSI_installer_v10.zip

          $ dpkg -l | grep libqt5core
          ii libqt5core5a:arm64 5.9.5+dfsg-0ubports3 arm64 Qt 5 core module

          Why doesn't the installer in the interface keep track of this and kill the application as a result?

          ~$ ldd /userdata/system-data/opt/click.ubuntu.com/com.ubuntu.camera/3.2.3/camera-app
          linux-vdso.so.1 =>  (0x00000072f54c8000)
          libQt5Gui.so.5 => /usr/lib/aarch64-linux-gnu/libQt5Gui.so.5 (0x00000072f501a000)
          libstdc++.so.6 => /usr/lib/aarch64-linux-gnu/libstdc++.so.6 (0x00000072f4e8b000)
          libQt5Qml.so.5 => /usr/lib/aarch64-linux-gnu/libQt5Qml.so.5 (0x00000072f4aec000)
          libQt5Core.so.5 => /usr/lib/aarch64-linux-gnu/libQt5Core.so.5 (0x00000072f45ae000)
          libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x00000072f458d000)
          libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x00000072f4447000)
                  /lib/ld-linux-aarch64.so.1 (0x00000072f549d000)
          libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x00000072f441b000)
          libGLESv2.so.2 => /usr/lib/aarch64-linux-gnu/libhybris-egl/libGLESv2.so.2 (0x00000072f43f4000)
          libpng12.so.0 => /lib/aarch64-linux-gnu/libpng12.so.0 (0x00000072f43c5000)
          libharfbuzz.so.0 => /usr/lib/aarch64-linux-gnu/libharfbuzz.so.0 (0x00000072f4362000)
          libz.so.1 => /lib/aarch64-linux-gnu/libz.so.1 (0x00000072f433b000)
          libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x00000072f428e000)
          libQt5Network.so.5 => /usr/lib/aarch64-linux-gnu/libQt5Network.so.5 (0x00000072f410c000)
          libicui18n.so.55 => /usr/lib/aarch64-linux-gnu/libicui18n.so.55 (0x00000072f3e9f000)
          libicuuc.so.55 => /usr/lib/aarch64-linux-gnu/libicuuc.so.55 (0x00000072f3cfe000)
          libdouble-conversion.so.1 => /usr/lib/aarch64-linux-gnu/libdouble-conversion.so.1 (0x00000072f3cdd000)
          libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x00000072f3cca000)
          libglib-2.0.so.0 => /lib/aarch64-linux-gnu/libglib-2.0.so.0 (0x00000072f3bc3000)
          libhybris-common.so.1 => /usr/lib/aarch64-linux-gnu/libhybris-common.so.1 (0x00000072f3b95000)
          libfreetype.so.6 => /usr/lib/aarch64-linux-gnu/libfreetype.so.6 (0x00000072f3af8000)
          libgraphite2.so.3 => /usr/lib/aarch64-linux-gnu/libgraphite2.so.3 (0x00000072f3acb000)
          libicudata.so.55 => /usr/lib/aarch64-linux-gnu/libicudata.so.55 (0x00000072f2204000)
          libpcre.so.3 => /lib/aarch64-linux-gnu/libpcre.so.3 (0x00000072f2193000)
          librt.so.1 => /lib/aarch64-linux-gnu/librt.so.1 (0x00000072f217c000)
          

          BTW, the application was prelinked by the short library prefix, .5 <- version 5, but could not find the Symbol already after launch.
          Either you need to specify the full .5.12 index for linking, or check the dependencies in the distribution package!

          How to install previous version, that linked with Qt 5.9 ?!

          KenedaK 1 Reply Last reply Reply Quote 0
          • KenedaK Offline
            Keneda @Markatrafik
            last edited by Keneda

            @markatrafik
            For now the only way would be to find the click and install it manually (with command line or using Ubuntu Touch Tweak Tool) after uninstalling the defective one.

            I don't know where to find the previous clicks, an ehancement issue for openstore to allow installing previous version is open, but still not completed.

            EDIT : https://gitlab.com/theopenstore/openstore-meta/-/issues/259

            2015-2023 : Meizu MX4 ☠️⚰️✝️
            2023-2024 : Nexus 5 ☠️⚰️✝️
            2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
            🇲🇫🇬🇧

            1 Reply Last reply Reply Quote 0
            • KenedaK Offline
              Keneda
              last edited by Keneda

              If you know how to built .click package using clickable :
              https://gitlab.com/ubports/apps/camera-app/-/tree/ae131c5d8b55ec2d7bb96745491b9cc9430fd36c

              2015-2023 : Meizu MX4 ☠️⚰️✝️
              2023-2024 : Nexus 5 ☠️⚰️✝️
              2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
              🇲🇫🇬🇧

              M 1 Reply Last reply Reply Quote 0
              • K Offline
                kugiigi
                last edited by

                Previous versions can be requested from Brian. GSI ports are still not officially supported right?

                But I'm thinking, this may have happened because clickable now defaults to building with Qt5.12 and perhaps apps that don't explicitly use the new framework will still be offered to <=OTA-15 devices.

                KenedaK 1 Reply Last reply Reply Quote 0
                • M Offline
                  Markatrafik @Keneda
                  last edited by

                  @keneda Thanks 🙂 I just pressed the "Update" button and had sex with the system for hours.

                  1 Reply Last reply Reply Quote 0
                  • KenedaK Offline
                    Keneda @kugiigi
                    last edited by

                    @kugiigi said in The camera-app is crashing!:

                    this may have happened because clickable now defaults to building with Qt5.12

                    That's what i guessed few posts above ^^

                    2015-2023 : Meizu MX4 ☠️⚰️✝️
                    2023-2024 : Nexus 5 ☠️⚰️✝️
                    2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                    🇲🇫🇬🇧

                    M 1 Reply Last reply Reply Quote 0
                    • M Offline
                      Markatrafik @Keneda
                      last edited by Markatrafik

                      @keneda Can the interface/installer say it won't work with these libraries instead of just overwriting the application to make it broken? Somebody should have thought of that when they did the rebuild.

                      I can't find my old .click package and I can't figure out how to download it from OpenStore either. 😞

                      P.S. In idea it would be good for me to deploy a development environment on a PC to be able to cross-compile something for the phone, how to do this?

                      KenedaK AppLeeA 2 Replies Last reply Reply Quote 0
                      • KenedaK Offline
                        Keneda @Markatrafik
                        last edited by

                        @markatrafik said in The camera-app is crashing!:

                        I can't find my old .click package and I can't figure out how to download it from OpenStore either.

                        You need to download files from Git and then use clicakble to build the click, see post above.
                        Or you need to ask the click from @mariogrip .

                        @markatrafik said in The camera-app is crashing!:

                        In idea it would be good for me to deploy a development environment on a PC to be able to cross-compile something for the phone, how to do this?

                        No idea, i'm a noob for those things :downcast_face_with_sweat:

                        2015-2023 : Meizu MX4 ☠️⚰️✝️
                        2023-2024 : Nexus 5 ☠️⚰️✝️
                        2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                        🇲🇫🇬🇧

                        1 Reply Last reply Reply Quote 0
                        • KenedaK Offline
                          Keneda
                          last edited by

                          Must add that a fix should be released as soon as devs will see this issue, like the few times that kind of things comes with a core app release.

                          2015-2023 : Meizu MX4 ☠️⚰️✝️
                          2023-2024 : Nexus 5 ☠️⚰️✝️
                          2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                          🇲🇫🇬🇧

                          1 Reply Last reply Reply Quote 0
                          • AppLeeA Offline
                            AppLee @Markatrafik
                            last edited by

                            @markatrafik
                            For app development, the best starting point is there:
                            https://docs.ubports.com/en/latest/appdev/index.html

                            Install clickable and try a simple hello world to figure things out.
                            Be aware of a noob issue, if you forgot apparmor policy then when you add it, you also have to bump the version number in order for it to get applied.

                            arubislanderA 1 Reply Last reply Reply Quote 1
                            • arubislanderA Offline
                              arubislander @AppLee
                              last edited by

                              @applee said in The camera-app is crashing!:

                              Be aware of a noob issue, if you forgot apparmor policy then when you add it, you also have to bump the version number in order for it to get applied.

                              This is no longer necessary. Newer versions of clickable uninstall the old version of the click package before installing the new one.

                              🇦🇼 🇳🇱 🇺🇸 🇪🇸
                              Happily running Ubuntu Touch
                              Google Pixel 3a (20.04 DEV)
                              JingPad (24.04 preview)
                              Meizu Pro 5 (16.04 DEV)

                              AppLeeA M 2 Replies Last reply Reply Quote 1
                              • AppLeeA Offline
                                AppLee @arubislander
                                last edited by

                                @arubislander
                                Ooooh fancy :smirking_face:
                                Nice thing, I didn't notice because I was running in auto pilot 🙂

                                Thanks for the info.

                                1 Reply Last reply Reply Quote 0
                                • M Offline
                                  Markatrafik @arubislander
                                  last edited by

                                  @arubislander thank you for information

                                  1 Reply Last reply Reply Quote 0
                                  • W Offline
                                    whitemagik @stanwood
                                    last edited by

                                    @stanwood hello I'm totally new to unbuntu touch managed to flash my redmi note 7 with unbuntu touch ...question is my video cam is freezing when press record button all other works just notice you said about a camera update is that some thing I can install any help would be appreciated

                                    KenedaK stanwoodS 2 Replies Last reply Reply Quote 1
                                    • KenedaK Offline
                                      Keneda @whitemagik
                                      last edited by

                                      @whitemagik
                                      You should create your own thread here : https://forums.ubports.com/category/93/xiaomi-redmi-note-7

                                      This thread is about some problem with last camera update with only some particular ports, that may not have link with issue you have.

                                      2015-2023 : Meizu MX4 ☠️⚰️✝️
                                      2023-2024 : Nexus 5 ☠️⚰️✝️
                                      2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                                      🇲🇫🇬🇧

                                      1 Reply Last reply Reply Quote -1
                                      • stanwoodS Offline
                                        stanwood @whitemagik
                                        last edited by

                                        @whitemagik Hi and welcome to Ubuntu Touch!

                                        Indeed, video recording with the main back camera doesn't work yet. There's nothing you can do unless wait for a future update, or use the front camera.

                                        For further information, I advise you to read to my Redmi Note 7 state of play, which I keep up-to-date here:
                                        https://forums.ubports.com/topic/6026/redmi-note-7-state-of-play

                                        Redmi Note 9S Stable
                                        If God has a computer, it must be a GNU/Linux

                                        W 1 Reply Last reply Reply Quote 0
                                        • W Offline
                                          whitemagik @stanwood
                                          last edited by

                                          @stanwood thank you for reply i can live with that no big deal ..atleast i know just all new to unbuntu touch but already liking it

                                          1 Reply Last reply Reply Quote 2
                                          • R Offline
                                            RobTheBold
                                            last edited by

                                            Same problem on OnePlus One, OTA-15. Apparently yesterday was the first time I wanted to take a picture since "upgrading" the app. 😞

                                            MoemM 1 Reply Last reply Reply Quote 0
                                            • MoemM Offline
                                              Moem @RobTheBold
                                              last edited by Moem

                                              @robthebold I would say it's time to move on to OTA-16. And if you want zoom and flash, as well as improved autofocus, you might even want to try the halium-devel update channel.

                                              Is currently using an Op5t
                                              Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

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