Closed Bug 1658598 Opened 4 years ago Closed 4 years ago

Thunderbird extremely slow typing or doing anything when downloading messages (and indexing?)

Categories

(Thunderbird :: Untriaged, defect)

defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: psla, Unassigned)

Details

(Keywords: perf, Whiteboard: [antivirus: Defender (aka Virus & Threat Protection)])

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36

Steps to reproduce:

Typing / scrolling / anything is extremely slow - takes multiple seconds to scroll or follow up on typing. Generally the whole UX freezes.

I was trying to find a way to record and share logs or share profiling session, but I couldn't find it. Please let me know how best I can help with this bug, as it is lacking details.

I noticed that, especially now (after being offline for two weeks), while messages are being downloaded (337 out of 345), Thunderbird is EXTREMELY sluggish.

I tried disabling add-ons, I was trying to enable and disable hardware acceleration. My inbox is fairly large (46055 messages, 3.2GB size on disk), but the total profile (including subdirectories in imap) has over 15GB. Two biggest files in
C:\Users\psla\AppData\Roaming\Thunderbird\Profiles\werj21zt.default\ImapMail\mail.sepio.pl have 3.4 and 3.2GB (inbox, and one subdirectory).
The profile is located on an SSD drive.

Once the messages were downloaded, the UX stopped freezing.

While this may be jumping to conclusions, but it feels like something is blocking a UI thread while donwloading these messages (indexer?)

Actual results:

Multiple seconds to display character, to show menu, to scroll; while messages are being downloaded from IMAP.

Expected results:

Typing should be immediate and firefox shouldn't freeze.

Application Basics

Name: Thunderbird
Version: 68.11.0
Build ID: 20200721201500

Update Channel: release
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0
OS: Windows_NT 10.0

Launcher Process: Enabled
Multiprocess Windows: 0/0
          Disabled
Remote Processes: 0
Enterprise Policies: Inactive
Google Location Service Key: Missing
Google Safebrowsing Key: Missing
Mozilla Location Service Key: Missing
Safe Mode: false

Mail and News Accounts
account1:
INCOMING: account1, , (imap) mail.sepio.pl:143, alwaysSTARTTLS, passwordCleartext
OUTGOING: , mail.sepio.pl:587, alwaysSTARTTLS, passwordCleartext, true
OUTGOING: , mail.sepio.pl:587, alwaysSTARTTLS, passwordCleartext, false
OUTGOING: , mail.sepio.pl:587, alwaysSTARTTLS, passwordCleartext, false
OUTGOING: , mail.sepio.pl:587, alwaysSTARTTLS, passwordCleartext, false
OUTGOING: , mail.sepio.pl:587, alwaysSTARTTLS, passwordCleartext, false
OUTGOING: , mail.sepio.pl:587, alwaysSTARTTLS, passwordCleartext, false

account2:
  INCOMING: account2, , (none) Local Folders, plain, passwordCleartext

account3:
  INCOMING: account3, , (imap) ssl0.ovh.net:993, SSL, passwordCleartext
  OUTGOING: , ssl0.ovh.net:465, SSL, passwordCleartext, true

Crash Reports for the Last 3 Days

Remote Processes

Type: Count

Extensions

  Name
  Version
  Enabled
  ID

    Amazon.com
    1.1
    true
    amazondotcom@search.mozilla.org

    Bing
    1.0
    true
    bing@search.mozilla.org

    DuckDuckGo
    1.0
    true
    ddg@search.mozilla.org

    Google
    1.0
    true
    google@search.mozilla.org

    Lightning
    68.11.0
    true
    {e2fda1a4-762b-4020-b5ad-a41df1933103}

    Sieve
    0.4.2
    true
    sieve@mozdev.org

    Twitter
    1.0
    true
    twitter@search.mozilla.org

    Wikipedia (en)
    1.0
    true
    wikipedia@search.mozilla.org

Security Software

Type: Name

  Antivirus: Windows Defender Antivirus
  Antispyware:
  Firewall:

Graphics

  Features
  Compositing: Direct3D 11 (Advanced Layers)
  Asynchronous Pan/Zoom: none
  WebGL 1 Driver WSI Info: EGL_VENDOR: Google Inc. (adapter LUID: 000000000000b5f4)

