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

            Bug ID: 523761
           Summary: libktorrent segfault on authenticationFinished
    Classification: Applications
           Product: ktorrent
      Version First unspecified
       Reported In:
          Platform: EndeavourOS
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

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

STEPS TO REPRODUCE
1. Run ktorrent
2. Get lucky and it will crash in 13m 45s

OBSERVED RESULT
In `void PeerConnector::Private::authenticationFinished(Authenticate *auth,
bool ok)`
`this->auth.clear();` is trying to clear a QPointer<Authenticate> and ends up
in a segfault

EXPECTED RESULT
no segfault

SOFTWARE/OS VERSIONS
ktorrent 6d56c394e79e3332af014b0f6215ec1988379aa0
libktorrent e5636364de1642f222528c3e16b849b55843ce70
KDE Plasma Version: 6.7.3
KDE Frameworks Version: 6.28.0
Qt Version: 6.11.1
Kernel Version: 7.1.5-arch1-1 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
QPointer::clear() is not supposed to be dangerous.
The only way this makes sense to me is that if the `this` instance of
`PeerConnector::Private` no longer exists.

Feel free to "RESOLVE" if this doesn't give any useful info. I wish I had asan
enabled at this moment, as I am unable to recreate it.

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

Reply via email to