Lots of errors from unity-panel-service about gtk_menu_detach flooding syslog

Bug #1797113 reported by Jeff Lane 
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
unity (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I'm seeing a LOT of these messages appear, pretty much every minute or so

Oct 10 08:11:05 galactica unity-panel-ser[27446]: gtk_icon_info_get_filename: assertion 'icon_info != NULL' failed
Oct 10 08:11:05 galactica unity-panel-ser[27446]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Oct 10 08:11:05 galactica unity-panel-ser[27446]: gtk_icon_info_get_filename: assertion 'icon_info != NULL' failed
Oct 10 08:11:05 galactica unity-panel-ser[27446]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Oct 10 08:11:29 galactica unity-panel-ser[27446]: gtk_menu_detach(): menu is not attached
Oct 10 08:11:35 galactica unity-panel-ser[27446]: gtk_icon_info_get_filename: assertion 'icon_info != NULL' failed
Oct 10 08:11:35 galactica unity-panel-ser[27446]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Oct 10 08:11:35 galactica unity-panel-ser[27446]: gtk_icon_info_get_filename: assertion 'icon_info != NULL' failed
Oct 10 08:11:35 galactica unity-panel-ser[27446]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Oct 10 08:11:50 galactica unity-panel-ser[27446]: gtk_menu_detach(): menu is not attached
Oct 10 08:11:50 galactica unity-panel-ser[27446]: gtk_menu_detach(): menu is not attached
Oct 10 08:11:51 galactica polkit-gnome-au[27397]: GtkDialog mapped without a transient parent. This is discouraged.
Oct 10 08:11:51 galactica unity-panel-ser[27446]: gtk_menu_detach(): menu is not attached
Oct 10 08:11:55 galactica unity-panel-ser[27446]: gtk_menu_detach(): menu is not attached

for example, the gtk_menu_detach(): menu is not attached message appears in the previous syslog (it just rotated this morning), 1566 times between midnight Oct 9 and Midnight Oct 10, or roughly 1x per minute, or 65 times an hour. And there's no idea what is actually causing that message to occur.

bladernr@galactica:~$ grep gtk_menu_detach /var/log/syslog.1 |wc -l
1566
bladernr@galactica:~$ head -1 /var/log/syslog.1
Oct 9 00:10:13 galactica rsyslogd: [origin software="rsyslogd" swVersion="8.32.0" x-pid="2909" x-info="http://www.rsyslog.com"] rsyslogd was HUPed
bladernr@galactica:~$ tail -1 /var/log/syslog.1
Oct 10 00:08:42 galactica systemd[1]: Removed slice User Slice of nobody.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: unity-services 7.5.0+18.04.20180413-0ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-36.39-generic 4.15.18
Uname: Linux 4.15.0-36-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
.tmp.unity_support_test.0:

ApportVersion: 2.20.9-0ubuntu7.4
Architecture: amd64
CompizPlugins: [core,composite,opengl,compiztoolbox,decor,vpswitch,snap,mousepoll,resize,place,move,wall,grid,regex,imgpng,session,gnomecompat,animation,fade,unitymtgrabhandles,workarounds,scale,expo,ezoom,unityshell]
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
CurrentDesktop: Unity:Unity7:ubuntu
Date: Wed Oct 10 08:11:29 2018
DistUpgraded: Fresh install
DistroCodename: bionic
DistroVariant: ubuntu
GraphicsCard:
 Intel Corporation HD Graphics 530 [8086:1912] (rev 06) (prog-if 00 [VGA controller])
   Subsystem: Gigabyte Technology Co., Ltd HD Graphics 530 [1458:d000]
InstallationDate: Installed on 2016-02-11 (971 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160210)
MachineType: Gigabyte Technology Co., Ltd. Z170MX-Gaming 5
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-36-generic root=UUID=fa272e99-2333-4360-a2f3-edbde23a1fed ro splash vt.handoff=1
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/16/2015
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F3
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: Z170MX-Gaming 5
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF3:bd10/16/2015:svnGigabyteTechnologyCo.,Ltd.:pnZ170MX-Gaming5:pvrTobefilledbyO.E.M.:rvnGigabyteTechnologyCo.,Ltd.:rnZ170MX-Gaming5:rvrx.x:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: Z170MX-Gaming 5
dmi.product.version: To be filled by O.E.M.
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
upstart.unity7.log:
 WARN 2018-04-26 10:55:49 unityct(io) <unknown>:0 Desktop file '/usr/share/applications/terminator.desktop' is using a deprecated format for its actions that will be dropped soon.
 Gdk-Message: 11:24:24.965: compiz: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
version.compiz: compiz 1:0.9.13.1+18.04.20180302-0ubuntu1
version.libdrm2: libdrm2 2.4.91-2
version.libgl1-mesa-dri: libgl1-mesa-dri 18.0.5-0ubuntu0~18.04.1
version.libgl1-mesa-glx: libgl1-mesa-glx 18.0.5-0ubuntu0~18.04.1
version.xserver-xorg-core: xserver-xorg-core 2:1.19.6-1ubuntu4
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.5-1ubuntu1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:18.0.1-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20171229-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-2
xserver.bootTime: Mon Oct 8 13:05:02 2018
xserver.configfile: default
xserver.errors:

xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.19.6-1ubuntu4
xserver.video_driver: modeset

Revision history for this message
Jeff Lane  (bladernr) wrote :
Revision history for this message
Khurshid Alam (khurshid-alam) wrote :

I can't reproduce this cosmic. Can you try reproduce this on cosmic? Also specify how to reproduce? IS it specific to a particular app ?

Revision history for this message
Jeff Lane  (bladernr) wrote : Re: [Bug 1797113] Re: Lots of errors from unity-panel-service about gtk_menu_detach flooding syslog

On Wed, Oct 10, 2018 at 9:20 AM Khurshid Alam
<email address hidden> wrote:
>
> I can't reproduce this cosmic. Can you try reproduce this on cosmic?
> Also specify how to reproduce? IS it specific to a particular app ?

I am not currently able to try this with Cosmic. This is my primary
workstation and I don't want to get it off the LTS cycle.
Unfortunately, I don't have a second computer that I can install
Cosmic on to try. As for steps to reproduce, I just noticed
something. In the Settings for "Desktop Appearance"/Behaviour, I have
Menus Visibilty set to "Displayed on Mouse Hovering". I set that to
"Always Display" instead, and tried moving the mouse between multiple
windows, but I still get these errors:
Oct 10 11:39:41 galactica unity-panel-ser[27446]: gtk_menu_detach():
menu is not attached
Oct 10 11:39:43 galactica unity-panel-ser[27446]: message repeated 7
times: [ gtk_menu_detach(): menu is not attached]
Oct 10 11:39:43 galactica unity-panel-ser[27446]: gtk_menu_detach():
menu is not attached
Oct 10 11:39:43 galactica unity-panel-ser[27446]: gtk_menu_detach():
menu is not attached
Oct 10 11:39:46 galactica unity-panel-ser[27446]: message repeated 7
times: [ gtk_menu_detach(): menu is not attached]

Likewise, when I run unity-tweak-tool and click between tabs within
the window, those errors are generated.

In unity tweak tool, under Window Manager / General / Additional,
mouse focus behaviour is set to Sloppy (focus follows mouse). Setting
that to "Click" slightly changes the behaviour in that the error isn't
generated until I click inside a window to focus it. So the behaviour
seems to be tied to focusing windows, or perhaps a redraw that's
triggered by the focus grab.

But that's the best I can tell you, I'm not super knowledgable about
how window management works.

Revision history for this message
Khurshid Alam (khurshid-alam) wrote :

I can't reproduce this on bionic either. The error something related to compiz/unity is broken. Do try installing ubuntu-unity-desktop to see if any package is missing. If you have upgraded from 16.04 then it could be the issue with compiz profile broken. Check askubuntu answer how to reset compiz.

And about testing, you can check with live usb Make a persistent live usb, boot from it and install ubuntu-unity-desktop.

Btw unitu-tweak-tool is not maintained at the moment. Instead try ccsm.

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

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

Changed in unity (Ubuntu):
status: New → Confirmed
Revision history for this message
Antonio Cunei (bendreth) wrote :

I have the same message, and in my case it is "indicator-power-service". The messages only appear when on battery, and stop if I kill the indicator.

Revision history for this message
Khurshid Alam (khurshid-alam) wrote :

@Antonio Cunei

What are your power settings in unity-control-center ?

Revision history for this message
Roger Davis (rogerdavis-d) wrote :
Download full text (4.1 KiB)

May 19 23:37:18 roger-desktop gnome-panel[2218]: gtk_icon_info_get_filename: assertion 'icon_info != NULL' failed
May 19 23:37:18 roger-desktop gnome-panel[2218]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 19 23:37:52 roger-desktop rtkit-daemon[1668]: Supervising 7 threads of 4 processes of 1 users.
May 19 23:38:02 roger-desktop kernel: [25433.653001] perf: interrupt took too long (3154 > 3152), lowering kernel.perf_event_max_sample_rate to 63250
May 19 23:37:52 roger-desktop rtkit-daemon[1668]: Supervising 7 threads of 4 processes of 1 users.
May 19 23:38:18 roger-desktop gnome-panel[2218]: gtk_icon_info_get_filename: assertion 'icon_info != NULL' failed
May 19 23:38:18 roger-desktop gnome-panel[2218]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 19 23:38:18 roger-desktop gnome-panel[2218]: gtk_icon_info_get_filename: assertion 'icon_info != NULL' failed
May 19 23:38:18 roger-desktop gnome-panel[2218]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 19 23:38:18 roger-desktop gnome-panel[2218]: gtk_icon_info_get_filename: assertion 'icon_info != NULL' failed
May 19 23:38:18 roger-desktop gnome-panel[2218]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 19 23:38:48 roger-desktop gnome-panel[2218]: gtk_icon_info_get_filename: assertion 'icon_info != NULL' failed
May 19 23:38:48 roger-desktop gnome-panel[2218]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 19 23:38:48 roger-desktop gnome-panel[2218]: gtk_icon_info_get_filename: assertion 'icon_info != NULL' failed
May 19 23:38:48 roger-desktop gnome-panel[2218]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 19 23:38:48 roger-desktop gnome-panel[2218]: gtk_icon_info_get_filename: assertion 'icon_info != NULL' failed
May 19 23:38:48 roger-desktop gnome-panel[2218]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 19 23:39:28 roger-desktop rtkit-daemon[1668]: Supervising 7 threads of 4 processes of 1 users.
May 19 23:39:28 roger-desktop rtkit-daemon[1668]: Supervising 7 threads of 4 processes of 1 users.
May 19 23:39:48 roger-desktop gnome-panel[2218]: gtk_icon_info_get_filename: assertion 'icon_info != NULL' failed
May 19 23:39:48 roger-desktop gnome-panel[2218]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 19 23:39:48 roger-desktop gnome-panel[2218]: gtk_icon_info_get_filename: assertion 'icon_info != NULL' failed
May 19 23:39:48 roger-desktop gnome-panel[2218]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 19 23:39:48 roger-desktop gnome-panel[2218]: gtk_icon_info_get_filename: assertion 'icon_info != NULL' failed
May 19 23:39:48 roger-desktop gnome-panel[2218]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 19 23:40:18 roger-desktop gnome-panel[2218]: gtk_icon_info_get_filename: assertion 'icon_info != NULL' failed
May 19 23:40:18 roger-desktop gnome-panel[2218]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 19 23:40:18 roger-desktop gnome-panel[2218]: gtk_icon_info_get_filename: assertion 'icon_info != NULL' failed
May 19 23:40:18 roger-desktop gnome-panel[2218]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 19 23:40:18 roger-desk...

Read more...

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.