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 307794 - Evolution crashs in Mail Account creation druid
Evolution crashs in Mail Account creation druid
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.4.x (obsolete)
Other other
: High critical
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
: 273375 307834 307867 308370 308505 308911 308921 309397 309617 309749 310211 311554 312499 312594 313032 313342 314388 326556 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-06-15 15:45 UTC by Arthur Peters
Modified: 2006-08-10 21:54 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
Crude fix for this bug (863 bytes, patch)
2005-07-07 15:02 UTC, Arunprakash
reviewed Details | Review

Description Arthur Peters 2005-06-15 15:45:02 UTC
Distribution: Debian 3.1
Package: Evolution
Severity: normal
Version: GNOME2.11.3 unspecified
Gnome-Distributor: Ubuntu
Synopsis: Evolution crashs in Mail Account creation druid
Bugzilla-Product: Evolution
Bugzilla-Component: Mailer
Bugzilla-Version: unspecified
BugBuddy-GnomeVersion: 2.0 (2.10.0)
Description:
Description of the crash:
Evolution crashs suddenly when I select the server type of a new mail
account. This occures even after .evolution has been deleted.

Steps to reproduce the crash:
1. Start Evolution
2. Go to Edit > Preferences, then add a mail account
3. Click next, then enter name and email leaving other fields blank.
4. Click next, drop down the combo for selecting server type, then
select an item. Booom.

How often does this happen?
This occures everytime with any item in the combo box.



Debugging Information:

Backtrace was generated from '/usr/bin/evolution'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its
symbols.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1228711136 (LWP 7093)]
[New Thread -1254102096 (LWP 7162)]
[New Thread -1245709392 (LWP 7154)]
[New Thread -1235780688 (LWP 7127)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xffffe410 in __kernel_vsyscall ()

Thread 1 (Thread -1228711136 (LWP 7093))

  • #0 __kernel_vsyscall
  • #1 waitpid
    from /lib/tls/i686/cmov/libc.so.6
  • #2 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 es_menu_hook_get_type
  • #4 <signal handler called>
  • #5 gtk_combo_box_set_active_iter
    from /usr/lib/libgtk-x11-2.0.so.0
  • #6 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #7 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #8 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #9 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #10 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #11 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #12 gtk_menu_shell_activate_item
    from /usr/lib/libgtk-x11-2.0.so.0
  • #13 gtk_menu_shell_activate_item
    from /usr/lib/libgtk-x11-2.0.so.0
  • #14 gtk_menu_reorder_child
    from /usr/lib/libgtk-x11-2.0.so.0
  • #15 _gtk_marshal_BOOLEAN__BOXED
    from /usr/lib/libgtk-x11-2.0.so.0
  • #16 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #17 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #19 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #20 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #21 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #22 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #23 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #24 _gdk_events_queue
    from /usr/lib/libgdk-x11-2.0.so.0
  • #25 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #26 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #27 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #28 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #29 main
  • #0 __kernel_vsyscall




------- Bug moved to this database by unknown@bugzilla.gnome.org 2005-06-15 15:45 UTC -------

Comment 1 Vincent Noel 2005-06-15 18:04:39 UTC
Got the crash as well (with evolution/e-d-s CVS)
Comment 2 Vincent Noel 2005-06-16 16:28:21 UTC
*** Bug 307867 has been marked as a duplicate of this bug. ***
Comment 3 Vincent Noel 2005-06-20 20:35:00 UTC
*** Bug 308370 has been marked as a duplicate of this bug. ***
Comment 4 Vincent Noel 2005-06-21 14:40:21 UTC
*** Bug 308505 has been marked as a duplicate of this bug. ***
Comment 5 Seb Payne 2005-06-22 07:09:04 UTC
Is ther any attempt to get this bug fixed? Or is it fixed in CVS?

Seb
Comment 6 Sebastien Bacher 2005-07-04 09:46:56 UTC
*** Bug 308911 has been marked as a duplicate of this bug. ***
Comment 7 Sebastien Bacher 2005-07-04 09:46:57 UTC
*** Bug 308921 has been marked as a duplicate of this bug. ***
Comment 8 Tor Lillqvist 2005-07-06 12:35:56 UTC
For what it's worth, this bug possibly occurs also on Win32. Below the output.
The importer start warnings are presumably not relevant. gdb backtrace at end.

(evolution-2.4.exe:10680): Gtk-CRITICAL **: gtk_widget_hide: assertion `GTK_IS_W
IDGET (widget)' failed

(evolution-2.4.exe:10680): GLib-GObject-CRITICAL **: g_value_get_pointer: assert
ion `G_VALUE_HOLDS_POINTER (value)' failed

(evolution-2.4.exe:10680): GLib-GObject-CRITICAL **: g_value_get_pointer: assert
ion `G_VALUE_HOLDS_POINTER (value)' failed

(evolution-2.4.exe:10680): evolution-mail-WARNING **: OAFIID:GNOME_Evolution_Mai
l_Factory:2.4: Don't know what to do with OAFIID:GNOME_Evolution_Mail_Netscape_I
ntelligent_Importer:2.4

** (evolution-2.4.exe:10680): WARNING **: Could not start OAFIID:GNOME_Evolution
_Mail_Netscape_Intelligent_Importer:2.4:IDL:Bonobo/GeneralError:1.0

(evolution-2.4.exe:10680): evolution-mail-WARNING **: OAFIID:GNOME_Evolution_Mai
l_Factory:2.4: Don't know what to do with OAFIID:GNOME_Evolution_Mail_Pine_Intel
ligent_Importer:2.4

** (evolution-2.4.exe:10680): WARNING **: Could not start OAFIID:GNOME_Evolution
_Mail_Pine_Intelligent_Importer:2.4:IDL:Bonobo/GeneralError:1.0

(evolution-2.4.exe:10680): evolution-mail-WARNING **: OAFIID:GNOME_Evolution_Mai
l_Factory:2.4: Don't know what to do with OAFIID:GNOME_Evolution_Mail_Elm_Intell
igent_Importer:2.4

** (evolution-2.4.exe:10680): WARNING **: Could not start OAFIID:GNOME_Evolution
_Mail_Elm_Intelligent_Importer:2.4:IDL:Bonobo/GeneralError:1.0

(evolution-2.4.exe:10680): Gtk-CRITICAL **: gtk_window_set_type_hint: assertion
`!GTK_WIDGET_VISIBLE (window)' failed

(evolution-2.4.exe:10680): Gtk-WARNING **: gtk_window_set_wmclass: shouldn't set
 wmclass after window is realized!

(evolution-2.4.exe:10680): Gtk-CRITICAL **: gtk_widget_hide: assertion `GTK_IS_W
IDGET (widget)' failed

(evolution-2.4.exe:10680): GLib-GObject-CRITICAL **: g_value_get_pointer: assert
ion `G_VALUE_HOLDS_POINTER (value)' failed

(evolution-2.4.exe:10680): GLib-GObject-CRITICAL **: g_value_get_pointer: assert
ion `G_VALUE_HOLDS_POINTER (value)' failed

(evolution-2.4.exe:10680): GLib-GObject-CRITICAL **: g_value_get_pointer: assert
ion `G_VALUE_HOLDS_POINTER (value)' failed

(evolution-2.4.exe:10680): GLib-GObject-CRITICAL **: g_value_get_pointer: assert
ion `G_VALUE_HOLDS_POINTER (value)' failed
gdb: kernel event for pid=10680 tid=9704 code=EXCEPTION_DEBUG_EVENT)
gdb: Target exception EXCEPTION_ACCESS_VIOLATION at 0x0250add0

Program received signal SIGSEGV, Segmentation fault.
0x0250add0 in gtk_combo_box_menu_item_activate (item=0x4ed7900,
    user_data=0x4ee0fc8) at gtkcombobox.c:2769
2769      combo_box->priv->editing_canceled = FALSE;
(gdb) p combo_box->priv
$1 = (GtkComboBoxPrivate *) 0xfeeefeee
(gdb) i thr
  4 thread 10680.0x2aec  0x7c90eb94 in ntdll!LdrAccessResource ()
   from ntdll.dll
  2 thread 10680.0x24a0  0x7c90eb94 in ntdll!LdrAccessResource ()
   from ntdll.dll
* 1 thread 10680.0x25e8  0x0250add0 in gtk_combo_box_menu_item_activate (
    item=0x4ed7900, user_data=0x4ee0fc8) at gtkcombobox.c:2769
(gdb) bt
  • #0 gtk_combo_box_menu_item_activate
    at gtkcombobox.c line 2769
  • #1 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #2 g_closure_invoke
    at gclosure.c line 437
  • #3 signal_emit_unlocked_R
    at gsignal.c line 2488
  • #4 g_signal_emit_valist
    at gsignal.c line 2247
  • #5 g_signal_emit
    at gsignal.c line 2291
  • #6 gtk_widget_activate
    at gtkwidget.c line 3769
  • #7 gtk_menu_shell_activate_item
    at gtkmenushell.c line 1057
  • #8 gtk_menu_shell_button_release
    at gtkmenushell.c line 663
  • #9 gtk_menu_button_release
    at gtkmenu.c line 2571
  • #10 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 83
  • #11 g_type_class_meta_marshal
    at gclosure.c line 514
  • #12 g_closure_invoke
    at gclosure.c line 437

etc.
Comment 9 Tor Lillqvist 2005-07-06 12:39:44 UTC
Forgot to mention, as you see the combo_box->priv is bogus. I think 0xfeefee is
the filler the runtime puts in free'd memory before it gets reused, so this
looks a bit like a memory corruption bug.
Comment 10 Tor Lillqvist 2005-07-06 14:37:14 UTC
Presumably not related to the crash here, but the first critical assertion
warning in my output above seems to be because
evolution/mail/em-account-editor.c:emae_identity_page() does:
gtk_widget_hide(glade_xml_get_widget(xml, "sigOption"))
even if there isn't any widget called sigOption in mail-config.glade as far as I
can see.
Comment 11 Harish Krishnaswamy 2005-07-07 08:57:08 UTC
*** Bug 309617 has been marked as a duplicate of this bug. ***
Comment 12 Harish Krishnaswamy 2005-07-07 08:59:52 UTC
*** Bug 309397 has been marked as a duplicate of this bug. ***
Comment 13 Arunprakash 2005-07-07 15:02:42 UTC
Created attachment 48783 [details] [review]
Crude fix for this bug

I have a crude fix.
I have attached the patch.

When you select any item from the "Server Type"
combo box, it emits the "changed" signal.

This invokes "emae_provider_changed" callback which in
its execution path calls ec_rebuild.

Here the page containing the combox box
is destroyed and a new page with items
specific for that selected server type
is loaded.

But the code in gtkcombobox.c requires
that combo box for its pending opertions
and is destroyed in the callback.

The same happens for the combo box in the sending page also.
Because the same callback is used.

My fix removes that widget destruction leaving a memory leak.

The combo box has to be hold and destroyed later. But how?

Please review it,
and give suggestions and comments.
Comment 14 Michele Baldessari 2005-07-08 22:03:45 UTC
*** Bug 309749 has been marked as a duplicate of this bug. ***
Comment 15 Teppo Turtiainen 2005-07-13 12:37:59 UTC
*** Bug 310211 has been marked as a duplicate of this bug. ***
Comment 16 Not Zed 2005-08-03 08:33:56 UTC
*** Bug 273375 has been marked as a duplicate of this bug. ***
Comment 17 Sushma Rai 2005-08-04 05:16:41 UTC
*** Bug 312499 has been marked as a duplicate of this bug. ***
Comment 18 Not Zed 2005-08-08 08:13:17 UTC
*** Bug 312594 has been marked as a duplicate of this bug. ***
Comment 19 Tom Ansley 2005-08-10 01:53:10 UTC
I have exactly the same problem trying to create a POP mail account.  I am using
Fedora 4.  Here are all the evolution packages I am using:

evolution-webcal-2.2.0-1
evolution-devel-2.2.2-8
evolution-2.2.2-8
evolution-data-server-1.2.2-3
evolution-data-server-devel-1.2.2-3
evolution-connector-2.2.2-5

My crash report is very similar to the one above.
Comment 20 Not Zed 2005-08-10 05:22:01 UTC
*** Bug 313032 has been marked as a duplicate of this bug. ***
Comment 21 Michele Baldessari 2005-08-12 16:49:04 UTC
*** Bug 313342 has been marked as a duplicate of this bug. ***
Comment 22 Not Zed 2005-08-25 03:28:11 UTC
*** Bug 314388 has been marked as a duplicate of this bug. ***
Comment 23 C Shilpa 2005-08-31 10:40:22 UTC
still happening using evolution-2.4.0.0.200508300318-0.snap.novell.11.1

After an account is created goto the account editor in edit > preferences.
Select the account and click on edit. Now from the receiving email tab, keep
switching between different server types. After the server type has been changed
for about 3 times, evolution crashes.

Here is the stack trace:

Thread 1 (Thread 1097744000 (LWP 8644))

  • #0 ??
  • #1 ??
  • #2 ??
  • #3 ??
  • #4 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #5 gnome_init_with_popt_table
    from /opt/gnome/lib/libgnomeui-2.so.0
  • #6 segv_redirect
    at main.c line 424
  • #7 <signal handler called>
  • #8 g_type_check_instance_is_a
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #9 gtk_widget_destroy
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #10 ec_rebuild
    at e-config.c line 657
  • #11 ec_idle_handler_for_rebuild
    at e-config.c line 932
  • #12 g_list_push_allocator
    from /opt/gnome/lib/libglib-2.0.so.0
  • #13 g_main_context_dispatch
    from /opt/gnome/lib/libglib-2.0.so.0
  • #14 g_main_context_acquire
    from /opt/gnome/lib/libglib-2.0.so.0
  • #15 g_main_loop_run
    from /opt/gnome/lib/libglib-2.0.so.0
  • #16 bonobo_main
    from /opt/gnome/lib/libbonobo-2.so.0
  • #17 main
    at main.c line 602
  • #0 ??

Comment 24 C Shilpa 2005-08-31 10:41:58 UTC
*** Bug 311554 has been marked as a duplicate of this bug. ***
Comment 25 vivek jain 2005-09-30 09:54:28 UTC
reproducible when switching it again and again (fast):


  • #7 <signal handler called>
  • #8 IA__gtk_widget_destroy
    at gtkwidget.c line 1956
  • #9 ec_rebuild
    at e-config.c line 659
  • #10 ec_idle_handler_for_rebuild
    at e-config.c line 934
  • #11 g_idle_dispatch
    at gmain.c line 3813

Comment 26 André Klapper 2006-01-08 14:43:17 UTC
*** Bug 307834 has been marked as a duplicate of this bug. ***
Comment 27 Jaap A. Haitsma 2006-03-19 21:58:03 UTC
This bug does not occur for me anymore in Evo 2.6

Is it OK to close this bug?
Comment 28 Poornima 2006-07-03 10:51:07 UTC
Jaap A: If u were observing this bug earlier and not observing now you can close it.
Comment 29 André Klapper 2006-07-06 21:16:34 UTC
*** Bug 326556 has been marked as a duplicate of this bug. ***
Comment 30 Karsten Bräckelmann 2006-07-06 21:40:47 UTC
(In reply to comment #28)
> Jaap A: If u were observing this bug earlier and not observing now you can
> close it.

I do count no less than 20 duplicates / confirmations. IMHO this bug can *not* be closed, unless a developer assures that this has been fixed, the code in question being obsoleted, or at a very minimum a stronger evidence of this to not be an issue any longer.

Did anyone have a close look at this crash at all?  *ping*


All those CRITICAL warnings in comment 8 are quite scary anyway...
Comment 31 Karsten Bräckelmann 2006-07-06 21:43:55 UTC
Crasher, lots of dupes.  Priority High, Severity Critical.
Comment 32 André Klapper 2006-07-15 10:41:24 UTC
a patch creating a memory leak is not the way to, i guess.
if anyone can still reproduce this in 2.6, please raise your hand. thanks.
Comment 33 Arthur Peters 2006-08-10 21:54:01 UTC
Retested on 2.7.91. It is fixed.