After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 678388 - CamelKolabIMAPXProvider not correctly initialized at Evolution start (crashing)
CamelKolabIMAPXProvider not correctly initialized at Evolution start (crashing)
Status: RESOLVED WONTFIX
Product: evolution-kolab
Classification: Other
Component: imap
3.4.x
Other Linux
: Normal major
: ---
Assigned To: Christian Hilberg
Evolution Kolab maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-06-19 10:42 UTC by Christian Hilberg
Modified: 2012-06-21 08:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Hilberg 2012-06-19 10:42:07 UTC
After resolving the build issues described in Bug #677558 and successfully building evolution-kolab 3.4.2.1 on Ubuntu 12.10 "Quantal Quetzal" pre-release,
the init failure described in the above bug entry shows when Evolution tries to initialize CamelKolabIMAPXProvider:

---8<---
camel-kolab:ERROR:camel-kolab-imapx-provider.c:174:camel_kolab_imapx_provider_module_init:
assertion failed: (kolab_provider.object_types[CAMEL_PROVIDER_STORE] !=
G_TYPE_INVALID)
Aborted (core dumped)
---8<---

The error leading to this is

---8<---
(evolution:4105): GLib-GObject-WARNING **: cannot register existing type
`CamelIMAPXStore'
---8<---

The offending call is camel_imapx_store_get_type(), which tries to re-register the CamelIMAPXServer GType, which fails.

The issue does not show if not only evolution-kolab, but also Evolution and E-D-S are built and installed from source.
Comment 1 Christian Hilberg 2012-06-19 10:45:12 UTC
Confirmed. Thanks to Tom for the initial bug report.
Comment 2 Christian Hilberg 2012-06-21 08:46:51 UTC
Side note:

Ubuntu 12.10 ships GNOME 3.5.2 (as of this writing, heading towards 3.6). evolution-kolab 3.4.x is for GNOME 3.4, not 3.6. The Ubuntu people patched Evolution 3.4 into GNOME 3.6, which is an effort the evolution-kolab team currently has no resources for to replicate for evolution-kolab 3.4.

In order to be running evolution-kolab on Ubuntu, your best bet for evolution-kolab 3.4 are Ubuntu/Oneiric or Ubuntu/Precise with a custom-built Evolution/E-D-S stack, which does not show the above failure.

Moreover, the bug above results from a local Camel code duplication. This dupe is unavoidable for the 3.4 line. In the 3.5 line, the code dupe has become obsolete and has fully been removed from evolution-kolab sources. Thus, this bug will not be present in any 3.5/3.6 (and above) release of evolution-kolab.

Hence, closing the bug.