crash in account_changed ()

Bug #304385 reported by Daniel Dumitrache
224
This bug affects 20 people
Affects Status Importance Assigned to Milestone
Evolution
Fix Released
Medium
evolution (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs
Intrepid
Fix Released
High
Ubuntu Desktop Bugs

Bug Description

I'm using Evolution 2.24.2 and it crashes when I edit one of my two configured accounts. I had 2 accounts working perfectly fine for a while, and today I edited one of them. In "Sending Email" for one of the accounts (IMAP), I changed the server from "mail.example.com" to "mail2.example.com:1863", after that I clicked on "Check for Supported Types" button and chose GSSAPI (was PLAIN previously). After that I clicked the "OK" button and Evolution crashed. I restated Evolution, changed the settings to the old ones, they were saved, but when I click "OK" Evolution still crashes (even if I don't change anything).

$ evolution
evolution-shell-Message: Killing old version of evolution-data-server...
** (evolution:23890): DEBUG: mailto URL command: evolution %s
** (evolution:23890): DEBUG: mailto URL program: evolution

(evolution:23890): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
[ ... ]
(evolution:23890): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(evolution:23890): e-data-server-CRITICAL **: e_account_set_string: assertion `ea != NULL' failed
Segmentation fault (core dumped)

$ gdb -c core.23890 `which evolution`
[ ... ]
Core was generated by `evolution'.
Program terminated with signal 11, Segmentation fault.
[New process 23890]
[New process 23967]
[New process 23959]
#0 account_changed (accounts=0x8b8ae78, account=0x0, user_data=0x8ae91a0) at em-folder-tree-model.c:402
402 em-folder-tree-model.c: No such file or directory.
 in em-folder-tree-model.c
(gdb) t a a bt

Thread 3 (process 23959):
#0 0xb7f34430 in __kernel_vsyscall ()
#1 0xb789a3a2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb73da0bd in ?? () from /usr/lib/libgthread-2.0.so.0
#3 0xb6991269 in ?? () from /usr/lib/libglib-2.0.so.0
#4 0xb69e3708 in ?? () from /usr/lib/libglib-2.0.so.0
#5 0xb69e202f in ?? () from /usr/lib/libglib-2.0.so.0
#6 0xb789650f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7 0xb69007ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (process 23967):
#0 0xb7f34430 in __kernel_vsyscall ()
#1 0xb789a3a2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb73da0bd in ?? () from /usr/lib/libgthread-2.0.so.0
#3 0xb6991269 in ?? () from /usr/lib/libglib-2.0.so.0
#4 0xb69e3708 in ?? () from /usr/lib/libglib-2.0.so.0
#5 0xb69e202f in ?? () from /usr/lib/libglib-2.0.so.0
#6 0xb789650f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7 0xb69007ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (process 23890):
#0 account_changed (accounts=0x8b8ae78, account=0x0, user_data=0x8ae91a0) at em-folder-tree-model.c:402
#1 0xb6a518dc in g_cclosure_marshal_VOID__OBJECT () from /usr/lib/libgobject-2.0.so.0
#2 0xb6a44c4b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#3 0xb6a5b095 in ?? () from /usr/lib/libgobject-2.0.so.0
#4 0xb6a5c7ac in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#5 0xb6a5cc26 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#6 0xb77bd576 in e_account_list_change (accounts=0x8b8ae78, account=0x0) at e-account-list.c:367
#7 0xb2a6979e in imap_headers_commit (efp=0x8ba9108, data=0x97afcb8) at imap-headers.c:131
#8 0xb7d1191f in epl_invoke (ep=0x8ba9108, name=0x8bde198 "imap_headers_commit", data=0x97afcb8) at e-plugin.c:1035
#9 0xb7d11e09 in e_plugin_invoke (ep=0x8ba9108, name=0x8bde198 "imap_headers_commit", data=0x97afcb8)
    at e-plugin.c:769
#10 0xb7d04292 in ech_commit (ec=0x97796c8, items=0x8bccab8, data=0x8bdca08) at e-config.c:1267
#11 0xb7d03c72 in e_config_commit (ec=0x97796c8) at e-config.c:1015
#12 0xb7d04c93 in ec_dialog_response (d=0x8bc2f20, id=-5, ec=0x97796c8) at e-config.c:858
#13 0xb6a5211c in g_cclosure_marshal_VOID () from /usr/lib/libgobject-2.0.so.0
#14 0xb6a44c4b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#15 0xb6a5b095 in ?? () from /usr/lib/libgobject-2.0.so.0
#16 0xb6a5c7ac in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#17 0xb6a5cc26 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#18 0xb70db371 in gtk_dialog_response () from /usr/lib/libgtk-x11-2.0.so.0
#19 0xb6a523d4 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#20 0xb6a44c4b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#21 0xb6a5b095 in ?? () from /usr/lib/libgobject-2.0.so.0
#22 0xb6a5c7ac in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#23 0xb6a5cc26 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#24 0xb70a9eaa in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
#25 0xb70aaf58 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#26 0xb6a523d4 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#27 0xb6a433c9 in ?? () from /usr/lib/libgobject-2.0.so.0
#28 0xb6a44c4b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#29 0xb6a5a8ee in ?? () from /usr/lib/libgobject-2.0.so.0
#30 0xb6a5c7ac in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#31 0xb6a5cc26 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#32 0xb70a9f4a in gtk_button_released () from /usr/lib/libgtk-x11-2.0.so.0
#33 0xb70a9f83 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#34 0xb715e036 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#35 0xb6a433c9 in ?? () from /usr/lib/libgobject-2.0.so.0
#36 0xb6a44c4b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#37 0xb6a5ad3d in ?? () from /usr/lib/libgobject-2.0.so.0
#38 0xb6a5c62b in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#39 0xb6a5cc26 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#40 0xb727333e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#41 0xb7156b4c in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#42 0xb7157ef7 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#43 0xb6eb150a in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#44 0xb69b76f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#45 0xb69bada3 in ?? () from /usr/lib/libglib-2.0.so.0
#46 0xb69bb2c2 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#47 0xb74b0cf3 in bonobo_main () from /usr/lib/libbonobo-2.so.0
#48 0x0805cc16 in main (argc=1, argv=0xbfd34334) at main.c:689

Related branches

Revision history for this message
Pedro Villavicencio (pedro) wrote :

trace looks like bug http://bugzilla.gnome.org/show_bug.cgi?id=560188 which is known upstream, linking the report, thanks.

Changed in evolution:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Norbert Tretkowski (tretkowski) wrote :

I'm seeing exactly the same crash on two machines after upgrading to evolution from 2.24.1-0ubuntu1 to 2.24.2-0ubuntu1.

Revision history for this message
Norbert Tretkowski (tretkowski) wrote :
Revision history for this message
rhi (rhi-deactivatedaccount) wrote :

Have this problem, too. Seems to be fixed in upstream (http://bugzilla.gnome.org/show_bug.cgi?id=560188). Will there be an Ubuntu update for this?

Revision history for this message
raylu (raylu) wrote :

I have the same problem (two accounts, editing one by adding a PGP key to it caused evolution to crash when clicking OK, restarting revealed the changes had been made but setting it back to the previous setting results in a crash regardless).

Revision history for this message
Scott Wegner (swegner) wrote :

I also just experienced this bug, on a new GMail IMAP account I set up. Tried to go in and configure the "IMAP Headers" to "Fetch all headers". Upon clicking OK, evolution crashes-- very reproducible.

I've also generated a backtrace, which I'll attach here. This is on Ubuntu Intrepid x64, using latest Evolution from repositories.

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

the bug has been fixed upstream now

Changed in evolution:
status: Triaged → Fix Committed
Revision history for this message
vaughn (vaughngrisham) wrote :

Will the upstream fix apply to Intrepid or only to Jaunty?

Revision history for this message
Martin Pool (mbp) wrote :

Normally the upstream fix would only go into Jaunty, unless someone specifically backports it to Intrepid.

Revision history for this message
Martin (martin615) wrote :

Setting up Evolution after a clean install without this patch is pretty much impossible... so someone backport it, please.

Changed in evolution:
status: Unknown → Fix Released
Revision history for this message
Juan J. Martínez (jjmartinez) wrote :

Seems a bug with wide effects. Following the comments in:

http://bugzilla.gnome.org/show_bug.cgi?id=552583

... it's hard to understand what are they patching :(

Revision history for this message
Gary Mansell (garymansell) wrote :

I see this in Ubuntu 8.10 Intrepid also - surely this is a big enough issue to be backported to Intrepid rather than have to wait until Jaunty?

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

the issue will be fixed in intrepid when the next tarballs are rolled which is next week

Revision history for this message
Gary Mansell (garymansell) wrote : Re: [Bug 304385] Re: crash in account_changed ()

Nice one - thanks for the update

2009/1/9 Sebastien Bacher <email address hidden>

> the issue will be fixed in intrepid when the next tarballs are rolled
> which is next week
>
> --
> crash in account_changed ()
> https://bugs.launchpad.net/bugs/304385
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Changed in evolution:
assignee: nobody → desktop-bugs
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :
Revision history for this message
Steve Langasek (vorlon) wrote :

Accepted into intrepid-proposed, please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in evolution:
status: Confirmed → Fix Committed
Revision history for this message
Daniel Dumitrache (dandu) wrote :

the bug seems to be fixed for me after that latest update. thanks all.

Revision history for this message
Gary Mansell (garymansell) wrote :

Which update do you refer to and when will it be generally available via the
Update Manager?

2009/1/14 Daniel Dumitrache <email address hidden>

> the bug seems to be fixed for me after that latest update. thanks all.
>
> --
> crash in account_changed ()
> https://bugs.launchpad.net/bugs/304385
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Daniel Dumitrache (dandu) wrote :

you need to enable intrepid-proposed as explained by Steve Langasek

Revision history for this message
Jeff Abbott (fdivbug) wrote :

I also had this issue on a freshly installed laptop running Intrepid. Enabling intrepid-proposed and only installing evolution (and its updated dependencies, of course) seems to have fixed the problem. Thanks, Sebastien and Steve!

Revision history for this message
Louis Passano III (louis-lpiii) wrote :

To Whomever it may concern - This fix has made my day. Thank you. -
Louis Passano III - Finksburg, Maryland, USA

It has taken me about five years to migrate from DOS,OS/2,Windows to
Linux. With the evolution of Ubuntu, OpenOffice, Evolution and GnuCash
this year
I disconnected my windows box. Still may need it to disinfect customers
and friends drives, but Linux is all that I need.

Thank you again

Revision history for this message
Patrick Hubers (patrick-stompbox) wrote :

The fixed version in intrepid-proposed works great for me too. Thanks for the work!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package evolution - 2.24.3-0ubuntu1

---------------
evolution (2.24.3-0ubuntu1) intrepid-proposed; urgency=low

  * New upstream version:
    Bug Fixes:
    - #332729: Invalid write with outspring from e-config.c
    - #337082: Unnamed imap folder (lp: #37227)
    - #435452: Adding People to Meeting Loses Attendee if Add or
               Busy Search Selected
    - #435694: Retract of Email from Sent Items Does not Work
    - #439733: Checking for junk before training
    - #446285: Meeting Entry Does Not Allow Multiple Names
    - #458968: Don't warn the user about changes being lost if he is trying to
               delegate the meeting
    - #546637: Mail opened from the "Unread mails" displays empty (lp: #275952)
    - #551599: Do not fallback to default 15 minutes alarm offset if alarm is
               triggered at start
    - #552583: Passwords don't get stored when using other authentication
            type than "Password"
    - #552583: Free the right url
    - #552583: Account checking logic a bit more consistent
    - #552583: Fix bugs in the account checking logic
    - #552583: Compare the protocol, user, host and port and disregard the rest
    - #555663: Evolution crashed with SIGSEGV in gconf-bridge (lp: #280675)
    - #556303: Evolution crashed with SIGSEGV in camel_mime_part_get_filename
               (lp: #304385)
    - #557176: Crash while trying to click on 'Contacts'
    - #558337: Evolution crashes while managing IMAP folder subscriptions
    - #559153: Unable to convert mailboxes from Hardy to Intrepid versions
    - #560420: Failed spamassassin pipe on Evolution (lp: #275746)
    - #562091: New share memo window doesn't come up
    - #562155: Evolution stopped to start
    - #562450: Edit as New Message doesn't copy the content of a
               GPG signed message
    - #562886: Evolution mailto CLI cannot handle attachments with
               "#" in filename (lp: #304036)
    - #563077: Evolution crashes if gnome-settings-daemon is not
               started on Solaris
    - #563250: Save and restore custom composer accelerators
    - #563369: "Templates" folder not translated
    - #564007: Messages do not show inline decrypted message by default
    - #564860: Evolution crashes in e_util_labels_parse if the labels don't have
               the correct format
    - #565553: Right click on an attachment in calendar event
               and chose application does not work
    - #566653: Local folder's DnD aren't saved well to DB
  * debian/control:
    - updated evolution-data-server requirement

 -- Sebastien Bacher <email address hidden> Mon, 12 Jan 2009 16:23:51 +0100

Changed in evolution:
status: Fix Committed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

the new version is in jaunty now

Changed in evolution:
status: Fix Committed → Fix Released
Oldfux (teaterkatten)
Changed in evolution (Ubuntu Intrepid):
status: Fix Released → Incomplete
Changed in evolution (Ubuntu):
status: Fix Released → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

why did you change the bug settings?

Changed in evolution (Ubuntu):
status: Incomplete → Fix Released
Changed in evolution (Ubuntu Intrepid):
status: Incomplete → Fix Released
Revision history for this message
jlolling (jan-lolling) wrote :
Download full text (7.1 KiB)

I have nothing changed !

Jan

Am 14.08.2009 um 10:24 schrieb Sebastien Bacher:

> why did you change the bug settings?
>
> ** Changed in: evolution (Ubuntu)
> Status: Incomplete => Fix Released
>
> ** Changed in: evolution (Ubuntu Intrepid)
> Status: Incomplete => Fix Released
>
> --
> crash in account_changed ()
> https://bugs.launchpad.net/bugs/304385
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in The Evolution Mail & Calendaring Tool: Fix Released
> Status in “evolution” package in Ubuntu: Fix Released
> Status in evolution in Ubuntu Intrepid: Fix Released
>
> Bug description:
> I'm using Evolution 2.24.2 and it crashes when I edit one of my two
> configured accounts. I had 2 accounts working perfectly fine for a
> while, and today I edited one of them. In "Sending Email" for one of
> the accounts (IMAP), I changed the server from "mail.example.com" to
> "mail2.example.com:1863", after that I clicked on "Check for
> Supported Types" button and chose GSSAPI (was PLAIN previously).
> After that I clicked the "OK" button and Evolution crashed. I
> restated Evolution, changed the settings to the old ones, they were
> saved, but when I click "OK" Evolution still crashes (even if I
> don't change anything).
>
> $ evolution
> evolution-shell-Message: Killing old version of evolution-data-
> server...
> ** (evolution:23890): DEBUG: mailto URL command: evolution %s
> ** (evolution:23890): DEBUG: mailto URL program: evolution
>
> (evolution:23890): Gtk-WARNING **: GtkSpinButton: setting an
> adjustment with non-zero page size is deprecated
> [ ... ]
> (evolution:23890): Gtk-WARNING **: GtkSpinButton: setting an
> adjustment with non-zero page size is deprecated
>
> (evolution:23890): e-data-server-CRITICAL **: e_account_set_string:
> assertion `ea != NULL' failed
> Segmentation fault (core dumped)
>
> $ gdb -c core.23890 `which evolution`
> [ ... ]
> Core was generated by `evolution'.
> Program terminated with signal 11, Segmentation fault.
> [New process 23890]
> [New process 23967]
> [New process 23959]
> #0 account_changed (accounts=0x8b8ae78, account=0x0,
> user_data=0x8ae91a0) at em-folder-tree-model.c:402
> 402 em-folder-tree-model.c: No such file or directory.
> in em-folder-tree-model.c
> (gdb) t a a bt
>
> Thread 3 (process 23959):
> #0 0xb7f34430 in __kernel_vsyscall ()
> #1 0xb789a3a2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/
> tls/i686/cmov/libpthread.so.0
> #2 0xb73da0bd in ?? () from /usr/lib/libgthread-2.0.so.0
> #3 0xb6991269 in ?? () from /usr/lib/libglib-2.0.so.0
> #4 0xb69e3708 in ?? () from /usr/lib/libglib-2.0.so.0
> #5 0xb69e202f in ?? () from /usr/lib/libglib-2.0.so.0
> #6 0xb789650f in start_thread () from /lib/tls/i686/cmov/
> libpthread.so.0
> #7 0xb69007ee in clone () from /lib/tls/i686/cmov/libc.so.6
>
> Thread 2 (process 23967):
> #0 0xb7f34430 in __kernel_vsyscall ()
> #1 0xb789a3a2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/
> tls/i686/cmov/libpthread.so.0
> #2 0xb73da0bd in ?? () from /usr/lib/libgthread-2.0.so.0
> #3 0xb6991269 in ?? () from /usr/lib/libglib-2.0.so.0
> #4 0xb69...

Read more...

Changed in evolution:
importance: Unknown → Medium
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.