unity_gtk_action_group_disconnect_shell: runtime check failed: (shell->action_group == group)

Bug #1198471 reported by Angel Guzman Maeso
36
This bug affects 7 people
Affects Status Importance Assigned to Milestone
unity-gtk-module (Ubuntu)
Fix Released
Undecided
William Hua

Bug Description

I get this warning 100% reproducible.

1 ) Open Geany via termianal
2 ) When it loads, press Alt+F4 in geany for close.
3 ) You get:

$ geany

** (geany:1959): WARNING **: (../../../lib/unity-gtk-action-group.c:1030):unity_gtk_action_group_disconnect_shell: runtime check failed: (shell->action_group == group)

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: unity (not installed)
ProcVersionSignature: Ubuntu 3.8.0-13.23-generic 3.8.3
Uname: Linux 3.8.0-13-generic i686
.tmp.unity.support.test.0:

ApportVersion: 2.10.2-0ubuntu3
Architecture: i386
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
Date: Sat Jul 6 16:32:23 2013
DistUpgraded: 2013-02-03 16:52:54,873 DEBUG enabling apt cron job
DistroCodename: saucy
DistroVariant: ubuntu
GraphicsCard:
 Advanced Micro Devices, Inc. [AMD/ATI] Madison [Mobility Radeon HD 5650/5750 / 6530M/6550M] [1002:68c1] (prog-if 00 [VGA controller])
   Subsystem: Acer Incorporated [ALI] Mobility Radeon HD 5650 [1025:042f]
InstallationDate: Installed on 2013-02-03 (153 days ago)
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
MachineType: Acer Aspire 5943G
MarkForUpload: True
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-13-generic root=UUID=7f18d659-ec06-4afe-b3be-13b15de376b2 ro quiet splash vt.handoff=7
SourcePackage: unity
UpgradeStatus: Upgraded to saucy on 2013-02-03 (152 days ago)
dmi.bios.date: 05/07/2010
dmi.bios.vendor: Acer
dmi.bios.version: V1.06
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Aspire 5943G
dmi.board.vendor: Acer
dmi.board.version: V1.06
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.version: V1.06
dmi.modalias: dmi:bvnAcer:bvrV1.06:bd05/07/2010:svnAcer:pnAspire5943G:pvrV1.06:rvnAcer:rnAspire5943G:rvrV1.06:cvnAcer:ct10:cvrV1.06:
dmi.product.name: Aspire 5943G
dmi.product.version: V1.06
dmi.sys.vendor: Acer
version.compiz: compiz 1:0.9.9~daily13.04.18.1~13.04-0ubuntu2
version.libdrm2: libdrm2 2.4.45-2ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 9.1.4-0ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 9.1.4-0ubuntu2
version.xserver-xorg-core: xserver-xorg-core 2:1.14.1-0ubuntu0.8
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu3.1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.1.0-0ubuntu2.1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.21.9-0ubuntu3
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.8-0ubuntu1.1
xserver.bootTime: Fri Jul 5 19:12:57 2013
xserver.configfile: default
xserver.errors:

xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.13.3-0ubuntu13
xserver.video_driver: radeon
---
.tmp.unity.support.test.0:

ApportVersion: 2.12.5-0ubuntu2
Architecture: i386
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
DistUpgraded: 2013-02-03 16:52:54,873 DEBUG enabling apt cron job
DistroCodename: saucy
DistroRelease: Ubuntu 13.10
DistroVariant: ubuntu
GraphicsCard:
 Advanced Micro Devices, Inc. [AMD/ATI] Madison [Mobility Radeon HD 5650/5750 / 6530M/6550M] [1002:68c1] (prog-if 00 [VGA controller])
   Subsystem: Acer Incorporated [ALI] Mobility Radeon HD 5650 [1025:042f]
InstallationDate: Installed on 2013-02-03 (260 days ago)
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
JockeyStatus:
 kmod:fglrx - ATI Fire GL (Privativo, Activado, En uso)
 kmod:fglrx_updates - Video driver for the AMD graphics accelerators (Privativo, Desactivado, No está en uso)
MachineType: Acer Aspire 5943G
MarkForUpload: True
NonfreeKernelModules: fglrx
Package: unity 7.1.2+13.10.20131014.1-0ubuntu1
PackageArchitecture: i386
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-13-generic root=UUID=7f18d659-ec06-4afe-b3be-13b15de376b2 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.8.0-13.23-generic 3.8.3
Tags: saucy saucy saucy ubuntu compiz-0.9
Uname: Linux 3.8.0-13-generic i686
UpgradeStatus: Upgraded to saucy on 2013-02-03 (260 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 10/21/2010
dmi.bios.vendor: Acer
dmi.bios.version: V1.15
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Aspire 5943G
dmi.board.vendor: Acer
dmi.board.version: V1.15
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.version: V1.15
dmi.modalias: dmi:bvnAcer:bvrV1.15:bd10/21/2010:svnAcer:pnAspire5943G:pvrV1.15:rvnAcer:rnAspire5943G:rvrV1.15:cvnAcer:ct10:cvrV1.15:
dmi.product.name: Aspire 5943G
dmi.product.version: V1.15
dmi.sys.vendor: Acer
version.compiz: compiz 1:0.9.10+13.10.20131011-0ubuntu1
version.fglrx-installer: fglrx-installer N/A
version.libdrm2: libdrm2 2.4.46-1
version.libgl1-mesa-dri: libgl1-mesa-dri 9.2.1-1ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 9.2.1-1ubuntu3
version.xserver-xorg-core: xserver-xorg-core 2:1.14.3-3ubuntu2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu3.1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.2.0-0ubuntu10
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.904-0ubuntu2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.9-2ubuntu1
xserver.bootTime: Mon Oct 21 15:10:52 2013
xserver.configfile: default
xserver.errors:
 Failed to load /usr/lib/xorg/modules/libglamoregl.so: /usr/lib/xorg/modules/libglamoregl.so: undefined symbol: _glapi_tls_Context
 Failed to load module "glamoregl" (loader failed, 7)
 open /dev/dri/card0: No such file or directory
xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.14.3-3ubuntu2
xserver.video_driver: fglrx

Related branches

Revision history for this message
Angel Guzman Maeso (shakaran) wrote :
Revision history for this message
Angel Guzman Maeso (shakaran) wrote : BootDmesg.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Angel Guzman Maeso (shakaran) wrote : BootLog.txt

apport information

Revision history for this message
Angel Guzman Maeso (shakaran) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Angel Guzman Maeso (shakaran) wrote : Dependencies.txt

apport information

Revision history for this message
Angel Guzman Maeso (shakaran) wrote : DkmsStatus.txt

apport information

Revision history for this message
Angel Guzman Maeso (shakaran) wrote : DpkgLog.txt

apport information

Revision history for this message
Angel Guzman Maeso (shakaran) wrote : GconfCompiz.txt

apport information

Revision history for this message
Angel Guzman Maeso (shakaran) wrote : LightdmDisplayLog.txt

apport information

Revision history for this message
Angel Guzman Maeso (shakaran) wrote : LightdmGreeterLog.txt

apport information

Revision history for this message
Angel Guzman Maeso (shakaran) wrote : LightdmGreeterLogOld.txt

apport information

Revision history for this message
Angel Guzman Maeso (shakaran) wrote : LightdmLog.txt

apport information

Revision history for this message
Angel Guzman Maeso (shakaran) wrote : Lspci.txt

apport information

Revision history for this message
Angel Guzman Maeso (shakaran) wrote : Lsusb.txt

apport information

Revision history for this message
Angel Guzman Maeso (shakaran) wrote : MonitorsUser.xml.txt

apport information

Revision history for this message
Angel Guzman Maeso (shakaran) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Angel Guzman Maeso (shakaran) wrote : ProcEnviron.txt

apport information

Revision history for this message
Angel Guzman Maeso (shakaran) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Angel Guzman Maeso (shakaran) wrote : ProcModules.txt

apport information

Revision history for this message
Angel Guzman Maeso (shakaran) wrote : UdevDb.txt

apport information

Revision history for this message
Angel Guzman Maeso (shakaran) wrote : UdevLog.txt

apport information

Revision history for this message
Angel Guzman Maeso (shakaran) wrote : UnitySupportTest.txt

apport information

Revision history for this message
Angel Guzman Maeso (shakaran) wrote : XorgLog.txt

apport information

Revision history for this message
Angel Guzman Maeso (shakaran) wrote : XorgLogOld.txt

apport information

Revision history for this message
Angel Guzman Maeso (shakaran) wrote : Xrandr.txt

apport information

Revision history for this message
Angel Guzman Maeso (shakaran) wrote : xdpyinfo.txt

apport information

Revision history for this message
Angel Guzman Maeso (shakaran) wrote : xserver.devices.txt

apport information

Revision history for this message
Angel Guzman Maeso (shakaran) wrote : xserver.outputs.txt

apport information

Revision history for this message
Angel Guzman Maeso (shakaran) wrote :

I get the same errors for Filezilla:

$ filezilla

** (filezilla:19208): WARNING **: (../../../lib/unity-gtk-action-group.c:1030):unity_gtk_action_group_disconnect_shell: runtime check failed: (shell->action_group == group)

** (filezilla:19208): WARNING **: (../../../lib/unity-gtk-action-group.c:1030):unity_gtk_action_group_disconnect_shell: runtime check failed: (shell->action_group == group)

** (filezilla:19208): WARNING **: (../../../lib/unity-gtk-action-group.c:1030):unity_gtk_action_group_disconnect_shell: runtime check failed: (shell->action_group == group)

** (filezilla:19208): WARNING **: (../../../lib/unity-gtk-action-group.c:1030):unity_gtk_action_group_disconnect_shell: runtime check failed: (shell->action_group == group)

** (filezilla:19208): WARNING **: (../../../lib/unity-gtk-action-group.c:1030):unity_gtk_action_group_disconnect_shell: runtime check failed: (shell->action_group == group)

** (filezilla:19208): WARNING **: (../../../lib/unity-gtk-action-group.c:1030):unity_gtk_action_group_disconnect_shell: runtime check failed: (shell->action_group == group)

** (filezilla:19208): WARNING **: (../../../lib/unity-gtk-action-group.c:1030):unity_gtk_action_group_disconnect_shell: runtime check failed: (shell->action_group == group)

Revision history for this message
Angel Guzman Maeso (shakaran) wrote :

Change to really package affected

affects: unity (Ubuntu) → unity-gtk-module (Ubuntu)
Revision history for this message
Angel Guzman Maeso (shakaran) wrote :
Download full text (9.0 KiB)

More info for debugging:

Version in use:
ii unity-gtk-module-common 0.0.0+13.10.20130716 all Common files for GtkMenuShell D-Bus exporter

Enabling some debug enviroment vars I get more info:

$ UNITY_GTK_ACTION_GROUP_DEBUG=1 UNITY_GTK_MENU_SHELL_DEBUG=1 filezilla
unity_gtk_menu_shell_handle_item_notify ((UnityGtkMenuShell *) 0xb4203430, (UnityGtkMenuItem *) 0x9d24aa0 { "_Gestor de sitios..." }, parent)
unity_gtk_menu_shell_handle_item_notify ((UnityGtkMenuShell *) 0xb4203430, (UnityGtkMenuItem *) 0x9d24b90 { "_Copiar conexión actual al gestor de sitios..." }, parent)
unity_gtk_menu_shell_handle_item_notify ((UnityGtkMenuShell *) 0xb4203430, (UnityGtkMenuItem *) 0x9d24a28 { "(null)" }, parent)
unity_gtk_menu_shell_handle_item_notify ((UnityGtkMenuShell *) 0xb4203430, (UnityGtkMenuItem *) 0x9d24bb8 { "Nueva _pestaña" }, parent)
unity_gtk_menu_shell_handle_item_notify ((UnityGtkMenuShell *) 0xb4203430, (UnityGtkMenuItem *) 0x9d24a50 { "C_errar pestaña" }, parent)
unity_gtk_menu_shell_handle_item_notify ((UnityGtkMenuShell *) 0xb4203430, (UnityGtkMenuItem *) 0x9d24b40 { "(null)" }, parent)
unity_gtk_menu_shell_handle_item_notify ((UnityGtkMenuShell *) 0xb4203430, (UnityGtkMenuItem *) 0x9d1e0f0 { "_Exportar..." }, parent)
unity_gtk_menu_shell_handle_item_notify ((UnityGtkMenuShell *) 0xb4203430, (UnityGtkMenuItem *) 0xa184c00 { "_Importar..." }, parent)
unity_gtk_menu_shell_handle_item_notify ((UnityGtkMenuShell *) 0xb4203430, (UnityGtkMenuItem *) 0x9d24af0 { "(null)" }, parent)
unity_gtk_menu_shell_handle_item_notify ((UnityGtkMenuShell *) 0xb4203430, (UnityGtkMenuItem *) 0xa328800 { "Mostrar arc_hivos que están siendo editados..." }, parent)
unity_gtk_menu_shell_handle_item_notify ((UnityGtkMenuShell *) 0xb4203430, (UnityGtkMenuItem *) 0xa328828 { "(null)" }, parent)
unity_gtk_menu_shell_handle_item_notify ((UnityGtkMenuShell *) 0xb4203430, (UnityGtkMenuItem *) 0xa328850 { "Sali_r" }, parent)
unity_gtk_menu_shell_handle_item_notify ((UnityGtkMenuShell *) 0xb2403350, (UnityGtkMenuItem *) 0xa328878 { "_Asistente de configuración de red..." }, parent)
unity_gtk_menu_shell_handle_item_notify ((UnityGtkMenuShell *) 0xb2403350, (UnityGtkMenuItem *) 0xa3288a0 { "_Limpiar información privada..." }, parent)
unity_gtk_menu_shell_handle_item_notify ((UnityGtkMenuShell *) 0xb2403350, (UnityGtkMenuItem *) 0xa3288c8 { "(null)" }, parent)
unity_gtk_menu_shell_handle_item_notify ((UnityGtkMenuShell *) 0xb2403350, (UnityGtkMenuItem *) 0xa3288f0 { "_Opciones..." }, parent)
unity_gtk_menu_shell_handle_item_notify ((UnityGtkMenuShell *) 0xa1cda90, (UnityGtkMenuItem *) 0xa328918 { "_Actualizar" }, parent)
unity_gtk_menu_shell_handle_item_notify ((UnityGtkMenuShell *) 0xa1cda90, (UnityGtkMenuItem *) 0xa328940 { "(null)" }, parent)
unity_gtk_menu_shell_handle_item_notify ((UnityGtkMenuShell *) 0xa1cda90, (UnityGtkMenuItem *) 0xa328968 { "_Filtros de nombre de archivo..." }, parent)
unity_gtk_menu_shell_handle_item_notify ((UnityGtkMenuShell *) 0xa1cda90, (UnityGtkMenuItem *) 0xa328990 { "Comparación de _directorios" }, parent)
unity_gtk_menu_shell_handle_item_notify ((UnityGtkMenuShell *) 0xa1cda90, (UnityGtkMenuItem *) 0xa3289b8 { "Navegac...

Read more...

Revision history for this message
Angel Guzman Maeso (shakaran) wrote :

The warning is raised for the following chunk of code in lib/unity-gtk-action-group.c:1030:

/**
 * unity_gtk_action_group_disconnect_shell:
 * @group: a #UnityGtkActionGroup.
 * @shell: a #UnityGtkMenuShell.
 *
 * Removes the actions for @shell from @group.
 */
void
unity_gtk_action_group_disconnect_shell (UnityGtkActionGroup *group,
                                         UnityGtkMenuShell *shell)
{
  UnityGtkActionGroup *action_group;
  GSequence *visible_indices;

  g_return_if_fail (UNITY_GTK_IS_ACTION_GROUP (group));
  g_return_if_fail (UNITY_GTK_IS_MENU_SHELL (shell));
  g_warn_if_fail (shell->action_group == group);

  visible_indices = shell->visible_indices;

----

Specifically the line:

  g_warn_if_fail (shell->action_group == group);

I think that could be raised by handling the data like { "(null)" }, parent) in unity_gtk_menu_shell_handle_item_notify. Because the data is null, but I am still digging in the source code

William Hua (attente)
Changed in unity-gtk-module (Ubuntu):
assignee: nobody → William Hua (attente)
status: New → Confirmed
William Hua (attente)
Changed in unity-gtk-module (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Angel Guzman Maeso (shakaran) wrote :

Hi William, since the fix branch is approved, could you build or request a sponsor for upload a new .deb version with the fix at least for trusty?

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

This bug was fixed in the package unity-gtk-module - 0.0.0+14.04.20140213.2-0ubuntu1

---------------
unity-gtk-module (0.0.0+14.04.20140213.2-0ubuntu1) trusty; urgency=low

  [ William Hua ]
  * Fix regression on GtkRecentChooserMenus. (LP: #1243974). (LP:
    #1243974)
  * Use Multi-Arch: foreign in debian/control.
  * Relax the preconditions for disconnecting action groups from shells.
    (LP: #1198471) If we have this situation: Menu A (action group G)
    Menu B (action group G) Menu C (action group G) <- about to be
    destroyed Menu D (action group G) Menu E (action group G) and Menu C
    is destroyed, we get: Menu A (action group G) Menu B (action group
    G) Menu C (no action group) Menu D (no action group) Menu E (no
    action group) So when Menu A is disconnected from G, this causes the
    warnings from LP: #1198471. One thing we could have tried was just
    removing the tree rooted at Menu C, but then that would break
    removing the entire tree rooted at Menu A. Also, we'd have to end up
    doing this by having the Menu C unref itself. It's really easiest to
    treat it as a dead sub-tree that will be finalized when the entire
    tree is finalized. Let's relax the preconditions on the
    unity_gtk_action_group_disconnect_item and
    unity_gtk_action_group_disconnect_shell functions, and allow the
    case where the shell's action group is already set to NULL. (LP:
    #1198471)
  * Remove our g_ptr_array_insert (), it's added in GLib 2.40.

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 313
 -- Ubuntu daily release <email address hidden> Thu, 13 Feb 2014 18:05:57 +0000

Changed in unity-gtk-module (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Angel Guzman Maeso (shakaran) wrote :

Verified. It is working perfect in trusty. Thanks for your time and effort

Revision history for this message
Pasqualino De Marco (pasqualinodemarco) wrote :

In my Ubuntu 14:04:01 filezilla does not work.

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.