GNOME Bugzilla – Bug 632490
tests fail with "Initialized same module twice, maybe module was not finalized, outstanding refs?"
Last modified: 2010-12-18 12:48:03 UTC
I am able to reproduce this when building from upstream sources and running "make check": /gp11_session/login_logout: OK /gp11_session/auto_login: OK /gp11_object/object_props: OK /gp11_object/object_equals_hash: OK /gp11_object/create_object: OK /gp11_object/destroy_object: ** ERROR:gp11-test-module.c:97:test_C_Initialize: assertion failed: (initialized == FALSE && "Initialized same module twice, maybe module was not finalized, outstanding refs?") OK /gp11_object/get_attributes: Gtk-Message: Failed to load module "gail-gnome": libgail-gnome.so: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio Gtk-Message: Failed to load module "gnomebreakpad": libgnomebreakpad.so: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio warning: Can not parse XML syscalls information; XML support was disabled at compile time. FAIL GTester: last random seed: R02Se1e98a4adb0601619fb1f40c88be442e (pid=23232) Gtk-Message: Failed to load module "gail-gnome": libgail-gnome.so: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio Gtk-Message: Failed to load module "gnomebreakpad": libgnomebreakpad.so: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio /gp11_object/get_data_attribute: OK /gp11_object/set_attributes: OK /gp11_object/find_objects: OK /gp11_object/explicit_sessions: OK /gp11_crypto/encrypt: OK /gp11_crypto/decrypt: OK /gp11_crypto/login_context_specific: OK /gp11_crypto/sign: OK /gp11_crypto/verify: OK /gp11_crypto/generate_key_pair: OK /gp11_crypto/wrap_key: ** ERROR:gp11-test-module.c:97:test_C_Initialize: assertion failed: (initialized == FALSE && "Initialized same module twice, maybe module was not finalized, outstanding refs?") OK /gp11_crypto/unwrap_key: Gtk-Message: Failed to load module "gail-gnome": libgail-gnome.so: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio Gtk-Message: Failed to load module "gnomebreakpad": libgnomebreakpad.so: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio warning: Can not parse XML syscalls information; XML support was disabled at compile time. ^Cmake[4]: *** wait: No hay ningún proceso hijo. Stop. make[4]: *** Waiting for unfinished jobs.... make[4]: *** wait: No hay ningún proceso hijo. Stop. make[3]: *** wait: No hay ningún proceso hijo. Stop. make[3]: *** Waiting for unfinished jobs.... make[3]: *** wait: No hay ningún proceso hijo. Stop. make[2]: *** wait: No hay ningún proceso hijo. Stop. make[2]: *** Waiting for unfinished jobs.... make[2]: *** wait: No hay ningún proceso hijo. Stop. make[1]: *** wait: No hay ningún proceso hijo. Stop. make[1]: *** Waiting for unfinished jobs.... make[1]: *** wait: No hay ningún proceso hijo. Stop. make: *** [check-recursive] Error 1 And this backtrace is taken by bug-buddy: System: Linux 2.6.35-ck-r4 #1 PREEMPT Mon Oct 11 13:37:39 CEST 2010 x86_64 X Vendor: The X.Org Foundation X Vendor Release: 10707000 Selinux: No Accessibility: Enabled GTK+ Theme: Shiki-Gentoo Icon Theme: gnome-gentoo GTK+ Modules: canberra-gtk-module, gail-gnome, gnomesegvhandler, gnomebreakpad, gail:atk-bridge Memory status: size: 237264896 vsize: 237264896 resident: 13012992 share: 10301440 rss: 13012992 rss_rlim: 18446744073709551615 CPU usage: start_time: 1287425994 rtime: 7 utime: 7 stime: 0 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100 Backtrace was generated from '/home/pacho/gnome-keyring-2.32.0/gp11/tests/.libs/run-tests' [?1034h[Thread debugging using libthread_db enabled] [New Thread 0x2b8db9fbb710 (LWP 23129)] [New Thread 0x2b8db9dba710 (LWP 23128)] 0x00000032776c85c3 in poll () from /lib/libc.so.6
+ Trace 224210
Thread 3 (Thread 0x2b8db9dba710 (LWP 23128))
Inferior 1 [process 23113] will be detached. Quit anyway? (y or n) [answered Y; input not from terminal] ----------- .xsession-errors --------------------- Gtk-Message: Failed to load module "gnomesegvhandler": libgnomesegvhandler.so: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio Gtk-Message: Failed to load module "gnomebreakpad": libgnomebreakpad.so: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio (exe:1225): Gdk-WARNING **: XID collision, trouble ahead (exe:1225): Gdk-WARNING **: XID collision, trouble ahead ** (gnome-session:6603): DEBUG: GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged ** (gnome-session:6603): DEBUG: GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged ** (gnome-session:6603): DEBUG: GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged ** (gnome-session:6603): DEBUG: GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged ** (gnome-session:6603): DEBUG: GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged ** (gnome-session:6603): DEBUG: GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged ** (gnome-session:6603): DEBUG: GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged ** (gnome-session:6603): DEBUG: GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged ** (gnome-session:6603): DEBUG: GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged --------------------------------------------------
Can I help on this? Should I test anything? Please let me know any info you could need. Thanks
Thanks for offering. What's the contents of your /usr/lib/pkcs11 directory?
(In reply to comment #2) > Thanks for offering. > > What's the contents of your /usr/lib/pkcs11 directory? I don't have that directory on my system :-/
Not sure how your system is organized, but what's in: $prefix/lib/pkcs11 or $libdir/pkcs11 Where is gnome-keyring installed? What's the prefix?
Running "locate pkcs11" I get: /usr/include/gp11/pkcs11.h /usr/include/gp11/pkcs11g.h /usr/include/gp11/pkcs11n.h /usr/include/neon/ne_pkcs11.h /usr/include/nss/pkcs11.h /usr/include/nss/pkcs11f.h /usr/include/nss/pkcs11n.h /usr/include/nss/pkcs11p.h /usr/include/nss/pkcs11t.h /usr/include/nss/pkcs11u.h /usr/lib64/gnome-keyring/gnome-keyring-pkcs11.la /usr/lib64/gnome-keyring/gnome-keyring-pkcs11.so /usr/lib64/misc/ssh-pkcs11-helper Regarding gnome-keyring, it's installed under /usr
Maybe some dependency is missing on my system? :-/
(In reply to comment #6) > Maybe some dependency is missing on my system? :-/ But, what should I install to provide what gnome-keyring seems to expect? Thanks
I believe the following commit will fix your problem: commit f397c297c7a150eadfb4d1ab29d13a15cbadbf60 Author: Stef Walter <stefw@collabora.co.uk> Date: Mon Dec 6 20:59:48 2010 +0000 [gck] Don't load *.la files as PKCS#11 modules. grumble, grumble, libtool, grumble.
Looks like it's a bit difficult to backport it to 2.32, will need to wait for the next cycle then. Thanks for fixing it :-)