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

            Bug ID: 405702
           Summary: kdeconnectd crashes if Android permissions are changed
                    while devices are un-paired
           Product: kdeconnect
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: common
          Assignee: albertv...@gmail.com
          Reporter: si...@ergotech.com
                CC: nicolas.fe...@gmx.de, si...@ergotech.com
  Target Milestone: ---

SUMMARY
kdeconnectd crashes when the daemon is paired to Android, some permissions are
granted to the Android app, then the devices are unpaired, some permissions are
revoked, and the devices are re-paired.

STEPS TO REPRODUCE
1. Pair Android and desktop
2. Grant at least one permission to Android app (it does not seem to matter
which)
3. Un-pair the phone and the desktop (do *not* kill the running kdeconnectd)
4. Go to Android settings and revoke at least one permission
5. Re-pair Android and desktop

OBSERVED RESULT
kdeconnectd crashes with an error message along the lines of:
sock_file=/run/user/1000/kdeinit5__0
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...                 
QSocketNotifier: Invalid socket 11 and type 'Read', disabling...                
QSocketNotifier: Invalid socket 10 and type 'Read', disabling...                
QSocketNotifier: Invalid socket 15 and type 'Read', disabling...

EXPECTED RESULT
kdeconnectd should not crash

SOFTWARE/OS VERSIONS
Windows: Untested
Linux/KDE Plasma: Fedora 29
KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.55.0
Qt Version: 5.11.3

ADDITIONAL INFORMATION
Intially reported here:
https://invent.kde.org/kde/kdeconnect-kde/commit/74ba660cad19fd47589018e6cde3dfeda012d6f2
but does not appear to have to do with that commit. If I disable the
questionable code from that commit, the crash still happens.

It does not seem to matter which permissions are granted, any single one being
revoked causes the crash for me.

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

Reply via email to