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. Qt6 App craches on Yocto running on RaspberryPi when no USB input device is detected
QtWS25 Last Chance

Qt6 App craches on Yocto running on RaspberryPi when no USB input device is detected

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 152 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.
  • Z Offline
    Z Offline
    Zapfyr
    wrote on last edited by
    #1

    Hi,

    We have a Qt6 application that shall not have any input. When we run it on our Yocto-built image on a RaspberryPi 3b or RaspberryPi CM4 the application crashes:
    May 08 11:50:22 raspberrypi3 systemd[1]: app.service: Main process exited, code=killed, status=11/SEGV
    May 08 11:50:22 raspberrypi3 systemd[1]: app.service: Failed with result 'signal'.
    May 08 11:50:22 raspberrypi3 systemd[1]: app.service: Scheduled restart job, restart counter is at 5.
    May 08 11:50:22 raspberrypi3 systemd[1]: Stopped Boot to Qt Startup Screen.
    May 08 11:50:22 raspberrypi3 systemd[1]: app.service: Start request repeated too quickly.
    May 08 11:50:22 raspberrypi3 systemd[1]: app.service: Failed with result 'signal'.
    May 08 11:50:22 raspberrypi3 systemd[1]: Failed to start Boot to Qt Startup Screen.

    As soon as we connect a USB keyboard/mouse/headphones or similar and restarts the service running the app it starts without any issues.

    We run wayland/weston.

    How do we debug this?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      I would start by checking if there's a service related to the keyboard and the constraints it may have.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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