Skip to content

[stable-34.0] Prevent crash on wake (Ticket#96101255)#10294

Merged
i2h3 merged 1 commit into
stable-34.0from
backport/10290/stable-34.0
Jul 2, 2026
Merged

[stable-34.0] Prevent crash on wake (Ticket#96101255)#10294
i2h3 merged 1 commit into
stable-34.0from
backport/10290/stable-34.0

Conversation

@backportbot

@backportbot backportbot Bot commented Jul 2, 2026

Copy link
Copy Markdown

Backport of PR #10290

The tray window loads avatars and file previews over the network. When
the Mac wakes from sleep, the client resets the account's network manager,
which threw away the in-flight image download. The image-loading thread
then tried to read that already-deleted download and crashed.
Keep the network manager alive until the image request finishes, and clean
up the download afterwards, so nothing is read after it's gone.
Fixes the SIGSEGV in AsyncImageResponse::processNetworkReply reported on
33.0.7 (crash ~5s after wake from sleep).

Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@backportbot backportbot Bot requested a review from i2h3 July 2, 2026 14:57
@backportbot backportbot Bot added bug os: 🍎 macOS Apple macOS, formerly also known as OS X feature: ☁️ GUI System tray icon and menu. 3. to review labels Jul 2, 2026
@backportbot backportbot Bot added this to the 34.0.0 milestone Jul 2, 2026
@backportbot backportbot Bot added feature: ☁️ GUI System tray icon and menu. 3. to review labels Jul 2, 2026
@sonarqubecloud

sonarqubecloud Bot commented Jul 2, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
3 New Code Smells (required ≤ 0)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@i2h3 i2h3 merged commit fa1336b into stable-34.0 Jul 2, 2026
18 of 21 checks passed
@i2h3 i2h3 deleted the backport/10290/stable-34.0 branch July 2, 2026 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review bug feature: ☁️ GUI System tray icon and menu. os: 🍎 macOS Apple macOS, formerly also known as OS X

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant