Subject: Re: [Evolution] ongoing trouble with
evolution-0.10.99-snap.ximian.200106181444
From: Jeffrey Stedfast <fejj ximian com>
To: Dan Berger <dberger ix netcom com>
Cc: evolution ximian com
Date: 21 Jun 2001 13:53:02 -0400
2. Unable to open vfolders or Trash. If I try, evo hangs - the mouse
pointer continues to move, but I can't click anything outside the evo
window (and clicks inside the window don't invoke any action). If I
switch tasks with Alt-Tab, I can get to a shell and kill-ev. My gut
(and it's purely a wild-ass guess) is that it has something to do with
drag-n-drop code, based on the way the mouse is responding.
Opening a folder should not invoke the DnD code? By the way, VFolders
and Trash folders have to open other folders in order to display, so it
may just be that it's taking a while to open and not be a
crash/hang/whatever. This is especially the case if you have a lot of
mail and/or a lot of folders.
So I tried the CAMEL_VERBOSE_DEBUG=1 trick to help figure this out -
and it didn't shed any light on the subject. I then tried gdb'ing
each thread - here's what I see - sorry about the length..
This is the state the threads are in when evo hangs - and I'll I need
to do is click on a vfolder. I haven't repeated this excersise while
clicking on the Trash folder - if I need to, let me know.
$ ps -ef | grep evolution-mail
dberger 13083 4993 0 17:34 pts/4 00:00:00 evolution-mail
dberger 13096 13120 1 17:34 pts/4 00:00:02 evolution-mail
dberger 13095 13120 0 17:34 pts/4 00:00:00 evolution-mail
dberger 13083 13120 0 17:34 pts/4 00:00:00 evolution-mail
dberger 13099 13120 0 17:34 pts/4 00:00:00 evolution-mail
dberger 13100 13120 0 17:34 pts/4 00:00:00 evolution-mail
dberger 13101 13120 9 17:34 pts/4 00:00:12 evolution-mai
$ gdb /usr/bin/evolution-mail 13083
...
(gdb) where
#0 0x408d9dcb in __sigsuspend (set=0xbffff1a4)
at ../sysdeps/unix/sysv/linux/sigsuspend.c:48
#1 0x4066ec62 in __pthread_wait_for_restart_signal (self=0x40676920)
at pthread.c:783
#2 0x406702a2 in __pthread_lock (lock=0x409aa160, self=0x40676920)
at spinlock.c:68
#3 0x4066d7ba in __pthread_mutex_lock (mutex=0x409aa150) at mutex.c:84
#4 0x40913e76 in ptmalloc_lock_all () at malloc.c:1611
#5 0x4066db2c in __fork () at ptfork.c:73
#6 0x402ab7ea in gnome_segv_handle (signum=11) at gnome-init.c:652
#7 0x808f5fe in message_browser_get_type ()
#8 0x4066f532 in pthread_sighandler (signo=11, ctx={gs = 0, __gsh = 0,
fs = 0, __fsh = 0, es = 43, __esh = 0, ds = 43, __dsh = 0,
edi = 1080528128, esi = 3208642112, ebp = 3221222984, esp = 3221222968,
ebx = 13100, edx = 1080528156, ecx = 32, eax = 0, trapno = 16, err = 0,
eip = 1083022625, cs = 35, __csh = 0, eflags = 2097666,
esp_at_signal = 3221222968, ss = 43, __ssh = 0, fpstate = 0xbffff3b8,
oldmask = 2147483648, cr2 = 0}) at signals.c:96
#9 0x408d9c48 in __restore ()
at ../sysdeps/unix/sysv/linux/i386/sigaction.c:127
#10 0x406703dc in __pthread_unlock (lock=0x81599e8) at restart.h:21
#11 0x4066d97f in __pthread_mutex_unlock (mutex=0x81599d8) at mutex.c:126
#12 0x40060770 in e_thread_put (e=0x81599d0, msg=0x825a298) at e-msgport.c:623
#13 0x8089e4d in mail_get_folder ()
#14 0x807276e in folder_browser_set_uri ()
#15 0x8074588 in folder_browser_factory_new_control ()
#16 0x806f97b in GNOME_Evolution_MailFilter_removeFilter ()
#17 0x40697da9 in impl_ShellComponent_create_view (servant=0x815bc14,
physical_uri=0x82378ac "vfolder:RPG Tips Weekly", type=0x82378c8 "mail",
ev=0xbffff7c8) at evolution-shell-component.c:261
#18 0x406888a0 in _ORBIT_skel_GNOME_Evolution_ShellComponent_createView (
_ORBIT_servant=0x815bc14, _ORBIT_recv_buffer=0x815a998, ev=0xbffff7c8,
_impl_createView=0x40697d60 <impl_ShellComponent_create_view>)
at Evolution-skels.c:663
#19 0x407fcae9 in ORBit_POA_handle_request (recv_buffer=0x815a998,
poa=0x812beb0) at orbit_poa.c:507
#20 0x407ffc06 in ORBit_handle_incoming_request (recv_buffer=0x815a998)
at server.c:90
#21 0x407fff11 in ORBit_handle_incoming_message (recv_buffer=0x815a998)
at server.c:160
#22 0x40819c0e in giop_main_handle_connection (connection=0x815d430)
at connection.c:1211
#23 0x407bbb77 in orb_handle_connection (source=0x815b9e8, cond=G_IO_IN,
cnx=0x815d430) at oaf-mainloop.c:69
#24 0x405394ba in g_io_unix_dispatch (source_data=0x815ba00,
current_time=0xbffff8fc, user_data=0x815d430) at giounix.c:135
#25 0x4053a9f6 in g_main_dispatch (dispatch_time=0xbffff8fc) at gmain.c:656
#26 0x4053afb1 in g_main_iterate (block=1, dispatch=1) at gmain.c:877
#27 0x4053b129 in g_main_run (loop=0x8131e90) at gmain.c:935
#28 0x4045748a in gtk_main () at gtkmain.c:524
#29 0x4078f002 in bonobo_main () at bonobo-main.c:277
#30 0x808f73e in main ()
#31 0x408d39cb in __libc_start_main (main=0x808f618 <main>, argc=1,
argv=0xbffffac4, init=0x80691e8 <_init>, fini=0x80fd7fc <_fini>,
rtld_fini=0x4000aea0 <_dl_fini>, stack_end=0xbffffabc)
at ../sysdeps/generic/libc-start.c:92
$ gdb /usr/bin/evolution-mail 13095
...
(gdb) where
#0 0x40966f30 in __poll (fds=0x816d2f0, nfds=1, timeout=2000)
at ../sysdeps/unix/sysv/linux/poll.c:45
#1 0x4066c915 in __pthread_manager (arg=0x15) at manager.c:128
$ gdb /usr/bin/evolution-mail 13096
...
(gdb) where
#0 0x4066b90a in pthread_cond_wait (cond=0x81599c0, mutex=0x81599a0)
at queue.h:26
#1 0x4005ff50 in e_msgport_wait (mp=0x8159978) at e-msgport.c:193
#2 0x400605b2 in thread_dispatch (din=0x8159928) at e-msgport.c:514
#3 0x4066cb85 in pthread_start_thread (arg=0xbf7ffe40) at manager.c:241
$ gdb /usr/bin/evolution-mail 13099
...
(gdb) where
#0 0x408d9dcb in __sigsuspend (set=0xbf5ffbd0)
at ../sysdeps/unix/sysv/linux/sigsuspend.c:48
#1 0x4066ec62 in __pthread_wait_for_restart_signal (self=0xbf5ffe40)
at pthread.c:783
#2 0x406702a2 in __pthread_lock (lock=0x8159a58, self=0xbf5ffe40)
at spinlock.c:68
#3 0x4066d7ba in __pthread_mutex_lock (mutex=0x8159a48) at mutex.c:84
#4 0x4066b9a9 in pthread_cond_wait (cond=0x8159a68, mutex=0x8159a48)
at condvar.c:122
#5 0x4005ff50 in e_msgport_wait (mp=0x8159a20) at e-msgport.c:193
#6 0x400605b2 in thread_dispatch (din=0x81599d0) at e-msgport.c:514
#7 0x4066cb85 in pthread_start_thread (arg=0xbf5ffe40) at manager.c:241
$ gdb /usr/bin/evolution-mail 13100
...
(gdb) where
#0 0x408d9dcb in __sigsuspend (set=0xbf3ff5ac)
at ../sysdeps/unix/sysv/linux/sigsuspend.c:48
#1 0x4066ec62 in __pthread_wait_for_restart_signal (self=0xbf3ffe40)
at pthread.c:783
#2 0x406702a2 in __pthread_lock (lock=0x409aa160, self=0xbf3ffe40)
at spinlock.c:68
#3 0x4066d7ba in __pthread_mutex_lock (mutex=0x409aa150) at mutex.c:84
#4 0x40914f8e in __libc_free (mem=0x825bea8) at malloc.c:3021
#5 0x4066f900 in __pthread_destroy_specifics () at specific.c:152
#6 0x4066c38e in pthread_exit (retval=0x0) at join.c:36
#7 0x808f60e in message_browser_get_type ()
#8 0x4066f532 in pthread_sighandler (signo=11, ctx={gs = 0, __gsh = 0,
fs = 0, __fsh = 0, es = 43, __esh = 0, ds = 43, __dsh = 0,
edi = 875837235, esi = 136020054, ebp = 3208641300, esp = 3208641228,
ebx = 1083879884, edx = 32, ecx = 1083874656, eax = 1083874664,
trapno = 14, err = 6, eip = 1083262700, cs = 35, __csh = 0,
eflags = 66050, esp_at_signal = 3208641228, ss = 43, __ssh = 0,
fpstate = 0xbf3ff850, oldmask = 2147483648, cr2 = 875837243})
at signals.c:96
#9 0x408d9c48 in __restore ()
at ../sysdeps/unix/sysv/linux/i386/sigaction.c:127
#10 0x40915e14 in __libc_calloc (n=28, elem_size=1) at malloc.c:3699
#11 0x4053ba88 in g_malloc0 (size=28) at gmem.c:242
#12 0x4005f99c in e_poolv_new (size=6) at e-memory.c:872
#13 0x400323fb in camel_folder_summary_info_new (s=0x825c580)
at camel-folder-summary.c:1413
#14 0x40059060 in vee_folder_add_info (vf=0x825cf80, f=0x816dbc4,
info=0x81a22c8, hash=0xbf3ffc88 "Phb2N6sx<non-printables-deleted>
at camel-vee-folder.c:574
#15 0x400590f5 in vee_folder_add_uid (vf=0x825cf80, f=0x816dbc4,
inuid=0x8261be8 "_x2.Sueh6.fury",
hash=0xbf3ffc88 "Phb2N6sx<non-printables-deleted>
at camel-vee-folder.c:600
#16 0x400594e7 in unmatched_check_uid (uidin=0x8261be8 "_x2.Sueh6.fury",
value=0x1, u=0xbf3ffc80) at camel-vee-folder.c:707
#17 0x40537c1f in g_hash_table_foreach (hash_table=0x825aab8,
func=0x40059474 <unmatched_check_uid>, user_data=0xbf3ffc80) at ghash.c:300
#18 0x40059953 in vee_folder_build_folder (vf=0x825cfc8, source=0x816dbc4,
ex=0x0) at camel-vee-folder.c:831
#19 0x40058929 in camel_vee_folder_add_folder (vf=0x825cfc8, sub=0x816dbc4)
at camel-vee-folder.c:340
#20 0x808ec27 in vfolder_uri_to_folder ()
#21 0x808e0b5 in mail_tool_uri_to_folder ()
#22 0x8089dbf in mail_build_attachment ()
#23 0x8087216 in mail_msg_wait ()
#24 0x400604d5 in thread_received_msg (e=0x81599d0, m=0x825a298)
at e-msgport.c:467
#25 0x400605fa in thread_dispatch (din=0x81599d0) at e-msgport.c:538
#26 0x4066cb85 in pthread_start_thread (arg=0xbf3ffe40) at manager.c:241
$ gdb /usr/bin/evolution-mail 13101
...
(gdb) where
#0 0x4066b90a in pthread_cond_wait (cond=0x8159a68, mutex=0x8159a48)
at queue.h:26
#1 0x4005ff50 in e_msgport_wait (mp=0x8159a20) at e-msgport.c:193
#2 0x400605b2 in thread_dispatch (din=0x81599d0) at e-msgport.c:514
--
Dan Berger [dberger ix netcom com]
http://home.ix.netcom.com/~dberger
Nolite te bastardes carborundorum
"If you can't explain it to an 8-year-old, you don't understand it"
--Albert Einstein
A982 E6B1 CB2F 7A49 843A 9297 DA73 4371 1F54 8D0C
_______________________________________________
evolution maillist - evolution ximian com
http://lists.ximian.com/mailman/listinfo/evolution