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. Got SIGSEGV in QObjectPrivate::addConnection(...) when debug qml
Forum Updated to NodeBB v4.3 + New Features

Got SIGSEGV in QObjectPrivate::addConnection(...) when debug qml

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 3 Posters 927 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.
  • W Offline
    W Offline
    wzj1695224
    wrote on last edited by
    #1

    I have a very complicated Qt Quick 2 program, and it run normally. But when I try to debug it, Qt Creator alert SIGSEGV in QObjectPrivate::addConnection(...), what is wrong with that?

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

      Very difficult to predict what is the issue. It may be failing when connections are made between objects. Either it may be a issue of connections you r trying to create in qml or connect in backend using connect method. If you are exposing the object to qml just see whether it is still valid object at qml side.

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

      1 Reply Last reply
      4
      • S Offline
        S Offline
        Slv007
        wrote on last edited by
        #3

        Try to debug with lower version of Qt, 5.6 for example. Because with Qt 5.8 I got crash on app start, from logs it shows that something wrong with bindings (my app runs without crash on Qt 5.6)

        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