We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Caută ajutor

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Află mai multe

Acest fir de discuție a fost arhivat. Adresează o întrebare nouă dacă ai nevoie de ajutor.

Thunderbird hangs regularly immediately after sending an email - Mac activity monitor says "not responding" (Mac)

  • 22 răspunsuri
  • 3 au această problemă
  • 1 vizualizare
  • Ultimul răspuns de cyril4j

more options

Hello

In the last month Thunderbird started hanging regularly immediately after sending an email. The Mac's yosemite says it's "not responding" and it isn't.

I'm using it as an IMAP client, with a gmail server. Conveniently & interestingly, all email is being sent.

Outgoing server is smtp.gmail.com:465 with SSL/TLS and OAuth2.

Thoughts? Can I log TB activity to help debug?


Versions: TB: 52.2.1 (64-bit), up to date; OSX: 10.10.5 (14F2411)

Hello In the last month Thunderbird started hanging regularly immediately after sending an email. The Mac's yosemite says it's "not responding" and it isn't. I'm using it as an IMAP client, with a gmail server. Conveniently & interestingly, all email is being sent. Outgoing server is smtp.gmail.com:465 with SSL/TLS and OAuth2. Thoughts? Can I log TB activity to help debug? Versions: TB: 52.2.1 (64-bit), up to date; OSX: 10.10.5 (14F2411)

Modificat în de Wayne Mery

Toate răspunsurile (20)

more options

1. In Thunderbird, Unsubscribe your All Mail folder 2. How big is trash and spam folder - or are both empty? (right+click and pick properties) 3. How big is Sent folder?

more options

You wrote "not responding" but are you seeing "unresponsive script"?

more options

Thanks Wayne 1. Done 2. trash 37 MB SPAM 0 But some other folders are big: from unknown: 450 MB ... 3. sent 2 GB

Wayne Mery said

1. In Thunderbird, Unsubscribe your All Mail folder 2. How big is trash and spam folder - or are both empty? (right+click and pick properties) 3. How big is Sent folder?
more options

No. Activity Monitor says "not responding".

FYI my MBP has 16 GB RAM and a 0.5 TB SSD drive.

Wayne Mery said

You wrote "not responding" but are you seeing "unresponsive script"?
more options

right+click account, pick subscribe, uncheck "All Mail"

more options

Thanks Wayne. Already done.

Wayne Mery said

right+click account, pick subscribe, uncheck "All Mail"
more options

Do you have an anti virus program installed?

more options

Matt said

Do you have an anti virus program installed?

Yes, Norton Security 7.4.1, which I will keep running. Can I log TB activity to help debug? We want to know what it's doing when it hangs.

more options

> Yes, Norton Security 7.4.1, which I will keep running. OK, but make sure thunderbird profile directory files are excluded from scanning.

> Can I log TB activity to help debug? We want to know what it's doing when it hangs. We want to know too. But there is no log which can show that,

You wrote that sent folder is 2GB. What happens if you reduce that to say 1.5GB?

more options

FYI, here's the not responding report.

more options

Wayne Mery said

> Yes, Norton Security 7.4.1, which I will keep running. OK, but make sure thunderbird profile directory files are excluded from scanning. > Can I log TB activity to help debug? We want to know what it's doing when it hangs. We want to know too. But there is no log which can show that,

What about doing Log POP, IMAP and SMTP Traffic in Mozilla Thunderbird - Lifewire Log POP, IMAP and SMTP Traffic in Mozilla Thunderbird - Lifewire?

You wrote that sent folder is 2GB. What happens if you reduce that to say 1.5GB?
more options

Wayne Mery said

> Yes, Norton Security 7.4.1, which I will keep running. OK, but make sure thunderbird profile directory files are excluded from scanning. > Can I log TB activity to help debug? We want to know what it's doing when it hangs. We want to know too. But there is no log which can show that,

Wayne, What about logging IMAP & SMTP: Log POP, IMAP and SMTP Traffic in Mozilla Thunderbird - Lifewire?

Arthur

more options

protocol logs are not the type of information that reveal what is cause slowness

more options

Wayne Mery said

protocol logs are not the type of information that reveal what is cause slowness

Thanks for your help Wayne. The issue is not slowness, but hanging while using no cpu. TB appears to be blocking on some operation which might be a protocol event.

I have updated to release 52.3.0. I'm not inclined to spend time reducing mailbox sizes without some causal understanding of why that would make TB hang.

TB folks, please consider this problem to be an unresolved bug.

arthur

more options

> hanging while using no cpu.

