Re: [Evolution] BUG: frozen while looking up new mail
- From: Florin Andrei <florin corp sgi com>
- To: evolution lists ximian com
- Subject: Re: [Evolution] BUG: frozen while looking up new mail
- Date: Tue, 02 Mar 2004 12:28:32 -0800
Ok, i did it. It went through two lockup cycles while it was running in
gdb. Second time was very obvious, i clicked on a folder while it got
locked, and i had to wait like 4 seconds for it to unlock and show me
the folder.
My only worry is that i see no timestamps in the gdb output, so how are
you going to tell when's the moment when it locks up?
##########################################
$ gdb evolution-1.4
GNU gdb Red Hat Linux (5.3.90-0.20030710.41rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i386-redhat-linux-gnu"...(no debugging
symbols found)...Using host libthread_db library
"/lib/tls/libthread_db.so.1".
(gdb) r
Starting program: /usr/bin/evolution-1.4
(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 -1084540960 (LWP 2287)]
(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)...I/O
warning : failed to load external entity
"/home/florin/evolution/local/log/folder-metadata.xml"
I/O warning : failed to load external entity
"/home/florin/evolution/local/rlug/folder-metadata.xml"
I/O warning : failed to load external entity
"/home/florin/evolution/local/rlug/subfolders/time/folder-metadata.xml"
I/O warning : failed to load external entity
"/home/florin/evolution/local/linux/folder-metadata.xml"
I/O warning : failed to load external entity
"/home/florin/evolution/local/linux/subfolders/tux/folder-metadata.xml"
I/O warning : failed to load external entity
"/home/florin/evolution/local/linux/subfolders/lartc/folder-metadata.xml"
I/O warning : failed to load external entity
"/home/florin/evolution/local/linux/subfolders/security-module/folder-metadata.xml"
I/O warning : failed to load external entity
"/home/florin/evolution/local/linux/subfolders/selinux/folder-metadata.xml"
I/O warning : failed to load external entity
"/home/florin/evolution/local/linux/subfolders/netfilter/folder-metadata.xml"
I/O warning : failed to load external entity
"/home/florin/evolution/local/linux/subfolders/lids-user/folder-metadata.xml"
I/O warning : failed to load external entity
"/home/florin/evolution/local/linux/subfolders/ipchains-list/folder-metadata.xml"
I/O warning : failed to load external entity
"/home/florin/evolution/local/linux/subfolders/redhat-announce-watch/folder-metadata.xml"
I/O warning : failed to load external entity
"/home/florin/evolution/local/linux/subfolders/snort-users/folder-metadata.xml"
I/O warning : failed to load external entity
"/home/florin/evolution/local/linux/subfolders/linux-ha/folder-metadata.xml"
I/O warning : failed to load external entity
"/home/florin/evolution/local/mysql/folder-metadata.xml"
I/O warning : failed to load external entity
"/home/florin/evolution/local/zebra/folder-metadata.xml"
I/O warning : failed to load external entity
"/home/florin/evolution/local/mysql-internals/folder-metadata.xml"
I/O warning : failed to load external entity
"/home/florin/evolution/local/proftpd-user/folder-metadata.xml"
I/O warning : failed to load external entity
"/home/florin/evolution/local/squidguard/folder-metadata.xml"
I/O warning : failed to load external entity
"/home/florin/evolution/local/djbdns/folder-metadata.xml"
I/O warning : failed to load external entity
"/home/florin/evolution/local/aic7xxx/folder-metadata.xml"
I/O warning : failed to load external entity
"/home/florin/evolution/local/polygraph/folder-metadata.xml"
I/O warning : failed to load external entity
"/home/florin/evolution/local/Trash.old/folder-metadata.xml"
I/O warning : failed to load external entity
"/home/florin/evolution/local/secureshell/folder-metadata.xml"
I/O warning : failed to load external entity
"/home/florin/evolution/local/mnogosearch/folder-metadata.xml"
[New Thread -1087575120 (LWP 2292)]
(no debugging symbols found)...(no debugging symbols found)...[New
Thread -1098064976 (LWP 2293)]
[New Thread -1108554832 (LWP 2294)]
[New Thread -1119044688 (LWP 2295)]
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...[New
Thread -1131414608 (LWP 2296)]
(no debugging symbols found)...[New Thread -1143055440 (LWP 2300)]
Program received signal SIGINT, Interrupt.
[Switching to Thread -1084540960 (LWP 2287)]
0x0019dc32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb) thread apply all bt
Couldn't get registers: No such process.
#0 0x0019dc32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb)
##########################################
On Tue, 2004-03-02 at 11:48, Jeffrey Stedfast wrote:
Well, the easiest way to do this would be to first shut down
evolution. Once you do that, you'll want to open up an xterm (or
gnome-terminal or whatever you prefer). Then,
bash$ gdb evolution-1.4
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i686-pc-linux-gnu".
(gdb) r
dum de dum... cause evolution to hang and then hit Control-C
(gdb) thread apply all bt
Jeff
On Tue, 2004-03-02 at 11:21 -0800, Florin Andrei wrote:
Um... ok, i need directions. I barely used gdb a couple times before.
But if you tell me exactly what to do, i'll do it.
On Tue, 2004-03-02 at 11:09, Jeffrey Stedfast wrote:
Can you attach to evolution with gdb and see what it is actually doing
in all the threads when this "lock" occurs? Afaik, all the code that
does *anything* over the network is done in another thread (ie. not
the GUI thread).
the output of "thread apply all bt" should be enough.
Jeff
On Tue, 2004-03-02 at 10:53 -0800, Florin Andrei wrote:
I'm using Evolution-1.4.5-7 on Linux Fedora Core 1 (it's the default Evo
package provided by Fedora), with Cyrus IMAPd 2.2.3. I'm using the IMAP
protocol, plain text authentication (Evo and Cyrus are on the same box,
so it does not matter). Evo is setup to check the Inbox every minute.
The /home/user/evolution folder is on the same partition (indeed, on the
same SCSI spindle) as the Cyrus spool, because Cyrus on my system is
setup to use /home/cyrus as the spool (not the default /var/spool/imap).
I'm running my own MTA, which is Postfix-2.0.11-5, which delivers mail
to Cyrus via LMTP over a Unix socket (default configs all over the
place).
Evo sends out mail via the local MTA, using the "sendmail" executable.
Everything's mostly fine, with one exception: Evo gets locked up hard
every time it checks the Inbox. It's only for a few seconds, and after
that it resumes normal functioning, but during those moments nothing
works, i cannot even type into the Composer, or if i copy/paste text
outside Evo and i hit CTRL-V exactly when it's frozen, it will wait
until the lookup is over.
This is not a regular "the system is too loaded to serve new requests"
type of thing. It is a hard lock, the CPU is mostly idle, the SCSI is
mostly idle, but Evo is 100% unresponsive for like 5 seconds or so.
It is very annoying.
Sure, probably it would help if my Cyrus server was a bit faster, but
anyway, in my uneducated opinion, Evo should not get totally blocked
while waiting for an event to complete, especially a network event.
It looks like the user interface and some network stuff is in the same
program loop, or something, and one blocks the other.
If that's true and it's not a screwup of my own design, then it's a bug
that needs to be fixed.
--
Florin Andrei
http://florin.myip.org/
_______________________________________________
evolution maillist - evolution lists ximian com
http://lists.ximian.com/mailman/listinfo/evolution
--
Florin Andrei
http://florin.myip.org/
_______________________________________________
evolution maillist - evolution lists ximian com
http://lists.ximian.com/mailman/listinfo/evolution
--
Florin Andrei
http://florin.myip.org/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]