EGL_VERSION: 1.4 (ANGLE 2.1.0.4137599d9132)
EGL_EXTENSIONS: EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_client_buffer EGL_ANGLE_d3d_texture_client_buffer EGL_ANGLE_surface_d3d_texture_2d_share_handle EGL_ANGLE_query_surface_pointer EGL_ANGLE_window_fixed_size EGL_ANGLE_keyed_mutex EGL_ANGLE_surface_orientation EGL_ANGLE_direct_composition EGL_NV_post_sub_buffer EGL_KHR_create_context EGL_EXT_device_query EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_get_all_proc_addresses EGL_KHR_stream EGL_KHR_stream_consumer_gltexture EGL_NV_stream_consumer_gltexture_yuv EGL_ANGLE_flexible_surface_compatibility EGL_ANGLE_stream_producer_d3d_texture EGL_ANGLE_create_context_webgl_compatibility EGL_CHROMIUM_create_context_bind_generates_resource EGL_CHROMIUM_sync_control EGL_EXT_pixel_format_float EGL_KHR_surfaceless_context EGL_ANGLE_display_texture_share_group EGL_ANGLE_create_context_client_arrays EGL_ANGLE_program_cache_control EGL_ANGLE_robust_resource_initialization EGL_ANGLE_create_context_extensions_enabled EGL_ANDROID_blob_cache EGL_ANDROID_recordable
EGL_EXTENSIONS(nullptr): EGL_EXT_client_extensions EGL_EXT_platform_base EGL_EXT_platform_device EGL_ANGLE_platform_angle EGL_ANGLE_platform_angle_d3d EGL_ANGLE_device_creation EGL_ANGLE_device_creation_d3d11 EGL_ANGLE_experimental_present_path EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug EGL_ANGLE_explicit_context
WebGL 1 Driver Renderer: Google Inc. -- ANGLE (NVIDIA GeForce GTX 1060 3GB Direct3D11 vs_5_0 ps_5_0)
WebGL 1 Driver Version: OpenGL ES 2.0 (ANGLE 2.1.0.4137599d9132)
WebGL 1 Driver Extensions: GL_ANGLE_client_arrays GL_ANGLE_depth_texture GL_ANGLE_explicit_context GL_ANGLE_explicit_context_gles1 GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_memory_size GL_ANGLE_multi_draw GL_ANGLE_multiview_multisample GL_ANGLE_pack_reverse_row_order GL_ANGLE_program_cache_control GL_ANGLE_provoking_vertex GL_ANGLE_request_extension GL_ANGLE_robust_client_memory GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_CHROMIUM_bind_generates_resource GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_color_buffer_float_rgb GL_CHROMIUM_color_buffer_float_rgba GL_CHROMIUM_copy_compressed_texture GL_CHROMIUM_copy_texture GL_CHROMIUM_sync_query GL_EXT_blend_func_extended GL_EXT_blend_minmax GL_EXT_color_buffer_half_float GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers GL_EXT_float_blend GL_EXT_frag_depth GL_EXT_instanced_arrays GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_sRGB GL_EXT_shader_texture_lod GL_EXT_texture_compression_bptc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc_srgb GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_storage GL_EXT_unpack_subimage GL_KHR_debug GL_KHR_parallel_shader_compile GL_KHR_robust_buffer_access_behavior GL_NV_EGL_stream_consumer_external GL_NV_fence GL_NV_pack_subimage GL_NV_pixel_buffer_object GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth32 GL_OES_element_index_uint GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_border_clamp GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_array_object OES_compressed_EAC_R11_signed_texture OES_compressed_EAC_R11_unsigned_texture OES_compressed_EAC_RG11_signed_texture OES_compressed_EAC_RG11_unsigned_texture OES_compressed_ETC2_RGB8_texture OES_compressed_ETC2_RGBA8_texture OES_compressed_ETC2_punchthroughA_RGBA8_texture OES_compressed_ETC2_punchthroughA_sRGB8_alpha_texture OES_compressed_ETC2_sRGB8_alpha8_texture OES_compressed_ETC2_sRGB8_texture
WebGL 1 Extensions: ANGLE_instanced_arrays EXT_blend_minmax EXT_color_buffer_half_float EXT_disjoint_timer_query EXT_float_blend EXT_frag_depth EXT_shader_texture_lod EXT_sRGB EXT_texture_compression_bptc EXT_texture_filter_anisotropic OES_element_index_uint OES_standard_derivatives OES_texture_float OES_texture_float_linear OES_texture_half_float OES_texture_half_float_linear OES_vertex_array_object WEBGL_color_buffer_float WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_depth_texture WEBGL_draw_buffers WEBGL_lose_context
WebGL 2 Driver WSI Info: EGL_VENDOR: Google Inc. (adapter LUID: 000000000000b5f4)
EGL_VERSION: 1.4 (ANGLE 2.1.0.4137599d9132)
EGL_EXTENSIONS: EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_client_buffer EGL_ANGLE_d3d_texture_client_buffer EGL_ANGLE_surface_d3d_texture_2d_share_handle EGL_ANGLE_query_surface_pointer EGL_ANGLE_window_fixed_size EGL_ANGLE_keyed_mutex EGL_ANGLE_surface_orientation EGL_ANGLE_direct_composition EGL_NV_post_sub_buffer EGL_KHR_create_context EGL_EXT_device_query EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_get_all_proc_addresses EGL_KHR_stream EGL_KHR_stream_consumer_gltexture EGL_NV_stream_consumer_gltexture_yuv EGL_ANGLE_flexible_surface_compatibility EGL_ANGLE_stream_producer_d3d_texture EGL_ANGLE_create_context_webgl_compatibility EGL_CHROMIUM_create_context_bind_generates_resource EGL_CHROMIUM_sync_control EGL_EXT_pixel_format_float EGL_KHR_surfaceless_context EGL_ANGLE_display_texture_share_group EGL_ANGLE_create_context_client_arrays EGL_ANGLE_program_cache_control EGL_ANGLE_robust_resource_initialization EGL_ANGLE_create_context_extensions_enabled EGL_ANDROID_blob_cache EGL_ANDROID_recordable
EGL_EXTENSIONS(nullptr): EGL_EXT_client_extensions EGL_EXT_platform_base EGL_EXT_platform_device EGL_ANGLE_platform_angle EGL_ANGLE_platform_angle_d3d EGL_ANGLE_device_creation EGL_ANGLE_device_creation_d3d11 EGL_ANGLE_experimental_present_path EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug EGL_ANGLE_explicit_context
WebGL 2 Driver Renderer: Google Inc. -- ANGLE (NVIDIA GeForce GTX 1060 3GB Direct3D11 vs_5_0 ps_5_0)
WebGL 2 Driver Version: OpenGL ES 3.0 (ANGLE 2.1.0.4137599d9132)
WebGL 2 Driver Extensions: GL_ANGLE_client_arrays GL_ANGLE_copy_texture_3d GL_ANGLE_depth_texture GL_ANGLE_explicit_context GL_ANGLE_explicit_context_gles1 GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_memory_size GL_ANGLE_multi_draw GL_ANGLE_multiview_multisample GL_ANGLE_pack_reverse_row_order GL_ANGLE_program_cache_control GL_ANGLE_provoking_vertex GL_ANGLE_request_extension GL_ANGLE_robust_client_memory GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ANGLE_texture_multisample GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_CHROMIUM_bind_generates_resource GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_color_buffer_float_rgb GL_CHROMIUM_color_buffer_float_rgba GL_CHROMIUM_copy_compressed_texture GL_CHROMIUM_copy_texture GL_CHROMIUM_sync_query GL_EXT_blend_func_extended GL_EXT_blend_minmax GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers GL_EXT_float_blend GL_EXT_frag_depth GL_EXT_instanced_arrays GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_sRGB GL_EXT_shader_texture_lod GL_EXT_texture_compression_bptc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc_srgb GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_norm16 GL_EXT_texture_rg GL_EXT_texture_storage GL_EXT_unpack_subimage GL_KHR_debug GL_KHR_parallel_shader_compile GL_KHR_robust_buffer_access_behavior GL_NV_EGL_stream_consumer_external GL_NV_fence GL_NV_pack_subimage GL_NV_pixel_buffer_object GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth32 GL_OES_element_index_uint GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_border_clamp GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_array_object GL_OVR_multiview2 OES_compressed_EAC_R11_signed_texture OES_compressed_EAC_R11_unsigned_texture OES_compressed_EAC_RG11_signed_texture OES_compressed_EAC_RG11_unsigned_texture OES_compressed_ETC2_RGB8_texture OES_compressed_ETC2_RGBA8_texture OES_compressed_ETC2_punchthroughA_RGBA8_texture OES_compressed_ETC2_punchthroughA_sRGB8_alpha_texture OES_compressed_ETC2_sRGB8_alpha8_texture OES_compressed_ETC2_sRGB8_texture
WebGL 2 Extensions: EXT_color_buffer_float EXT_disjoint_timer_query EXT_float_blend EXT_texture_compression_bptc EXT_texture_filter_anisotropic OES_texture_float_linear WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_lose_context
Direct2D: true
Off Main Thread Painting Enabled: true
Off Main Thread Painting Worker Count: 4
Target Frame Rate: 60
DirectWrite: true (10.0.18362.959)

  GPU #1
  Active: Yes
  Description: NVIDIA GeForce GTX 1060 3GB
  Vendor ID: 0x10de
  Device ID: 0x1c02
  Driver Version: 26.21.14.4292
  Driver Date: 4-7-2020
  Drivers: C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_85e939ca9040d47c\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_85e939ca9040d47c\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_85e939ca9040d47c\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_85e939ca9040d47c\nvldumdx.dll C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_85e939ca9040d47c\nvldumd.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_85e939ca9040d47c\nvldumd.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_85e939ca9040d47c\nvldumd.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_85e939ca9040d47c\nvldumd.dll
  Subsys ID: 61623842
  RAM: 3072

GPU #2

  Diagnostics
  AzureCanvasBackend: direct2d 1.1
  AzureContentBackend: direct2d 1.1
  AzureFallbackCanvasBackend: skia
  ClearType Parameters: Gamma: 1.8 Pixel Structure: RGB ClearType Level: 100 Enhanced Contrast: 50

  Decision Log
  DIRECT2D: disabled by default: Disabled by defaultavailable by user: Enabled via gfx.direct2d.disabled
  GPU_PROCESS: unavailable by default: Multi-process mode is not enabled
  WEBRENDER: opt-in by default: WebRender is an opt-in featureunavailable-no-gpu-process by runtime: GPU Process is disabled
  WEBRENDER_QUALIFIED: blacklisted by env: No qualified hardware

Crash Guard Disabled Features

Workarounds

Failure Log

Media

  Audio Backend: wasapi
  Max Channels: 2
  Preferred Sample Rate: 48000

  Output Devices

    Name
    Group
    Vendor
    State
    Preferred
    Format
    Channels
    Rate
    Latency

    Speakers (Steam Streaming Speakers)
    ROOT\SteamStreamingSpeakers\0000
    Enabled
    All
    default: F32LE, support: S16LE F32LE
    2
    default: 48000, support: 48000 - 48000
    144 - 480

    DELL P2715Q (NVIDIA High Definition Audio)
    Disabled
    None
    default: F32LE, support: S16LE F32LE
    2
    default: 48000, support: 48000 - 48000
    0 - 0

    BenQ PJ (NVIDIA High Definition Audio)
    Disabled
    None
    default: F32LE, support: S16LE F32LE
    6
    default: 48000, support: 48000 - 48000
    0 - 0

    Internal AUX Jack (Steam Streaming Speakers)
    ROOT\SteamStreamingSpeakers\0000
    Disabled
    None
    default: F32LE, support: S16LE F32LE
    0
    default: 0, support: 0 - 0
    0 - 0

    DELL P2715Q (NVIDIA High Definition Audio)
    HDAUDIO\FUNC_01&VEN_10DE&DEV_0084&SUBSYS_38426162&REV_1001\5&6daffaa&0&0001
    Unplugged
    None
    default: F32LE, support: S16LE F32LE
    2
    default: 48000, support: 48000 - 48000
    0 - 0

    Realtek Digital Output (Realtek High Definition Audio)
    HDAUDIO\FUNC_01&VEN_10EC&DEV_0892&SUBSYS_17AA366D&REV_1003\4&2fc7ea09&0&0001
    Enabled
    None
    default: F32LE, support: S16LE F32LE
    2
    default: 48000, support: 48000 - 48000
    144 - 480

    DELL P2715Q (NVIDIA High Definition Audio)
    HDAUDIO\FUNC_01&VEN_10DE&DEV_0084&SUBSYS_38426162&REV_1001\5&6daffaa&0&0001
    Unplugged
    None
    default: F32LE, support: S16LE F32LE
    2
    default: 48000, support: 48000 - 48000
    0 - 0

    Disabled
    None
    default: F32LE, support: S16LE F32LE
    2
    default: 48000, support: 48000 - 48000
    0 - 0

    Speakers (Realtek High Definition Audio)
    HDAUDIO\FUNC_01&VEN_10EC&DEV_0892&SUBSYS_17AA366D&REV_1003\4&2fc7ea09&0&0001
    Unplugged
    None
    default: F32LE, support: S16LE F32LE
    2
    default: 48000, support: 48000 - 48000
    0 - 0

    NVIDIA Output (NVIDIA High Definition Audio)
    HDAUDIO\FUNC_01&VEN_10DE&DEV_0084&SUBSYS_38426162&REV_1001\5&6daffaa&0&0001
    Unplugged
    None
    default: F32LE, support: S16LE F32LE
    0
    default: 0, support: 0 - 0
    0 - 0

    RX-V371 (NVIDIA High Definition Audio)
    Disabled
    None
    default: F32LE, support: S16LE F32LE
    2
    default: 48000, support: 48000 - 48000
    0 - 0

    Disabled
    None
    default: F32LE, support: S16LE F32LE
    2
    default: 48000, support: 48000 - 48000
    0 - 0

    Speakers (Steam Streaming Microphone)
    ROOT\SteamStreamingMicrophone\0000
    Enabled
    None
    default: F32LE, support: S16LE F32LE
    2
    default: 48000, support: 48000 - 48000
    144 - 480

    DELL P2715Q (NVIDIA High Definition Audio)
    HDAUDIO\FUNC_01&VEN_10DE&DEV_0084&SUBSYS_38426162&REV_1001\5&6daffaa&0&0001
    Enabled
    None
    default: F32LE, support: S16LE F32LE
    2
    default: 48000, support: 48000 - 48000
    144 - 480

    DELL S2415H (NVIDIA High Definition Audio)
    Disabled
    None
    default: F32LE, support: S16LE F32LE
    2
    default: 48000, support: 48000 - 48000
    0 - 0

    Disabled
    None
    default: F32LE, support: S16LE F32LE
    2
    default: 48000, support: 48000 - 48000
    0 - 0

  Input Devices

    Name
    Group
    Vendor
    State
    Preferred
    Format
    Channels
    Rate
    Latency

    Stereo Mix (Realtek High Definition Audio)
    HDAUDIO\FUNC_01&VEN_10EC&DEV_0892&SUBSYS_17AA366D&REV_1003\4&2fc7ea09&0&0001
    Disabled
    None
    default: F32LE, support: S16LE F32LE
    2
    default: 48000, support: 48000 - 48000
    0 - 0

    Side (Realtek High Definition Audio)
    HDAUDIO\FUNC_01&VEN_10EC&DEV_0892&SUBSYS_17AA366D&REV_1003\4&2fc7ea09&0&0001
    Disabled
    None
    default: F32LE, support: S16LE F32LE
    0
    default: 0, support: 0 - 0
    0 - 0

    Disabled
    None
    default: F32LE, support: S16LE F32LE
    1
    default: 16000, support: 16000 - 16000
    0 - 0

    Disabled
    None
    default: F32LE, support: S16LE F32LE
    1
    default: 48000, support: 48000 - 48000
    0 - 0

    Microphone (Realtek High Definition Audio)
    HDAUDIO\FUNC_01&VEN_10EC&DEV_0892&SUBSYS_17AA366D&REV_1003\4&2fc7ea09&0&0001
    Disabled
    None
    default: F32LE, support: S16LE F32LE
    0
    default: 0, support: 0 - 0
    0 - 0

    Disabled
    None
    default: F32LE, support: S16LE F32LE
    1
    default: 16000, support: 16000 - 16000
    0 - 0

    Microphone (Steam Streaming Microphone)
    ROOT\SteamStreamingMicrophone\0000
    Enabled
    All
    default: F32LE, support: S16LE F32LE
    1
    default: 44100, support: 44100 - 44100
    133 - 441

    Front (Realtek High Definition Audio)
    HDAUDIO\FUNC_01&VEN_10EC&DEV_0892&SUBSYS_17AA366D&REV_1003\4&2fc7ea09&0&0001
    Disabled
    None
    default: F32LE, support: S16LE F32LE
    0
    default: 0, support: 0 - 0
    0 - 0

    Disabled
    None
    default: F32LE, support: S16LE F32LE
    1
    default: 48000, support: 48000 - 48000
    0 - 0

    Microphone (Realtek High Definition Audio)
    HDAUDIO\FUNC_01&VEN_10EC&DEV_0892&SUBSYS_17AA366D&REV_1003\4&2fc7ea09&0&0001
    Unplugged
    None
    default: F32LE, support: S16LE F32LE
    2
    default: 48000, support: 48000 - 48000
    0 - 0

    Center (Realtek High Definition Audio)
    HDAUDIO\FUNC_01&VEN_10EC&DEV_0892&SUBSYS_17AA366D&REV_1003\4&2fc7ea09&0&0001
    Disabled
    None
    default: F32LE, support: S16LE F32LE
    0
    default: 0, support: 0 - 0
    0 - 0

    Internal AUX Jack (NVIDIA High Definition Audio)
    HDAUDIO\FUNC_01&VEN_10DE&DEV_0084&SUBSYS_38426162&REV_1001\5&6daffaa&0&0001
    Disabled
    None
    default: F32LE, support: S16LE F32LE
    0
    default: 0, support: 0 - 0
    0 - 0

    Disabled
    None
    default: F32LE, support: S16LE F32LE
    1
    default: 48000, support: 48000 - 48000
    0 - 0

    Internal AUX Jack (Steam Streaming Speakers)
    ROOT\SteamStreamingSpeakers\0000
    Disabled
    None
    default: F32LE, support: S16LE F32LE
    1
    default: 44100, support: 44100 - 44100
    0 - 0

    Disabled
    None
    default: F32LE, support: S16LE F32LE
    0
    default: 0, support: 0 - 0
    0 - 0

    Disabled
    None
    default: F32LE, support: S16LE F32LE
    0
    default: 0, support: 0 - 0
    0 - 0

    Rear (Realtek High Definition Audio)
    HDAUDIO\FUNC_01&VEN_10EC&DEV_0892&SUBSYS_17AA366D&REV_1003\4&2fc7ea09&0&0001
    Disabled
    None
    default: F32LE, support: S16LE F32LE
    0
    default: 0, support: 0 - 0
    0 - 0

    Line In (Realtek High Definition Audio)
    HDAUDIO\FUNC_01&VEN_10EC&DEV_0892&SUBSYS_17AA366D&REV_1003\4&2fc7ea09&0&0001
    Disabled
    None
    default: F32LE, support: S16LE F32LE
    0
    default: 0, support: 0 - 0
    0 - 0

    Subwoofer (Realtek High Definition Audio)
    HDAUDIO\FUNC_01&VEN_10EC&DEV_0892&SUBSYS_17AA366D&REV_1003\4&2fc7ea09&0&0001
    Disabled
    None
    default: F32LE, support: S16LE F32LE
    0
    default: 0, support: 0 - 0
    0 - 0

    Disabled
    None
    default: F32LE, support: S16LE F32LE
    1
    default: 48000, support: 48000 - 48000
    0 - 0

    Microphone (Steam Streaming Speakers)
    ROOT\SteamStreamingSpeakers\0000
    Disabled
    None
    default: F32LE, support: S16LE F32LE
    0
    default: 0, support: 0 - 0
    0 - 0

    Internal AUX Jack (NVIDIA High Definition Audio)
    HDAUDIO\FUNC_01&VEN_10DE&DEV_0084&SUBSYS_38426162&REV_1001\5&6daffaa&0&0001
    Disabled
    None
    default: F32LE, support: S16LE F32LE
    0
    default: 0, support: 0 - 0
    0 - 0

    Internal AUX Jack (NVIDIA High Definition Audio)
    HDAUDIO\FUNC_01&VEN_10DE&DEV_0084&SUBSYS_38426162&REV_1001\5&6daffaa&0&0001
    Disabled
    None
    default: F32LE, support: S16LE F32LE
    0
    default: 0, support: 0 - 0
    0 - 0

    Line In (Realtek High Definition Audio)
    HDAUDIO\FUNC_01&VEN_10EC&DEV_0892&SUBSYS_17AA366D&REV_1003\4&2fc7ea09&0&0001
    Unplugged
    None
    default: F32LE, support: S16LE F32LE
    2
    default: 48000, support: 48000 - 48000
    0 - 0

