Re: [Evolution] Evo 0.10 hangs with IMAP servers



On 15 May 2001 18:34:14 +0930, Not Zed wrote:
Ok, can i get you to do one more thing, that is do a backtrace for each
thread.

You do it like

thread 1
bt
thread 2
bt
etc, until you run out of threads (or use 'info threads' to list them).

Looks pretty bizarre that its finalising a folder in that code, but
maybe Dan can make sense of it.

Yeah, sure.  Sorry I didn't do this - I only know "run", "stop" and "bt"
commands in gdb...  :-)

This trace starts from when I press the get mail button:

sending queue
sending : A00077 LIST "" "mail"
received: * LIST (\NoSelect) "/" mail
received: A00077 OK LIST completed
sending : A00078 LIST "" "mail/Mailing Lists/Galeon"
received: * LIST (\NoInferiors) "/" "mail/Mailing Lists/Galeon"
received: A00078 OK LIST completed

  [ ... ]

sending : A00102 LIST "" "mail/Mailing Lists/Dia"
received: * LIST (\NoInferiors \UnMarked) "/" "mail/Mailing Lists/Dia"
received: A00102 OK LIST completed
sending : A00103 LIST "" "mail/drafts"
received: * LIST (\NoInferiors) "/" mail/drafts
received: A00103 OK LIST completed


  [ control-c pressed ]


Program received signal SIGINT, Interrupt.
0x40883deb in __sigsuspend (set=0xbf3ffc0c)
    at ../sysdeps/unix/sysv/linux/sigsuspend.c:48
48      ../sysdeps/unix/sysv/linux/sigsuspend.c: No such file or
directory.

(gdb) thread 1

[Switching to thread 1 (Thread 12968 (manager thread))]
#0  0x40910f50 in __poll (fds=0x81463a0, nfds=1, timeout=2000)
    at ../sysdeps/unix/sysv/linux/poll.c:45
45      ../sysdeps/unix/sysv/linux/poll.c: No such file or directory.

(gdb) bt

#0  0x40910f50 in __poll (fds=0x81463a0, nfds=1, timeout=2000)
    at ../sysdeps/unix/sysv/linux/poll.c:45
#1  0x40307915 in __pthread_manager (arg=0x17) at manager.c:128

(gdb) thread 2

[Switching to thread 2 (Thread 12926 (initial thread))]
#0  0x40910f50 in __poll (fds=0x82ba380, nfds=17, timeout=249)
    at ../sysdeps/unix/sysv/linux/poll.c:45
45      in ../sysdeps/unix/sysv/linux/poll.c

(gdb) bt

#0  0x40910f50 in __poll (fds=0x82ba380, nfds=17, timeout=249)
    at ../sysdeps/unix/sysv/linux/poll.c:45
#1  0x406c63b0 in g_main_poll (timeout=249, use_priority=0, priority=0)
    at gmain.c:1034
#2  0x406c5dc4 in g_main_iterate (block=1, dispatch=1) at gmain.c:808
#3  0x406c6129 in g_main_run (loop=0x80e22f8) at gmain.c:935
#4  0x404be48a in gtk_main () at gtkmain.c:524
#5  0x400f31ba in bonobo_main () from /usr/lib/libbonobo.so.2
#6  0x8084a3e in main ()
#7  0x4087d9cb in __libc_start_main (main=0x8084918 <main>, argc=1, 
    argv=0xbffff2c4, init=0x80652c8 <_init>, fini=0x80b842c <_fini>, 
    rtld_fini=0x4000ae60 <_dl_fini>, stack_end=0xbffff2bc)
    at ../sysdeps/generic/libc-start.c:92

(gdb) thread 3

[Switching to thread 3 (Thread 12969)]
#0  0x40883deb in __sigsuspend (set=0xbf7ffaa8)
    at ../sysdeps/unix/sysv/linux/sigsuspend.c:48
48      ../sysdeps/unix/sysv/linux/sigsuspend.c: No such file or
directory.

(gdb) bt

#0  0x40883deb in __sigsuspend (set=0xbf7ffaa8)
    at ../sysdeps/unix/sysv/linux/sigsuspend.c:48
#1  0x40309c82 in __pthread_wait_for_restart_signal (self=0xbf7ffe40)
    at pthread.c:785
#2  0x4030b2c2 in __pthread_lock (lock=0x8143bb8, self=0xbf7ffe40)
    at spinlock.c:68
#3  0x403087ba in __pthread_mutex_lock (mutex=0x8143ba8) at mutex.c:84
#4  0x400505d4 in folder_finalize (folder=0x817e6a8, event_data=0x0, 
    user_data=0x81436f0) at camel-store.c:181
#5  0x400491b6 in camel_object_unref (obj=0x817e6a8) at
camel-object.c:501
#6  0x40a4ac2b in camel_imap_command (store=0x81436f0, folder=0x817e630,
    ex=0x0, fmt=0x40a52f69 "NOOP") at camel-imap-command.c:91
#7  0x40a4c9bf in imap_sync (folder=0x817e630, expunge=0, ex=0x0)
    at camel-imap-folder.c:598
#8  0x400384f7 in camel_folder_sync (folder=0x817e630, expunge=0,
ex=0x0)
    at camel-folder.c:266
#9  0x40050dec in sync_folder (key=0x40b3efb8, folder=0x817e630, ex=0x0)
    at camel-store.c:441
#10 0x406c2c1f in g_hash_table_foreach (hash_table=0x8143b28, 
    func=0x40050dc0 <sync_folder>, user_data=0x0) at ghash.c:300
#11 0x40050e41 in store_sync (store=0x81436f0, ex=0x0) at
camel-store.c:449
#12 0x40050ee6 in camel_store_sync (store=0x81436f0, ex=0x0)
    at camel-store.c:467
#13 0x40a510bc in get_folder_info (store=0x81436f0, top=0x0, fast=0, 
    recursive=1, subscribed_only=1, ex=0x8285038) at
camel-imap-store.c:1229
#14 0x40050fe3 in camel_store_get_folder_info (store=0x81436f0, top=0x0,
    fast=0, recursive=1, subscribed_only=1, ex=0x8285038) at
camel-store.c:514
#15 0x80800fd in mail_do_transfer_messages ()
#16 0x807dd86 in mail_msg_wait ()
#17 0x4005dbe5 in thread_received_msg (e=0x8136e78, m=0x8285020)
    at e-msgport.c:468
#18 0x4005dd0a in thread_dispatch (din=0x8136e78) at e-msgport.c:539
#19 0x40307b85 in pthread_start_thread (arg=0xbf7ffe40) at manager.c:241

(gdb) thread 4

[Switching to thread 4 (Thread 12970)]
#0  0x40883deb in __sigsuspend (set=0xbf5ffc0c)
    at ../sysdeps/unix/sysv/linux/sigsuspend.c:48
48      in ../sysdeps/unix/sysv/linux/sigsuspend.c

(gdb) bt

#0  0x40883deb in __sigsuspend (set=0xbf5ffc0c)
    at ../sysdeps/unix/sysv/linux/sigsuspend.c:48
#1  0x40309c82 in __pthread_wait_for_restart_signal (self=0xbf5ffe40)
    at pthread.c:785
#2  0x40306960 in pthread_cond_wait (cond=0x8136e68, mutex=0x8136e48)
    at restart.h:26
#3  0x4_05d660 in e_msgport_wait (mp=0x8136e20) at e-msgport.c:194
#4  0x4005dcc2 in thread_dispatch (din=0x8136dd0) at e-msgport.c:515
#5  0x40307b85 in pthread_start_thread (arg=0xbf5ffe40) at manager.c:241

(gdb) thread 5 

[Switching to thread 5 (Thread 12976)]
#0  0x40883deb in __sigsuspend (set=0xbf3ffc0c)
    at ../sysdeps/unix/sysv/linux/sigsuspend.c:48
48      in ../sysdeps/unix/sysv/linux/sigsuspend.c

(gdb) bt

#0  0x40883deb in __sigsuspend (set=0xbf3ffc0c)
    at ../sysdeps/unix/sysv/linux/sigsuspend.c:48
#1  0x40309c82 in __pthread_wait_for_restart_signal (self=0xbf3ffe40)
    at pthread.c:785
#2  0x40306960 in pthread_cond_wait (cond=0x8136f10, mutex=0x8136ef0)
    at restart.h:26
#3  0x4005d660 in e_msgport_wait (mp=0x8136ec8) at e-msgport.c:194
#4  0x4005dcc2 in thread_dispatch (din=0x8136e78) at e-msgport.c:515
#5  0x40307b85 in pthread_start_thread (arg=0xbf3ffe40) at manager.c:241

(gdb) thread 6

Thread ID 6 not known.  Use the "info threads" command to
see the IDs of currently known threads.

(gdb) info threads

* 5 Thread 12976  0x40883deb in __sigsuspend (set=0xbf3ffc0c)
    at ../sysdeps/unix/sysv/linux/sigsuspend.c:48
  4 Thread 12970  0x40883deb in __sigsuspend (set=0xbf5ffc0c)
    at ../sysdeps/unix/sysv/linux/sigsuspend.c:48
  3 Thread 12969  0x40883deb in __sigsuspend (set=0xbf7ffaa8)
    at ../sysdeps/unix/sysv/linux/sigsuspend.c:48
  2 Thread 12926 (initial thread)  0x40910f50 in __poll (fds=0x82ba380, 
    nfds=17, timeout=249) at ../sysdeps/unix/sysv/linux/poll.c:45
  1 Thread 12968 (manager thread)  0x40910f50 in __poll (fds=0x81463a0, 
    nfds=1, timeout=2000) at ../sysdeps/unix/sysv/linux/poll.c:45


I hope this helps!  Any thing else you need - I can reproduce it here by
reading a few mails, sending a mail then pressing the get mail button.

Ross
-- 
Ross Burton                     Software Engineer
OneEighty Software Ltd          Tel: +44 20 8263 2332
The Lansdowne Building          Fax: +44 20 8263 6314
2 Lansdowne Road                r burton 180sw com
Croydon, Surrey CR9 2ER, UK     http://www.180sw.com./
====================================================================
Under the Regulation of Investigatory Powers (RIP) Act 2000 together
with any and all Regulations in force pursuant to the Act OneEighty
Software Ltd reserves the right to monitor any or all incoming or
outgoing communications as provided for under the Act





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]