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

Đang mở
#12,674 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp
Lĩnh vực
desktop

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
C++
Star
1.5k
Fork
695
Merge trung bình
8 ngày 7 giờ
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của owncloud/client

Tất cả issue của owncloud/client

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.