macOS: crash (EXC_BAD_ACCESS) in queued QtNetwork event after network change on DarkWake

Abierto
#12,674 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
cpp
Área
desktop

Línea de trabajo

Start by reviewing the supplied crash stacks and unified log timeline, then trace the QtNetwork event handling and request cancellation paths triggered by a network change during DarkWake. The report identifies no source files or tests, so locating the relevant code will require familiarity with the client and Qt event handling. Done means the client survives the reported network change, reconnects, and resumes syncing.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Pre-submission Checks
  • I checked for similar issues, but could not find any. I also checked the closed issues. I could not contribute additional information to any existing issue.
  • I will take the time to fill in all the required fields. I know that the bug report may be dismissed otherwise due to lack of information.
Describe the bug

owncloud-crash-ips.zip

The client crashes reproducibly ~150-250 ms after macOS reports a network change during a DarkWake (Power Nap / maintenance wake). Three crashes (2 Breakpad minidumps, 1 macOS .ips) show the identical faulting location:

QtCore +0xde958 <- EXC_BAD_ACCESS / KERN_INVALID_ADDRESS (0x427, 0x106, 0xac)
QtNetwork +0xb9274
QtCore QObject::event
QtWidgets QApplication::notify
QtCore QCoreApplicationPrivate::sendPostedEvents
libqcocoa / CFRunLoop / NSApplication event loop

The varying small fault addresses suggest a queued (posted) event delivered to a network object that has already been destroyed, likely when in-flight requests are aborted on interface change.

Timeline from unified log (2026-10-27):
07:18:08.915 powerd: DarkWake from Deep Idle
07:18:09.244 configd: DHCP en4/en5/en6/bridge0 status = 'network changed'
07:18:09.410 owncloud crash, crash reporter launched
12:59:00.590 powerd: DarkWake from Deep Idle (rtc/Maintenance)
12:59:00.847 configd: 'network changed'
12:59:01.081 owncloud crash

The 2026-10-21 crash (.ips) has the same stack and occurred 207 s after wake.

Expected behavior

The client should survive a network interface change during a macOS DarkWake (Power Nap / maintenance wake). In-flight requests may be aborted, but the client should keep running, reconnect once the network is available again, and resume syncing without user intervention.

Steps to reproduce the issue

Let the Mac sleep with the client running and syncing; crash happens on a background wake / network interface change.

Screenshots

No response

Logs

No response

Client version number

Client: 7.1.1.19543 (Qt 6.8.3), macOS arm64, build 26A434

Desktop environment (Linux only)

No response

Client package version and origin (Linux only)

No response

Installation path (Windows only)

No response

Server information

Server: oCIS, 18 spaces synced, VFS off

Additional context

Two Breakpad minidumps of the same crash (2026-10-27 07:18 and 12:59) are available. As they contain process memory, I can provide them privately on request.

Lenguaje dominante
C++
Estrellas
1.5k
Forks
695
Merge medio
8 d 7 h
PR fusionados (30 d)
6

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de owncloud/client

Todos los issues de owncloud/client

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.