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 641154 - Crash in emae_check_authtype_done
Crash in emae_check_authtype_done
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
3.0.x (obsolete)
Other Linux
: Normal critical
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2011-02-01 15:14 UTC by Milan Crha
Modified: 2012-01-02 13:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
evo patch (2.10 KB, patch)
2011-04-21 07:47 UTC, Milan Crha
committed Details | Review
evo patch ][ (3.01 KB, patch)
2012-01-02 13:28 UTC, Milan Crha
committed Details | Review

Description Milan Crha 2011-02-01 15:14:11 UTC
Moving this from a downstream bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=674192

abrt version: 1.1.14
architecture: x86_64
Attached file: backtrace
cmdline: evolution
component: evolution
crash_function: IA__gtk_widget_set_sensitive
executable: /usr/bin/evolution
kernel: 2.6.37-2.fc15.x86_64
package: evolution-2.32.1-1.fc14
rating: 4
reason: Process /usr/bin/evolution was killed by signal 11 (SIGSEGV)
release: Fedora release 14 (Laughlin)
time: 1296514144
uid: 1000

How to reproduce
-----
The application was apparently idle. Last messages on stderr were:

RSS Plugin enabled (evolution 2.32, evolution-rss 0.2.2)
(evolution:32633): evolution-mail-CRITICAL **: e_mail_local_get_store:
assertion `CAMEL_IS_STORE (local_store)' failed
(evolution:32633): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(evolution:32633): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion
`G_TYPE_CHECK_INSTANCE (instance)' failed
(evolution:32633): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(evolution:32633): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion
`G_TYPE_CHECK_INSTANCE (instance)' failed
Rspam Plugin enabled (evolution 2.32, evolution-rspam 0.1.1)
(evolution:32633): Gtk-CRITICAL **: gtk_list_store_get_path: assertion
`iter->stamp == GTK_LIST_STORE (tree_model)->stamp' failed
(evolution:32633): evolution-mail-WARNING **: Failed to refresh folders: Could
not connect to news.gmane.org: Connection timed out
(evolution:32633): GLib-GObject-WARNING **: invalid cast from `GtkVSeparator'
to `EConfig'
Segmentation fault (core dumped)
Core was generated by `evolution'.
Program terminated with signal 11, Segmentation fault.

Thread 17 (Thread 466)

  • #0 _IO_default_xsputn
    at genops.c line 480
  • #1 _IO_new_file_xsputn
    at fileops.c line 1372
  • #2 _IO_fwrite
    at iofwrite.c line 45
  • #3 camel_object_state_write
    at camel-object.c line 452
  • #4 local_sync
    at camel-local-folder.c line 521
  • #5 camel_folder_sync
    at camel-folder.c line 1124
  • #6 send_queue_exec
    at mail-ops.c line 845
  • #7 mail_msg_proxy
    at mail-mt.c line 469
  • #8 g_thread_pool_thread_proxy
    at gthreadpool.c line 319
  • #9 g_thread_create_proxy
    at gthread.c line 1897
  • #10 start_thread
    at pthread_create.c line 301
  • #11 clone
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S line 115

Thread 7 (Thread 32641)

  • #0 __lll_lock_wait
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S line 136
  • #1 _L_lock_841
    from /lib64/libpthread-2.13.so
  • #2 __pthread_mutex_lock
    at pthread_mutex_lock.c line 61
  • #3 g_static_rec_mutex_lock
    at gthread.c line 1424
  • #4 camel_service_connect
    at camel-service.c line 306
  • #5 imapx_refresh_finfo
    at camel-imapx-store.c line 1291
  • #6 session_thread_proxy
    at camel-session.c line 321
  • #7 g_thread_pool_thread_proxy
    at gthreadpool.c line 319
  • #8 g_thread_create_proxy
    at gthread.c line 1897
  • #9 start_thread
    at pthread_create.c line 301
  • #10 clone
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S line 115

Thread 1 (Thread 32633)

  • #0 IA__gtk_widget_set_sensitive
    at gtkwidget.c line 6302
  • #1 emae_check_authtype_done
    at em-account-editor.c line 1930
  • #2 mail_msg_idle_cb
    at mail-mt.c line 451
  • #3 g_main_dispatch
    at gmain.c line 2149
  • #4 g_main_context_dispatch
    at gmain.c line 2702
  • #5 g_main_context_iterate
    at gmain.c line 2780
  • #6 g_main_loop_run
    at gmain.c line 2988
  • #7 IA__gtk_main
    at gtkmain.c line 1237
  • #8 main
    at main.c line 679

Comment 1 Milan Crha 2011-04-21 06:56:32 UTC
Same issue from 3.0.0:
https://bugzilla.redhat.com/show_bug.cgi?id=698343

Thread 1 (Thread 0x7f0c54f599a0 (LWP 2172))

  • #0 gtk_widget_set_sensitive
    at gtkwidget.c line 7574
  • #1 emae_check_authtype_done
    at em-account-editor.c line 1914
  • #2 mail_msg_idle_cb
    at mail-mt.c line 388
  • #3 g_main_dispatch
    at gmain.c line 2440
  • #4 g_main_context_dispatch
    at gmain.c line 3013
  • #5 g_main_context_iterate
    at gmain.c line 3091
  • #6 g_main_loop_run
    at gmain.c line 3299
  • #7 gtk_main
    at gtkmain.c line 1358
  • #8 main
    at main.c line 734

Comment 2 Milan Crha 2011-04-21 07:47:55 UTC
Created attachment 186412 [details] [review]
evo patch

for evolution;

Sometimes can be finished the "Check supported auth types" operation later than it was cancelled, in this case when the original configuration dialog gone. This patch makes sure that the 'done' callback will properly recognize such situation and will not access already freed memory.
Comment 3 Milan Crha 2011-04-21 07:50:53 UTC
Created commit 5127705 in evo master (3.1.1+)
Created commit 78f83f5 in evo gnome-3-0 (3.0.1+)
Comment 4 Milan Crha 2011-11-01 07:36:49 UTC
Reopening, similar downstream crash in evolution 3.2.1:
https://bugzilla.redhat.com/show_bug.cgi?id=750194

Thread 1 (Thread 0x7f5b974aa980 (LWP 4128))

  • #0 gtk_widget_set_sensitive
    at gtkwidget.c line 7653
  • #1 emae_check_authtype_done
    at em-account-editor.c line 2056
  • #2 g_simple_async_result_complete
    at gsimpleasyncresult.c line 749
  • #3 complete_in_idle_cb_for_thread
    at gsimpleasyncresult.c line 817
  • #4 g_main_dispatch
    at gmain.c line 2425
  • #5 g_main_context_dispatch
    at gmain.c line 2995
  • #6 g_main_context_iterate
    at gmain.c line 3073
  • #7 g_main_loop_run
    at gmain.c line 3281
  • #8 gtk_main
    at gtkmain.c line 1362
  • #9 main
    at main.c line 696

Comment 5 Milan Crha 2012-01-02 13:28:25 UTC
Created attachment 204449 [details] [review]
evo patch ][

for evolution;

This patch fixes another issue within this area, when the underlying EConfig is gone before the "Check for auth type" is done.
Comment 6 Milan Crha 2012-01-02 13:34:15 UTC
Created commit a822d5d in evo master (3.3.4+)
Created commit 8aaf305 in evo gnome-3-2 (3.2.3+)