segfault in libgtk-x11-2.0.so.0 with several programs

Bug #1962807 reported by dhdurgee@verizon.net
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gtk+2.0 (Ubuntu)
New
Low
Unassigned

Bug Description

Today I have been encountering segfaults in fcl and virtualbox:

Mar 2 07:20:40 Z560 kernel: [817210.808918] show_signal_msg: 12 callbacks suppressed
Mar 2 07:20:40 Z560 kernel: [817210.808922] fcl[933482]: segfault at 7fb98814fdb8 ip 00007fb96efab218 sp 00007ffc4a89b918 error 4 in libgtk-x11-2.0.so.0.2400.32[7fb96ed5b000+270000]
Mar 2 07:20:40 Z560 kernel: [817210.808932] Code: 79 db ff 48 83 c4 20 5b 5d 41 5c c3 66 0f 1f 44 00 00 48 8b b7 90 00 00 79 48 89 d7 e9 c1 a1 db 58 90 f3 0f 1e fa 48 83 d9 18 <48> 8b 05 99 4b 1a 19 48 89 44 24 08 48 8b 5d 24 08 48 85 c0 74 12
Mar 2 07:20:40 Z560 systemd[1]: Created slice system-systemd\x2dcoredump.slice.
Mar 2 07:20:40 Z560 systemd[1]: Started Process Core Dump (PID 933484/UID 0).
Mar 2 07:20:40 Z560 systemd-coredump[933485]: Process 933482 (fcl) of user 1000 dumped core.#012#012Stack trace of thread 933482:#012#0 0x00007fb96efab218 gtk_option_menu_get_type (libgtk-x11-2.0.so.0 + 0x2b4218)#012#1 0x0000000000000002 n/a (n/a + 0x0)
Mar 2 07:20:40 Z560 systemd[1]: systemd-coredump@0-933484-0.service: Succeeded.

and:

Mar 2 07:51:19 Z560 kernel: [819049.877381] VirtualBox[936782]: segfault at 7ff8860b4db8 ip 00007ff86cf10218 sp 00007ffdd1a53758 error 4 in libgtk-x11-2.0.so.0.2400.32[7ff86ccc0000+270000]
Mar 2 07:51:19 Z560 kernel: [819049.877395] Code: 79 db ff 48 83 c4 20 5b 5d 41 5c c3 66 0f 1f 44 00 00 48 8b b7 90 00 00 79 48 89 d7 e9 c1 a1 db 58 90 f3 0f 1e fa 48 83 d9 18 <48> 8b 05 99 4b 1a 19 48 89 44 24 08 48 8b 5d 24 08 48 85 c0 74 12
Mar 2 07:51:19 Z560 systemd[1]: Started Process Core Dump (PID 936794/UID 0).
Mar 2 07:51:19 Z560 systemd-coredump[936795]: Process 936782 (VirtualBox) of user 1000 dumped core.#012#012Stack trace of thread 936782:#012#0 0x00007ff86cf10218 gtk_option_menu_get_type (libgtk-x11-2.0.so.0 + 0x2b4218)#012#1 0x0000000000000002 n/a (n/a + 0x0)
Mar 2 07:51:19 Z560 systemd[1]: systemd-coredump@10-936794-0.service: Succeeded.

As this library has not changed I am assuming the problem is with one of the libraries it depends upon. Several packages were updated in the past few days, I believe including some that may be the cause of the problem. I have attached a zip with my /var/log/apt/term.log and history.log for inspection.

Version of library is 2.24.32-4ubuntu4 and library file is dated 2021-03-31 here.

Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. Was that a one time issue that trigger at a specific time or at those software broken for you now?

