Desktop crashes on launch: undefined is not an object (evaluating 'e.participantPubkeys.map')
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ó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 74/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- desktop
Hướng nghiên cứu
Bắt đầu trong desktop/src/shared/api/tauriChannels.ts, sau đó lần theo participantPubkeys qua features/sidebar/lib/channelLabels.ts và useDmSidebarMetadata. Tái hiện đường đi với một bản ghi DM không có participant_pubkeys và xác minh rằng thanh bên trên desktop được hiển thị thay vì bị crash, bao gồm cả các kênh DM có tên chung.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What happens
Buzz Desktop crashes on launch with the full-window error screen:
Something went wrong!
undefined is not an object (evaluating 'e.participantPubkeys.map')
The app is unusable — the sidebar never renders. Managed agents keep running in the background, but there is no way to reach the UI.
Versions
- Buzz Desktop 0.5.23 (crash) → updated to 0.5.25 (still crashes)
- macOS 15 (Darwin 24.6.0), Apple Silicon
Likely cause
A DM channel record arrives without participant_pubkeys, and desktop/src/shared/api/tauriChannels.ts maps it straight through:
participantPubkeys: channel.participant_pubkeys,
resolveChannelDisplayLabel (features/sidebar/lib/channelLabels.ts) and useDmSidebarMetadata then call .map() on undefined for any channelType === "dm" channel with a generic name.
This is exactly what #7263 ("default participantPubkeys to [] when relay omits it") fixes — the same fallback member_pubkeys already has. That PR was closed on 2026-09-02 without merging, so the crash is still in 0.5.25. Malformed DM records like this are plausibly produced by #6027 / #6206 (DMs shipping with zero p-tags).
The mobile app loads the same account fine, so only the desktop is affected.
Ask
Could #7263 (or an equivalent ?? [] fallback) be reopened and shipped? Right now one malformed record on the relay takes the whole desktop client down with no in-app way to recover.
- Ngôn ngữ chính
- Rust
- Star
- 36.2k
- Fork
- 4.8k
- Merge trung bình
- 1 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 258
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của block/buzz
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
block/buzz#8492 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Mobile: show Topic, then Purpose, when a channel has no DescriptionCó thể đã có người làm @chkdesign đã nhận 5 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
bug easy good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
lacs-project/sysknife#659 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
E_FIT_INPUT_MISSING (mixture overrides): the message says ferx-r bundles lack mixture_overridesĐang mởP3
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 83/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Document multi-value claims with rowBoundaries operator:in (and their per-record application)Đang mởdocumentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
registrystack/registry-stack#2431 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
contribution
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
farion1231/cc-switch#8863 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày