evolution-data-server: libedata-cal5 crashes on 64-bit platforms

Bug #11341 reported by Debian Bug Importer
6
Affects Status Importance Assigned to Milestone
evolution-data-server (Debian)
Fix Released
Unknown
evolution-data-server (Ubuntu)
Fix Released
High
Sebastien Bacher

Bug Description

Automatically imported from Debian bug report #285716 http://bugs.debian.org/285716

Revision history for this message
In , Matt Taggart (taggart) wrote : severity of 285716 is grave

# Automatically generated email from bts, devscripts version 2.8.5
severity 285716 grave

Revision history for this message
In , Matt Taggart (taggart) wrote : Re: what to do about evolution?

David Mosberger writes...

> Just fyi: there has been no feedback regarding the
> evolution-data-server bug which keeps evolution from working on 64-bit
> platforms. For reference, it's bug #285716.
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=285716
>
> This is the critical bug-fix (the libcamel fix may not be strictly
> needed and the upstream maintainers think the problem there should be
> fixed differently; I'll try to look into that).

David,

In the future you can send this sort of message to bug#@bugs.debian.org
(which I've cc'd in this message) and ask the status directly.

I have changed the severity of this bug to grave since it makes the
package unusable on 64bit archs.

--
Matt Taggart
<email address hidden>

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #285716 http://bugs.debian.org/285716

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (3.6 KiB)

Message-Id: <email address hidden>
Date: Tue, 14 Dec 2004 18:23:52 -0800
From: David Mosberger-Tang <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: evolution-data-server: libedata-cal5 crashes on 64-bit platforms

Package: evolution-data-server
Version: 1.0.3-1
Severity: normal
Tags: patch

The calendar service in Evolution is truncating pointer-values to 32
bits, thus loosing the top 32-bit on 64-bit platforms and causing
segmentation faults. Without the attached patch, the Calendar portion
of evolution is completely unusable on any 64-bit platform.

Please apply.

Thanks,

 --david

--- evolution-data-server-1.0.3/calendar/libedata-cal/e-data-cal-factory.c 2004-08-02 04:38:08.000000000 -0700
+++ evolution-data-server-1.0.3-davidm/calendar/libedata-cal/e-data-cal-factory.c 2004-12-14 18:12:03.289889145 -0800
@@ -84,7 +84,7 @@
  if (!kinds)
   return 0;

- type = GPOINTER_TO_INT (g_hash_table_lookup (kinds, GINT_TO_POINTER (kind)));
+ type = (GType) (g_hash_table_lookup (kinds, GINT_TO_POINTER (kind)));

  return type;
 }