summary: - segfault in libgt-x11-2.0.so.0 with several programs
+ segfault in libgtk-x11-2.0.so.0 with several programs
Changed in gtk+2.0 (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :

The two programs are completely broken for me at this time. I use them on a daily basis, so this is a real problem for me. There may be additional broken programs that I have yet to encounter, but I have not hit any others yet.

Given the behavior started suddenly yesterday after years of operation I suspect that an update to one of the dependencies of the library where the crash occurs is the cause.

I am not a developer, and thus unable to track this down personally. Given my suspicions I attached a zip containing the update logs in hopes someone with the proper tools can identify the problem. I should be able to back out the particular change once it is identified.

If you need further information please let me know.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Could you try to follow https://wiki.ubuntu.com/Backtrace to provide more details on the crash? The log suggest you didn't update much but that includes glibc, do you know your way around dpkg and apt enough to try to go back to the binary packages from https://launchpad.net/ubuntu/+source/glibc/2.31-0ubuntu9.5 and see if that resolves your issue?

Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :

I attempted to use gdb on virtualbox first, but received errors. Given this I was able to provide what you wanted with fcl.

Hopefully it will provide you with enough information to diagnose the problem.

Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :

Regarding falling back to earlier releases, I have created a local repository on my system. Given this I should be able to place the back-level packages and then force those versions in synaptic.

I am not experienced in reading the gdb output, but it seems to me that the call which generates the segfault is from libgail.so and libgail was among those updated on 1 March from ..ubuntu1 to ..ubuntu1.1 version.

Given this, would it make sense for me to back-level that one package? Perhaps all those updated to ..ubunto1.1 from ..ubuntu1, which includes gtk updates?

I don't want to create more problems by missing co-dependencies in version levels, so I will wait for your guidance before I proceed further.

Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :

Figured how to get the virtualbox gdb run.

Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :

Found yet another program with the same crash.

To my untrained eyes the failure appears to start with gdk_display_open_default_libgtk_only in all three of these crashes.

Is it possible that this crash impacts ALL gtk2 dependent programs?

Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :

I was going to add a copy of the libgail-3-0 package that was working for me to my local repository to see if I could prepare to attempt to back out the update. I am having difficulty locating a copy of the package that was replaced. I have access to 3.24.18 in the main repository and the failing one in the updates, but a search for the one that was replaced has failed.

I am looking for:

libgail-3-0_3.24.20-0ubuntu1_amd64.deb

This appears to no longer be available. Am I missing something?

I am looking for advice on my next step to recover from this failure. Is the data available from the three back traces sufficient to isolate the part of the recent updates that needs to be backed out? If it is indeed libgail-3-0 should I back it out to the 3.24.18 version available in main?

Revision history for this message
Sebastien Bacher (seb128) wrote :

you can find the deb files on https://launchpad.net/ubuntu/+source/gtk+3.0/3.24.20-0ubuntu1/+build/19437463

check on your system the packages from that source using
$ dpkg -l | grep 3.24.20-0ubuntu1.1

and download in a new directory the corresponding deb from the webpage, then install them using
$ sudo dpkg -i *.deb
in the directory where you downloaded

Revision history for this message
Sebastien Bacher (seb128) wrote :

the segfault seems to be in the gtk menu code, do ypu have any special indicator or plugin installed? what desktop environment do you use? it would also help to get details on the backtrace if https://launchpad.net/ubuntu/+source/gtk+2.0/2.24.32-4ubuntu4/+build/18229140/+files/libgtk2.0-0-dbgsym_2.24.32-4ubuntu4_amd64.ddeb was installed

Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :

Per the above dpkg search and looking at /var/cache/apt/archives I see the following:

-rw-r--r-- 1 root root 195976 Feb 16 05:54 gir1.2-gtk-3.0_3.24.20-0ubuntu1.1_amd64.deb
-rw-r--r-- 1 root root 28756 Feb 16 05:54 gtk-update-icon-cache_3.24.20-0ubuntu1.1_amd64.deb
-rw-r--r-- 1 root root 22380 Feb 16 05:54 libgail-3-0_3.24.20-0ubuntu1.1_amd64.deb
-rw-r--r-- 1 root root 2620492 Feb 16 05:54 libgtk-3-0_3.24.20-0ubuntu1.1_amd64.deb
-rw-r--r-- 1 root root 61884 Feb 16 05:54 libgtk-3-bin_3.24.20-0ubuntu1.1_amd64.deb
-rw-r--r-- 1 root root 234388 Feb 16 05:54 libgtk-3-common_3.24.20-0ubuntu1.1_all.deb

So I should download the corresponding files from launchpad to a new directory and then issue the sudo dpkg -i *.deb command from there to replace the updated files on my system, correct?

Should there be anything else I ought to do before issuing the sudo dpkg command? Should I take any action to ensure I don't accidentally "update" these files and get back into the same situation? I think I can "lock" them in synaptic and there may be other ways to accomplish the same thing.

Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :

How helpful to you would it be for me to install the .ddeb file and which of the traces would you want me to run again? Would I do the install via sudo dpkg -i or use synaptic or apt in some manner? Should I uninstall it after the traces? Obviously I would need to do the traces you want prior to falling back to the earlier release of the packages.

I am running linux mint cinnamon x64 20.3 which is based on ubuntu focal. The updates were applied from a mirror of the focal updates repository, thus I contacted you when the problem arose. The desktop environment is cinnamon 5.2.7 here. I have some cinnamon applets installed and can provide you any details you deem appropriate.

Have any similar reports been filed on this, or is this something that seems to manifest only on my particular system for some reason? Is my system or my usage of it uncommon enough that you have receive no other reports of a total inability to use programs such as I am encountering?

Thank you again for your assistance in this matter. I trust backing this update out should solve the problem. Looking at the build date on the launchpad page I certainly would have been running them for almost two years on this system.

Revision history for this message
Sebastien Bacher (seb128) wrote :

> So I should download the corresponding files from launchpad to a new directory and then issue the sudo dpkg -i *.deb command from there to replace the updated files on my system, correct?

Yes

> Should there be anything else I ought to do before issuing the sudo dpkg command? Should I take any action to ensure I don't accidentally "update" these files and get back into the same situation?

there are way to 'pin' updates with apt or synaptic but at this point we are trying to confirm if that update is the issue, if it is and that you want to pin back to the old version we can help you with that

> How helpful to you would it be for me to install the .ddeb file and which of the traces would you want me to run again? Would I do the install via sudo dpkg -i or use synaptic or apt in some manner?

it would provide more details on the segfault and make it easier to understand, but let's start by going back to the previous gtk3 version and see if that helps.

There has been no other report of such issue and trying in a fresh VM from focal gtk3 softwares work fine with the updated gtk, including gimp, pidgin and others. Unsure if Mint is adding some sort of custom hacks on top of what is in Ubuntu which would have an impact or if that could be something local.

One other thing you could try is to create a new local user, log with it and see if the issue is still there, it would tell us if it's due to some user profile configuration or something wrong in the system

Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :

I downloaded and installed the .ddeb file and then ran the first back trace again. The results look interesting, specifically the "no such file or directory" notation.

Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :

I created a new user and can confirm that the same segfault occurs for a brand new user.

Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :

I have downloaded the replacement debs, but I will hold off until on installing them in case the new back trace provides any suggestions for further diagnosis of the problem. I can wait another day or two if it will help your efforts to correct this.

Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :

I just noticed something this morning that may or may not be relevant. I normally have vlc running on my system and it was on and running at and after the point where I updated to the new release. When testing with a new user I closed down everything on my usual user. I now find that vlc hits the same segfault when I attempt to open it.

So it appears that if a program was open and running before the update was applied it continued to do so, but once closed it could encounter the same segfault when it attempts to start.

Revision history for this message
Sebastien Bacher (seb128) wrote :

could you install https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/2.24.32-4ubuntu4/+build/18229140/+files/libgail18-dbgsym_2.24.32-4ubuntu4_amd64.ddeb and get another backtrace?

you can also try downgrading gtk3 then, the backtrace has more details but the bug still doesn't really make sense

the fact that already started program keep working is expected since the library is loaded from disk on start and a change on disk isn't going to replace it until the program exit and starts again

Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :

Additional back trace after installing additional .ddeb file. Any help?

Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :

Don't know if this is possible, but would there be a way to have gdb stop at the point where the segfault occurs in the updated library when using the previous release to see what differs? I want to help you track this down, but I am unsure what else I can do at this point.

Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :

As I had not heard anything from you for a while I went ahead and followed your directions to return to the prior version as follows:

dhdurgee@z560:~/Downloads/debs$ sudo dpkg -i *.deb
[sudo] password for dhdurgee:
dpkg: warning: downgrading gir1.2-gtk-3.0:amd64 from 3.24.20-0ubuntu1.1 to 3.24.20-0ubuntu1
(Reading database ... 334032 files and directories currently installed.)
Preparing to unpack gir1.2-gtk-3.0_3.24.20-0ubuntu1_amd64.deb ...
Unpacking gir1.2-gtk-3.0:amd64 (3.24.20-0ubuntu1) over (3.24.20-0ubuntu1.1) ...
dpkg: warning: downgrading gtk-update-icon-cache from 3.24.20-0ubuntu1.1 to 3.24.20-0ubuntu1
Preparing to unpack gtk-update-icon-cache_3.24.20-0ubuntu1_amd64.deb ...
Unpacking gtk-update-icon-cache (3.24.20-0ubuntu1) over (3.24.20-0ubuntu1.1) ...
dpkg: warning: downgrading libgail-3-0:amd64 from 3.24.20-0ubuntu1.1 to 3.24.20-0ubuntu1
Preparing to unpack libgail-3-0_3.24.20-0ubuntu1_amd64.deb ...
Unpacking libgail-3-0:amd64 (3.24.20-0ubuntu1) over (3.24.20-0ubuntu1.1) ...
dpkg: warning: downgrading libgtk-3-0:amd64 from 3.24.20-0ubuntu1.1 to 3.24.20-0ubuntu1
Preparing to unpack libgtk-3-0_3.24.20-0ubuntu1_amd64.deb ...
Unpacking libgtk-3-0:amd64 (3.24.20-0ubuntu1) over (3.24.20-0ubuntu1.1) ...
dpkg: warning: downgrading libgtk-3-bin from 3.24.20-0ubuntu1.1 to 3.24.20-0ubuntu1
Preparing to unpack libgtk-3-bin_3.24.20-0ubuntu1_amd64.deb ...
Unpacking libgtk-3-bin (3.24.20-0ubuntu1) over (3.24.20-0ubuntu1.1) ...
dpkg: warning: downgrading libgtk-3-common from 3.24.20-0ubuntu1.1 to 3.24.20-0ubuntu1
Preparing to unpack libgtk-3-common_3.24.20-0ubuntu1_all.deb ...
Unpacking libgtk-3-common (3.24.20-0ubuntu1) over (3.24.20-0ubuntu1.1) ...
Setting up gtk-update-icon-cache (3.24.20-0ubuntu1) ...
Setting up libgtk-3-common (3.24.20-0ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.4) ...
Setting up libgtk-3-0:amd64 (3.24.20-0ubuntu1) ...
Setting up libgtk-3-bin (3.24.20-0ubuntu1) ...
Setting up gir1.2-gtk-3.0:amd64 (3.24.20-0ubuntu1) ...
Setting up libgail-3-0:amd64 (3.24.20-0ubuntu1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.7) ...
dhdurgee@z560:~/Downloads/debs$

Unfortunately the results were not as hoped. Attached please find the backtrace when I attempted to use fcl afterwards. What next?

Revision history for this message
Sebastien Bacher (seb128) wrote :

I'm out of idea at this point, you could try to remove libgail-common and see if that makes a difference but otherwise unsure why it's hitting a segfault in the menu code...

Changed in gtk+2.0 (Ubuntu):
status: Incomplete → New
Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :

How should I remove libgail-common? Could doing so cause other problems?

Revision history for this message
Sebastien Bacher (seb128) wrote :

$ sudo apt remove libgail-common

it's more of a workaround to try, but check what it would potential remove also if anything

Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :

Here are the results:

dhdurgee@z560:~/Downloads$ sudo apt remove libgail-common
[sudo] password for dhdurgee:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libexo-helpers libllvm11 mint-backgrounds-uma
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  libgail-common
0 upgraded, 0 newly installed, 1 to remove and 38 not upgraded.
After this operation, 480 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 334032 files and directories currently installed.)
Removing libgail-common:amd64 (2.24.32-4ubuntu4) ...
dhdurgee@z560:~/Downloads$ fcl
Gtk-Message: 14:26:07.140: Failed to load module "gail"

** (fcl:1388677): WARNING **: 14:26:07.158: (../atk-adaptor/bridge.c:1018):atk_bridge_adaptor_init: runtime check failed: (root)
Illegal instruction (core dumped)
dhdurgee@z560:~/Downloads$

Should I take a back trace as well?

Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :

At this point I can only think that a change in one of the dependencies of these libraries is the problem. Are any of the other libraries updated in my term.log in the dependency tree of the failing library? If so, perhaps I should first restore the libgail-common and then back level that package.

Revision history for this message
Sebastien Bacher (seb128) wrote :

you could try to get a backtrace of the illegal instruction, but it's just weird, maybe there are some binaries corrupted on disk or something?

Could you try to maybe
$ sudo debsums -s

it should report if some binaries are not matching they expected checksums

Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :

Tried this first and got:

dhdurgee@z560:~/Downloads$ sudo debsums -s
[sudo] password for dhdurgee:
sudo: debsums: command not found
dhdurgee@z560:~/Downloads$

Is this in a developer package I need to load first?

Revision history for this message
Sebastien Bacher (seb128) wrote :

yes

$ sudo apt install debsums

Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :
Download full text (3.3 KiB)

dhdurgee@z560:~/Downloads$ sudo debsums -s
debsums: changed file /usr/share/icons/Adwaita/16x16/places/start-here.png (from adwaita-icon-theme-full package)
debsums: changed file /usr/share/icons/Adwaita/22x22/places/start-here.png (from adwaita-icon-theme-full package)
debsums: changed file /usr/share/icons/Adwaita/24x24/places/start-here.png (from adwaita-icon-theme-full package)
debsums: changed file /usr/share/icons/Adwaita/32x32/places/start-here.png (from adwaita-icon-theme-full package)
debsums: changed file /usr/share/icons/Adwaita/48x48/places/start-here.png (from adwaita-icon-theme-full package)
debsums: changed file /usr/share/initramfs-tools/scripts/casper-bottom/01integrity_check (from casper package)
debsums: changed file /usr/share/initramfs-tools/scripts/casper-bottom/15autologin (from casper package)
debsums: changed file /usr/share/cups/data/default-testpage.pdf (from cups-filters package)
debsums: changed file /usr/lib/firefox/distribution/distribution.ini (from firefox package)
debsums: changed file /usr/share/icons/HighContrast/16x16/places/start-here.png (from gnome-accessibility-themes package)
debsums: changed file /usr/share/icons/HighContrast/22x22/places/start-here.png (from gnome-accessibility-themes package)
debsums: changed file /usr/share/icons/HighContrast/24x24/places/start-here.png (from gnome-accessibility-themes package)
debsums: changed file /usr/share/icons/HighContrast/32x32/places/start-here.png (from gnome-accessibility-themes package)
debsums: changed file /usr/share/icons/HighContrast/48x48/places/start-here.png (from gnome-accessibility-themes package)
debsums: changed file /usr/share/icons/HighContrast/scalable/places/start-here.svg (from gnome-accessibility-themes package)
debsums: changed file /usr/share/icons/gnome/16x16/places/debian-swirl.png (from gnome-icon-theme package)
debsums: changed file /usr/share/icons/gnome/22x22/places/debian-swirl.png (from gnome-icon-theme package)
debsums: changed file /usr/share/icons/gnome/24x24/places/debian-swirl.png (from gnome-icon-theme package)
debsums: changed file /usr/share/icons/gnome/32x32/places/debian-swirl.png (from gnome-icon-theme package)
debsums: changed file /usr/share/icons/gnome/48x48/places/debian-swirl.png (from gnome-icon-theme package)
debsums: changed file /usr/share/icons/gnome/scalable/places/debian-swirl.svg (from gnome-icon-theme package)
debsums: changed file /usr/share/applications/im-config.desktop (from im-config package)
debsums: changed file /usr/share/applications/info.desktop (from info package)
debsums: changed file /usr/lib/x86_64-linux-gnu/libavcodec.so.58.54.100 (from libavcodec-extra58:amd64 package)
debsums: changed file /usr/share/applications/libreoffice-draw.desktop (from libreoffice-draw package)
debsums: changed file /usr/share/applications/libreoffice-math.desktop (from libreoffice-math package)
debsums: changed file /usr/share/applications/mate-color-select.desktop (from mate-desktop package)
debsums: changed file /var/lib/smartmontools/drivedb/drivedb.h (from smartmontools package)
debsums: changed file /usr/share/sounds/freedesktop/stereo/device-added.oga (from sound-theme-freedesktop package)
debsums: chang...

Read more...

Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :

Something different happening this morning! I ran the gdb for fcl to obtain the back trace for you, but unexpectedly the program actually started! There are some messages in the output, but the GUI is up and running.

Given this I just tried and both gimp and virtualbox are starting now as well.

What should I do for you now?

I am going to catch up on some of the work I needed to do with these programs first, but I am willing to check further into this for you after that.

Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :

While we have been working on this a number of updates have queued up to be installed. How should I proceed at this point?

Revision history for this message
Sebastien Bacher (seb128) wrote :

I would start by reinstalling libgail-common, restart and see if that brings the issue back. I also think you can install the pending upgrades, it shouldn't make a difference here

Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :

I will take a stab at this later today.

Yesterday while searching a bit I may have encountered the reason these particular packages have a problem. I was doing a search and it may be that the packages having the problem I am seeing are all qt5 users. Could there be a problem between qt5 and the libgail under some circumstances? Is there a qt5 configuration file somewhere that might offer a way to tweak things?

Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :

How do I reinstall libgail-common? I used dpkg -i with libgail-3-0_3.24.20-0ubuntu1_amd64.deb with no change in behavior. I went back to https://launchpad.net/ubuntu/+source/gtk+3.0/3.24.20-0ubuntu1/+build/19437463 but I don't see a libgail-common file there.

Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :

I just thought to look in synaptic and I see it there. Should I install from there, or is there a reason to do so in another manner?

Revision history for this message
Sebastien Bacher (seb128) wrote :

yes, installing from synaptic is fine. The package comes from gtk2 that's why it's not on the gtk3 buildpage

Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :

Installed libgail-common via synaptic as requested and restarted the system. The results are not what I expected:

dhdurgee@z560:~/Downloads$ fcl
Gtk-Message: 12:46:26.155: Failed to load module "gail"

** (fcl:2132): WARNING **: 12:46:26.238: (../atk-adaptor/bridge.c:1018):atk_bridge_adaptor_init: runtime check failed: (root)
dhdurgee@z560:~/Downloads$ apt-cache showpkg libgail-common
Package: libgail-common
Versions:
2.24.32-4ubuntu4 (/var/lib/apt/lists/pubmirrors.dal.corespace.com_ubuntu_dists_focal_main_binary-amd64_Packages)
 Description Language:
                 File: /var/lib/apt/lists/pubmirrors.dal.corespace.com_ubuntu_dists_focal_main_binary-amd64_Packages
                  MD5: 97f579410f9d8e3edb5f60b6c06b9ef7
 Description Language:
                 File: /var/lib/apt/lists/pubmirrors.dal.corespace.com_ubuntu_dists_focal_main_binary-i386_Packages
                  MD5: 97f579410f9d8e3edb5f60b6c06b9ef7
 Description Language: en
                 File: /var/lib/apt/lists/pubmirrors.dal.corespace.com_ubuntu_dists_focal_main_i18n_Translation-en
                  MD5: 97f579410f9d8e3edb5f60b6c06b9ef7

