Thunderbird polls continuously, using an entire core

Bug #992326 reported by Martin D. Weinberg
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
thunderbird (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

This behavior began with upgrade to 12.04, no problems in 11.10.

strace reveals that the cpu is consumed by continuous polling.

Putting thunderbird "offline" stops the polling.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: thunderbird 11.0.1+build1-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
Uname: Linux 3.2.0-24-generic x86_64
AddonCompatCheckDisabled: False
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: weinberg 6305 F.... pulseaudio
BuildID: 20120410225911
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfc020000 irq 49'
   Mixer name : 'Conexant CX20561 (Hermosa)'
   Components : 'HDA:14f15051,17aa211c,00100000 HDA:14f12c06,17aa2122,00100000'
   Controls : 21
   Simple ctrls : 13
Card29.Amixer.info:
 Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7VHT12WW-1.01'
   Mixer name : 'ThinkPad EC 7VHT12WW-1.01'
   Components : ''
   Controls : 1
   Simple ctrls : 1
Card29.Amixer.values:
 Simple mixer control 'Console',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Channel: release
Date: Mon Apr 30 20:52:35 2012
EcryptfsInUse: Yes
ForcedLayersAccel: False
IpRoute:
 default via 10.0.1.254 dev wlan0 proto static
 10.0.0.0/22 dev wlan0 proto kernel scope link src 10.0.1.8 metric 2
 169.254.0.0/16 dev wlan0 scope link metric 1000
IwConfig: Error: [Errno 2] No such file or directory
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/usr/bin/tcsh
Profiles: Profile0 (Default) - LastVersion=11.0.1/20120410225911 (Running)
RfKill: Error: [Errno 2] No such file or directory
RunningIncompatibleAddons: False
SourcePackage: thunderbird
UpgradeStatus: Upgraded to precise on 2012-04-06 (24 days ago)
dmi.bios.date: 02/13/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 7UET61WW (2.07 )
dmi.board.name: 2764CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7UET61WW(2.07):bd02/13/2009:svnLENOVO:pn2764CTO:pvrThinkPadT400:rvnLENOVO:rn2764CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 2764CTO
dmi.product.version: ThinkPad T400
dmi.sys.vendor: LENOVO

Revision history for this message
Martin D. Weinberg (martin-weinberg-5) wrote :
Revision history for this message
Martin D. Weinberg (martin-weinberg-5) wrote :

More info:

I disabled the global indexing and the enless spinning stopped.

I then removed the global index sqlite databases, restarted thunderbird and re-enabled the global indexing.

After rebuilding the index, all was well.

So in the end, I'm not sure if this was an event (i.e. corrupted database), an incompatibility between two versions of thunderbird, or a migration bug.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in thunderbird (Ubuntu):
status: New → Confirmed
Revision history for this message
Michael Nagel (nailor) wrote :

Martin, can you give more detailed information about how to stop indexing and how to remove the sqlite databases so that I can check easily if this affects me too?

Revision history for this message
Martin D. Weinberg (martin-weinberg-5) wrote : Re: [Bug 992326] Re: Thunderbird polls continuously, using an entire core

On 05/23/2012 04:20 PM, Michael Nagel wrote:
> Martin, can you give more detailed information about how to stop
> indexing and how to remove the sqlite databases so that I can check
> easily if this affects me too?
>

Hi,

Sorry, I've been traveling.

Go to: Edit->Preferences->Advanced and toggle off "Enable Global Search
and Indexer".
Restart and see if that helps the endless polling. If so, you can try to

rm global-messages-db.*

in your .thunderbird/*.default dir and then toggle on ""Enable Global
Search and Indexer"
which will initiate and index rebuild.

Solved the problem for me.

--
--
Martin Weinberg Phone: (413) 545-3821
Dept. of Astronomy FAX: (413) 545-4223
530 Graduate Research Tower <email address hidden>
University of Massachusetts
Amherst, MA 01003-4525

Revision history for this message
Paul White (paulw2u) wrote :

Marking invalid as the reporter seems to have solved issue which
was reported against very old versions of Thunderbird and Ubuntu.

If anyone still sees a problem please open a new report with the command

ubuntu-bug thunderbird

in a terminal so that your own logs are attached to the report.

Changed in thunderbird (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.