Bug 672793

Summary: [maintenance] GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
Product: [openSUSE] openSUSE 11.4 Reporter: Terje J. Hanssen <terjejhanssen>
Component: GNOMEAssignee: E-mail List <gnome-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: alexio44, andrea, ash25.icon, badshah400, cedric, idulk, lub997, Martin.Seidler, phillip, rjschwei, vuntz
Version: RC 1   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard: maint:released:11.4:42528
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Terje J. Hanssen 2011-02-16 21:06:49 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:2.0b10) Gecko/20110121 Firefox/4.0b10

On openSUSE x86_84 RC1/Gnome lately, this error message occures repeatingly on a couple of machines, both during openSUSE package upgrades and third party package installations:

# zypper dup
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Loading repository data...
Reading installed packages...
Computing distribution upgrade...

The following product is going to be downgraded:
  openSUSE 11.4 

The following package is going to be reinstalled:
  openSUSE-release 

1 package to reinstall.
Overall download size: 16.0 KiB. No additional space will be used or freed after the 
operation.
Continue? [y/n/?] (y): 
Do you agree with the terms of the license? [yes/no] (no): yes
Retrieving package openSUSE-release-11.4-1.36.x86_64 (1/1), 16.0 KiB (90.0 KiB unpacked)
**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
Retrieving: openSUSE-release-11.4-1.36.x86_64.rpm [100% (379 B/s)]**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
Retrieving: openSUSE-release-11.4-1.36.x86_64.rpm [done]
Installing: openSUSE-release-11.4-1.36 [done]


Reproducible: Always

Steps to Reproduce:
1.as above
2.
3.
Actual Results:  
as above

Expected Results:  
the error message should not occure
Comment 1 Terje J. Hanssen 2011-02-17 20:43:08 UTC
Got the same error here using just 'su' and next 'gedit'

terje@linux-0wgg:~> cd /boot/grub
terje@linux-0wgg:/boot/grub> su
Password: 
linux-0wgg:/boot/grub # gedit menu.lst
**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
linux-0wgg:/boot/grub # 

-------------------

(su - works ok)
Comment 2 Terje J. Hanssen 2011-02-21 09:02:48 UTC
Got the same GLib-GIO:ERROR today on a third machine also.
Comment 3 Michael Andres 2011-03-07 12:07:30 UTC
This seems to be a gnome specific issue.
Comment 4 Michael Andres 2011-03-07 12:14:20 UTC
*** Bug 671355 has been marked as a duplicate of this bug. ***
Comment 5 Michael Andres 2011-03-07 12:17:17 UTC
*** Bug 671996 has been marked as a duplicate of this bug. ***
Comment 6 Vincent Untz 2011-03-10 09:38:51 UTC
*** Bug 677911 has been marked as a duplicate of this bug. ***
Comment 7 Vincent Untz 2011-03-10 09:47:20 UTC
This is bug 655751.

