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
Forum Updated to NodeBB v4.3 + New Features

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.3k Views 1 Watching
  • 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 Offline
    Y Offline
    yccamel
    wrote on 19 Jan 2017, 07:08 last edited by
    #1

    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?

    J 1 Reply Last reply 19 Jan 2017, 07:13
    0
    • Y yccamel
      19 Jan 2017, 07:08

      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?

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 19 Jan 2017, 07:13 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 19 Jan 2017, 08:34
      1
      • J jsulm
        19 Jan 2017, 07:13

        @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 19 Jan 2017, 08:34 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
        • J jsulm
          19 Jan 2017, 07:13

          @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 19 Jan 2017, 09:07 last edited by
          #4

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

          J 1 Reply Last reply 19 Jan 2017, 09:12
          0
          • Y yccamel
            19 Jan 2017, 09:07

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

            J Offline
            J Offline
            jsulm
            Lifetime Qt Champion
            wrote on 19 Jan 2017, 09:12 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 19 Jan 2017, 10:04 last edited by
              #6

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

              J 1 Reply Last reply 19 Jan 2017, 10:09
              0
              • Y yccamel
                19 Jan 2017, 10:04

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

                J Offline
                J Offline
                jsulm
                Lifetime Qt Champion
                wrote on 19 Jan 2017, 10:09 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 20 Jan 2017, 03:46
                0
                • J jsulm
                  19 Jan 2017, 10:09

                  @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 20 Jan 2017, 03:46 last edited by
                  #8

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

                  J 1 Reply Last reply 20 Jan 2017, 05:22
                  0
                  • Y yccamel
                    20 Jan 2017, 03:46

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

                    J Offline
                    J Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on 20 Jan 2017, 05:22 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 22 Jan 2017, 06:23
                    0
                    • J jsulm
                      20 Jan 2017, 05:22

                      @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 22 Jan 2017, 06:23 last edited by
                      #10

                      @jsulm ok,I will try it,thanks.

                      Y 1 Reply Last reply 22 Jan 2017, 06:30
                      0
                      • Y yccamel
                        22 Jan 2017, 06:23

                        @jsulm ok,I will try it,thanks.

                        Y Offline
                        Y Offline
                        yccamel
                        wrote on 22 Jan 2017, 06:30 last edited by
                        #11

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

                        1 Reply Last reply
                        0
                        • P Offline
                          P Offline
                          p3c0
                          Moderators
                          wrote on 22 Jan 2017, 06:33 last edited by
                          #12

                          @yccamel yes. 2 for error and 1 otherwise

                          157

                          1 Reply Last reply
                          0

                          8/12

                          20 Jan 2017, 03:46

                          • Login

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