Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Hi Qt embedded Application is getting crashed.
Forum Updated to NodeBB v4.3 + New Features

Hi Qt embedded Application is getting crashed.

Scheduled Pinned Locked Moved Solved QML and Qt Quick
6 Posts 3 Posters 752 Views 2 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.
  • K Offline
    K Offline
    Kadappa
    wrote on last edited by
    #1

    Hi,

    I am working embedded application(yocto linux 32 arm gcc).

    My application is getting crashed after some operations. After Back trace, it is pointing at 0x764f5818 in ?? () from /usr/lib/libQt5Qml.so.5 . I am anticipating it is because of qml since it is pointing at libQt5Qml.so.5 . I am using loader in qml. Please can anybody help me on this.

    Regards,
    Kadappa Pujari.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      You need to provide far more information:

      • which Qt version?
      • does it also crash when you run your app on desktop?
      • what does debugger / valgrind / address sanitizer tell you about the crash?
      • have you tried simplifying the code, running a minimal sample app to verify that it works correctly?

      (Z(:^

      1 Reply Last reply
      4
      • K Offline
        K Offline
        Kadappa
        wrote on last edited by
        #3

        Qt version is 5.12.3
        No It will not crash on desktop. It crashes on embedded device.
        Below is Back trace about crash.
        [Thread debugging using libthread_db enabled]
        Using host libthread_db library "/lib/libthread_db.so.1".
        Core was generated by `./Source -platform eglfs'.
        Program terminated with signal SIGSEGV, Segmentation fault.
        #0 0x6294a240 in ?? ()
        [Current thread is 1 (Thread 0x73492010 (LWP 1362))]
        (gdb) bt
        #0 0x6294a240 in ?? ()
        #1 0x764cc818 in ?? () from /usr/lib/libQt5Qml.so.5
        Backtrace stopped: previous frame identical to this frame (corrupt stack?)
        (gdb)

        have you tried simplifying the code, running a minimal sample app to verify that it works correctly? Yes I have tried it is working fine.

        1 Reply Last reply
        0
        • dheerendraD Offline
          dheerendraD Offline
          dheerendra
          Qt Champions 2022
          wrote on last edited by
          #4

          Hope Qt version on the host & what you have embedded system are same. Ensure that version matches.

          Dheerendra
          @Community Service
          Certified Qt Specialist
          http://www.pthinks.com

          1 Reply Last reply
          1
          • sierdzioS Offline
            sierdzioS Offline
            sierdzio
            Moderators
            wrote on last edited by
            #5

            That stack trace does not say much. Try compiling your code with address sanitizer, it should print a better stack trace and crash info.

            If possible, upgrade Qt to newest version (in 5.12 branch that's 5.12.6), perhaps it is a bug in Qt and is already fixed.

            (Z(:^

            1 Reply Last reply
            3
            • K Offline
              K Offline
              Kadappa
              wrote on last edited by
              #6

              Thanks Dheerendra and sierdzio. Issue is resolved.

              @sierdzio , yes you are correct, it is Qt issue in libQt5Qml.so.5.12.3 and it is fixed in libQt5Qml.so.5.12.5.

              Thanks,
              Kadappa Pujari

              1 Reply Last reply
              1

              • Login

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