Crash in camel on PowerPC, gcc regression

Bug #44061 reported by Ben Collins
8
Affects Status Importance Assigned to Milestone
evolution-data-server
Expired
Critical
evolution-data-server (Ubuntu)
Fix Released
Critical
Daniel Holbach

Bug Description

The camel library crashes on powerpc due to a gcc regression. The culprit is some optimized code in camel-search-private.c.

The actual bug is in gcc, but this needs to be fixed for dapper. I am attaching a patch that disables the optimizations on powerpc to avoid the crash.

Revision history for this message
Ben Collins (ben-collins) wrote : Disable optimizatins on ppc

Temporary patch. Please remove post dapper release so that the actual bug in gcc can be fixed.

Changed in evolution-data-server:
assignee: nobody → dholbach
status: Unconfirmed → Confirmed
Revision history for this message
Daniel Holbach (dholbach) wrote :

 evolution-data-server (1.6.1-0ubuntu5) dapper; urgency=low
 .
   * debian/patches/10_change_powerpc_optimizations_for_camel_TEMPORARY.patch:
     - thanks Ben Collins for providing the fix. evolution-data-server crashed
       on PowerPC on filtering specific mails. This was due to optimizations
       and are likely to be a GCC problem. To get on with life, we add this as
       a temporary fix and will hopefully a fixed GCC in Edgy. (Malone: #44061)

Changed in evolution-data-server:
status: Confirmed → Fix Released
Revision history for this message
Daniel Holbach (dholbach) wrote :

Ben, Matthias: what do you think about the following upstream comment?

 Comment #7 from Jeffrey Stedfast 2006-05-10 19:11 UTC

is it really necessary to comment out the register keyword? since register is
used quite a lot in camel, I think the problem is related to inline, no?

I wonder if a better fix would be to #define inline to nothing in config.h or
something if the system is ppc.

Revision history for this message
Matthias Klose (doko) wrote : Re: [Bug 44061] Re: Crash in camel on PowerPC, gcc regression

Daniel Holbach schrieb:
> Ben, Matthias: what do you think about the following upstream comment?
>
> Comment #7 from Jeffrey Stedfast 2006-05-10 19:11 UTC
>
> is it really necessary to comment out the register keyword? since register is
> used quite a lot in camel, I think the problem is related to inline, no?
>
> I wonder if a better fix would be to #define inline to nothing in config.h or
> something if the system is ppc.

that would penalize all files; are the variables really placed memory
locations without the register keyword?

Changed in evolution-data-server:
importance: Unknown → Critical
Changed in evolution-data-server:
status: New → Expired
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.