[Evolution] libglade-WARNING **: Could not load support for `gnome': Call to mmap() failed - DATA /opt/gnome-2.4.2/lib/libglade/2.0/libgnome.sl

Jeffrey Stedfast fejj@ximian.com
Wed, 02 Jun 2004 10:28:32 -0400


On Wed, 2004-06-02 at 02:40, Gansser, Martin wrote:
> Hi,
> 
> I tried to compile evolution-1.4.6 on hpux 11.00 with the following changes for shared library,
> 
> 
> diff -Naur evolution-1.4.6/addressbook/conduit/e-address.conduit.in evolution-1.4.6.new/addressbook/conduit/e-address.conduit.in
> --- evolution-1.4.6/addressbook/conduit/e-address.conduit.in	2002-01-16 18:31:05.000000000 +0100
> +++ evolution-1.4.6.new/addressbook/conduit/e-address.conduit.in	2004-06-01 11:46:03.000000000 +0200
> @@ -1,5 +1,5 @@
>  <gnome-pilot-conduit version="1.0">
> -	<conduit id="e_address_conduit" type="shlib" location="@prefix@/lib/gnome-pilot/conduits/libeaddress_conduit.so"/>
> +	<conduit id="e_address_conduit" type="shlib" location="@prefix@/lib/gnome-pilot/conduits/libeaddress_conduit.sl"/>
>  	<name value="EAddress"/>
>  	<conduit-attribute name="description" value="Synchronizes Addressbook with Evolution"/>
>  	<conduit-attribute name="default-synctype" value="synchronize"/>
> diff -Naur evolution-1.4.6/addressbook/gui/component/GNOME_Evolution_Addressbook.server evolution-1.4.6.new/addressbook/gui/component/GNOME_Evolution_Addressbook.server
> --- evolution-1.4.6/addressbook/gui/component/GNOME_Evolution_Addressbook.server	2004-03-04 23:21:13.000000000 +0100
> +++ evolution-1.4.6.new/addressbook/gui/component/GNOME_Evolution_Addressbook.server	2004-06-01 11:43:34.000000000 +0200
> @@ -2,7 +2,7 @@
>  
>  <oaf_server iid="OAFIID:GNOME_Evolution_Addressbook_Factory"
>              type="shlib"
> -            location="/home/jpr/src/jhbuild-evo/install//lib/evolution/1.4/components/libevolution-addressbook.so">
> +            location="/home/jpr/src/jhbuild-evo/install//lib/evolution/1.4/components/libevolution-addressbook.sl">
>  
>  	<oaf_attribute name="repo_ids" type="stringv">
>  		<item value="IDL:GNOME/ObjectFactory:1.0"/>
> diff -Naur evolution-1.4.6/addressbook/gui/component/GNOME_Evolution_Addressbook.server.in.in evolution-1.4.6.new/addressbook/gui/component/GNOME_Evolution_Addressbook.server.in.in
> --- evolution-1.4.6/addressbook/gui/component/GNOME_Evolution_Addressbook.server.in.in	2003-04-07 18:10:07.000000000 +0200
> +++ evolution-1.4.6.new/addressbook/gui/component/GNOME_Evolution_Addressbook.server.in.in	2004-06-01 11:43:55.000000000 +0200
> @@ -2,7 +2,7 @@
>  
>  <oaf_server iid="OAFIID:GNOME_Evolution_Addressbook_Factory"
>              type="shlib"
> -            location="@COMPONENTDIR@/libevolution-addressbook.so">
> +            location="@COMPONENTDIR@/libevolution-addressbook.sl">
>  
>  	<oaf_attribute name="repo_ids" type="stringv">
>  		<item value="IDL:GNOME/ObjectFactory:1.0"/>
> diff -Naur evolution-1.4.6/calendar/conduits/calendar/e-calendar.conduit.in evolution-1.4.6.new/calendar/conduits/calendar/e-calendar.conduit.in
> --- evolution-1.4.6/calendar/conduits/calendar/e-calendar.conduit.in	2002-01-14 22:07:45.000000000 +0100
> +++ evolution-1.4.6.new/calendar/conduits/calendar/e-calendar.conduit.in	2004-06-01 11:45:38.000000000 +0200
> @@ -1,5 +1,5 @@
>  <gnome-pilot-conduit version="1.0">
> -	<conduit id="e_calendar_conduit" type="shlib" location="@prefix@/lib/gnome-pilot/conduits/libecalendar_conduit.so"/>
> +	<conduit id="e_calendar_conduit" type="shlib" location="@prefix@/lib/gnome-pilot/conduits/libecalendar_conduit.sl"/>
>  	<name value="ECalendar"/>
>  	<conduit-attribute name="description" value="Synchronizes Calendar with Evolution"/>
>  	<conduit-attribute name="default-synctype" value="synchronize"/>
> diff -Naur evolution-1.4.6/calendar/conduits/todo/e-todo.conduit.in evolution-1.4.6.new/calendar/conduits/todo/e-todo.conduit.in
> --- evolution-1.4.6/calendar/conduits/todo/e-todo.conduit.in	2002-01-14 22:07:46.000000000 +0100
> +++ evolution-1.4.6.new/calendar/conduits/todo/e-todo.conduit.in	2004-06-01 11:46:19.000000000 +0200
> @@ -1,5 +1,5 @@
>  <gnome-pilot-conduit version="1.0">
> -	<conduit id="e_todo_conduit" type="shlib" location="@prefix@/lib/gnome-pilot/conduits/libetodo_conduit.so"/>
> +	<conduit id="e_todo_conduit" type="shlib" location="@prefix@/lib/gnome-pilot/conduits/libetodo_conduit.sl"/>
>  	<name value="EToDo"/>
>  	<conduit-attribute name="description" value="Synchronizes ToDo List with Evolution"/>
>  	<conduit-attribute name="default-synctype" value="synchronize"/>
> diff -Naur evolution-1.4.6/calendar/gui/GNOME_Evolution_Calendar.server.in.in evolution-1.4.6.new/calendar/gui/GNOME_Evolution_Calendar.server.in.in
> --- evolution-1.4.6/calendar/gui/GNOME_Evolution_Calendar.server.in.in	2003-04-07 18:11:56.000000000 +0200
> +++ evolution-1.4.6.new/calendar/gui/GNOME_Evolution_Calendar.server.in.in	2004-06-01 11:44:16.000000000 +0200
> @@ -2,7 +2,7 @@
>  
>  <oaf_server iid="OAFIID:GNOME_Evolution_Calendar_Factory"
>              type="shlib"
> -            location="@COMPONENTDIR@/libevolution-calendar.so">
> +            location="@COMPONENTDIR@/libevolution-calendar.sl">
>  
>  	<oaf_attribute name="repo_ids" type="stringv">
>  		<item value="IDL:GNOME/ObjectFactory:1.0"/>
> diff -Naur evolution-1.4.6/camel/camel-lock-helper.c evolution-1.4.6.new/camel/camel-lock-helper.c
> --- evolution-1.4.6/camel/camel-lock-helper.c	2001-10-27 18:59:27.000000000 +0200
> +++ evolution-1.4.6.new/camel/camel-lock-helper.c	2004-06-01 11:41:51.000000000 +0200
> @@ -19,6 +19,10 @@
>   * USA
>   */
>  
> +#if defined(__hpux)
> +# define seteuid(e) setresuid(-1,e,-1)
> +#endif
> +
>  /* lock helper process */
>  
>  #include <stdio.h>
> diff -Naur evolution-1.4.6/camel/camel-provider.c evolution-1.4.6.new/camel/camel-provider.c
> --- evolution-1.4.6/camel/camel-provider.c	2002-11-11 07:24:54.000000000 +0100
> +++ evolution-1.4.6.new/camel/camel-provider.c	2004-06-01 11:46:39.000000000 +0200
> @@ -92,7 +92,7 @@
>  		}
>  		
>  		p = strrchr (name, '.');
> -		strcpy (p, ".so");
> +		strcpy (p, ".sl");
>  		while ((fgets (buf, sizeof (buf), fp))) {
>  			buf[sizeof (buf) - 1] = '\0';
>  			p = strchr (buf, '\n');
> diff -Naur evolution-1.4.6/mail/GNOME_Evolution_Mail.server.in.in evolution-1.4.6.new/mail/GNOME_Evolution_Mail.server.in.in
> --- evolution-1.4.6/mail/GNOME_Evolution_Mail.server.in.in	2003-05-18 22:20:29.000000000 +0200
> +++ evolution-1.4.6.new/mail/GNOME_Evolution_Mail.server.in.in	2004-06-01 11:43:10.000000000 +0200
> @@ -5,7 +5,7 @@
>    <!-- (factory) -->
>    <oaf_server iid="OAFIID:GNOME_Evolution_Mail_ControlFactory"
>  	      type="shlib"
> -	      location="@COMPONENTDIR@/libevolution-mail.so">
> +	      location="@COMPONENTDIR@/libevolution-mail.sl">
>  
>      <oaf_attribute name="repo_ids" type="stringv">
>        <item value="IDL:GNOME/ObjectFactory:1.0"/>
> diff -Naur evolution-1.4.6/mail/mail-importer.c evolution-1.4.6.new/mail/mail-importer.c
> --- evolution-1.4.6/mail/mail-importer.c	2003-05-21 17:27:54.000000000 +0200
> +++ evolution-1.4.6.new/mail/mail-importer.c	2004-06-01 11:47:03.000000000 +0200
> @@ -189,7 +189,7 @@
>  		char *path, *ext;
>  
>  		ext = strchr (d->d_name, '.');
> -		if (!ext || strcmp (ext, ".so") != 0)
> +		if (!ext || strcmp (ext, ".sl") != 0)
>  			continue;
>  
>  		path = g_build_filename (MAIL_IMPORTERSDIR, d->d_name, NULL);
> diff -Naur evolution-1.4.6/my-evolution/GNOME_Evolution_Summary.server.in.in evolution-1.4.6.new/my-evolution/GNOME_Evolution_Summary.server.in.in
> --- evolution-1.4.6/my-evolution/GNOME_Evolution_Summary.server.in.in	2003-04-08 15:51:41.000000000 +0200
> +++ evolution-1.4.6.new/my-evolution/GNOME_Evolution_Summary.server.in.in	2004-06-01 11:44:37.000000000 +0200
> @@ -2,7 +2,7 @@
>  
>    <oaf_server iid="OAFIID:GNOME_Evolution_Summary_ComponentFactory"
>  	      type="shlib"
> -	      location="@COMPONENTDIR@/libevolution-executive-summary.so">
> +	      location="@COMPONENTDIR@/libevolution-executive-summary.sl">
>  
>      <oaf_attribute name="repo_ids" type="stringv">
>        <item value="IDL:Bonobo/GenericFactory:1.0"/>
> 
> 
> the start of evolution fails with the following error messages:
> 
> mzfem_root:/opt/gnome-2.4.2/bin # ./evolution
> file /evolution/vfolders.xml contains nothing to upgrade
> xml file `/evolution/shortcuts.xml' already upgraded
> file /evolution/vfolders.xml contains nothing to upgrade
> xml file `/evolution/shortcuts.xml' already upgraded
> evolution-shell-Message: Evolution configuration upgraded to version: 1.4.0
> 
> (evolution-1.4:8347): e-utils-WARNING **: e_config_listener_set_bool: Es wurde keine Datenbank gefunden, um Ihre Konfiguration zu speichern:
>  Es konnte kein Wert beim Schlüssel »/apps/evolution/addressbook/completion/uris« gespeichert werden, da der Konfigurationsserver keine schreibbare Datenbank hat.
> Für dieses Problem gibt es mehrere mögliche Ursachen:
> 1) Ihre Konfigurationspfad-Datei /opt/gnome-2.4.2/etc/gconf/2/Pfad enthält keine Datenbanken oder konnte nicht gefunden werden
> 2) Es wurden versehentlich zwei gconfd-Prozesse gestartet.
> 3) Ihr Betriebssystem ist nicht richtig konfiguriert,so dass das Sperren einer NFS-Datei in Ihrem Heimverzeichnis nicht funktioniert oder
> 4) Ihr NFS-Client-Rechner ist abgestürzt und hat den Server beim Starten nicht darüber informiert, dass Dateisperren aufgehoben werden sollen.
> Falls zwei gconfd-Prozesse laufen (oder zwei liefen, als der Zweite gestartet wurde), hilft möglicherweise das Abmelden, das Abwürgen aller laufenden gconfd-Instanzen und das neu Anmelden. Falls eine nicht aufhebbare Sperren vorli
> /opt/gnome-2.4.2/share/evolution/1.4/vfoldertypes.xml:307: error:  <part name="size">
>                   ^
> /opt/gnome-2.4.2/share/evolution/1.4/vfoldertypes.xml:308: error:   <title>Size (kB)</title>
>   ^
> /opt/gnome-2.4.2/share/evolution/1.4/vfoldertypes.xml:308: error:   <title>Size (kB)</title>
>          ^
> /opt/gnome-2.4.2/share/evolution/1.4/vfoldertypes.xml:309: error:   <input type="optionlist" name="size-type">
>   ^

well, there's nothing wrong with the xml so this must be a bug in libxml
afaict.

> parser error : out of memory error
> /opt/gnome-2.4.2/share/evolution/1.4/vfoldertypes.xml:309: parser error : out of memory error
>   <input type="optionlist" name="size-type">
>              ^
> parser error : out of memory error
> /opt/gnome-2.4.2/share/evolution/1.4/vfoldertypes.xml:309: parser error : out of memory error
>   <input type="optionlist" name="size-type">
>              ^
> parser error : out of memory error
> /opt/gnome-2.4.2/share/evolution/1.4/vfoldertypes.xml:309: parser error : out of memory error
>   <input type="optionlist" name="size-type">
>              ^
> parser error : out of memory error
> parser error : out of memory error
> /opt/gnome-2.4.2/share/evolution/1.4/vfoldertypes.xml:309: parser error : out of memory error
>   <input type="optionlist" name="size-type">
>              ^
> parser error : out of memory error
> /opt/gnome-2.4.2/share/evolution/1.4/vfoldertypes.xml:309: parser error : out of memory error
>   <input type="optionlist" name="size-type">

ok, now it says that it's out of memory. I'd say that's pretty much the
core of your problem. no memory == evolution no runny

[snip]
> 
> (evolution-1.4:8347): evolution-mail-WARNING **: cannot load vfolders: Unable to load system rules '/opt/gnome-2.4.2/share/evolution/1.4/vfoldertypes.xml': Kein ausreichender Platz
> 
> 
> (evolution-1.4:8347): e-utils-WARNING **: [Invalid UTF-8] Could not create dispatcher thread, message queued?: Ressource vorübergehend nicht verfügbar
> 
> (evolution-1.4:8347): e-utils-WARNING **: [Invalid UTF-8] Could not create dispatcher thread, message queued?: Ressource vorübergehend nicht verfügbar
> 
> (evolution-1.4:8347): e-utils-WARNING **: [Invalid UTF-8] Could not create dispatcher thread, message queued?: Ressource vorübergehend nicht verfügbar
> 
> (evolution-1.4:8347): e-utils-WARNING **: [Invalid UTF-8] Could not create dispatcher thread, message queued?: Ressource vorübergehend nicht verfügbar

your system is out of resources.

> 
> (evolution-1.4:8347): evolution-mail-WARNING **: Could not load: /opt/gnome-2.4.2/lib/evolution/1.4/evolution-mail-importers/libevolution-netscape-importer.sl: Call to mmap() failed - DATA /opt/gnome-2.4.2/lib/evolution/1.4/evolution-mail-importers/libevolution-netscape-importer.sl
> /opt/gnome-2.4.2/share/evolution/1.4/vfoldertypes.xml:237: error:     <code>
>     ^
> /opt/gnome-2.4.2/share/evolution/1.4/vfoldertypes.xml:239: error:     <code>
>           ^
> /opt/gnome-2.4.2/share/evolution/1.4/vfoldertypes.xml:240: error:    </option>
>    ^
> /opt/gnome-2.4.2/share/evolution/1.4/vfoldertypes.xml:241: error:    <option value="before">
>    ^
> parser error : out of memory error
> /opt/gnome-2.4.2/share/evolution/1.4/vfoldertypes.xml:241: parser error : out of memory error
>    <option value="before">
>                 ^
> parser error : out of memory error
> /opt/gnome-2.4.2/share/evolution/1.4/vfoldertypes.xml:241: parser error : out of memory error
>    <option value="before">
>                 ^
> parser error : out of memory error
> /opt/gnome-2.4.2/share/evolution/1.4/vfoldertypes.xml:241: parser error : out of memory error
>    <option value="before">
>                 ^
> parser error : out of memory error
> parser error : out of memory error
> /opt/gnome-2.4.2/share/evolution/1.4/vfoldertypes.xml:241: parser error : out of memory error
>    <option value="before">
>                 ^
> parser error : out of memory error
> /opt/gnome-2.4.2/share/evolution/1.4/vfoldertypes.xml:241: parser error : out of memory error
>    <option value="before">
>                 ^
> /opt/gnome-2.4.2/share/evolution/1.4/vfoldertypes.xml:242: error:    <option value="before">
>                 ^
> /opt/gnome-2.4.2/share/evolution/1.4/vfoldertypes.xml:242: error:     <title>is before</title>
>            ^
> /opt/gnome-2.4.2/share/evolution/1.4/vfoldertypes.xml:243: error:     <code>
>     ^
> /opt/gnome-2.4.2/share/evolution/1.4/vfoldertypes.xml:244: error:     <code>
>           ^
> parser error : out of memory error
> /opt/gnome-2.4.2/share/evolution/1.4/vfoldertypes.xml:244: parser error : out of memory error
>        (match-all (&lt; (get-received-date) ${versus}))
>                    ^
> 
> (evolution-1.4:8347): libglade-WARNING **: Could not load support for `gnome': Call to mmap() failed - DATA /opt/gnome-2.4.2/lib/libglade/2.0/libgnome.sl

no idea if HPUX simply doesn't support mmap or if it's because you are
out of resources (aka memory in this case).

> 
> (evolution-1.4:8347): libglade-WARNING **: unknown widget class 'GnomeDruid'
> 
> (evolution-1.4:8347): GLib-GObject-WARNING **: invalid cast from `GtkLabel' to `GnomeDruid'
> 
> (evolution-1.4:8347): GnomeUI-CRITICAL **: file gnome-druid.c: line 865 (gnome_druid_set_buttons_sensitive): assertion `GNOME_IS_DRUID (druid)' failed
> 
> (evolution-1.4:8347): GLib-GObject-WARNING **: gsignal.c:1893: signal `cancel' is invalid for instance `0x40102908'
> 
> (evolution-1.4:8347): evolution-shell-CRITICAL **: file e-shell-startup-wizard.c: line 840 (e_shell_startup_wizard_create): assertion `data->start != NULL' failed
> 
> (evolution-1.4:8347): camel-WARNING **: Trying to check NULL OBJECT is OBJECT 'CamelObject'
> 
> (evolution-1.4:8347): camel-CRITICAL **: file camel-object.c: line 624 (camel_object_cast): assertion `check_magic(o, ctype, TRUE)' failed
> 
> (evolution-1.4:8347): camel-WARNING **: Trying to check NULL OBJECT is OBJECT 'CamelObject'
> 
> (evolution-1.4:8347): camel-CRITICAL **: file camel-object.c: line 624 (camel_object_cast): assertion `check_magic(o, ctype, TRUE)' failed
> 
> (evolution-1.4:8347): camel-WARNING **: Trying to check NULL OBJECT is OBJECT 'CamelObject'
> 
> (evolution-1.4:8347): camel-CRITICAL **: file camel-object.c: line 593 (camel_object_is): assertion `check_magic(o, ctype, TRUE)' failed
> 
> (evolution-1.4:8347): camel-CRITICAL **: file camel-object.c: line 464 (camel_object_unref): assertion `CAMEL_IS_OBJECT(o)' failed
> 
> (evolution-1.4:8347): camel-WARNING **: Trying to check NULL OBJECT is OBJECT 'CamelObject'
> 
> (evolution-1.4:8347): camel-CRITICAL **: file camel-object.c: line 624 (camel_object_cast): assertion `check_magic(o, ctype, TRUE)' failed
> 
> (evolution-1.4:8347): camel-WARNING **: Trying to check NULL OBJECT is OBJECT 'CamelObject'
> 
> (evolution-1.4:8347): camel-CRITICAL **: file camel-object.c: line 624 (camel_object_cast): assertion `check_magic(o, ctype, TRUE)' failed
> 
> (evolution-1.4:8347): camel-WARNING **: Trying to check NULL OBJECT is OBJECT 'CamelObject'
> 
> (evolution-1.4:8347): camel-CRITICAL **: file camel-object.c: line 593 (camel_object_is): assertion `check_magic(o, ctype, TRUE)' failed
> 
> (evolution-1.4:8347): camel-CRITICAL **: file camel-object.c: line 464 (camel_object_unref): assertion `CAMEL_IS_OBJECT(o)' failed
> 
> (evolution-1.4:8347): camel-WARNING **: Trying to check NULL OBJECT is OBJECT 'CamelObject'
> 
> (evolution-1.4:8347): camel-CRITICAL **: file camel-object.c: line 624 (camel_object_cast): assertion `check_magic(o, ctype, TRUE)' failed
> 
> (evolution-1.4:8347): camel-WARNING **: Trying to check NULL OBJECT is OBJECT 'CamelObject'
> 
> (evolution-1.4:8347): camel-CRITICAL **: file camel-object.c: line 624 (camel_object_cast): assertion `check_magic(o, ctype, TRUE)' failed
> 
> (evolution-1.4:8347): camel-WARNING **: Trying to check NULL OBJECT is OBJECT 'CamelObject'
> 
> (evolution-1.4:8347): camel-CRITICAL **: file camel-object.c: line 593 (camel_object_is): assertion `check_magic(o, ctype, TRUE)' failed
> 
> (evolution-1.4:8347): camel-CRITICAL **: file camel-object.c: line 464 (camel_object_unref): assertion `CAMEL_IS_OBJECT(o)' failed
> 

the rest of this is probably due to no memory being available on the
system.

> is there any help ?

install more RAM? :-)

Jeff