Public bug reported:

For many months now, whenever any mouse drag is attempted in an
application using the gtk tool kit, the application immediately crashes.
I've noticed this at least in Firefox and thunar. It also occurs when
displaying these applications from a Virtualbox machine or from another
server running something other than Ubuntu.  The VM was running CentOS 8
and the remote server was running Mageia. Both Firefox and thunar run
fine with Mageia's Xorg. It seems like the issue may be with the Xorg
server on Ubuntu.

I tried setting the GDK_SYNCHRONIZE variable to various settings but was
unable to produce further debug output. The only other debug output I
was able to gather is when running thunar with the --gtk-debug parameter
(attached). I also tried running thunar with GDB but without recompiling
it, it doesn't produce much information other than it's stopping in
glib.

Let me know what other information I can provide.

(firefox:110380): Gdk-ERROR **: 13:47:04.663: The program 'firefox' received an 
X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 8405 error_code 3 request_code 141 (Composite) minor_code 8)
  (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.)
ExceptionHandler::GenerateDump cloned child 110611
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
ExceptionHandler::WaitForContinueSignal waiting for continue signal...
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
[1]+  Trace/breakpoint trap   (core dumped) firefox

(Thunar:2961220): Gdk-ERROR **: 13:55:39.621: The program 'Thunar' received an 
X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 64804 error_code 3 request_code 141 (Composite) minor_code 8)
  (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.)
Trace/breakpoint trap (core dumped)

$ ldd /bin/thunar
        linux-vdso.so.1 (0x00007ffc0c8cc000)
        libthunarx-3.so.0 => /lib/x86_64-linux-gnu/libthunarx-3.so.0 
(0x00007fdbb548c000)
        libexo-2.so.0 => /lib/x86_64-linux-gnu/libexo-2.so.0 
(0x00007fdbb544f000)
        libgudev-1.0.so.0 => /lib/x86_64-linux-gnu/libgudev-1.0.so.0 
(0x00007fdbb5442000)
        libnotify.so.4 => /lib/x86_64-linux-gnu/libnotify.so.4 
(0x00007fdbb5437000)
        libSM.so.6 => /lib/x86_64-linux-gnu/libSM.so.6 (0x00007fdbb542c000)
        libICE.so.6 => /lib/x86_64-linux-gnu/libICE.so.6 (0x00007fdbb540e000)
        libxfce4ui-2.so.0 => /lib/x86_64-linux-gnu/libxfce4ui-2.so.0 
(0x00007fdbb53f3000)
        libgtk-3.so.0 => /lib/x86_64-linux-gnu/libgtk-3.so.0 
(0x00007fdbb4c42000)
        libgdk-3.so.0 => /lib/x86_64-linux-gnu/libgdk-3.so.0 
(0x00007fdbb4b3d000)
        libatk-1.0.so.0 => /lib/x86_64-linux-gnu/libatk-1.0.so.0 
(0x00007fdbb4b13000)
        libcairo.so.2 => /lib/x86_64-linux-gnu/libcairo.so.2 
(0x00007fdbb49f0000)
        libgdk_pixbuf-2.0.so.0 => /lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0 
(0x00007fdbb49c8000)
        libxfce4util.so.7 => /lib/x86_64-linux-gnu/libxfce4util.so.7 
(0x00007fdbb49b4000)
        libxfconf-0.so.3 => /lib/x86_64-linux-gnu/libxfconf-0.so.3 
(0x00007fdbb4996000)
        libpango-1.0.so.0 => /lib/x86_64-linux-gnu/libpango-1.0.so.0 
(0x00007fdbb4947000)
        libgio-2.0.so.0 => /lib/x86_64-linux-gnu/libgio-2.0.so.0 
(0x00007fdbb4766000)
        libgobject-2.0.so.0 => /lib/x86_64-linux-gnu/libgobject-2.0.so.0 
(0x00007fdbb4706000)
        libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 
(0x00007fdbb45dd000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fdbb43e9000)
        libgmodule-2.0.so.0 => /lib/x86_64-linux-gnu/libgmodule-2.0.so.0 
(0x00007fdbb43e3000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fdbb4294000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
(0x00007fdbb4271000)
        libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007fdbb4244000)
        libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007fdbb4239000)
        libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007fdbb421f000)
        libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007fdbb40e2000)
        libstartup-notification-1.so.0 => 
/lib/x86_64-linux-gnu/libstartup-notification-1.so.0 (0x00007fdbb40d7000)
        libpangocairo-1.0.so.0 => /lib/x86_64-linux-gnu/libpangocairo-1.0.so.0 
(0x00007fdbb40c5000)
        libXi.so.6 => /lib/x86_64-linux-gnu/libXi.so.6 (0x00007fdbb40b3000)
        libXfixes.so.3 => /lib/x86_64-linux-gnu/libXfixes.so.3 
(0x00007fdbb40a9000)
        libcairo-gobject.so.2 => /lib/x86_64-linux-gnu/libcairo-gobject.so.2 
(0x00007fdbb409d000)
        libatk-bridge-2.0.so.0 => /lib/x86_64-linux-gnu/libatk-bridge-2.0.so.0 
(0x00007fdbb4066000)
        libepoxy.so.0 => /lib/x86_64-linux-gnu/libepoxy.so.0 
(0x00007fdbb3f33000)
        libfribidi.so.0 => /lib/x86_64-linux-gnu/libfribidi.so.0 
(0x00007fdbb3f16000)
        libpangoft2-1.0.so.0 => /lib/x86_64-linux-gnu/libpangoft2-1.0.so.0 
(0x00007fdbb3efd000)
        libharfbuzz.so.0 => /lib/x86_64-linux-gnu/libharfbuzz.so.0 
(0x00007fdbb3df6000)
        libfontconfig.so.1 => /lib/x86_64-linux-gnu/libfontconfig.so.1 
(0x00007fdbb3daf000)
        libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 
(0x00007fdbb3cf0000)
        libXinerama.so.1 => /lib/x86_64-linux-gnu/libXinerama.so.1 
(0x00007fdbb3ceb000)
        libXrandr.so.2 => /lib/x86_64-linux-gnu/libXrandr.so.2 
(0x00007fdbb3cde000)
        libXcursor.so.1 => /lib/x86_64-linux-gnu/libXcursor.so.1 
(0x00007fdbb3ccf000)
        libXcomposite.so.1 => /lib/x86_64-linux-gnu/libXcomposite.so.1 
(0x00007fdbb3cca000)
        libXdamage.so.1 => /lib/x86_64-linux-gnu/libXdamage.so.1 
(0x00007fdbb3cc5000)
        libxkbcommon.so.0 => /lib/x86_64-linux-gnu/libxkbcommon.so.0 
(0x00007fdbb3c83000)
        libwayland-cursor.so.0 => /lib/x86_64-linux-gnu/libwayland-cursor.so.0 
(0x00007fdbb3c78000)
        libwayland-egl.so.1 => /lib/x86_64-linux-gnu/libwayland-egl.so.1 
(0x00007fdbb3c73000)
        libwayland-client.so.0 => /lib/x86_64-linux-gnu/libwayland-client.so.0 
(0x00007fdbb3c62000)
        libXext.so.6 => /lib/x86_64-linux-gnu/libXext.so.6 (0x00007fdbb3c4b000)
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fdbb3c40000)
        libpixman-1.so.0 => /lib/x86_64-linux-gnu/libpixman-1.so.0 
(0x00007fdbb3b99000)
        libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 
(0x00007fdbb3b61000)
        libxcb-shm.so.0 => /lib/x86_64-linux-gnu/libxcb-shm.so.0 
(0x00007fdbb3b5c000)
        libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fdbb3b30000)
        libxcb-render.so.0 => /lib/x86_64-linux-gnu/libxcb-render.so.0 
(0x00007fdbb3b21000)
        libXrender.so.1 => /lib/x86_64-linux-gnu/libXrender.so.1 
(0x00007fdbb3917000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fdbb38fb000)
        libthai.so.0 => /lib/x86_64-linux-gnu/libthai.so.0 (0x00007fdbb38f0000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fdbb38e8000)
        libmount.so.1 => /lib/x86_64-linux-gnu/libmount.so.1 
(0x00007fdbb3888000)
        libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 
(0x00007fdbb385d000)
        libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 
(0x00007fdbb3841000)
        libffi.so.7 => /lib/x86_64-linux-gnu/libffi.so.7 (0x00007fdbb3835000)
        libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007fdbb37c2000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fdbb559d000)
        libxcb-util.so.1 => /lib/x86_64-linux-gnu/libxcb-util.so.1 
(0x00007fdbb35ba000)
        libX11-xcb.so.1 => /lib/x86_64-linux-gnu/libX11-xcb.so.1 
(0x00007fdbb35b5000)
        libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 
(0x00007fdbb3564000)
        libatspi.so.0 => /lib/x86_64-linux-gnu/libatspi.so.0 
(0x00007fdbb352d000)
        libgraphite2.so.3 => /lib/x86_64-linux-gnu/libgraphite2.so.3 
(0x00007fdbb3500000)
        libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 
(0x00007fdbb34d0000)
        libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007fdbb34ca000)
        libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 
(0x00007fdbb34c2000)
        libdatrie.so.1 => /lib/x86_64-linux-gnu/libdatrie.so.1 
(0x00007fdbb34b8000)
        libblkid.so.1 => /lib/x86_64-linux-gnu/libblkid.so.1 
(0x00007fdbb3461000)
        libpcre2-8.so.0 => /lib/x86_64-linux-gnu/libpcre2-8.so.0 
(0x00007fdbb33cf000)
        libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 
(0x00007fdbb3320000)
        liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007fdbb32f7000)
        liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007fdbb32d6000)
        libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 
(0x00007fdbb31b8000)
        libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 
(0x00007fdbb3193000)


$ gdb thunar
(gdb) run
Starting program: /usr/bin/thunar
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff5c97700 (LWP 2463163)]
[New Thread 0x7ffff57b4700 (LWP 2463164)]
[New Thread 0x7ffff5257700 (LWP 2463165)]
[New Thread 0x7ffff4d74700 (LWP 2463166)]
[Thread 0x7ffff5257700 (LWP 2463165) exited]

(thunar:2463155): Gdk-ERROR **: 09:40:34.956: The program 'thunar' received an 
X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 9526 error_code 3 request_code 141 (Composite) minor_code 8)
  (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.)

Thread 1 "thunar" received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff71410d5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0

$ lsb_release -rd
Description:    Ubuntu 20.04.1 LTS
Release:        20.04

$ apt-cache policy thunar
thunar:
  Installed: 1.8.14-0ubuntu1
  Candidate: 1.8.14-0ubuntu1
  Version table:
 *** 1.8.14-0ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        100 /var/lib/dpkg/status

$ /opt/firefox/firefox-bin --version
Mozilla Firefox 84.0.2

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: xorg 1:7.7+19ubuntu14
ProcVersionSignature: Ubuntu 5.4.0-58.64-generic 5.4.73
Uname: Linux 5.4.0-58-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset 
nvidia
.proc.driver.nvidia.capabilities.gpu0: Error: [Errno 21] Is a directory: 
'/proc/driver/nvidia/capabilities/gpu0'
.proc.driver.nvidia.capabilities.gpu1: Error: [Errno 21] Is a directory: 
'/proc/driver/nvidia/capabilities/gpu1'
.proc.driver.nvidia.capabilities.mig: Error: [Errno 21] Is a directory: 
'/proc/driver/nvidia/capabilities/mig'
.proc.driver.nvidia.gpus.0000.03.00.0: Error: [Errno 21] Is a directory: 
'/proc/driver/nvidia/gpus/0000:03:00.0'
.proc.driver.nvidia.gpus.0000.04.00.0: Error: [Errno 21] Is a directory: 
'/proc/driver/nvidia/gpus/0000:04:00.0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.suspend: suspend hibernate resume
.proc.driver.nvidia.suspend_depth: default modeset uvm
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module  450.80.02  Wed Sep 23 01:13:39 
UTC 2020
 GCC version:  gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)
ApportVersion: 2.20.11-0ubuntu27.14
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: skip
CompositorRunning: None
CurrentDesktop: XFCE
Date: Mon Jan 11 10:14:51 2021
DistUpgraded: Fresh install
DistroCodename: focal
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes
GraphicsCard:
 NVIDIA Corporation GM206GL [Quadro M2000] [10de:1430] (rev a1) (prog-if 00 
[VGA controller])
   Subsystem: Hewlett-Packard Company GM206GL [Quadro M2000] [103c:1190]
 NVIDIA Corporation GM206GL [Quadro M2000] [10de:1430] (rev a1) (prog-if 00 
[VGA controller])
   Subsystem: Hewlett-Packard Company GM206GL [Quadro M2000] [103c:1190]
InstallationDate: Installed on 2020-05-24 (231 days ago)
InstallationMedia: Xubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
MachineType: Hewlett-Packard HP Z840 Workstation
ProcKernelCmdLine: BOOT_IMAGE=/BOOT/ubuntu_6kvean@/vmlinuz-5.4.0-58-generic 
root=ZFS=rpool/ROOT/ubuntu_6kvean ro nosplash debug
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/07/2019
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: M60 v02.50
dmi.board.asset.tag: USH842L0ZF
dmi.board.name: 2129
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 1.01
dmi.chassis.asset.tag: USH842L0ZF
dmi.chassis.type: 6
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: 
dmi:bvnHewlett-Packard:bvrM60v02.50:bd11/07/2019:svnHewlett-Packard:pnHPZ840Workstation:pvr:rvnHewlett-Packard:rn2129:rvr1.01:cvnHewlett-Packard:ct6:cvr:
dmi.product.family: 103C_53335X G=D
dmi.product.name: HP Z840 Workstation
dmi.product.sku: 4SW15U8R#ABA
dmi.sys.vendor: Hewlett-Packard
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.101-2
version.libgl1-mesa-dri: libgl1-mesa-dri 20.0.8-0ubuntu1~20.04.1
version.libgl1-mesa-glx: libgl1-mesa-glx 20.0.8-0ubuntu1~20.04.1
version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.20.8-2ubuntu2.6
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20200226-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.16-1

** Affects: xorg (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal ubuntu

** Attachment added: "Output from thunar  --gdk-debug=all"
   
https://bugs.launchpad.net/bugs/1911036/+attachment/5451811/+files/thunar-debug.out

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1911036

Title:
  GDK/GTK app crash when performing drag operation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1911036/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to