Glade crashes when opening a .glade file

Bug #1879091 reported by thom
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
glade (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

glade:
  Geïnstalleerd: 3.22.2-1
  Kandidaat: 3.22.2-1
  Versietabel:
 *** 3.22.2-1 500
        500 http://nl.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        100 /var/lib/dpkg/status

Description: Ubuntu 20.04 LTS
Release: 20.04

This is the repository version of Glade.
(The snap version of glade works without problem)
To get some extra info besides "ubuntu-bug glade", I started it from the commandline:

myname@myhost:~$ glade -v operate.glade

GladeUI-Message: 21:43:19.057: 1 missing displayable value for GtkWidget::events
GladeUI-Message: 21:43:19.057: 3 missing displayable value for GtkWidget::AtkObject::accessible-role
GladeUI-Message: 21:43:19.156: 1 missing displayable value for GtkEntry::input-purpose
GladeUI-Message: 21:43:19.156: 2 missing displayable value for GtkEntry::input-hints
GladeUI-Message: 21:43:19.305: No displayable values for property GtkMenu::anchor-hints
GladeUI-Message: 21:43:19.362: 2 missing displayable value for GtkAboutDialog::license-type
GladeUI-Message: 21:43:19.472: 1 missing displayable value for GtkCellRendererAccel::accel-mode
GladeUI-Message: 21:43:19.555: No displayable values for property WebKitWebView::automation-presentation-type
GladeUI-Message: 21:43:19.563: No displayable values for property WebKitSettings::hardware-acceleration-policy
GladeUI-Message: 21:43:19.563: Glade needs artwork; a default icon will be used for the following classes:
 WebKitWebView needs an icon named 'widget-webkit2gtk-webview'
 GThemedIcon needs an icon named 'widget-gtk-themedicon'
 GtkApplicationWindow needs an icon named 'widget-gtk-applicationwindow'
 WebKitSettings needs an icon named 'widget-webkit2gtk-settings'

(glade:13055): Gdk-WARNING **: 21:43:20.331: ../../../../../gdk/x11/gdkwindow-x11.c:5633 drawable is not a native X11 window

(glade:13055): Gdk-ERROR **: 21:43:20.334: The program 'glade' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 3333 error_code 3 request_code 20 (core protocol) minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Traceer/breekpunt-instructie (geheugendump gemaakt)

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: glade 3.22.2-1
ProcVersionSignature: Ubuntu 5.4.0-29.33-generic 5.4.30
Uname: Linux 5.4.0-29-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: MATE
Date: Sat May 16 21:48:14 2020
InstallationDate: Installed on 2019-11-11 (187 days ago)
InstallationMedia: Ubuntu-MATE 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210)
SourcePackage: glade
UpgradeStatus: Upgraded to focal on 2020-04-05 (41 days ago)

Revision history for this message
thom (tsk) wrote :
Revision history for this message
circularfile (circularfile) wrote :

I have the same bug

Ubuntu 20.04 LTS
Glade 3.22.2

Glade installed with package distribution always crashes.
Start Glade
Click NewFile Button
Click Niveaux Suoérieurs ( superior levels)
click GtkWindow
and it crashes

As said above the snap version of glade works without problem

Here is the output in a terminal :

GladeUI-Message: 18:52:35.019: 1 missing displayable value for GtkWidget::events
GladeUI-Message: 18:52:35.020: 3 missing displayable value for GtkWidget::AtkObject::accessible-role
GladeUI-Message: 18:52:35.080: 1 missing displayable value for GtkEntry::input-purpose
GladeUI-Message: 18:52:35.080: 2 missing displayable value for GtkEntry::input-hints
GladeUI-Message: 18:52:35.178: No displayable values for property GtkMenu::anchor-hints
GladeUI-Message: 18:52:35.214: 2 missing displayable value for GtkAboutDialog::license-type
GladeUI-Message: 18:52:35.285: 1 missing displayable value for GtkCellRendererAccel::accel-mode
GladeUI-Message: 18:52:35.319: Glade needs artwork; a default icon will be used for the following classes:
 GThemedIcon needs an icon named 'widget-gtk-themedicon'
 GtkApplicationWindow needs an icon named 'widget-gtk-applicationwindow'

(glade:40731): Gdk-WARNING **: 18:52:42.602: ../../../../../gdk/x11/gdkwindow-x11.c:5633 drawable is not a native X11 window

(glade:40731): Gdk-ERROR **: 18:52:42.603: The program 'glade' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 45552 error_code 3 request_code 20 (core protocol) minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Here is the output of dpkg -s glade :

Package: glade
Status: install ok installed
Priority: optional
Section: devel
Installed-Size: 1510
Maintainer: Ubuntu Developers <email address hidden>
Architecture: amd64
Version: 3.22.2-1
Depends: libc6 (>= 2.7), libcairo2 (>= 1.2.4), libgdk-pixbuf2.0-0 (>= 2.22.0), libgladeui-2-6 (>= 3.22.0), libglib2.0-0 (>= 2.53.2), libgtk-3-0 (>= 3.21.5), libpango-1.0-0 (>= 1.18.0)
Recommends: libgtk-3-dev, devhelp
Description: GTK+ User Interface Builder
 Glade is a RAD tool to enable quick and easy development of user
 interfaces for the GTK+ toolkit.
 .
 The user interfaces designed in Glade are stored in the well-known
 XML format, enabling easy integration with external tools. You will
 probably want to use it with tools such as libglade, which can load
 the XML files and create the interfaces at runtime.
 .
 This version is more modular than previous ones, so you can install
 modules to add additional widgets for Glade to use.
Original-Maintainer: Debian GNOME Maintainers <email address hidden>
Homepage: https://glade.gnome.org/

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in glade (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.