@@ -452,7 +452,7 @@

  kinds = g_hash_table_lookup (priv->methods, method_str);
  if (kinds) {
- type = GPOINTER_TO_INT (g_hash_table_lookup (kinds, GINT_TO_POINTER (kind)));
+ type = (GType) (g_hash_table_lookup (kinds, GINT_TO_POINTER (kind)));
   if (type) {
    g_warning (G_STRLOC ": method `%s' already registered", method_str);
    g_free (method_str);

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: ia64
Kernel: Linux 2.6.10-rc2
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages evolution-data-server depends on:
ii libaudiofile0 0.2.6-5 Open-source version of SGI's audio
ii libbonobo2-0 2.8.0-3 Bonobo CORBA interfaces library
ii libc6.1 2.3.2.ds1-18 GNU C Library: Shared libraries an
ii libdb4.1 4.1.25-17 Berkeley v4.1 Database Libraries [
ii libebook8 1.0.3-1 Client library for evolution addre
ii libecal6 1.0.3-1 Client library for evolution calen
ii libedata-book1 1.0.3-1 Backend library for evolution addr
ii libedata-cal5 1.0.3-1 Backend library for evolution cale
ii libedataserver3 1.0.3-1 Utily library for evolution data s
ii libegroupwise6 1.0.3-1 Client library for accessing group
ii libesd-alsa0 [libesd0] 0.2.35-2 Enlightened Sound Daemon (ALSA) -
ii libgconf2-4 2.8.1-4 GNOME configuration database syste
ii libgcrypt11 1.2.0-4 LGPL Crypto library - runtime libr
ii libglib2.0-0 2.4.8-1 The GLib library of C routines
ii libgnome2-0 2.8.0-6 The GNOME 2 library - runtime file
ii libgnomevfs2-0 2.8.3-6 The GNOME virtual file-system libr
ii libgnutls11 1.0.16-9 GNU TLS library - runtime library
ii libgpg-error0 1.0-1 library for common error values an
ii libldap2 ...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Mon, 20 Dec 2004 14:42:38 -0800
From: Matt Taggart <email address hidden>
To: <email address hidden>
Subject: severity of 285716 is grave

# Automatically generated email from bts, devscripts version 2.8.5
severity 285716 grave

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Mon, 20 Dec 2004 15:49:12 -0700
From: Matt Taggart <email address hidden>
To: <email address hidden>
Cc: dann frazier <email address hidden>, <email address hidden>,
 <email address hidden>
Subject: Re: what to do about evolution?

David Mosberger writes...

> Just fyi: there has been no feedback regarding the
> evolution-data-server bug which keeps evolution from working on 64-bit
> platforms. For reference, it's bug #285716.
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=285716
>
> This is the critical bug-fix (the libcamel fix may not be strictly
> needed and the upstream maintainers think the problem there should be
> fixed differently; I'll try to look into that).

David,

In the future you can send this sort of message to bug#@bugs.debian.org
(which I've cc'd in this message) and ask the status directly.

I have changed the severity of this bug to grave since it makes the
package unusable on 64bit archs.

--
Matt Taggart
<email address hidden>

Revision history for this message
In , dann frazier (dannf) wrote :

On Mon, Dec 20, 2004 at 03:49:12PM -0700, Matt Taggart wrote:
> I have changed the severity of this bug to grave since it makes the
> package unusable on 64bit archs.

Please consider this message to be my intent to NMU evolution-data-server
a few days from now.

Attached is the complete patch I plan to use.

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (6.5 KiB)

Message-ID: <20041221043447.GB6297@jale>
Date: Mon, 20 Dec 2004 21:34:47 -0700
From: dann frazier <email address hidden>
To: Matt Taggart <email address hidden>
Cc: <email address hidden>, <email address hidden>,
 <email address hidden>
Subject: Re: what to do about evolution?

--Q68bSM7Ycu6FN28Q
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Mon, Dec 20, 2004 at 03:49:12PM -0700, Matt Taggart wrote:
> I have changed the severity of this bug to grave since it makes the
> package unusable on 64bit archs.

Please consider this message to be my intent to NMU evolution-data-server
a few days from now.

Attached is the complete patch I plan to use.

--Q68bSM7Ycu6FN28Q
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="evolution-data-server_1.0.3-1.1.patch"

diff -urN evolution-data-server-1.0.3.orig/debian/changelog evolution-data-server-1.0.3/debian/changelog
--- evolution-data-server-1.0.3.orig/debian/changelog 2004-12-20 21:19:21.000000000 -0700
+++ evolution-data-server-1.0.3/debian/changelog 2004-12-20 21:23:47.000000000 -0700
@@ -1,3 +1,11 @@
+evolution-data-server (1.0.3-1.1) unstable; urgency=low
+
+ * NMU
+ * Fix a pointer truncation bug for 64 bit architectures - thanks to David
+ Mosberger for the patch. Closes: #285716
+
+ -- dann frazier <email address hidden> Mon, 20 Dec 2004 21:23:42 -0700
+
 evolution-data-server (1.0.3-1) unstable; urgency=low

   * New upstream release
diff -urN evolution-data-server-1.0.3.orig/debian/patches/03_calendar_pointer_truncate.patch evolution-data-server-1.0.3/debian/patches/03_calendar_pointer_truncate.patch
--- evolution-data-server-1.0.3.orig/debian/patches/03_calendar_pointer_truncate.patch 1969-12-31 17:00:00.000000000 -0700
+++ evolution-data-server-1.0.3/debian/patches/03_calendar_pointer_truncate.patch 2004-12-20 21:21:42.000000000 -0700
@@ -0,0 +1,99 @@
+From <email address hidden> Tue Dec 14 18:24:23 2004
+Received: (at submit) by bugs.debian.org; 15 Dec 2004 02:24:23 +0000
+Return-path: <email address hidden>
+Received: from adsl-66-127-195-58.dsl.snfc21.pacbell.net (panda.mostang.com) [66.127.195.58]
+ by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
+ id 1CeOpz-0002QM-00; Tue, 14 Dec 2004 18:24:23 -0800
+Received: by panda.mostang.com (Postfix, from userid 199)
+ id 749E3D403E; Tue, 14 Dec 2004 18:23:52 -0800 (PST)
+Content-Type: text/plain; charset="us-ascii"
+MIME-Version: 1.0
+Content-Transfer-Encoding: 7bit
+From: David Mosberger-Tang <email address hidden>
+To: Debian Bug Tracking System <email address hidden>
+Subject: evolution-data-server: libedata-cal5 crashes on 64-bit platforms
+X-Mailer: reportbug 6763.2
+Date: Tue, 14 Dec 2004 18:23:52 -0800
+Message-Id: <email address hidden>
+Delivered-To: <email address hidden>
+X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
+ (1.212-2003-09-23-exp) on spohr.debian.org
+X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
+ autolearn=no version=2.60-bugs.debian.org_2004_03_25
+X-Spam-Level:
+
+Package: evolution-data-server
+Version: 1.0.3-1
+Severity: normal
+Tags: patch
+
+
+The calendar service in E...

Read more...

Revision history for this message
In , Takuo KITAME (kitame) wrote : Bug#285716: fixed in evolution-data-server 1.0.3-2
Download full text (5.7 KiB)

Source: evolution-data-server
Source-Version: 1.0.3-2

We believe that the bug you reported is fixed in the latest version of
evolution-data-server, which is due to be installed in the Debian FTP archive:

evolution-data-server-dev_1.0.3-2_i386.deb
  to pool/main/e/evolution-data-server/evolution-data-server-dev_1.0.3-2_i386.deb
evolution-data-server_1.0.3-2.diff.gz
  to pool/main/e/evolution-data-server/evolution-data-server_1.0.3-2.diff.gz
evolution-data-server_1.0.3-2.dsc
  to pool/main/e/evolution-data-server/evolution-data-server_1.0.3-2.dsc
evolution-data-server_1.0.3-2_i386.deb
  to pool/main/e/evolution-data-server/evolution-data-server_1.0.3-2_i386.deb
libebook-dev_1.0.3-2_i386.deb
  to pool/main/e/evolution-data-server/libebook-dev_1.0.3-2_i386.deb
libebook8_1.0.3-2_i386.deb
  to pool/main/e/evolution-data-server/libebook8_1.0.3-2_i386.deb
libecal-dev_1.0.3-2_i386.deb
  to pool/main/e/evolution-data-server/libecal-dev_1.0.3-2_i386.deb
libecal6_1.0.3-2_i386.deb
  to pool/main/e/evolution-data-server/libecal6_1.0.3-2_i386.deb
libedata-book-dev_1.0.3-2_i386.deb
  to pool/main/e/evolution-data-server/libedata-book-dev_1.0.3-2_i386.deb
libedata-book1_1.0.3-2_i386.deb
  to pool/main/e/evolution-data-server/libedata-book1_1.0.3-2_i386.deb
libedata-cal-dev_1.0.3-2_i386.deb
  to pool/main/e/evolution-data-server/libedata-cal-dev_1.0.3-2_i386.deb
libedata-cal5_1.0.3-2_i386.deb
  to pool/main/e/evolution-data-server/libedata-cal5_1.0.3-2_i386.deb
libedataserver-dev_1.0.3-2_i386.deb
  to pool/main/e/evolution-data-server/libedataserver-dev_1.0.3-2_i386.deb
libedataserver3_1.0.3-2_i386.deb
  to pool/main/e/evolution-data-server/libedataserver3_1.0.3-2_i386.deb
libegroupwise-dev_1.0.3-2_i386.deb
  to pool/main/e/evolution-data-server/libegroupwise-dev_1.0.3-2_i386.deb
libegroupwise6_1.0.3-2_i386.deb
  to pool/main/e/evolution-data-server/libegroupwise6_1.0.3-2_i386.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Takuo KITAME <email address hidden> (supplier of updated evolution-data-server package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 21 Dec 2004 19:09:34 +0900
Source: evolution-data-server
Binary: evolution-data-server libegroupwise-dev libedata-cal-dev libedata-book1 libedataserver3 libedata-cal5 libebook-dev libebook8 evolution-data-server-dev libegroupwise6 libecal6 libedataserver-dev libedata-book-dev libecal-dev
Architecture: source i386
Version: 1.0.3-2
Distribution: unstable
Urgency: high
Maintainer: Takuo KITAME <email address hidden>
Changed-By: Takuo KITAME <email address hidden>
Description:
 evolution-data-server - evolution database backend server
 evolution-data-server-dev - Development files for evolution-data-server (meta package)
 libebook-dev ...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (5.9 KiB)

Message-Id: <email address hidden>
Date: Tue, 21 Dec 2004 05:32:07 -0500
From: Takuo KITAME <email address hidden>
To: <email address hidden>
Subject: Bug#285716: fixed in evolution-data-server 1.0.3-2

Source: evolution-data-server
Source-Version: 1.0.3-2

We believe that the bug you reported is fixed in the latest version of
evolution-data-server, which is due to be installed in the Debian FTP archive:

evolution-data-server-dev_1.0.3-2_i386.deb
  to pool/main/e/evolution-data-server/evolution-data-server-dev_1.0.3-2_i386.deb
evolution-data-server_1.0.3-2.diff.gz
  to pool/main/e/evolution-data-server/evolution-data-server_1.0.3-2.diff.gz
evolution-data-server_1.0.3-2.dsc
  to pool/main/e/evolution-data-server/evolution-data-server_1.0.3-2.dsc
evolution-data-server_1.0.3-2_i386.deb
  to pool/main/e/evolution-data-server/evolution-data-server_1.0.3-2_i386.deb
libebook-dev_1.0.3-2_i386.deb
  to pool/main/e/evolution-data-server/libebook-dev_1.0.3-2_i386.deb
libebook8_1.0.3-2_i386.deb
  to pool/main/e/evolution-data-server/libebook8_1.0.3-2_i386.deb
libecal-dev_1.0.3-2_i386.deb
  to pool/main/e/evolution-data-server/libecal-dev_1.0.3-2_i386.deb
libecal6_1.0.3-2_i386.deb
  to pool/main/e/evolution-data-server/libecal6_1.0.3-2_i386.deb
libedata-book-dev_1.0.3-2_i386.deb
  to pool/main/e/evolution-data-server/libedata-book-dev_1.0.3-2_i386.deb
libedata-book1_1.0.3-2_i386.deb
  to pool/main/e/evolution-data-server/libedata-book1_1.0.3-2_i386.deb
libedata-cal-dev_1.0.3-2_i386.deb
  to pool/main/e/evolution-data-server/libedata-cal-dev_1.0.3-2_i386.deb
libedata-cal5_1.0.3-2_i386.deb
  to pool/main/e/evolution-data-server/libedata-cal5_1.0.3-2_i386.deb
libedataserver-dev_1.0.3-2_i386.deb
  to pool/main/e/evolution-data-server/libedataserver-dev_1.0.3-2_i386.deb
libedataserver3_1.0.3-2_i386.deb
  to pool/main/e/evolution-data-server/libedataserver3_1.0.3-2_i386.deb
libegroupwise-dev_1.0.3-2_i386.deb
  to pool/main/e/evolution-data-server/libegroupwise-dev_1.0.3-2_i386.deb
libegroupwise6_1.0.3-2_i386.deb
  to pool/main/e/evolution-data-server/libegroupwise6_1.0.3-2_i386.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Takuo KITAME <email address hidden> (supplier of updated evolution-data-server package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 21 Dec 2004 19:09:34 +0900
Source: evolution-data-server
Binary: evolution-data-server libegroupwise-dev libedata-cal-dev libedata-book1 libedataserver3 libedata-cal5 libebook-dev libebook8 evolution-data-server-dev libegroupwise6 libecal6 libedataserver-dev libedata-book-dev libecal-dev
Architecture: source i386
Version: 1.0.3-2
Distribution: unstable
Urgency: high
Maintainer: Takuo KITAME <<email address hidden>...

Read more...

Revision history for this message
Matt Zimmerman (mdz) wrote :

For some reason, there is no merge-o-matic bug about evolution-data-server, but
it needs a merge

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Has never appeared from Lorraine.

Revision history for this message
Matt Zimmerman (mdz) wrote :

I think I'm just blind, and e-d-s in hoary is newer. Maybe I was looking at Warty.

evolution-data-server | 1.1.2-0ubuntu2 | http://archive.ubuntu.com hoary/main
Packages
evolution-data-server | 1.1.2-0ubuntu2 | http://archive.ubuntu.com hoary/main
Sources
evolution-data-server | 1.0.2-0ubuntu2 | http://archive.ubuntu.com warty/main
Sources
evolution-data-server | 1.0.3-2 | http://http.us.debian.org unstable/main Sources

Sebastien, can you confirm whether this is fixed in 1.1.2-0ubuntu2?

Revision history for this message
Sebastien Bacher (seb128) wrote :

that's not fixed yet, will do it soon.

Revision history for this message
Sebastien Bacher (seb128) wrote :

 evolution-data-server (1.1.2-0ubuntu3) hoary; urgency=low
 .
   * debian/patches/02_gtype.patch:
     - patch to fix a crasher on 64bits platforms (Hoary: #4854).

Changed in evolution-data-server:
status: Unknown → Fix Released
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.