https://bugs.kde.org/show_bug.cgi?id=500570
--- Comment #51 from Michael Miller <michael_mil...@msn.com> --- (In reply to Maik Qualmann from comment #50) > @Andy, thanks that helps. > > @Michael, it crashes on "delete package;". Before that we have a signal/slot > connection without specifying the connection. That means that if Qt detects > it between different threads, Qt::QueuedConnection is used. This is executed > when the event loop is free again, which means that "package" is still used > if it has already been deleted. We need something like deleteLater() here if > package is a QObject. > > Maik Maik, I don't understand why it's crashing. The package isn't used after the delete. The only think I can think of is the QStrings passed to notify are passed as const &, so maybe the internal QString reference count isn't getting updated? Can you look at mlpipelinefoundation.cpp starting at line 607, and mlpipelinepackagenotify.cpp MLPipelinePackageNotify constructors starting at line 21 to see if I'm doing something wrong with the ::Ptr shared data? Cheers, Mike -- You are receiving this mail because: You are watching all bug changes.