| Summary: | Ktorrent crash when trying to play media | ||
|---|---|---|---|
| Product: | [Applications] ktorrent | Reporter: | Rene Horn <the.rhorn> |
| Component: | general | Assignee: | Joris Guisson <joris.guisson> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | Keywords: | drkonqi |
| Priority: | NOR | ||
| Version First Reported In: | 24.05.2 | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/network/ktorrent/-/commit/6ffed4d673b77f20050aa9511fb03062ca1267d1 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | https://crash-reports.kde.org/organizations/kde/issues/49877/events/43d56ff86b064db6b289a24ca0fc6699/ | ||
|
Description
Rene Horn
2024-07-21 18:03:57 UTC
Git commit 6ffed4d673b77f20050aa9511fb03062ca1267d1 by Jack Hill. Committed on 17/08/2024 at 11:50. Pushed by jackh into branch 'master'. Fix crash when video widget closes show_video_action::toggled is connected to showVideo, which calls closeVideo. So when we set show_video_action::checked in closeVideo, this caused closeVideo to be called recursively. Then we set video to be a nullptr and return back to the first calling of closeVideo. Then we try to dereference video again, which results in a crash. The video widget still crashes for me anyway, but now due to the phonon-vlc backend. M +2 -2 plugins/mediaplayer/mediaplayeractivity.cpp https://invent.kde.org/network/ktorrent/-/commit/6ffed4d673b77f20050aa9511fb03062ca1267d1 |