Skip to content

seqfault in #define QF_WRAPPER_CONNECT(method, checker) #4

@swex

Description

@swex

Hi thank you for useful lib. Trying to use it in my application. And got crash in

    QF_WRAPPER_CONNECT(onFinished, isFinished)

I can see in debugger that watcher is null, when it funished signal emmited don't know how its possible.
It probably related to next scenario:
0. StackView, with single Item

  1. Somewhere in that page I'm calling QFuture slot and wrapping it with Future.onFinished
  2. I'm going out of that page (replacing it with another) while QFuture thread still running
  3. Page probably deleted with qquick GC
  4. After QFuture finished some strange thing happend I've got crash in qfvariantwrapper.h

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions