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 513389 - Evolution Mail and Calendar: Evolution crash sending ...
Evolution Mail and Calendar: Evolution crash sending ...
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.22.x (obsolete)
Other All
: High critical
: ---
Assigned To: Milan Crha
Evolution QA team
: 513493 516598 516610 517131 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-01-31 09:43 UTC by daniele
Modified: 2013-09-13 00:59 UTC
See Also:
GNOME target: 2.22.x
GNOME version: 2.21/2.22


Attachments
proposed eds patch (848 bytes, patch)
2008-02-01 17:45 UTC, Milan Crha
committed Details | Review

Description daniele 2008-01-31 09:43:24 UTC
Version: 2.22.x

Evolution crash sending e-mails from an IMAP account.
Starting evolution from a console, this is what I get:

daniele@besa:~$ evolution

(evolution:19204): GLib-GObject-WARNING **: IA__g_object_weak_unref: couldn't find weak ref 0xb64c9bd0(0x8b83168)

(evolution:19204): GLib-GObject-WARNING **: IA__g_object_weak_unref: couldn't find weak ref 0xb64c9bd0(0x8c66478)

(evolution:19204): GLib-GObject-WARNING **: IA__g_object_weak_unref: couldn't find weak ref 0xb64c9bd0(0x8c35cc8)
** Message: Response 1

(evolution:19204): GLib-GObject-WARNING **: IA__g_object_weak_unref: couldn't find weak ref 0xb64c9bd0(0x8c78b18)


** Message: Response 1

camel-CRITICAL **: camel_url_new: assertion `*url_string != 0' failed
aborting...
Trace/breakpoint trap (core dumped)


Version is Evolution 2.21.90


Distribution: Ubuntu 8.04 (hardy)
Gnome Release: 2.21.90 2008-01-29 (Ubuntu)
BugBuddy Version: 2.20.1
Comment 1 Gustavo Carneiro 2008-01-31 15:57:07 UTC
Same problem here.  Confirming.  Really nasty bug :-/
Comment 2 André Klapper 2008-01-31 21:57:34 UTC
gjc or daniele, can you provide a useful trace, please?
(running evolution in gdb with "thread apply all bt")
Comment 3 daniele 2008-02-01 01:03:22 UTC
Hi Andre,
I find out that the same problem, with the same error:
camel-CRITICAL **: camel_url_new: assertion `*url_string != 0' failed
happens trying to add a new account.
This should be easy to reproduce, I had it on 2 different boxes running Ubuntu Hardy.

I found that starting evolution with:
evolution --disable-eplugin
solves the problem.

I'll try to run the gdb.

Thanks!
--
Daniele
Comment 4 Milan Crha 2008-02-01 17:45:21 UTC
Created attachment 104213 [details] [review]
proposed eds patch

for evolution-data-server;

This has been cause by fix for bug #500233. Unfortunately on some distros the G_DEBUG can be set too "sensitive", so it crashes. Anyway, it is possible to create only-to-send account in evo, in which case it has url as empty string.
This patch only checks for this case and returns safely.
Comment 5 Milan Crha 2008-02-01 17:48:14 UTC
Daniele, can you try to get stack trace for the weak_unref message, please? Maybe with 'export G_DEBUG=fatal_warnings' it will stop immediately when that happened. Can you provide also steps for it? I guess those messages come earlier then in send process. Thanks in advance.
Comment 6 André Klapper 2008-02-01 19:42:49 UTC
G_DEBUG is not "too sensitive". it's up to every developer to carefully review his patches.
Comment 7 Srinivasa Ragavan 2008-02-02 08:37:50 UTC
Milan, I think in this case, you can go ahead with if-null-return for both the ones. I don't see any issue. So change the other one also and commit.
Comment 8 daniele 2008-02-03 21:23:16 UTC
Thanks to everyone,
latest Ubuntu Hardy packages solved the problem.
So the problem is now gone.

Thanks
--
Daniele
Comment 9 Milan Crha 2008-02-04 12:27:12 UTC
Committed to trunk (slightly modified). Committed revision 8453.
Comment 10 Jeff Cai 2008-02-20 07:21:33 UTC
*** Bug 517131 has been marked as a duplicate of this bug. ***
Comment 11 Jeff Cai 2008-02-20 07:22:22 UTC
*** Bug 516610 has been marked as a duplicate of this bug. ***
Comment 12 Milan Crha 2008-02-20 12:44:31 UTC
*** Bug 516598 has been marked as a duplicate of this bug. ***
Comment 13 Milan Crha 2008-09-15 16:47:10 UTC
*** Bug 513493 has been marked as a duplicate of this bug. ***