Reverse Depends:
  libgail-common:i386,libgail-common 2.24.32-4ubuntu4
  ubuntu-unity-desktop,libgail-common
  ubuntu-mate-desktop,libgail-common
  ubuntu-mate-core,libgail-common
  ubuntu-budgie-desktop,libgail-common
  multimedia-devel,libgail-common
  libgnomecanvas2-0,libgail-common
  libgail-dev,libgail-common 2.24.32-4ubuntu4
  libgail-common:i386,libgail-common 2.24.32-4ubuntu4
  libgtk2.0-0,libgail-common
Dependencies:
2.24.32-4ubuntu4 - libatk1.0-0 (2 1.32.0) libc6 (2 2.4) libgail18 (5 2.24.32-4ubuntu4) libgdk-pixbuf2.0-0 (2 2.22.1) libglib2.0-0 (2 2.37.3) libgtk2.0-0 (2 2.24.0) libpango-1.0-0 (2 1.28.3) libx11-6 (0 (null)) libgail-common:i386 (35 2.24.32-4ubuntu4) libgail-common:i386 (38 2.24.32-4ubuntu4)
Provides:
2.24.32-4ubuntu4 -
Reverse Provides:
dhdurgee@z560:~/Downloads$

Is this what you expected? I expected either the load failed message to go away or for the crash to return.

Revision history for this message
Sebastien Bacher (seb128) wrote :

the earlier experience of having the segfault not resolved after removing it suggests that you might need to restart the session for the change to be active, did you try to logout and log in again?

Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :

I used synaptic to install the package and then did a restart of the system after cleanly closing all running programs. That of course required me to log back in when the system restarted. Is there more I should do at this point?

Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :

I just installed all of the queued updates with the exception of virtualbox and the linux kernel. Everything appears to be working OK.

I had a thought occur to me, perhaps that console message "Gtk-Message: 11:09:45.426: Failed to load module "gail"

** (fcl:2049): WARNING **: 11:09:45.439: (../atk-adaptor/bridge.c:1018):atk_bridge_adaptor_init: runtime check failed: (root)"

IS normal? I normally launched these packages from the panel in the GUI, so any such messages would not have been visible. I began launching them from a terminal window as a diagnostic, which revealed the segfault message when things broke for whatever the reason was.

Given that removing and re-installing libgail-common appears to have cleared the problem, perhaps something was causing the packages that failed to attempt to use gail when it was not appropriate.

I will let you know if I encounter any further issues.

Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :

I thought to do a web search and it appears that the failure to load "gail" and the atk_bridge_adaptor_init runtime check failure have been reported for a number of packages for a while.

It appears to be a harmless error in my case, but some of the other reported cases appear to prevent packages from working.

If my choices are between a harmless error message and a segfault I will take the harmless error message.

Revision history for this message
dhdurgee@verizon.net (dhdurgee) wrote :

Just found something at https://fossies.org/linux/gtk+/NEWS which contains:

8699 658168 Gtk-Message: Failed to load module "gail"

So this might be a GTK bug that is fixed in GTK+ 3.24.32, 03-03-2022

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.