https://bugs.kde.org/show_bug.cgi?id=356940

--- Comment #9 from Peter Wu <pe...@lekensteyn.nl> ---
Created attachment 100759
  --> https://bugs.kde.org/attachment.cgi?id=100759&action=edit
debugging patch

Adding David since he introduced the fix that is referenced in the breeze code:

commit 2ffe20e1bfe93c921c5372b4d21447b1de308d4b
Author: David Faure <fa...@kde.org>
Date:   Sat Jun 7 14:57:29 2014 +0200

    Fix crash on exit in all QCommandLineParser-based programs.

    Example: kioclient5 ls  (= a syntax error).

    The issue is that ::exit(1) is called, so ~QGuiApplication isn't called
    (so the style isn't deleted), but global static objects are deleted,
    which deletes the style-plugin-factory, which unloads the style plugin.

    The crash happened because "AppEventFilter" in oxygen would still be
    installed as an app event filter, but the plugin was unloaded, so any
    calls to it would crash.

If I disable the delete hack or avoid calling delete for the second attempt
(likely wrong approach...), then the crash is gone. Was this a workaround for a
specific Qt version?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to