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 336767 - crash/hang with "glibc free()" error on Debian testing/unstable
crash/hang with "glibc free()" error on Debian testing/unstable
Status: RESOLVED NOTGNOME
Product: evolution
Classification: Applications
Component: Mailer
2.4.x (obsolete)
Other other
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
: 336623 337105 337356 337719 338234 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-03-31 20:02 UTC by Filipi Vianna
Modified: 2006-04-13 10:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Filipi Vianna 2006-03-31 20:02:23 UTC
Distribution: Debian testing/unstable
Package: Evolution
Priority: Normal
Version:  unspecified
Synopsis: Evolution hangs on HTML messages or messages with attached files
Bugzilla-Product: Evolution
Bugzilla-Component: Mailer
Bugzilla-Version: unspecified
Description:
Description of Problem:
Evolution hangs on HTML messages or messages with attached files.
And the console shows the message that follows

Evolution 2.4.2.1 - Debian (Testing)

Steps to reproduce the problem:
1. Start evolution
2. Select any html message or any message with an attached file


Actual Results:
That's it! Evolution hangs
and 
*** glibc detected *** free(): invalid pointer [number]
is printed on the console

Expected Results:
Show the message

How often does this happen?
Everty time I try to select any message

Additional Information:




------- Bug created by bug-buddy at 2006-03-31 20:02 -------

Comment 1 Karsten Bräckelmann 2006-03-31 20:24:40 UTC
Yup, sounds familiar...

Let me take a guess: You updated glib from 2.8 to 2.10 recently. Since then, you are experiencing this.

filipi, please upgrade evolution-plugins, likely 2.4.2.1-2.


I am pretty positive, this will solve your issue already. Anyway, please tell
the glib version installed.
Comment 2 Filipi Vianna 2006-03-31 22:45:41 UTC
Yes, I did update glib from 2.8 to 2.10.

evolution-plugins where not installed when the bug starts to happen.
I installed them, and the bug were still happening.
So I removed them.

I don't know if it helps, but I am using kernel 2.6.15
and kernel 2.6.12 (with booth kernels, evolution shows the same behavior).
Comment 3 Karsten Bräckelmann 2006-03-31 22:56:21 UTC
What are the exact Evolution (and friends) versions you have installed?

Upgrading glib from 2.8 to 2.10 requires to upgrade apps as well. The new packages are rebuilt against glib 2.10. Did you upgrade Evolution and GtkHTML together with glib?

The evolution-plugins issue is a common one. Apparently Evolution is being updates, but not the Plugins. Which has caused similar issues.


If anything else fails, please try *downgrading* glib again. Looks like a Debian specific issue in either case. (Remember, you already used Evo 2.4.2.1 before, and it worked, no? :)
Comment 4 Filipi Vianna 2006-04-01 00:32:05 UTC
The GTKHTML were updated.
GKTHTML versio is 3.8
No evolution-plugins installed (I had removed them)

Evolution version is 2.4.2.1

I have to keep glib 2.10 because I have lots of applications those require this glib version.

Downgrade isn't the best choice...
Comment 5 Karsten Bräckelmann 2006-04-01 00:44:56 UTC
True, downgrading glib may not be the best choice. However, upgrading wasn't the best choice for Debian either...

I already have seen a lot of issues with Evolution users on Deabian, which started when updating glib. Downgrading glib again did solve the issue, that's why I mentioned it. Just recently someone found out, that updating evolution-plugins (which was missed by the deps) solved it for him, too.


I'd like to see the exact versions of a couple of packages (if installed), including the build/package version of Debian:
glib, evolution, evolution-data-server, libsoup, gtkhtml, evolution-plugins

If installed, anything else directly related to Evolution, like Exchange Connector. Can you tell me, if all of those package where updated when glib was?


Another thing to try would be calling Evo like this:
$ G_SLICE=always-malloc evolution

See bug 336718 comment 1 for details, including a Debian bugzilla number. Is that your issue?
Comment 6 Filipi Vianna 2006-04-01 02:07:52 UTC
You are right... upgrading wer not the best choice for Evo on Debian.
I already had this kind of problem in the past and downgraded before. But this
time I can't.
Package                            Debian version
libglib1.2                         1.2.10-10.1
libglib2.0-0                       2.10.1-2
libstdc++2.10-glibc2               1:2.95.4-22
evolution 2.4.2.1                  2.4.2.1-1
evolution-data-server 1.4.2.1      1.4.2.1-1
libsoup2.2-7                       2.2.3-2
libouup2.2-8                       2.2.91-1
gtkhtml3.8                         3.8-1
libgtkhtml3.8                      3.8-1
No plugins and no exchange conector

And, with "$ G_SLICE=always-malloc evolution", Evo doesn't hang anymore...
But it is a little bit slow when opening addressbook and Calendar.

I didn't remove libsoup2.2-7 because of two dependencies
libegroupwise1.2-5
libegroupwise6

May I remove those three packages (libsoup2.2-7, libegroupwise1.2-5
and libegroupwise6)?

Because there is another libegroupwise (1.2-6) which depends on 
libouup2.2-8.
Comment 7 Karsten Bräckelmann 2006-04-01 02:18:21 UTC
This is a Debian issue. Closing NOTGNOME.


$ G_SLICE=always-malloc evolution

Starting Evolution with this env variable set seems to fix this issue for now.
See bug 336718 comment 1 for details, including a Debian bugzilla number.
Comment 8 Karsten Bräckelmann 2006-04-01 02:25:33 UTC
Adjusting Summary, to find this Debian specific issue easily. I'm pretty positive, this ain't the last time. (As a matter of fact, this one just came up 10 minutes ago in IRC.)

Relavant snippet from a blog:


Evolution and the new GLib in Debian testing
============================================

Last night, glib 2.8 and pango 1.12 entered testing, as a first step on the
GNOME 2.14 quest. The bad news is that the fixed evolution & friends were not
ready to go in as well, so now many etch users will be wondering why their
evolution doesn't start up, or doesn't show any mail.

Until we manage to get a fixed evolution in testing, and it looks like it won't
be trivial to get this done in the immediate future, Erich's recipe comes handy
again:
My personal hero of the day is Gustavo Franco, for this email to debian-devel.
He writes how to get your Gnome/Pango/Glib applications that don't work since
yesterday's upgrade like evolution (#358071) working again: 

$ G_SLICE=always-malloc evolution
And you should be able to read your email again.


Note: The above most likely should read "glib 2.10"... *sigh*
Comment 9 Karsten Bräckelmann 2006-04-01 02:33:48 UTC
Some more information on this issue (keep in mind though, that I am not a Debian user myself):

There seem to be 2 different issues right now, both introduced by a glib update to 2.10 in Debian.

* Evolution and glib from Debian *testing* currently suffer from the above
  issue. Fix is the env var, till fixed packages are released.

* Evolution and glib from Debian testing/*unstable* currently suffer from
  another issue, as it seems. There are 2.4.2.1-2 packages available.
  Unfortunately evolution-plugins are not updated and left at 2.4.2.1-1.1,
  which results in about the very same issue.
Comment 10 Karsten Bräckelmann 2006-04-01 02:46:40 UTC
filipi, I just left a bunch of details for anyone else to solve this known issue quickly. Hope, it clears things up for you as well. :)


Regarding your questions: (In reply to comment #6)
> And, with "$ G_SLICE=always-malloc evolution", Evo doesn't hang anymore...
> But it is a little bit slow when opening addressbook and Calendar.

Well, great that it doesn't hang anymore and we solved this issue. :)

There are some significant speed improvements in glib 2.10, and most likely using the old malloc is the reason for some slowness. Just an educated guess, dunno for sure, though. You should complain to your packagers anyway. :)

> May I remove those three packages (libsoup2.2-7, libegroupwise1.2-5
> and libegroupwise6)?
> 
> Because there is another libegroupwise (1.2-6) which depends on 
> libouup2.2-8.

libegroupwise is part of e-d-s. I'd check your dependencies, especially which one is part of (or depends on) your currently installed e-d-s.
Comment 11 Karsten Bräckelmann 2006-04-01 16:59:39 UTC
*** Bug 336623 has been marked as a duplicate of this bug. ***
Comment 12 Karsten Bräckelmann 2006-04-03 23:15:06 UTC
*** Bug 337105 has been marked as a duplicate of this bug. ***
Comment 13 Simon Newton 2006-04-05 17:20:09 UTC
*** Bug 337356 has been marked as a duplicate of this bug. ***
Comment 14 André Klapper 2006-04-13 10:17:35 UTC
*** Bug 338234 has been marked as a duplicate of this bug. ***
Comment 15 André Klapper 2006-04-13 10:17:51 UTC
*** Bug 337719 has been marked as a duplicate of this bug. ***