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. Qt program based on linux 3.12.10 quit on arm am335x board quit after running for some days
QtWS25 Last Chance

Qt program based on linux 3.12.10 quit on arm am335x board quit after running for some days

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
12 Posts 3 Posters 2.2k 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.
  • Y yccamel

    Qt program based on linux 3.12.10 quit on arm am335x board quit after running for some days,and i donnot gather any infomations.This happend on 3 am335x boards but other am335x boards are running normaly. My qt version is 4.8.5, have anyone happend similar problem?

    jsulmJ Offline
    jsulmJ Offline
    jsulm
    Lifetime Qt Champion
    wrote on last edited by
    #2

    @yccamel With such a description it is just impossible to say why it crashed.
    Is there any error message?
    Did you check the system logs (dmesg)?
    Does your app print any messages/logs?
    Is there a core dump?

    https://forum.qt.io/topic/113070/qt-code-of-conduct

    Y 2 Replies Last reply
    1
    • jsulmJ jsulm

      @yccamel With such a description it is just impossible to say why it crashed.
      Is there any error message?
      Did you check the system logs (dmesg)?
      Does your app print any messages/logs?
      Is there a core dump?

      Y Offline
      Y Offline
      yccamel
      wrote on last edited by
      #3

      @jsulm The coredump was not enabled and I do not see the dmesg.
      Now i enable the coredump and wait for the problem happen.

      1 Reply Last reply
      0
      • jsulmJ jsulm

        @yccamel With such a description it is just impossible to say why it crashed.
        Is there any error message?
        Did you check the system logs (dmesg)?
        Does your app print any messages/logs?
        Is there a core dump?

        Y Offline
        Y Offline
        yccamel
        wrote on last edited by
        #4

        @jsulm the QT do not report any error and just quit.

        jsulmJ 1 Reply Last reply
        0
        • Y yccamel

          @jsulm the QT do not report any error and just quit.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #5

          @yccamel You mean your app just closes? Without any error messages? Then maybe this is "normal" program termination because it finished? I don't know how and when you app exits, so I have no idea.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • Y Offline
            Y Offline
            yccamel
            wrote on last edited by
            #6

            yes, no any errors.It should not terminate, it should run for ever. so it quit abnormality.

            jsulmJ 1 Reply Last reply
            0
            • Y yccamel

              yes, no any errors.It should not terminate, it should run for ever. so it quit abnormality.

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #7

              @yccamel How do you start it? If you start it manually in a console then you should see an error message there if it crashes (SIGSEGV for example).

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              Y 1 Reply Last reply
              0
              • jsulmJ jsulm

                @yccamel How do you start it? If you start it manually in a console then you should see an error message there if it crashes (SIGSEGV for example).

                Y Offline
                Y Offline
                yccamel
                wrote on last edited by
                #8

                @jsulm I start it in a script automatically when the linux startup.

                jsulmJ 1 Reply Last reply
                0
                • Y yccamel

                  @jsulm I start it in a script automatically when the linux startup.

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #9

                  @yccamel You can redirect the standard output and standard error output in a file when starting your app in that script.

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  Y 1 Reply Last reply
                  0
                  • jsulmJ jsulm

                    @yccamel You can redirect the standard output and standard error output in a file when starting your app in that script.

                    Y Offline
                    Y Offline
                    yccamel
                    wrote on last edited by
                    #10

                    @jsulm ok,I will try it,thanks.

                    Y 1 Reply Last reply
                    0
                    • Y yccamel

                      @jsulm ok,I will try it,thanks.

                      Y Offline
                      Y Offline
                      yccamel
                      wrote on last edited by
                      #11

                      @yccamel how do it? myapp 2>error.txt,liks this?

                      1 Reply Last reply
                      0
                      • p3c0P Offline
                        p3c0P Offline
                        p3c0
                        Moderators
                        wrote on last edited by
                        #12

                        @yccamel yes. 2 for error and 1 otherwise

                        157

                        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