Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[Bug]: Linux (Ubuntu 26.04, KDE): SIGABRT in GTK size negotiation when clicking "Open Defguard" (2.1.2)

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

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

@filipslezaklab đang làm issue này rồi.

Từ ngày 19/10/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

bug
Summary

On Linux, the compact tray window opens and works normally. Clicking "Open Defguard" to switch to the full window crashes the whole application with SIGABRT.

The abort is raised from g_assertion_message_error inside libgtk-3, during gtk_widget_show → gtk_widget_realize → recursive gtk_widget_get_preferred_height* (size negotiation). It is triggered from the main thread in defguard-client code, so it looks like an assertion hit while the full window is being shown/realized.

Steps to reproduce
  1. Start defguard-client (tray icon appears).
  2. Open the compact tray window. It displays and works correctly.
  3. Click "Open Defguard".
  4. The application aborts immediately (the process disappears and systemd-coredump records a core dump).
Expected behavior

The full window opens when clicking on "Open Defguard"

Actual behavior

Signal: 6 (ABRT), process dumped core when clicking on "Open Defguard"

Defguard version

Defguard client: defguard-client 2.1.2 (435d772), Installation method: .deb

Environment details

Defguard Core version: 2.0.2. Ubuntu 26.04, Desktop: KDE Plasma (kde-gtk-config 6.6.4), session type: Wayland / X11

Deployment / install method

Standalone packages

Relevant logs / output
PID: 1427157 (defguard-client)
        Signal: 6 (ABRT)
     Timestamp: Mon 2026-10-19 11:43:01 +04
  Command Line: /usr/bin/defguard-client
    Executable: /usr/bin/defguard-client
      Message: Process 1427157 (defguard-client) of user 1000 dumped core.

Stack trace of thread 1427157 (main thread):
 #0  __pthread_kill_implementation (libc.so.6 + 0xa61ac)
 #1  __GI_raise (libc.so.6 + 0x45b7e)
 #2  __GI_abort (libc.so.6 + 0x288ec)
 #3  n/a (libglib-2.0.so.0 + 0x21138)
 #4  g_assertion_message_error (libglib-2.0.so.0 + 0x947b2)
 #5  n/a (libgtk-3.so.0 + 0x1d9469)
 #6  n/a (libgtk-3.so.0 + 0x1d97de)
 #7  n/a (libgtk-3.so.0 + 0x1d9b2b)
 #8  n/a (libgtk-3.so.0 + 0x1ed2a3)
 ...
 #13 gtk_widget_get_preferred_height_and_baseline_for_width (libgtk-3.so.0 + 0x2bdcac)
 ...
 #24 gtk_widget_get_preferred_height (libgtk-3.so.0 + 0x2bda39)
 ...
 #37 gtk_widget_get_preferred_height_and_baseline_for_width (libgtk-3.so.0 + 0x2bdcac)
 #38 n/a (libgtk-3.so.0 + 0x2bde0b)
 #39 n/a (libgtk-3.so.0 + 0x395c3f)
 #40 n/a (libgtk-3.so.0 + 0x3999ed)
 #41 n/a (libgtk-3.so.0 + 0xc7804)
 #42 g_closure_invoke (libgobject-2.0.so.0 + 0x1668c)
 ...
 #45 g_signal_emit_valist (libgobject-2.0.so.0 + 0x36dc8)
 #46 g_signal_emit (libgobject-2.0.so.0 + 0x36e83)
 #47 gtk_widget_realize (libgtk-3.so.0 + 0x377a60)
 #48 n/a (libgtk-3.so.0 + 0x39b30d)
 #49 g_closure_invoke (libgobject-2.0.so.0 + 0x1668c)
 ...
 #53 g_signal_emit (libgobject-2.0.so.0 + 0x36e83)
 #54 gtk_widget_show (libgtk-3.so.0 + 0x3784ee)
 #55 n/a (/usr/bin/defguard-client + 0x1173ee5)
 #56 n/a (libglib-2.0.so.0 + 0x60c1b)
 #57 n/a (libglib-2.0.so.0 + 0x62257)
 #58 g_main_context_iteration (libglib-2.0.so.0 + 0x62443)
 #59 gtk_main_iteration_do (libgtk-3.so.0 + 0x20fd2d)
 #60 n/a (/usr/bin/defguard-client + 0x11175a2)
Relevant configuration (redacted)

Ngôn ngữ chính
Rust
Star
370
Fork
41
Merge trung bình
15 giờ 47 phút
Pull request đã merge (30 ngày)
47

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

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

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 DefGuard/client

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

Issue tương tự

Thêm issue về Rust

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.