Low (or undetectable) cpu can also be a symptom of high disk IO, disk failure, and other issues. If it is truly hung, as in "forever hung" then you can get a stacktrace per comment 13 of https://wiki.mozilla.org/Thunderbird:Testing:Shutdown_Hang


> TB appears to be blocking on some operation which might be a protocol event.

It might. But just because it hangs during sending (or receiving) doesn't mean it's a protocol issue. Furthermore, the fact that you are hitting broadly used gmail servers, and our smtp code pretty much never changes, suggests that the issue isn't likely to be protocol. So no, until proven otherwise this is not presumed, at this end, to be a bug. It is simply "cause unknown".

> I have updated to release 52.3.0. I'm not inclined to spend time reducing mailbox sizes without some causal understanding of why that would make TB hang.

Fair enough. See above. Also, please do a repair on your Sent folder - in Thunderbird bring up the folder context menu and pick properties, then pick "repair"

more options

Thanks Wayne

I repaired Sent. I'll get a stacktrace next time it hangs.

more options

I have the same problem. Thunderbird 52.3.0 regularly hangs on MacOS 10.12.6 now. Please find the beginning of the MacOS stack (I'm not sure how to attach it as the site seem to only support images...) and advise if any idea what's going on. Thanks!

Date/Time: 2017-08-30 09:42:23 -0700 OS Version: Mac OS X 10.12.6 (Build 16G29) Architecture: x86_64h Report Version: 25

Data Source: Stackshots

Command: thunderbird Path: /Applications/Thunderbird.app/Contents/MacOS/thunderbird Version: 52.3.0 (52.3.0) Parent: launchd [1] PID: 1769

Event: hang Duration: 1.10s (process was unresponsive for 46 seconds before sampling) Steps: 11 (100ms sampling interval)

Hardware model: MacBookPro14,1 Active cpus: 4

Fan speed: 0 rpm


Timeline format: stacks are sorted chronologically Use -i and -heavy to re-report with count sorting


Heaviest stack for the main thread of the target process:

 11  ??? (<F3957694-474C-3AC7-A342-AC6BA2361834> + 34925970) [0x103a97d92]
 11  -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2796 (AppKit + 8136686) [0x7fff9ef497ee]
 11  _DPSNextEvent + 1120 (AppKit + 289364) [0x7fff9e7cda54]
 11  _BlockUntilNextEventMatchingListInModeWithFilter + 71 (HIToolbox + 199462) [0x7fffa0234b26]
 11  ReceiveNextEventCommon + 432 (HIToolbox + 199921) [0x7fffa0234cf1]
 11  RunCurrentEventLoopInMode + 240 (HIToolbox + 200380) [0x7fffa0234ebc]
 11  CFRunLoopRunSpecific + 420 (CoreFoundation + 553236) [0x7fffa0cd4114]
 11  __CFRunLoopRun + 934 (CoreFoundation + 554774) [0x7fffa0cd4716]
 11  __CFRunLoopDoSources0 + 423 (CoreFoundation + 557463) [0x7fffa0cd5197]
 11  __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 (CoreFoundation + 684833) [0x7fffa0cf4321]
 11  ??? (<F3957694-474C-3AC7-A342-AC6BA2361834> + 34738129) [0x103a69fd1]
 11  -[NSView removeFromSuperview] + 465 (AppKit + 177543) [0x7fff9e7b2587]
 11  -[NSView _setWindow:] + 2575 (AppKit + 166240) [0x7fff9e7af960]
 11  -[NSSurface setWindow:] + 53 (AppKit + 2419178) [0x7fff9e9d59ea]
 11  -[NSSurface _disposeSurface] + 152 (AppKit + 2420283) [0x7fff9e9d5e3b]
 11  -[NSNotificationCenter postNotificationName:object:userInfo:] + 66 (Foundation + 26231) [0x7fffa26cb677]
 11  _CFXNotificationPost + 604 (CoreFoundation + 365916) [0x7fffa0ca655c]
 11  -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1827 (CoreFoundation + 369955) [0x7fffa0ca7523]
 11  ___CFXNotificationPost_block_invoke + 50 (CoreFoundation + 643266) [0x7fffa0cea0c2]
 11  _CFXRegistrationPost + 427 (CoreFoundation + 643931) [0x7fffa0cea35b]
 11  __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12 (CoreFoundation + 644188) [0x7fffa0cea45c]
 11  CGLClearDrawable + 41 (OpenGL + 27390) [0x7fffa5c98afe]
 11  _pthread_mutex_lock_slow + 285 (libsystem_pthread.dylib + 5401) [0x7fffb666b519]
 11  __psynch_mutexwait + 10 (libsystem_kernel.dylib + 105506) [0x7fffb6582c22]
*11  psynch_mtxcontinue + 0 (pthread + 31211) [0xffffff7f810b89eb]


Process: thunderbird (Thunderbird) [1769] Path: /Applications/Thunderbird.app/Contents/MacOS/thunderbird Architecture: x86_64 Parent: launchd [1] UID: 501 Task size: 551.12 MB CPU Time: 0.017 Note: Unresponsive for 46 seconds before sampling Note: 1 idle work queue threads omitted

 Thread 0x33b9c            DispatchQueue 1           11 samples (1-11)         priority 46 (base 47)
 <process frontmost, thread QoS user interactive (requested user interactive), process unclamped, process received importance donation from WindowServer [145], IO tier 0>
 11  ??? (<F3957694-474C-3AC7-A342-AC6BA2361834> + 34925970) [0x103a97d92] 1-11
   11  -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2796 (AppKit + 8136686) [0x7fff9ef497ee] 1-11
     11  _DPSNextEvent + 1120 (AppKit + 289364) [0x7fff9e7cda54] 1-11
       11  _BlockUntilNextEventMatchingListInModeWithFilter + 71 (HIToolbox + 199462) [0x7fffa0234b26] 1-11
         11  ReceiveNextEventCommon + 432 (HIToolbox + 199921) [0x7fffa0234cf1] 1-11
           11  RunCurrentEventLoopInMode + 240 (HIToolbox + 200380) [0x7fffa0234ebc] 1-11
             11  CFRunLoopRunSpecific + 420 (CoreFoundation + 553236) [0x7fffa0cd4114] 1-11
               11  __CFRunLoopRun + 934 (CoreFoundation + 554774) [0x7fffa0cd4716] 1-11
                 11  __CFRunLoopDoSources0 + 423 (CoreFoundation + 557463) [0x7fffa0cd5197] 1-11
                   11  __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 (CoreFoundation + 684833) [0x7fffa0cf4321] 1-11
                     11  ??? (<F3957694-474C-3AC7-A342-AC6BA2361834> + 34738129) [0x103a69fd1] 1-11
                       11  -[NSView removeFromSuperview] + 465 (AppKit + 177543) [0x7fff9e7b2587] 1-11
                         11  -[NSView _setWindow:] + 2575 (AppKit + 166240) [0x7fff9e7af960] 1-11
                           11  -[NSSurface setWindow:] + 53 (AppKit + 2419178) [0x7fff9e9d59ea] 1-11
                             11  -[NSSurface _disposeSurface] + 152 (AppKit + 2420283) [0x7fff9e9d5e3b] 1-11
                               11  -[NSNotificationCenter postNotificationName:object:userInfo:] + 66 (Foundation + 26231) [0x7fffa26cb677] 1-11
                                 11  _CFXNotificationPost + 604 (CoreFoundation + 365916) [0x7fffa0ca655c] 1-11
                                   11  -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1827 (CoreFoundation + 369955) [0x7fffa0ca7523] 1-11
                                     11  ___CFXNotificationPost_block_invoke + 50 (CoreFoundation + 643266) [0x7fffa0cea0c2] 1-11
                                       11  _CFXRegistrationPost + 427 (CoreFoundation + 643931) [0x7fffa0cea35b] 1-11
                                         11  __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12 (CoreFoundation + 644188) [0x7fffa0cea45c] 1-11
                                           11  CGLClearDrawable + 41 (OpenGL + 27390) [0x7fffa5c98afe] 1-11
                                             11  _pthread_mutex_lock_slow + 285 (libsystem_pthread.dylib + 5401) [0x7fffb666b519] 1-11
                                               11  __psynch_mutexwait + 10 (libsystem_kernel.dylib + 105506) [0x7fffb6582c22] 1-11
                                                *11  psynch_mtxcontinue + 0 (pthread + 31211) [0xffffff7f810b89eb] 1-11
 Thread 0x33ba5            11 samples (1-11)         priority 31 (base 31)
 <process frontmost, thread QoS default (requested default), process unclamped, process received importance donation from WindowServer [145], IO tier 0>
 11  thread_start + 13 (libsystem_pthread.dylib + 12429) [0x7fffb666d08d] 1-11
   11  _pthread_start + 286 (libsystem_pthread.dylib + 14471) [0x7fffb666d887] 1-11
     11  ??? (<F3957694-474C-3AC7-A342-AC6BA2361834> + 45133474) [0x104453ea2] 1-11
       11  mach_msg_trap + 10 (libsystem_kernel.dylib + 74570) [0x7fffb657b34a] 1-11
        *11  ipc_mqueue_receive_continue + 0 (kernel + 850128) [0xffffff80002cf8d0] 1-11
 Thread 0x33bb3            Thread name "Gecko_IOThread"                        11 samples (1-11)         priority 31 (base 31)
 <process frontmost, thread QoS default (requested default), process unclamped, process received importance donation from WindowServer [145], IO tier 0>
 11  <truncated backtrace> 1-11
   11  kevent + 10 (libsystem_kernel.dylib + 109974) [0x7fffb6583d96] 1-11
    *11  ??? (kernel + 5621728) [0xffffff800075c7e0] 1-11
 Thread 0x33bd2            Thread name "Socket Thread"                         11 samples (1-11)         priority 31 (base 31)
 <process frontmost, thread QoS default (requested default), process unclamped, process received importance donation from WindowServer [145], IO tier 0>
 11  __select + 10 (libsystem_kernel.dylib + 106166) [0x7fffb6582eb6] 1-11
  *11  ??? (kernel + 5795568) [0xffffff8000786ef0] 1-11
 Thread 0x33bd6            Thread name "JS Watchdog" 11 samples (1-11)         priority 31 (base 31)
 <process frontmost, thread QoS default (requested default), process unclamped, process received importance donation from WindowServer [145], IO tier 0>
 11  PR_WaitCondVar + 253 (libnss3.dylib + 1794957) [0x1018b638d] 1-11
   11  __psynch_cvwait + 10 (libsystem_kernel.dylib + 105458) [0x7fffb6582bf2] 1-11
    *11  psynch_cvcontinue + 0 (pthread + 38973) [0xffffff7f810ba83d] 1-11
 Thread 0x33bd7            Thread name "JS Helper"   11 samples (1-11)         priority 31 (base 31)
 <process frontmost, thread QoS default (requested default), process unclamped, process received importance donation from WindowServer [145], IO tier 0>
 11  ??? (<F3957694-474C-3AC7-A342-AC6BA2361834> + 52892049) [0x104bba191] 1-11
   11  __psynch_cvwait + 10 (libsystem_kernel.dylib + 105458) [0x7fffb6582bf2] 1-11
    *11  psynch_cvcontinue + 0 (pthread + 38973) [0xffffff7f810ba83d] 1-11
 Thread 0x33bd8            Thread name "JS Helper"   11 samples (1-11)         priority 31 (base 31)
 <process frontmost, thread QoS default (requested default), process unclamped, process received importance donation from WindowServer [145], IO tier 0>
 11  ??? (<F3957694-474C-3AC7-A342-AC6BA2361834> + 52892049) [0x104bba191] 1-11
   11  __psynch_cvwait + 10 (libsystem_kernel.dylib + 105458) [0x7fffb6582bf2] 1-11
    *11  psynch_cvcontinue + 0 (pthread + 38973) [0xffffff7f810ba83d] 1-11
more options

Thanks Wayne

Yes, TB truly hangs, as shown in "the not responding report" I sent previously. It is not a "Shutdown Hang" as defined in the link you sent.

This is its 'ps -ale' entry:

 UID   PID  PPID        F CPU PRI NI       SZ    RSS WCHAN     S             ADDR TTY           TIME CMD
 502   469     1     4084   0  54  0  4917056 642612 -      S                   0 ??        23:15.95 /Applications/Thunderbird.app/Contents/MacOS/thunderbird

How do I run "debug Thunderbird"? Which of these should I use: Thunderbird 3.1.x (built from the comm-1.9.2 branch): http://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/latest-comm-1.9.2/ Thunderbird trunk (3.3.x, built from the comm-central branch): http://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/latest-comm-central/

more options

Hi, I was wondering if someone got a chance to review the trace I posted and have any theory? If that is helpful in troubleshooting, it seems to happen to me when I click on a new message to read while (or quickly after) an email is being sent via SMTP.

more options

arthur.p.goldberg said

Thanks Wayne Yes, TB truly hangs, as shown in "the not responding report" I sent previously. It is not a "Shutdown Hang" as defined in the link you sent. This is its 'ps -ale' entry: UID PID PPID F CPU PRI NI SZ RSS WCHAN S ADDR TTY TIME CMD 502 469 1 4084 0 54 0 4917056 642612 - S 0 ?? 23:15.95 /Applications/Thunderbird.app/Contents/MacOS/thunderbird How do I run "debug Thunderbird"? Which of these should I use: Thunderbird 3.1.x (built from the comm-1.9.2 branch): http://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/latest-comm-1.9.2/ Thunderbird trunk (3.3.x, built from the comm-central branch): http://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/latest-comm-central/

Could someone please help me with this? TB's hung 4 times in the last week. Tks Arthur

  1. 1
  2. 2