Important Modified Preferences

accessibility.typeaheadfind.flashBar: 0
browser.cache.disk.amount_written: 137303
browser.cache.disk.capacity: 1048576
browser.cache.disk.filesystem_reported: 1
browser.cache.disk.smart_size_cached_value: 358400
browser.cache.disk.smart_size.first_run: false
browser.cache.disk.smart_size.use_old_max: false
dom.apps.reset-permissions: true
extensions.lastAppVersion: 68.11.0
font.internaluseonly.changed: false
font.name.monospace.el: Consolas
font.name.monospace.tr: Consolas
font.name.monospace.x-baltic: Consolas
font.name.monospace.x-central-euro: Consolas
font.name.monospace.x-cyrillic: Consolas
font.name.monospace.x-unicode: Consolas
font.name.monospace.x-western: Consolas
font.name.sans-serif.el: Calibri
font.name.sans-serif.tr: Calibri
font.name.sans-serif.x-baltic: Calibri
font.name.sans-serif.x-central-euro: Calibri
font.name.sans-serif.x-cyrillic: Calibri
font.name.sans-serif.x-unicode: Calibri
font.name.sans-serif.x-western: Calibri
font.name.serif.el: Cambria
font.name.serif.tr: Cambria
font.name.serif.x-baltic: Cambria
font.name.serif.x-central-euro: Cambria
font.name.serif.x-cyrillic: Cambria
font.name.serif.x-unicode: Cambria
font.name.serif.x-western: Cambria
font.size.fixed.el: 14
font.size.fixed.tr: 14
font.size.fixed.x-baltic: 14
font.size.fixed.x-central-euro: 14
font.size.fixed.x-cyrillic: 14
font.size.fixed.x-unicode: 14
font.size.fixed.x-western: 14
font.size.variable.el: 17
font.size.variable.tr: 17
font.size.variable.x-baltic: 17
font.size.variable.x-central-euro: 17
font.size.variable.x-cyrillic: 17
font.size.variable.x-unicode: 17
font.size.variable.x-western: 17
gfx.crash-guard.d3d11layers.appVersion: 68.11.0
gfx.crash-guard.d3d11layers.deviceID: 0x1c02
gfx.crash-guard.d3d11layers.driverVersion: 26.21.14.4292
gfx.crash-guard.d3d11layers.feature-d2d: true
gfx.crash-guard.d3d11layers.feature-d3d11: true
gfx.crash-guard.status.d3d11layers: 2
gfx.crash-guard.status.wmfvpxvideo: 2
gfx.crash-guard.wmfvpxvideo.appVersion: 68.11.0
gfx.crash-guard.wmfvpxvideo.deviceID: 0x1c02
gfx.crash-guard.wmfvpxvideo.driverVersion: 26.21.14.4292
gfx.direct2d.disabled: false
gfx.direct3d.last_used_feature_level_idx: 0
idle.lastDailyNotification: 1595731864
layers.acceleration.disabled: false
layers.mlgpu.sanity-test-failed: false
media.gmp.storage.version.observed: 1
media.hardware-video-decoding.failed: false
network.cookie.prefsMigrated: true
network.predictor.cleaned-up: true
places.database.lastMaintenance: 1595556783
places.history.expiration.transient_current_max_pages: 65049
plugin.importedState: true
security.disable_button.openCertManager: false
security.sandbox.content.tempDirSuffix: {0f0c7df6-d938-4220-9a0e-fe3a7dc10806}
security.sandbox.plugin.tempDirSuffix: {551a6e50-60e8-431a-8c25-fdf91a75f776}
signon.importedFromSqlite: true
storage.vacuum.last.index: 1
storage.vacuum.last.places.sqlite: 1593674609
ui.osk.debug.keyboardDisplayReason: IKPOS: Touch screen not found.