*** This bug has been marked as a duplicate of bug 655751 ***
Comment 8 Martin Seidler 2011-04-27 20:27:42 UTC
(In reply to comment #1)
> Got the same error here using just 'su' and next 'gedit'
> 
[...]
> 
> (su - works ok)

See also:
Bug 682726 - Reference suggests only "su" instead of "su -"/su -l/su --login "make the shell a login shell"
https://bugzilla.novell.com/show_bug.cgi?id=682726
Comment 9 Thomas Göttlicher 2011-05-06 08:48:37 UTC
*** Bug 692060 has been marked as a duplicate of this bug. ***
Comment 10 Fan Jun Kong 2011-05-12 07:45:35 UTC
I think we should fix this because a lot of community users don't know using to avoid this warning
Comment 11 Terje J. Hanssen 2011-05-12 11:12:18 UTC
And even if one knows, the warnings is a repeating irritation because one has been used with "su" only to get quick root access (which neither change to /root directory). 

I.e 'zypper up' on 11.3 Thumbleweed currently runs without this warnings after using "su" only. The bug is therefore repopened.
Comment 12 Fan Jun Kong 2011-05-27 09:16:10 UTC
This bug was fixed on openSUSE11.4 Gnome3 version, so we can closed it
Comment 13 andrea florio 2011-05-27 14:12:09 UTC
@Fan Jun Kong

you can't close it. the bug is NOT fixed as much as we are concerned. you must backport the fix to apply to the gnome version supported by openSUSE 11.4 that is NOT gnome 3.

so sorry, but this bug is probably fixed for openSUSE Factory but NOT for the platform it has been open.
Comment 14 Vincent Untz 2011-05-31 14:29:11 UTC
This is fixed upstream, backport to 11.4 should be possible: http://git.gnome.org/browse/glib/commit/?id=68b16de
Comment 15 Vincent Untz 2011-05-31 14:40:04 UTC
Adding a maintenance tag to the subject so that we don't forget to work on the maintenance update.
Comment 16 Atri Bhattacharya 2011-05-31 18:43:37 UTC
@Maintenance
We would like to release an online update for this. Patched packages are already built at home:badshah400:branches:openSUSE:11.4:Update:Test
Comment 17 Marcus Meissner 2011-06-01 10:09:17 UTC
looks good and sensible. +1
Comment 18 Fan Jun Kong 2011-06-02 01:49:07 UTC
(In reply to comment #14)
> This is fixed upstream, backport to 11.4 should be possible:
> http://git.gnome.org/browse/glib/commit/?id=68b16de

I had tried that patch on openSUSE11.4.
when using 'su' and run zypper se something, here is the output messages

GConf Error: Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/ for information. (Details -  1: Failed to get connection to session: The connection is closed)
GConf Error: Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/ for information. (Details -  1: Failed to get connection to session: The connection is closed)
GConf Error: Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/ for information. (Details -  1: Failed to get connection to session: The connection is closed)


(In reply to comment #16)
> @Maintenance
> We would like to release an online update for this. Patched packages are
> already built at home:badshah400:branches:openSUSE:11.4:Update:Test

hey guys, Do you have the same problem?
Comment 19 Christian Dengler 2011-06-03 14:24:38 UTC
update started - swampid: 41334
Comment 20 Joshua Ammons 2011-06-11 06:39:59 UTC
I am experiencing this bug, too. It is happening on both my laptop and my server, both running openSUSE 11.4.
Comment 21 Alex Rodriguez 2011-06-24 15:00:39 UTC
Same problem here ...

Every action that requires the use of the internet display the same warning message

Are you going to release the patch to resolve this issue ??

********
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
Obteniendo los metadatos del repositorio 'openSUSE BuildService - devel:languages:python' [hecho]
Construyendo el caché del repositorio 'openSUSE BuildService - devel:languages:python' [hecho]
**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
El repositorio 'Repositorio Principal (Contrib)' está actualizado.
**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
Obteniendo los metadatos del repositorio 'Repositorio de actualizaciones (depuración)' [\]**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
Obteniendo los metadatos del repositorio 'Repositorio de actualizaciones (depuración)' [\]**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
Obteniendo los metadatos del repositorio 'Repositorio de actualizaciones (depuración)' [hecho]
Construyendo el caché del repositorio 'Repositorio de actualizaciones (depuración)' [hecho]
**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
El repositorio 'BuildService de openSUSE - Controladores para cámaras web' está actualizado.
**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
El repositorio 'libdvdcss repository' está actualizado.
**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
Obteniendo los metadatos del repositorio 'Packman Repository' [/]**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
Obteniendo los metadatos del repositorio 'Packman Repository' [-]**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
Obteniendo los metadatos del repositorio 'Packman Repository' [hecho]
Construyendo el caché del repositorio 'Packman Repository' [hecho]
**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
El repositorio 'openSUSE-11.4-Non-Oss' está actualizado.
**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
El repositorio 'openSUSE-11.4-Oss' está actualizado.
**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
El repositorio 'openSUSE-11.4-Source' está actualizado.
Comment 22 Atri Bhattacharya 2011-06-24 17:53:59 UTC
(In reply to comment #21)
Hi!
We have patched packages at home:badshah400:branches:openSUSE:11.4:Update:Test as mentioned in Comment 16 (which you are free to try out, and you should :)), but it creates a new issue (see Comment 18) which I have not got around to fixing yet. I will try to fix this too and push the patch out but it is difficult for me to do this over the next week or 10 days because I am travelling around on business. If anyone else is interested in taking over, great, or I will do this as soon as I have a little bit of time on hand. Sorry for the delay.
Comment 23 Ashwin G 2011-06-27 19:30:46 UTC
It would be nice to have a fix for this, I get this even with sudo:

For example:
sudo zypper install minicom
**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW packages are going to be installed:
  minicom rzsz 

2 new packages to install.
Overall download size: 285.0 KiB. After the operation, additional 960.0 KiB will be used.
Continue? [y/n/?] (y): y
Retrieving package rzsz-0.12.20-984.1.x86_64 (1/2), 94.0 KiB (248.0 KiB unpacked)
**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
Retrieving: rzsz-0.12.20-984.1.x86_64.rpm [starting]**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
Retrieving: rzsz-0.12.20-984.1.x86_64.rpm [done]
Retrieving package minicom-2.5-4.1.x86_64 (2/2), 191.0 KiB (712.0 KiB unpacked)
Retrieving: minicom-2.5-4.1.x86_64.rpm [ (2.5 KiB/s)]**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
Retrieving: minicom-2.5-4.1.x86_64.rpm [done]
Installing: rzsz-0.12.20-984.1 [done]
Installing: minicom-2.5-4.1 [done]

I surprisingly do not get this error on my laptop or my home workstation, but only on the workstation at my work place.

Thanks.
Comment 24 Dirk Mueller 2011-08-04 14:33:18 UTC
whats teh status here? is the fix submitted to openSUSE:11.4:Update:Test ?
Comment 25 Atri Bhattacharya 2011-08-04 20:37:43 UTC
Just submitted patched package (sr#78073) and patchinfo to openSUSE:11.4:Update:Test.
Comment 26 Dirk Mueller 2011-08-15 11:20:07 UTC
resolving as fixed then
Comment 27 Swamp Workflow Management 2011-08-15 11:24:08 UTC
Update released for: glib2, glib2-branding-upstream, glib2-debugsource, glib2-devel, glib2-devel-debuginfo, glib2-devel-debuginfo-32bit, glib2-devel-debuginfo-x86, glib2-devel-static, glib2-lang, glib2-tools, glib2-tools-32bit, glib2-tools-debuginfo, glib2-tools-debuginfo-32bit, glib2-tools-debuginfo-x86, glib2-tools-x86, libgio-2_0-0, libgio-2_0-0-32bit, libgio-2_0-0-debuginfo, libgio-2_0-0-debuginfo-32bit, libgio-2_0-0-debuginfo-x86, libgio-2_0-0-x86, libgio-fam, libgio-fam-32bit, libgio-fam-debuginfo, libgio-fam-debuginfo-32bit, libgio-fam-debuginfo-x86, libgio-fam-x86, libglib-2_0-0, libglib-2_0-0-32bit, libglib-2_0-0-debuginfo, libglib-2_0-0-debuginfo-32bit, libglib-2_0-0-debuginfo-x86, libglib-2_0-0-x86, libgmodule-2_0-0, libgmodule-2_0-0-32bit, libgmodule-2_0-0-debuginfo, libgmodule-2_0-0-debuginfo-32bit, libgmodule-2_0-0-debuginfo-x86, libgmodule-2_0-0-x86, libgobject-2_0-0, libgobject-2_0-0-32bit, libgobject-2_0-0-debuginfo, libgobject-2_0-0-debuginfo-32bit, libgobject-2_0-0-debuginfo-x86, libgobject-2_0-0-x86, libgthread-2_0-0, libgthread-2_0-0-32bit, libgthread-2_0-0-debuginfo, libgthread-2_0-0-debuginfo-32bit, libgthread-2_0-0-debuginfo-x86, libgthread-2_0-0-x86
Products:
openSUSE 11.4 (debug, i586, x86_64)