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 crashs on Raspberry with Touchscreen
Forum Updated to NodeBB v4.3 + New Features

Qt crashs on Raspberry with Touchscreen

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 3 Posters 874 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.
  • M Offline
    M Offline
    maxwell31
    wrote on last edited by
    #1

    Hi,

    I have a Adafruit 2.8" 320x240 capacitive display running on a raspberry 3, Raspian Jessie. I have a simple test program consisting of one slider, but my program crashs after I touch the screen several times. Here is the trace:

    TouchPointPressed without previous release event QQuickEventPoint(accepted:false state:Pressed scenePos:QPointF(167.475,214.104) id:3000002 timeHeld:0)
    TouchPointPressed without previous release event QQuickEventPoint(accepted:false state:Pressed scenePos:QPointF(229.281,202.154) id:3000002 timeHeld:0)
    
    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0x72e90440 (LWP 885)]
    0x75e823d0 in QMapDataBase::rebalance(QMapNodeBase*) ()
    from /usr/local/qt5pi/lib/libQt5Core.so.5
    (gdb) where
    #0  0x75e823d0 in QMapDataBase::rebalance(QMapNodeBase*) ()
    from /usr/local/qt5pi/lib/libQt5Core.so.5
    #1  0x75e82a28 in QMapDataBase::createNode(int, int, QMapNodeBase*, bool) ()
    from /usr/local/qt5pi/lib/libQt5Core.so.5
    #2  0x7682fc48 in QWindowSystemInterfacePrivate::fromNativeTouchPoints(QList<QWindowSystemInterface::TouchPoint> const&, QWindow const*, unsigned char, QEvent::Type*) () from /usr/local/qt5pi/lib/libQt5Gui.so.5
    #3  0x7250aaf0 in ?? ()
    Backtrace stopped: previous frame identical to this frame (corrupt stack?)
    

    What can I do?

    1 Reply Last reply
    0
    • P Offline
      P Offline
      pets
      wrote on last edited by
      #2

      It's best to post a bug report (including example code) here: https://bugreports.qt.io

      1 Reply Last reply
      0
      • M Offline
        M Offline
        maxwell31
        wrote on last edited by
        #3

        Ok, I made a bug report. Does someone else experience the same issue?

        1 Reply Last reply
        0
        • Cleiton BuenoC Offline
          Cleiton BuenoC Offline
          Cleiton Bueno
          wrote on last edited by
          #4

          Have you set up any environment variable for Qt? Some like this link
          https://doc.qt.io/qt-5/embedded-linux.html#touch

          From an ls -l in /dev/input and place the output here.


          Cleiton Bueno

          Blog | Linkedin | B2Open

          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