[grisbi-bugs] [Grisbi 0002270]: Question about wayland support (gdk_set_allowed_backends)

Grisbi Bug Tracker bugtracker at grisbi.org
Lun 9 Juin 18:05:55 CEST 2025


A NOTE has been added to this issue.

---------------------------------------------------------------------- 
 (0007248) LudovicRousseau (administrator) - 2025-06-09 18:05
 https://www.grisbi.org/bugsreports/view.php?id=2270#c7248 
---------------------------------------------------------------------- 
I still get the crash even with gdk_set_allowed_backends ("wayland,x11");

- launch Grisbi
- open a Grisibi account file
- open the Preferences

I have no crash if I open the Preferences with NO account file opened.

The gdb trace is:
(grisbi:21950): Gdk-CRITICAL **: 18:04:49.528: gdk_window_get_display: assertion
'GDK_IS_WINDOW (window)' failed

Thread 1 "grisbi" received signal SIGSEGV, Segmentation fault.
0x00007ffff7365dd5 in gdk_wayland_display_get_selection (
    display=display at entry=0x0)
    at ../../../gdk/wayland/gdkdisplay-wayland.c:1451
Download failed: Argument invalide.  Continuing without source file
./debian/build/deb/../../../gdk/wayland/gdkdisplay-wayland.c.
1451	../../../gdk/wayland/gdkdisplay-wayland.c: Aucun fichier ou dossier de ce
type.
(gdb) bt
#0  0x00007ffff7365dd5 in gdk_wayland_display_get_selection
    (display=display at entry=0x0)
    at ../../../gdk/wayland/gdkdisplay-wayland.c:1451
https://www.grisbi.org/bugsreports/view.php?id=1  0x00007ffff736ed9c in
gdk_wayland_selection_add_targets_libgtk_only
    (window=0x0, selection=selection at entry=0x1, ntargets=ntargets at entry=1,
targets=targets at entry=0x7fffffffc128)
    at ../../../gdk/wayland/gdkselection-wayland.c:1793
https://www.grisbi.org/bugsreports/view.php?id=2  0x00007ffff769eb05 in
gtk_selection_add_target
    (widget=widget at entry=0x55555662b390 [GtkTreeView],
selection=selection at entry=0x1, target=<optimized out>, target at entry=0x4,
info=info at entry=1)
    at ../../../gtk/gtkselection.c:973
https://www.grisbi.org/bugsreports/view.php?id=3  0x0000555555645bc2 in
prefs_page_accueil_setup_accueil_page
    (page=<optimized out>) at ../src/prefs/prefs_page_accueil.c:353
https://www.grisbi.org/bugsreports/view.php?id=4  prefs_page_accueil_init
(page=<optimized out>)
    at ../src/prefs/prefs_page_accueil.c:373
[...]
----------------------------------------------------------------------



Plus d'informations sur la liste de diffusion bugsreports