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

            Bug ID: 401690
           Summary: NotificationsPlugin can crash kdeconnect because it
                    can have too many open file descriptors
           Product: kdeconnect
           Version: 1.10
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: android-application
          Assignee: albertv...@gmail.com
          Reporter: e.duiste...@gmail.com
  Target Milestone: ---

Created attachment 116646
  --> https://bugs.kde.org/attachment.cgi?id=116646&action=edit
Logcat output

SUMMARY

When the NotificationsPlugin sends the current list of notifications to the
desktop it can run into a situation where kde_connect is killed because it has
run out of file descriptors

STEPS TO REPRODUCE

1. On android unpair kdeconnect from desktop
2. Generate a huge amount of notifications (50 or more)
3. Pair with desktop

OBSERVED RESULT

kdeconnect crashes due to too many open files error

EXPECTED RESULT

All notifications are send to the desktop without crashing kdeconnect

SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

Reproducing this problem is easy using the emulator and using the attached
script "send_sms" to generate the required number of notifications. To get the
emulator up and running see: 
https://community.kde.org/KDEConnect/Android_Emulator

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

Reply via email to