GNOME Bugzilla – Bug 336767
crash/hang with "glibc free()" error on Debian testing/unstable
Last modified: 2006-04-13 10:17:51 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 -------
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.
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).
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? :)
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...
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?
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.
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.
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*
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.
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.
*** Bug 336623 has been marked as a duplicate of this bug. ***
*** Bug 337105 has been marked as a duplicate of this bug. ***
*** Bug 337356 has been marked as a duplicate of this bug. ***
*** Bug 338234 has been marked as a duplicate of this bug. ***
*** Bug 337719 has been marked as a duplicate of this bug. ***