Important Locked Preferences

Places Database

JavaScript

Incremental GC: true

Accessibility

Activated: false
Prevent Accessibility: 0
Accessible Handler Used: true
Accessibility Instantiator:

Library Versions

  Expected minimum version
  Version in use

  NSPR
  4.21
  4.21

  NSS
  3.44.4
  3.44.4

  NSSSMIME
  3.44.4
  3.44.4

  NSSSSL
  3.44.4
  3.44.4

  NSSUTIL
  3.44.4
  3.44.4

Sandbox

Content Process Sandbox Level: 0
Effective Content Process Sandbox Level: 1

Internationalization & Localization

  Application Settings
  Requested Locales: ["en-US"]
  Available Locales: ["en-US"]
  App Locales: ["en-US"]
  Regional Preferences: ["en-US"]
  Default Locale: "en-US"

  Operating System
  System Locales: ["en-US"]
  Regional Preferences: ["en-US"]

Thanks Wayne. I will get familiar with that info - I use Windows Defender in its default configuration.

Do you seen an improvement after excluding the Thunderbird profile?

Flags: needinfo?(psla)
Whiteboard: [closeme 2020-08-22]

Hi Wayne. I haven't gotten back to you, because it's somewhat hard to reproduce. When receiving one email, it's very hard to notice this issue - but when I was receiving 300 emails, it was very pronounced. I think I will make a copy of INBOX, and restore that copy after a week - forcing download of multiple messages. Let me know if there is any other way to mimic the download.
(alternatively, maybe I will simply send myself some 100-300 messages...)
Bear with me, I will update this ticket once I get a consistent repro whether excluding thunderbird profile from defender helped.

