GNOME Bugzilla – Bug 116798
full CPU consumption upon new mail arrival
Last modified: 2004-12-22 21:47:04 UTC
When a new mail arrives, a popup appears reporting the arrival. I press its button to release the popup. The response of balsa (2.0.11) is entering a state which consumes 100% CPU. This state lasts until I open the new mail in balsa main window (no preview pane employed).
I cannot reproduce this problem. Can you track down where balsa is looping?
This is a bug related to gtk+, I think manu mentioned it a couple of times on the list. I had the same with gtk+-2.2.1, and it's definitely gone with gtk+-2.2.2. Manu's statement confirms this. I don't know neither the # of the related gtk+-bug nor if another bug-report in balsa exists for this. Another effect of this bug is taht the scrollbar in the message-list gets screwed up, so you could search for that and mark it duplicate.
There were few of similar bugs but I believe. The most likely one is 106311. *** This bug has been marked as a duplicate of 106311 ***
I attach below several places in the code which balsa visits during its full CPU consumption. I ran balsa under gdb, and arbitrarily stopped it when it was in the full CPU consumption state, and printed the stack. I hope this would help find out what happens. Another observation: I think this bug as well as 106311 are somehow related. Both bugs appear or do not appear together. They might also be related to GNOME workspaces. Their behavios is as follows: 1. I run balsa from a workspace in the GNOME desktop, compose an e-mail to myself and wait for its arrival. I do not change the workspace after I ran balsa. The e-mail arrives, there is NO high cpu usage, and the status line and scroll bar behave appropriately (i.e., both bugs do not appear. I read the message (just s.t. it is flagged ``read''; I don't know if this step is important). 2. Without exiting balsa, I compose a second message as described in (1). This time there is full CPU consumption, and the scroll bar shows the bug (106311). Another test (quit balsa and run it from the shell again!): 3. I compose a new mail as described in (1), but this time, I switch to a different workspace before the new mail arrived. This time there is full CPU consumption, and there is a bug in the scroll bar. (Even though this is the first mail.) 4. I repeat (3) (without exiting balsa), and the bugs appear again. Again, I'd like to remind I work with no preview pane, no automatic open of messages and with IMAP inbox. (v. 2.0.15) ------------------------------------------------------------------ Current directory is /usr/bin/ /usr/bin/gdb: Symbol `emacs_ctlx_keymap' has different size in shared object, consider re-linking GNU gdb 2002-04-01-cvs Copyright 2002 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-linux"...(no debugging symbols found)... (gdb) r Starting program: /usr/bin/balsa (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)...[New Thread 16384 (LWP 1831)] (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)... ** Message: init gpgme version 0.3.15 (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)...[New Thread 32769 (LWP 1834)] [New Thread 16386 (LWP 1835)] Message: 137257632, 0, POP3 Message: 137257816, 0, Local Mail Message: 137213792, 1, Finished Local mailbox hezy loaded as: LibBalsaMailboxMaildir Local mailbox bugzilla loaded as: LibBalsaMailboxMaildir Local mailbox jokes loaded as: LibBalsaMailboxMaildir Local mailbox tpami loaded as: LibBalsaMailboxMbox Local mailbox cvpr2001 loaded as: LibBalsaMailboxMbox Local mailbox lab loaded as: LibBalsaMailboxMaildir Local mailbox tau loaded as: LibBalsaMailboxMbox Local mailbox seminars loaded as: LibBalsaMailboxMbox Local mailbox ICCV2003 loaded as: LibBalsaMailboxMaildir Local mailbox purchase loaded as: LibBalsaMailboxMaildir Local mailbox b loaded as: LibBalsaMailboxMbox Local mailbox bmcv2000 loaded as: LibBalsaMailboxMbox Local mailbox camo loaded as: LibBalsaMailboxMbox Local mailbox cites loaded as: LibBalsaMailboxMbox Local mailbox comay loaded as: LibBalsaMailboxMbox Local mailbox danny loaded as: LibBalsaMailboxMbox Local mailbox debian loaded as: LibBalsaMailboxMbox Local mailbox post loaded as: LibBalsaMailboxMaildir Local mailbox icpr2000 loaded as: LibBalsaMailboxMbox Local mailbox imagex loaded as: LibBalsaMailboxMbox Local mailbox INBOX.2001-06-05 loaded as: LibBalsaMailboxMbox Local mailbox inna loaded as: LibBalsaMailboxMbox Local mailbox jobs loaded as: LibBalsaMailboxMbox Local mailbox mailbox.2001-08-02 loaded as: LibBalsaMailboxMbox Local mailbox mailbox.2002-01-08 loaded as: LibBalsaMailboxMbox Local mailbox mailbox.2002-03-14.gz loaded as: LibBalsaMailboxMbox Local mailbox mailbox.2002-03-15.gz loaded as: LibBalsaMailboxMbox Local mailbox matlab loaded as: LibBalsaMailboxMbox Local mailbox mbox.20-3-2000 loaded as: LibBalsaMailboxMbox Local mailbox mbox-31.8.2000 loaded as: LibBalsaMailboxMbox Local mailbox michas loaded as: LibBalsaMailboxMbox Local mailbox misc loaded as: LibBalsaMailboxMbox Local mailbox moked loaded as: LibBalsaMailboxMbox Local mailbox nur loaded as: LibBalsaMailboxMbox Local mailbox octave loaded as: LibBalsaMailboxMbox Local mailbox old_mailbox_7.2.2001 loaded as: LibBalsaMailboxMbox Local mailbox Old_math_mail loaded as: LibBalsaMailboxMbox Local mailbox pozner loaded as: LibBalsaMailboxMbox Local mailbox received loaded as: LibBalsaMailboxMbox Local mailbox sariel loaded as: LibBalsaMailboxMbox Local mailbox saved-messages loaded as: LibBalsaMailboxMbox Local mailbox sent-mail loaded as: LibBalsaMailboxMbox Local mailbox snad loaded as: LibBalsaMailboxMbox Local mailbox sochen loaded as: LibBalsaMailboxMbox Local mailbox springer loaded as: LibBalsaMailboxMbox Local mailbox library loaded as: LibBalsaMailboxMaildir Local mailbox tdq loaded as: LibBalsaMailboxMbox Local mailbox work loaded as: LibBalsaMailboxMbox Local mailbox workshop loaded as: LibBalsaMailboxMbox Local mailbox yaron loaded as: LibBalsaMailboxMbox Local mailbox yt loaded as: LibBalsaMailboxMbox Local mailbox old_lab loaded as: LibBalsaMailboxMbox Local mailbox backups loaded as: LibBalsaMailboxMaildir Local mailbox shaihi loaded as: LibBalsaMailboxMbox Local mailbox danha loaded as: LibBalsaMailboxMbox Local mailbox romang loaded as: LibBalsaMailboxMbox Local mailbox ran loaded as: LibBalsaMailboxMbox Local mailbox didi loaded as: LibBalsaMailboxMbox Local mailbox Turkey loaded as: LibBalsaMailboxMaildir Local mailbox Bugs loaded as: LibBalsaMailboxMaildir Local mailbox CVIU loaded as: LibBalsaMailboxMaildir Local mailbox Sophie loaded as: LibBalsaMailboxMaildir Local mailbox paper_review loaded as: LibBalsaMailboxMaildir Local mailbox gales loaded as: LibBalsaMailboxMaildir Local mailbox ijcv2003 loaded as: LibBalsaMailboxMaildir Local mailbox ronny_remind loaded as: LibBalsaMailboxMbox opening arielt.. [New Thread 32771 (LWP 1836)] (no debugging symbols found)... imap_uid_search(RECENT UNDELETED NOT (NOT TEXT "macula.math.tau.ac.il Succeeded") NOT (NOT FROM "root@legato.tau.ac.il") NOT (NOT SUBJECT "macula backups")): 0 msgs matched. imap_uid_search(RECENT UNDELETED NOT (NOT SUBJECT "vicodin" NOT TEXT "vicodin" NOT SUBJECT "Vicodin" NOT TEXT "Vicodin")): 0 msgs matched. (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)...[New Thread 49156 (LWP 1845)] Auto-checked for new messages... Message: 137327352, 0, POP3 Message: 137327536, 0, Local Mail imap_uid_search(RECENT UNDELETED NOT (NOT TEXT "macula.math.tau.ac.il Succeeded") NOT (NOT FROM "root@legato.tau.ac.il") NOT (NOT SUBJECT "macula backups")): 0 msgs matched. imap_uid_search(RECENT UNDELETED NOT (NOT SUBJECT "vicodin" NOT TEXT "vicodin" NOT SUBJECT "Vicodin" NOT TEXT "Vicodin")): 0 msgs matched. Message: 138137888, 1, Finished sending with charset: UTF-8 [New Thread 65541 (LWP 1846)] ** Message: balsa_sendmsg_destroy()_handler: Start. balsa_sendmsg_destroy_handler: Freeing bsmsg ** Message: balsa_sendmsg_destroy(): Stop. Send_Message: 138360360, 1, Connected to MTA Send_Message: 138350696, 1, From: 250 <arielt@post.tau.ac.il> Send_Message: 138291592, 1, To: 250 <arielt@post.tau.ac.il> Send_Message: 138141720, 1, Send_Message: 136667032, 1, Send_Message: 138384560, 1, Send_Message: 138267232, 1, Send_Message: 138291936, 1, 250 Ok: queued as 90B9215F53B Send_Message: 138190320, 1, Disconnected Send_Message: 136242600, 4, [New Thread 81926 (LWP 1847)] Auto-checked for new messages... Message: 138239960, 0, POP3 Message: 138141256, 0, Local Mail imap_uid_search(RECENT UNDELETED NOT (NOT TEXT "macula.math.tau.ac.il Succeeded") NOT (NOT FROM "root@legato.tau.ac.il") NOT (NOT SUBJECT "macula backups")): 0 msgs matched. imap_uid_search(RECENT UNDELETED NOT (NOT SUBJECT "vicodin" NOT TEXT "vicodin" NOT SUBJECT "Vicodin" NOT TEXT "Vicodin")): 0 msgs matched. Message: 138239960, 1, Finished [New Thread 98311 (LWP 1849)] Auto-checked for new messages... Message: 138239960, 0, POP3 Message: 138159216, 0, Local Mail imap_uid_search(RECENT UNDELETED NOT (NOT TEXT "macula.math.tau.ac.il Succeeded") NOT (NOT FROM "root@legato.tau.ac.il") NOT (NOT SUBJECT "macula backups")): 0 msgs matched. imap_uid_search(RECENT UNDELETED NOT (NOT SUBJECT "vicodin" NOT TEXT "vicodin" NOT SUBJECT "Vicodin" NOT TEXT "Vicodin")): 0 msgs matched. Message: 138239960, 1, Finished [New Thread 114696 (LWP 1850)] Auto-checked for new messages... Message: 138239960, 0, POP3 Message: 138298712, 0, Local Mail imap_uid_search(RECENT UNDELETED NOT (NOT TEXT "macula.math.tau.ac.il Succeeded") NOT (NOT FROM "root@legato.tau.ac.il") NOT (NOT SUBJECT "macula backups")): 0 msgs matched. imap_uid_search(RECENT UNDELETED NOT (NOT SUBJECT "vicodin" NOT TEXT "vicodin" NOT SUBJECT "Vicodin" NOT TEXT "Vicodin")): 0 msgs matched. Message: 138239960, 1, Finished Commiting imaps://arielt@imap.tau.ac.il:993/INBOX, time: 123 [New Thread 131081 (LWP 1851)] Auto-checked for new messages... Message: 138239960, 0, POP3 Message: 138266984, 0, Local Mail imap_uid_search(RECENT UNDELETED NOT (NOT TEXT "macula.math.tau.ac.il Succeeded") NOT (NOT FROM "root@legato.tau.ac.il") NOT (NOT SUBJECT "macula backups")): 0 msgs matched. imap_uid_search(RECENT UNDELETED NOT (NOT SUBJECT "vicodin" NOT TEXT "vicodin" NOT SUBJECT "Vicodin" NOT TEXT "Vicodin")): 0 msgs matched. Message: 138239960, 1, Finished sending with charset: UTF-8 [New Thread 147466 (LWP 1852)] ** Message: balsa_sendmsg_destroy()_handler: Start. balsa_sendmsg_destroy_handler: Freeing bsmsg ** Message: balsa_sendmsg_destroy(): Stop. Send_Message: 138705232, 1, Connected to MTA Send_Message: 138157336, 1, From: 250 <arielt@post.tau.ac.il> Send_Message: 138684544, 1, To: 250 <arielt@post.tau.ac.il> Send_Message: 138316880, 1, Send_Message: 138705216, 1, Send_Message: 138707824, 1, Send_Message: 138382216, 1, Send_Message: 138157336, 1, 250 Ok: queued as 66E4015F596 Send_Message: 138684544, 1, Disconnected Send_Message: 138705216, 4, [New Thread 163851 (LWP 1853)] Auto-checked for new messages... Message: 138263544, 0, POP3 Message: 138194160, 0, Local Mail imap_uid_search(RECENT UNDELETED NOT (NOT TEXT "macula.math.tau.ac.il Succeeded") NOT (NOT FROM "root@legato.tau.ac.il") NOT (NOT SUBJECT "macula backups")): 0 msgs matched. imap_uid_search(RECENT UNDELETED NOT (NOT SUBJECT "vicodin" NOT TEXT "vicodin" NOT SUBJECT "Vicodin" NOT TEXT "Vicodin")): 0 msgs matched. Message: 138263544, 1, Finished [New Thread 180236 (LWP 1878)] Auto-checked for new messages... Message: 138263544, 0, POP3 Message: 138194160, 0, Local Mail imap_uid_search(RECENT UNDELETED NOT (NOT TEXT "macula.math.tau.ac.il Succeeded") NOT (NOT FROM "root@legato.tau.ac.il") NOT (NOT SUBJECT "macula backups")): 0 msgs matched. imap_uid_search(RECENT UNDELETED NOT (NOT SUBJECT "vicodin" NOT TEXT "vicodin" NOT SUBJECT "Vicodin" NOT TEXT "Vicodin")): 0 msgs matched. Message: 138263544, 1, Finished Program received signal SIGINT, Interrupt.
+ Trace 41441
Thread 16384 (LWP 1831)
Continuing. [New Thread 229391 (LWP 1888)] Auto-checked for new messages... Message: 138263544, 0, POP3 Message: 138194160, 0, Local Mail imap_uid_search(RECENT UNDELETED NOT (NOT TEXT "macula.math.tau.ac.il Succeeded") NOT (NOT FROM "root@legato.tau.ac.il") NOT (NOT SUBJECT "macula backups")): 0 msgs matched. imap_uid_search(RECENT UNDELETED NOT (NOT SUBJECT "vicodin" NOT TEXT "vicodin" NOT SUBJECT "Vicodin" NOT TEXT "Vicodin")): 0 msgs matched. Message: 138263544, 1, Finished [New Thread 245776 (LWP 1889)] Auto-checked for new messages... Message: 138263544, 0, POP3 Message: 138194160, 0, Local Mail imap_uid_search(RECENT UNDELETED NOT (NOT TEXT "macula.math.tau.ac.il Succeeded") NOT (NOT FROM "root@legato.tau.ac.il") NOT (NOT SUBJECT "macula backups")): 0 msgs matched. imap_uid_search(RECENT UNDELETED NOT (NOT SUBJECT "vicodin" NOT TEXT "vicodin" NOT SUBJECT "Vicodin" NOT TEXT "Vicodin")): 0 msgs matched. Message: 138263544, 1, Finished [1067932669] balsa-index.c | 1975 [New Thread 262161 (LWP 1890)] [New Thread 278546 (LWP 1891)] Auto-checked for new messages... imap_uid_search(RECENT UNDELETED NOT (NOT TEXT "macula.math.tau.ac.il Succeeded") NOT (NOT FROM "root@legato.tau.ac.il") NOT (NOT SUBJECT "macula backups")): 0 msgs matched. imap_uid_search(RECENT UNDELETED NOT (NOT SUBJECT "vicodin" NOT TEXT "vicodin" NOT SUBJECT "Vicodin" NOT TEXT "Vicodin")): 0 msgs matched. Message: 139013992, 0, POP3 Message: 139015880, 0, Local Mail Message: 139002656, 1, Finished part: text [New Thread 294931 (LWP 1892)] Auto-checked for new messages... Message: 139417600, 0, POP3 Message: 138798232, 0, Local Mail imap_uid_search(RECENT UNDELETED NOT (NOT TEXT "macula.math.tau.ac.il Succeeded") NOT (NOT FROM "root@legato.tau.ac.il") NOT (NOT SUBJECT "macula backups")): 0 msgs matched. imap_uid_search(RECENT UNDELETED NOT (NOT SUBJECT "vicodin" NOT TEXT "vicodin" NOT SUBJECT "Vicodin" NOT TEXT "Vicodin")): 0 msgs matched. Message: 139420896, 1, Finished [New Thread 311316 (LWP 1893)] Auto-checked for new messages... Message: 138914992, 0, POP3 Message: 138140880, 0, Local Mail imap_uid_search(RECENT UNDELETED NOT (NOT TEXT "macula.math.tau.ac.il Succeeded") NOT (NOT FROM "root@legato.tau.ac.il") NOT (NOT SUBJECT "macula backups")): 0 msgs matched. imap_uid_search(RECENT UNDELETED NOT (NOT SUBJECT "vicodin" NOT TEXT "vicodin" NOT SUBJECT "Vicodin" NOT TEXT "Vicodin")): 0 msgs matched. Message: 138914992, 1, Finished sending with charset: UTF-8 [New Thread 327701 (LWP 1894)] ** Message: balsa_sendmsg_destroy()_handler: Start. balsa_sendmsg_destroy_handler: Freeing bsmsg ** Message: balsa_sendmsg_destroy(): Stop. Send_Message: 1096812376, 1, Connected to MTA Send_Message: 1097583232, 1, From: 250 <arielt@post.tau.ac.il> Send_Message: 1097583232, 1, To: 250 <arielt@post.tau.ac.il> Send_Message: 1097583232, 1, Send_Message: 1097957512, 1, Send_Message: 1097957792, 1, Send_Message: 1097958072, 1, Send_Message: 1097583232, 1, 250 Ok: queued as 86D6115F62E Send_Message: 1097956112, 1, Disconnected Send_Message: 139416776, 4, Commiting imaps://arielt@imap.tau.ac.il:993/INBOX, time: 130 [New Thread 344086 (LWP 1895)] Auto-checked for new messages... Message: 139408632, 0, POP3 Message: 138702952, 0, Local Mail imap_uid_search(RECENT UNDELETED NOT (NOT TEXT "macula.math.tau.ac.il Succeeded") NOT (NOT FROM "root@legato.tau.ac.il") NOT (NOT SUBJECT "macula backups")): 0 msgs matched. imap_uid_search(RECENT UNDELETED NOT (NOT SUBJECT "vicodin" NOT TEXT "vicodin" NOT SUBJECT "Vicodin" NOT TEXT "Vicodin")): 0 msgs matched. Message: 138259072, 1, Finished [New Thread 360471 (LWP 1896)] Auto-checked for new messages... Message: 139003496, 0, POP3 Message: 138775768, 0, Local Mail imap_uid_search(RECENT UNDELETED NOT (NOT TEXT "macula.math.tau.ac.il Succeeded") NOT (NOT FROM "root@legato.tau.ac.il") NOT (NOT SUBJECT "macula backups")): 0 msgs matched. imap_uid_search(RECENT UNDELETED NOT (NOT SUBJECT "vicodin" NOT TEXT "vicodin" NOT SUBJECT "Vicodin" NOT TEXT "Vicodin")): 0 msgs matched. Message: 138157080, 1, Finished balsa_app: Finished cleaning up. Program exited normally. (gdb)