Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QScxmlStateMachine::connectToState leak
Forum Updated to NodeBB v4.3 + New Features

QScxmlStateMachine::connectToState leak

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 315 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.
  • A Offline
    A Offline
    Andreas Schacherbauer
    wrote on last edited by
    #1

    Hi, we observed a potential memory leak coming from QScxmlStateMachine::connectToState. Are there any specific API calls to make in order to prevent this from happening?
    The state machine is initialized, started, setRunning and stopped.

    Thx
    Andi

    JonBJ 1 Reply Last reply
    0
    • A Andreas Schacherbauer

      Hi, we observed a potential memory leak coming from QScxmlStateMachine::connectToState. Are there any specific API calls to make in order to prevent this from happening?
      The state machine is initialized, started, setRunning and stopped.

      Thx
      Andi

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @Andreas-Schacherbauer
      Did you use a tool like valgrind to try to pinpoint the leak?

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Andreas Schacherbauer
        wrote on last edited by
        #3

        Hi @JonB ,we used ASAN with leak detection enabled. I will give it a try with valgrind.

        JonBJ 1 Reply Last reply
        0
        • A Andreas Schacherbauer

          Hi @JonB ,we used ASAN with leak detection enabled. I will give it a try with valgrind.

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #4

          @Andreas-Schacherbauer
          Whichever, I think we are looking for more of a clue as to what exactly in QScxmlStateMachine you are suspecting.

          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