Flags: needinfo?(psla)
Flags: needinfo?(psla)

I think I will make a copy of INBOX, and restore that copy after a week - forcing download of multiple messages.

That or just remove the entire Inbox file?

Summary: Thunderbird extremely slow while typing or doing anything (while indexing?) → Thunderbird extremely slow typing or doing anything when downloading messages (and indexing?)

(In reply to Wayne Mery (:wsmwk) from comment #5)

I think I will make a copy of INBOX, and restore that copy after a week - forcing download of multiple messages.

That or just remove the entire Inbox file?

My assumption (potentially wrong) is that if it is defender slowing things down/freezing, then the slowdown is a function of the size of the inbox -- so if I removed the inbox file, it would become tiny, and defender would be quick when scanning it and the freezes might not be noticeable.

But it's easy to test, so I might as well do it. :) Pls bear with me, I have a lot on my plate right now.

Flags: needinfo?(psla)
Flags: needinfo?(psla)

After excluding %AppData%\Thunderbird from Defender (aka Virus & Threat Protection) the freezes went away, and the sync is much faster.

At this point I believe this bug can be closed - but I feel compelled to ask (once again thanks for your awesome help, and I really appreciate Thunderbird as a (free) product!): is there something that Thunderbird could be doing differently to avoid the problem, or minimize it? E.g. journalling/batching writes to the file, or splitting file to smaller chunks? Or why is it freezing the UX? I would expect that defender would run in background, and no operation would run on the UX thread - e.g. saving drafts or anything else that needs access to the file on disk should run outside of the main thread, and the UX should be responsive.

For the future generations: to exclude this from defender on Windows 10, with the new fancy UI:

  1. Go to "windows security"
  2. Click "virus & threat protection"
  3. Click "manage settings"
  4. Find "exclusions", and click "add or remove exclusions"
  5. "Add an exclusion", "folder",
  6. %AppData%\Thunderbird
Flags: needinfo?(psla)

Thanks for the update, and your steps to mitigate.
Yes, there are definitely product changes that could help.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
Whiteboard: [closeme 2020-08-22] → [antivirus: Defender (aka Virus & Threat Protection)]
You need to log in before you can comment on or make changes to this bug.