Bug 444121

Summary: Hang right after startup when asking for passwords for an imap and a pop account
Product: [Fedora] Fedora Reporter: Kjartan Maraas <kmaraas>
Component: evolutionAssignee: Matthew Barnes <mbarnes>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 9CC: mcrha
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-19 16:09:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kjartan Maraas 2008-04-25 07:51:24 UTC
Description of problem:

Evolution hung right after starting it. From the backtrace it looks like it was
asking for passwords for two accounts. One is a pop account and the other an
imap account. Could be related to interaction with the keyring maybe?

(gdb) thread apply all bt

Thread 4 (Thread 0xb6bc4b90 (LWP 3799)):
#0  0x0012e416 in __kernel_vsyscall ()
#1  0x005c8b95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x074daaea in g_async_queue_pop_intern_unlocked (queue=0xb60020e0, 
    try=<value optimized out>, end_time=0x0) at gasyncqueue.c:358
#3  0x007a0a15 in e_msgport_wait (msgport=0x8440938) at e-msgport.c:684
#4  0x004c9963 in ep_msg_send (msg=0xb60021a0) at e-passwords.c:462
#5  0x004cb775 in e_passwords_get_password (component_name=0x72a4612 "Mail", 
    key=0xb6002308 "pop://kmaraas.no/") at e-passwords.c:1197
#6  0x072741d2 in get_password (session=0x849f040, service=0x8427688, 
    domain=0x72a4612 "Mail", 
    prompt=0xb6002c68 "Vennligst oppgi POP-passord for <b>kmaraas</b> på vert
<b>mail.broadpark.no</b>", item=0x7fab6f0 "password", flags=4, ex=0x842755c)
    at mail-session.c:186
#7  0x002e25b1 in camel_session_get_password (session=0x849f040, 
    service=0x8427688, domain=0x0, 
    prompt=0xb6002c68 "Vennligst oppgi POP-passord for <b>kmaraas</b> på vert
<b>mail.broadpark.no</b>", item=0x7fab6f0 "password", flags=4, ex=0x842755c)
    at camel-session.c:380
#8  0x07faa229 in pop3_try_authenticate (service=0x8427688, 
    reprompt=<value optimized out>, errmsg=0x0, ex=0x842755c)
    at camel-pop3-store.c:487
---Type <return> to continue, or q <return> to quit---
#9  0x07faadfa in pop3_connect (service=0x8427688, ex=0x842755c)
    at camel-pop3-store.c:612
#10 0x002e10ff in camel_service_connect (service=0x8427688, ex=0x842755c)
    at camel-service.c:371
#11 0x002e27d2 in camel_session_get_service_connected (session=0x849f040, 
    url_string=0x87d1ce0 "pop://kmaraas.no/;use_ssl=never", 
    type=CAMEL_PROVIDER_STORE, ex=0x842755c) at camel-session.c:275
#12 0x07276442 in mail_tool_get_inbox (
    url=0x87d1ce0 "pop://kmaraas.no/;use_ssl=never", 
    ex=0x842755c) at mail-tools.c:70
#13 0x07270604 in fetch_mail_exec (m=0x8427548) at mail-ops.c:296
#14 0x0726b849 in mail_msg_proxy (msg=0x8427548) at mail-mt.c:523
#15 0x0752cb06 in g_thread_pool_thread_proxy (data=0x8849100)
    at gthreadpool.c:265
#16 0x0752b46f in g_thread_create_proxy (data=0x8849680) at gthread.c:635
#17 0x005c532f in start_thread (arg=0xb6bc4b90) at pthread_create.c:297
#18 0x0127726e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb5fffb90 (LWP 3820)):
#0  0x0012e416 in __kernel_vsyscall ()
#1  0x0126cab7 in __poll (fds=0x880d530, nfds=2, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x075045d2 in g_main_context_iterate (context=0x8816b30, block=1, 
---Type <return> to continue, or q <return> to quit---
    dispatch=1, self=0x8817880) at gmain.c:2951
#3  0x07504c62 in IA__g_main_loop_run (loop=0x8816e08) at gmain.c:2850
#4  0x05e7f1a8 in libnm_glib_dbus_worker (user_data=0x880fbc8)
    at libnm_glib.c:429
#5  0x0752b46f in g_thread_create_proxy (data=0x8817880) at gthread.c:635
#6  0x005c532f in start_thread (arg=0xb5fffb90) at pthread_create.c:297
#7  0x0127726e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb4bfdb90 (LWP 3822)):
#0  0x0012e416 in __kernel_vsyscall ()
#1  0x005c8b95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x074daaea in g_async_queue_pop_intern_unlocked (queue=0xb6008788, 
    try=<value optimized out>, end_time=0x0) at gasyncqueue.c:358
#3  0x007a0a15 in e_msgport_wait (msgport=0x8825d50) at e-msgport.c:684
#4  0x004c9963 in ep_msg_send (msg=0xb60094b0) at e-passwords.c:462
#5  0x004cb775 in e_passwords_get_password (component_name=0x72a4612 "Mail", 
    key=0xb6009d08
"imap://kjartan.maraas%40uke.oslo.kommune.no.kommune.no/") at
e-passwords.c:1197
#6  0x072741d2 in get_password (session=0x849f040, service=0x881b800, 
    domain=0x72a4612 "Mail", 
    prompt=0xb6009c08 "Vennligst oppgi IMAP-passord for
<b>kjartan.maraas.kommune.no</b> på vert <b>imap.oslo.kommune.no</b>", 
    item=0x5125f37 "password", flags=4, ex=0x88239a8) at mail-session.c:186
---Type <return> to continue, or q <return> to quit---
#7  0x002e25b1 in camel_session_get_password (session=0x849f040, 
    service=0x881b800, domain=0x0, 
    prompt=0xb6009c08 "Vennligst oppgi IMAP-passord for
<b>kjartan.maraas.kommune.no</b> på vert <b>imap.oslo.kommune.no</b>", 
    item=0x5125f37 "password", flags=4, ex=0x88239a8) at camel-session.c:380
#8  0x0511fdca in imap_connect_online (service=0x881b800, ex=0x88239a8)
    at camel-imap-store.c:1390
#9  0x002c05df in disco_connect (service=0x881b800, ex=0x88239a8)
    at camel-disco-store.c:162
#10 0x002e10ff in camel_service_connect (service=0x881b800, ex=0x88239a8)
    at camel-service.c:371
#11 0x0511a0ca in camel_imap_store_connected (store=0x881b800, ex=0x88239a8)
    at camel-imap-store.c:3010
#12 0x0511bd93 in refresh_refresh (session=0x849f040, msg=0x8823978)
    at camel-imap-store.c:2660
#13 0x002e2b62 in session_thread_proxy (msg=0x8823978, session=0x849f040)
    at camel-session.c:587
#14 0x0752cb06 in g_thread_pool_thread_proxy (data=0x881aa58)
    at gthreadpool.c:265
#15 0x0752b46f in g_thread_create_proxy (data=0x8824b80) at gthread.c:635
#16 0x005c532f in start_thread (arg=0xb4bfdb90) at pthread_create.c:297
#17 0x0127726e in clone () from /lib/libc.so.6

---Type <return> to continue, or q <return> to quit---
Thread 1 (Thread 0xb7ec4730 (LWP 3768)):
#0  0x0012e416 in __kernel_vsyscall ()
#1  0x0126cab7 in __poll (fds=0x8849b58, nfds=9, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x075045d2 in g_main_context_iterate (context=0x8442ba0, block=1, 
    dispatch=1, self=0x84026a8) at gmain.c:2951
#3  0x07504901 in IA__g_main_context_iteration (context=0x8442ba0, may_block=1)
    at gmain.c:2705
#4  0x00b12967 in link_main_iteration (block_for_reply=1) at linc.c:285
#5  0x00af4c9e in giop_recv_buffer_get (ent=0xbfe0023c, timeout=0xbfe00254)
    at giop-recv-buffer.c:727
#6  0x00af9e56 in ORBit_small_invoke_stub (obj=0x84df0d0, m_data=0xad79c0, 
    ret=0xbfe00330, args=0xbfe0031c, ctx=0x8443d78, ev=0xbfe004a8)
    at orbit-small.c:658
#7  0x00afa089 in ORBit_small_invoke_stub_n (object=0x84df0d0, 
    methods=0xffffffff, index=<value optimized out>, ret=0xbfe00330, 
    args=0xbfe0031c, ctx=0x8443d78, ev=0xbfe004a8) at orbit-small.c:575
#8  0x00b06f2a in ORBit_c_stub_invoke (obj=0x84df0d0, methods=0xad7ac4, 
    method_index=7, ret=0xbfe00330, args=0xbfe0031c, ctx=0x8443d78, 
    ev=0xbfe004a8, class_id=0, method_offset=32, 
    skel_impl=0xac9550
<_ORBIT_skel_small_Bonobo_ActivationContext_activateMatchingFull>) at poa.c:2643
#9  0x00acb5ca in Bonobo_ActivationContext_activateMatchingFull (
---Type <return> to continue, or q <return> to quit---
    _obj=0x84df0d0, 
    requirements=0xbfe003e0 "iid ==
'OAFIID:GNOME_Evolution_Calendar_AlarmNotify:2.22'", selection_order=0xbfe0039c,
environment=0x8443c04, flags=0, 
    client=0x84def30, _ctx=0x8443d78, ev=0xbfe004a8)
    at Bonobo_ActivationContext-stubs.c:87
#10 0x00acdf70 in bonobo_activation_activate (
    requirements=0xbfe003e0 "iid ==
'OAFIID:GNOME_Evolution_Calendar_AlarmNotify:2.22'", selection_order=0x0,
flags=0, ret_aid=0x0, opt_ev=0xbfe004a8)
    at bonobo-activation-activate.c:380
#11 0x00ace1f8 in bonobo_activation_activate_from_id (
    aid=0x2090eb0 "OAFIID:GNOME_Evolution_Calendar_AlarmNotify:2.22", flags=0, 
    ret_aid=0x0, opt_ev=0xbfe004a8) at bonobo-activation-activate.c:437
#12 0x020427a7 in launch_alarm_daemon_cb (data=0x0) at main.c:100
#13 0x074ff181 in g_idle_dispatch (source=0x8526800, callback=0xfffffdfc, 
    user_data=0x0) at gmain.c:4087
#14 0x07501098 in IA__g_main_context_dispatch (context=0x842a638)
    at gmain.c:2009
#15 0x07504743 in g_main_context_iterate (context=0x842a638, block=1, 
    dispatch=1, self=0x84026a8) at gmain.c:2642
#16 0x07504c62 in IA__g_main_loop_run (loop=0x847c728) at gmain.c:2850
#17 0x00a7bb13 in bonobo_main () at bonobo-main.c:311
#18 0x0805e619 in main (argc=2, argv=0xbfe00724) at main.c:782
#0  0x0012e416 in __kernel_vsyscall ()
(gdb) 


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Milan Crha 2008-04-25 08:18:37 UTC
Seems very related to upstream bug [1]. Can you paste the output on the console
of evolution, please?

[1] http://bugzilla.gnome.org/show_bug.cgi?id=529691

Comment 2 Kjartan Maraas 2008-04-25 08:45:40 UTC
evolution-shell-Message: Killing old version of evolution-data-server...
** Message: failed to load session from /home/kmaraas/.nautilus/saved-session-R7L87T

** (nautilus:5057): WARNING **: Unable to add monitor: Ikke støttet
** (evolution:5072): DEBUG: mailto URL command: evolution %s
** (evolution:5072): DEBUG: mailto URL program: evolution

(evolution:5072): e-data-server-ui-WARNING **: Unable to find password(s) in
keyring (Keyring reports: Ingen treff)
Couldn't open
sftp://kmaraas.org:22/home/users/kmaraas/public_html/calendar.ics:
Tidsavbrudd nådd

(evolution:5072): GLib-GObject-WARNING **: IA__g_object_weak_unref: couldn't
find weak ref 0x1529ef0(0xa4db428)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
camel-Message: --


Comment 3 Matthew Barnes 2008-05-19 16:09:23 UTC
Moving this upstream.  I haven't been able to reproduce it for myself yet.  See
[1] for further updates.

[1] http://bugzilla.gnome.org/show_bug.cgi?id=529691