• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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.
    • K Offline
      kugiigi @Markatrafik
      last edited by 8 Apr 2021, 12:11

      @markatrafik Which device do you have? It's working on my Nexus 5.

      M K 2 Replies Last reply 8 Apr 2021, 12:21 Reply Quote 0
      • M Offline
        Markatrafik @kugiigi
        last edited by 8 Apr 2021, 12:21

        @kugiigi Xaomi Redmi Note 7

        How is it possible that the compiled library has the same index:
        *.so.3.0.0
        but they are linked differently, what kind of practice is this?

        1 Reply Last reply Reply Quote 0
        • K Offline
          Keneda @kugiigi
          last edited by 8 Apr 2021, 12:22

          @kugiigi I think he's on redmi Note 7, with a GSI 9 port.

          So maybe if last camera update use QT 5.12, and GSI 9 port doesn't have QT 5.12...

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

          S M 2 Replies Last reply 8 Apr 2021, 12:24 Reply Quote 0
          • S Offline
            stanwood @Keneda
            last edited by 8 Apr 2021, 12:24

            @keneda I confirm new camera update works on RN7 Lavender with official port.

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

            K W 2 Replies Last reply 8 Apr 2021, 12:26 Reply Quote 0
            • K Offline
              Keneda @stanwood
              last edited by 8 Apr 2021, 12:26

              @stanwood
              Yes it works on my MX4 too.

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

              1 Reply Last reply Reply Quote 0
              • K Offline
                Keneda
                last edited by 8 Apr 2021, 12:28

                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 4 Aug 2021, 12:37 8 Apr 2021, 12:33

                  @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 ?!

                  K 1 Reply Last reply 8 Apr 2021, 12:35 Reply Quote 0
                  • K Offline
                    Keneda @Markatrafik
                    last edited by Keneda 4 Aug 2021, 12:41 8 Apr 2021, 12:35

                    @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
                    • K Offline
                      Keneda
                      last edited by Keneda 4 Aug 2021, 13:02 8 Apr 2021, 12:39

                      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 8 Apr 2021, 12:43 Reply Quote 0
                      • K Offline
                        kugiigi
                        last edited by 8 Apr 2021, 12:43

                        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.

                        K 1 Reply Last reply 8 Apr 2021, 12:46 Reply Quote 0
                        • M Offline
                          Markatrafik @Keneda
                          last edited by 8 Apr 2021, 12:43

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

                          1 Reply Last reply Reply Quote 0
                          • K Offline
                            Keneda @kugiigi
                            last edited by 8 Apr 2021, 12:46

                            @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 8 Apr 2021, 12:52 Reply Quote 0
                            • M Offline
                              Markatrafik @Keneda
                              last edited by Markatrafik 4 Aug 2021, 12:54 8 Apr 2021, 12:52

                              @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?

                              K A 2 Replies Last reply 8 Apr 2021, 12:59 Reply Quote 0
                              • K Offline
                                Keneda @Markatrafik
                                last edited by 8 Apr 2021, 12:59

                                @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
                                • K Offline
                                  Keneda
                                  last edited by 8 Apr 2021, 13:05

                                  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
                                  • A Offline
                                    AppLee @Markatrafik
                                    last edited by 8 Apr 2021, 13:51

                                    @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.

                                    A 1 Reply Last reply 9 Apr 2021, 15:39 Reply Quote 1
                                    • A Offline
                                      arubislander @AppLee
                                      last edited by 9 Apr 2021, 15:39

                                      @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)

                                      A M 2 Replies Last reply 9 Apr 2021, 15:51 Reply Quote 1
                                      • A Offline
                                        AppLee @arubislander
                                        last edited by 9 Apr 2021, 15:51

                                        @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 11 Apr 2021, 16:00

                                          @arubislander thank you for information

                                          1 Reply Last reply Reply Quote 0
                                          • W Offline
                                            whitemagik @stanwood
                                            last edited by 17 Apr 2021, 22:11

                                            @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

                                            K S 2 Replies Last reply 17 Apr 2021, 22:23 Reply Quote 1
                                            12 out of 39
                                            • First post
                                              12/39
                                              Last post