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

            Bug ID: 501011
           Summary: infinite recursion involving KStatusNotifierItem
    Classification: Frameworks and Libraries
           Product: frameworks-kstatusnotifieritem
           Version: 6.11.0
          Platform: Debian testing
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: alexander.loh...@gmx.de
          Reporter: em...@christoph-lemannczick.de
  Target Milestone: ---

Created attachment 179071
  --> https://bugs.kde.org/attachment.cgi?id=179071&action=edit
gdb backtrace

SUMMARY
An application(OBS) enters infinite recursion involving KStatusNotifierItem
shortly after startup. 

STEPS TO REPRODUCE
The crash happens consistently every time I start the application without any
additional steps.

OBSERVED RESULT
The process opens dbus sockets until it hits the limit for open files and
crashes.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.11.0
Qt Version: 6.7.2
Kernel Version: 6.12.12-amd64 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-4790K CPU @ 4.00GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 970

ADDITIONAL INFORMATION
Issue opened with the application(OBS):
https://github.com/obsproject/obs-studio/issues/11902
Issue opened with Qt: https://bugreports.qt.io/browse/QTBUG-134227

As seen in the stack trace there's an infinite recursion between involving the
following functions:
KStatusNotifierItemPrivate::setLegacySystemTrayEnabled at
./src/kstatusnotifieritem.cpp:1003
KStatusNotifierItemPrivate::registerToDaemon at
./src/kstatusnotifieritem.cpp:940
KStatusNotifierItemPrivate::init at ./src/kstatusnotifieritem.cpp:892
KStatusNotifierItem::KStatusNotifierItem at ./src/kstatusnotifieritem.cpp:63
KDEPlatformSystemTrayIcon::init at
./qt6/src/platformtheme/kdeplatformsystemtrayicon.cpp:304
KDEPlatformSystemTrayIcon::init at
./qt6/src/platformtheme/kdeplatformsystemtrayicon.cpp:301
QSystemTrayIcon::setVisible(bool) at /lib/x86_64-linux-gnu/libQt6Widgets.so.6
QSystemTrayIcon::show at
/usr/include/x86_64-linux-gnu/qt6/QtWidgets/qsystemtrayicon.h:66

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

Reply via email to