Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Unable to debug Android App (Windows + Qt Creator 12 + LLDB)

Unable to debug Android App (Windows + Qt Creator 12 + LLDB)

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
169 Posts 9 Posters 61.7k Views
  • 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.
  • C CodesInChaoss

    @Ronel_qtmaster

    Dear Ronel I'll tell you that I've even got GDB 'working' for me but it took quite a few ADB commands and manual creation of folders on my Android device, now tell, me is this a unified QT Multi-Platform Development framework?

    How a typical developer is supposed to get around these issues?

    Why LLDB set by default?

    Now I know it's not QT support.

    Anyway I'm still looking into making the android app actually not skip the initial breakpoints.

    C Offline
    C Offline
    CodesInChaoss
    wrote on last edited by
    #30

    When running the app under GDB (Xiaomi device) I'm getting SigSegvs in a thread named "ScoutStat" asm code.

    Anyone knows what this might be? It's not part of my app, the app runs fine.

    C 1 Reply Last reply
    0
    • C CodesInChaoss

      When running the app under GDB (Xiaomi device) I'm getting SigSegvs in a thread named "ScoutStat" asm code.

      Anyone knows what this might be? It's not part of my app, the app runs fine.

      C Offline
      C Offline
      CodesInChaoss
      wrote on last edited by CodesInChaoss
      #31

      So yeah.. so it seems that the signals received previously by LLDB (but QT was not showing ANY dialog-boxes) or the actual Signal Code, are in fact segmentation faults coming from something name 'Scout Stat' Anyone knows what this is?

      C 1 Reply Last reply
      0
      • C CodesInChaoss

        So yeah.. so it seems that the signals received previously by LLDB (but QT was not showing ANY dialog-boxes) or the actual Signal Code, are in fact segmentation faults coming from something name 'Scout Stat' Anyone knows what this is?

        C Offline
        C Offline
        CodesInChaoss
        wrote on last edited by
        #32

        9860c293-1da2-4733-a27d-4688c0ca7a36-image.png @CodesInChaoss

        That's not part of my code and something presumably operating as part of QT ?

        C 1 Reply Last reply
        0
        • C CodesInChaoss

          9860c293-1da2-4733-a27d-4688c0ca7a36-image.png @CodesInChaoss

          That's not part of my code and something presumably operating as part of QT ?

          C Offline
          C Offline
          CodesInChaoss
          wrote on last edited by CodesInChaoss
          #33

          Ok folks so there's that MAGICAL
          'scoutstat' thread, I have no idea what it is that is causing havoc.

          It must be something related to UI/rendering/UI interactions since the segmentation fault would be signaled only as a result of UI interactions/ UI animations/ preparations.

          What's that and why the heck it's sig-faulting on meh

          Not my code. And presumably not part of source code that arrive with QT pre-installed since QT does not bring me to these.

          C 1 Reply Last reply
          0
          • C CodesInChaoss

            Ok folks so there's that MAGICAL
            'scoutstat' thread, I have no idea what it is that is causing havoc.

            It must be something related to UI/rendering/UI interactions since the segmentation fault would be signaled only as a result of UI interactions/ UI animations/ preparations.

            What's that and why the heck it's sig-faulting on meh

            Not my code. And presumably not part of source code that arrive with QT pre-installed since QT does not bring me to these.

            C Offline
            C Offline
            CodesInChaoss
            wrote on last edited by
            #34

            72d73fa3-6908-4945-b348-f3758ccd0c88-image.png @CodesInChaoss

            also getting lots of these on dialog-creations.. what the heck is going on here....

            C 1 Reply Last reply
            0
            • C CodesInChaoss

              72d73fa3-6908-4945-b348-f3758ccd0c88-image.png @CodesInChaoss

              also getting lots of these on dialog-creations.. what the heck is going on here....

              C Offline
              C Offline
              CodesInChaoss
              wrote on last edited by CodesInChaoss
              #35

              @CodesInChaoss

              My app works fine as long as I keep neglecting and going past all these SIGFaults and Sig33s

              what's that?

              I really wouldn't like to neglect segmentation faults my code or not.

              Why am I seeing these now? With QT Creator 12 and not 10?

              Looking forward to some guidance.

              C 1 Reply Last reply
              0
              • C CodesInChaoss

                @CodesInChaoss

                My app works fine as long as I keep neglecting and going past all these SIGFaults and Sig33s

                what's that?

                I really wouldn't like to neglect segmentation faults my code or not.

                Why am I seeing these now? With QT Creator 12 and not 10?

                Looking forward to some guidance.

                C Offline
                C Offline
                CodesInChaoss
                wrote on last edited by
                #36

                Turns out Sig33 is reserved signal issued by bionic hardware. anyone can confirm, safe to 'handle SIG33 nostop noprint'?

                C 1 Reply Last reply
                0
                • C CodesInChaoss

                  Turns out Sig33 is reserved signal issued by bionic hardware. anyone can confirm, safe to 'handle SIG33 nostop noprint'?

                  C Offline
                  C Offline
                  CodesInChaoss
                  wrote on last edited by
                  #37

                  1484e814-2d8c-4a35-99c6-237323a91988-image.png

                  Loving the overall EXPERIENCE

                  C 1 Reply Last reply
                  0
                  • C CodesInChaoss

                    1484e814-2d8c-4a35-99c6-237323a91988-image.png

                    Loving the overall EXPERIENCE

                    C Offline
                    C Offline
                    CodesInChaoss
                    wrote on last edited by
                    #38

                    Do I DARE to tap the first button?

                    C 1 Reply Last reply
                    0
                    • C CodesInChaoss

                      Do I DARE to tap the first button?

                      C Offline
                      C Offline
                      CodesInChaoss
                      wrote on last edited by
                      #39

                      0fb31d8f-f5aa-4aa4-b5be-ec2c92d26c8a-image.png @CodesInChaoss

                      Why all my KIts' settings get WIPED OUT after the crash?

                      C JoeCFDJ 2 Replies Last reply
                      0
                      • C CodesInChaoss

                        0fb31d8f-f5aa-4aa4-b5be-ec2c92d26c8a-image.png @CodesInChaoss

                        Why all my KIts' settings get WIPED OUT after the crash?

                        C Offline
                        C Offline
                        CodesInChaoss
                        wrote on last edited by
                        #40

                        @CodesInChaoss

                        It's like I'm debugging on V8 ABI, I need 64 bit compiler and QT Creator keeps reverting settings back to 32bit compiled actually messing up with my settings.

                        Now, how a regular developer is even to notice?

                        C 1 Reply Last reply
                        0
                        • C CodesInChaoss

                          @CodesInChaoss

                          It's like I'm debugging on V8 ABI, I need 64 bit compiler and QT Creator keeps reverting settings back to 32bit compiled actually messing up with my settings.

                          Now, how a regular developer is even to notice?

                          C Offline
                          C Offline
                          CodesInChaoss
                          wrote on last edited by
                          #41

                          By the time I reconfigured everything, it turns our Creator is unable to attach due to ADB being in an 'incompatible state. Thus I'm best off restarting the PC...

                          C 1 Reply Last reply
                          0
                          • C CodesInChaoss

                            By the time I reconfigured everything, it turns our Creator is unable to attach due to ADB being in an 'incompatible state. Thus I'm best off restarting the PC...

                            C Offline
                            C Offline
                            CodesInChaoss
                            wrote on last edited by
                            #42

                            otherwise it would just remain stuck at ```
                            D libGRIDNEToken_arm64-v8a.so: QML Debugger: Waiting for connection on port 51672...

                            forever
                            C 1 Reply Last reply
                            0
                            • C CodesInChaoss

                              otherwise it would just remain stuck at ```
                              D libGRIDNEToken_arm64-v8a.so: QML Debugger: Waiting for connection on port 51672...

                              forever
                              C Offline
                              C Offline
                              CodesInChaoss
                              wrote on last edited by CodesInChaoss
                              #43

                              I'm also getting segmentation faults in 'binder:X' threads on UI interactions.

                              Yet again, if I ignore these the app runs FINE.

                              ideas?

                              It's like tapping on an UI element is almost guaranteed to result in such a SigFault.

                              C 1 Reply Last reply
                              0
                              • C CodesInChaoss

                                I'm also getting segmentation faults in 'binder:X' threads on UI interactions.

                                Yet again, if I ignore these the app runs FINE.

                                ideas?

                                It's like tapping on an UI element is almost guaranteed to result in such a SigFault.

                                C Offline
                                C Offline
                                CodesInChaoss
                                wrote on last edited by CodesInChaoss
                                #44

                                @CodesInChaoss said in Unable to debug Android App (Windows + Qt Creator 12 + LLDB):

                                I'm also getting segmentation faults in 'binder:X' threads on UI interactions.

                                Yet again, if I ignore these the app runs FINE.

                                ideas?

                                It's like tapping on an UI element is almost guaranteed to result in such a SigFault.

                                The moment one pastes anything to 9e826d33-8519-41d4-98b8-7c24c76f2c26-image.png

                                QT Creator crashed, Lo and Behold

                                On my way to reconfigure everything anew.

                                this feels like an early Alpha of some wanna-be development framework not something that has been around for many many years.

                                Something I paid for.

                                Ronel_qtmasterR JonBJ 2 Replies Last reply
                                0
                                • C CodesInChaoss

                                  @CodesInChaoss said in Unable to debug Android App (Windows + Qt Creator 12 + LLDB):

                                  I'm also getting segmentation faults in 'binder:X' threads on UI interactions.

                                  Yet again, if I ignore these the app runs FINE.

                                  ideas?

                                  It's like tapping on an UI element is almost guaranteed to result in such a SigFault.

                                  The moment one pastes anything to 9e826d33-8519-41d4-98b8-7c24c76f2c26-image.png

                                  QT Creator crashed, Lo and Behold

                                  On my way to reconfigure everything anew.

                                  this feels like an early Alpha of some wanna-be development framework not something that has been around for many many years.

                                  Something I paid for.

                                  Ronel_qtmasterR Offline
                                  Ronel_qtmasterR Offline
                                  Ronel_qtmaster
                                  wrote on last edited by
                                  #45

                                  @CodesInChaoss I am pretty sure that it is mostly related to the update process

                                  C 1 Reply Last reply
                                  0
                                  • Ronel_qtmasterR Ronel_qtmaster

                                    @CodesInChaoss I am pretty sure that it is mostly related to the update process

                                    C Offline
                                    C Offline
                                    CodesInChaoss
                                    wrote on last edited by CodesInChaoss
                                    #46

                                    @Ronel_qtmaster

                                    yeah sure but for the fact I've wiped out everything QT related.

                                    • QT has been wiped CLEAN the entire QT folder
                                    • everything in AppData QT related WIPED clean as well.
                                    • NDK/ SDK everything installed anew
                                    • same stuff on a fresh VM (like I've explaiend)
                                    1 Reply Last reply
                                    0
                                    • C CodesInChaoss

                                      @CodesInChaoss said in Unable to debug Android App (Windows + Qt Creator 12 + LLDB):

                                      I'm also getting segmentation faults in 'binder:X' threads on UI interactions.

                                      Yet again, if I ignore these the app runs FINE.

                                      ideas?

                                      It's like tapping on an UI element is almost guaranteed to result in such a SigFault.

                                      The moment one pastes anything to 9e826d33-8519-41d4-98b8-7c24c76f2c26-image.png

                                      QT Creator crashed, Lo and Behold

                                      On my way to reconfigure everything anew.

                                      this feels like an early Alpha of some wanna-be development framework not something that has been around for many many years.

                                      Something I paid for.

                                      JonBJ Online
                                      JonBJ Online
                                      JonB
                                      wrote on last edited by JonB
                                      #47

                                      @CodesInChaoss said in Unable to debug Android App (Windows + Qt Creator 12 + LLDB):

                                      Something I paid for.

                                      If you mean you have purchased a commercial licence from TQtC you can raise your issues with them for their attention.

                                      If you are using the free, open source version then that is not available and here we are just other users of Qt like yourself.

                                      C 1 Reply Last reply
                                      0
                                      • JonBJ JonB

                                        @CodesInChaoss said in Unable to debug Android App (Windows + Qt Creator 12 + LLDB):

                                        Something I paid for.

                                        If you mean you have purchased a commercial licence from TQtC you can raise your issues with them for their attention.

                                        If you are using the free, open source version then that is not available and here we are just other users of Qt like yourself.

                                        C Offline
                                        C Offline
                                        CodesInChaoss
                                        wrote on last edited by CodesInChaoss
                                        #48

                                        @JonB

                                        We've bought the 'cheap' startup license or I recall 600USD per year per person.

                                        Now, it does not come with technical support (as it tuned out).

                                        As we've learned the hard way that is.

                                        Now, I've forced GDB manually to neglect any segmentation faults (!!!) and Sig33s (..) by typing the custom arguments to QT Creator by hand as copy-pasting would result it to CRASH.

                                        Now I'm able to debug.. I'm not disturbed by QT's internal segmentation faults... I presume? correct me if I'm wrong

                                        C JonBJ ekkescornerE 3 Replies Last reply
                                        0
                                        • C CodesInChaoss

                                          @JonB

                                          We've bought the 'cheap' startup license or I recall 600USD per year per person.

                                          Now, it does not come with technical support (as it tuned out).

                                          As we've learned the hard way that is.

                                          Now, I've forced GDB manually to neglect any segmentation faults (!!!) and Sig33s (..) by typing the custom arguments to QT Creator by hand as copy-pasting would result it to CRASH.

                                          Now I'm able to debug.. I'm not disturbed by QT's internal segmentation faults... I presume? correct me if I'm wrong

                                          C Offline
                                          C Offline
                                          CodesInChaoss
                                          wrote on last edited by
                                          #49

                                          3059620d-fd45-43b9-b28b-145241b9bf98-image.png

                                          Something I haven't seen for like 4 years

                                          1 Reply Last reply
                                          0

                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved