https://bugs.kde.org/show_bug.cgi?id=363753
--- Comment #45 from Yichao Yu <yyc1...@gmail.com> --- > Maybe that has to do with the kind of signals we're connecting to but I don't > understand how this could happen. I don't see how QtCurve could be unloaded > without calling the Style dtor; dlclose'ing it seems certainly something that > shouldn't be happening in normal applications while they are still running. I just tested it and it seems to still happen on 17.04 It can be triggered by any programes I've tested that end up not showing a UI by itself `konsole --help` for example. > I've never seen that kind of crash happen with the attached patch but I would > guess it must be something else that we should be able to address more > properly than with the current cleanup callbacks. Clearly Breeze and Oxygen > aren't affected so it must be possible. It'll be strictly worse for the case I described though might be better at working around the Qt bug. > There's always the possibility of storing the plugin instance in each Style > instance, and maintaining a list of Style instances in each plugin instance. > If the Style dtor tells its plugin instance to remove it the plugin dtor can > know if there are still "open" Style instances and delete those first. I > think that's cleaner (and easier to debug!) than the current approach with a > closure (lambda). I believe that's effectly the same. The closure isn't what's causing the crash. -- You are receiving this mail because: You are watching all bug changes.