Thunderbird spins the CPU and hangs when I replace a misspelled word.

RESOLVED INCOMPLETE

Status

Thunderbird
Message Compose Window
--
critical
RESOLVED INCOMPLETE
6 years ago
6 years ago

People

(Reporter: stu, Unassigned)

Tracking

({hang, stackwanted})

9 Branch
x86_64
Linux
hang, stackwanted

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
User Agent: Mozilla/5.0 (Ubuntu; X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
Build ID: 20111228084940

Steps to reproduce:

I tried to send an email, when I hit ctrl-enter to send, the check spelling box comes up with the misspelled word. I hit enter to replace the word with the first suggestion


Actual results:

It hangs, and spins the cpu.

The message I entered was an HTML message, of the following text:
this is a test message with a misspelling. sometimes is does work and sometimesit does not. IU du



Expected results:

It should have gone to the next misspelled word and not hung. It seems to happen about every 3rd time I send an email with the spell checker catching something that I hit replace on.
(Reporter)

Comment 1

6 years ago
If you tell me how to attach the debugger to the process and do a stack trace I'll upload that if it will help.
(Reporter)

Comment 2

6 years ago
Created attachment 600447 [details]
stack trace of hang

okay so I figured it out myself.
There's no debugging info in the binary so I doubt this will help much, but maybe you guys can make use of it.

Updated

6 years ago
Keywords: hang

Comment 3

6 years ago
Wayne, any suggestion how to debug the spell checker? I've seen it hang only once on Windows 7 on a manually invoked spell check, without being able reproduce.

Comment 4

6 years ago
windbg with !analyze -v -hang  might be a start.
Severity: normal → critical

Comment 5

6 years ago
Err, stu uses Linux and hence GNU gdb (and I can't reproduce on Windows 7). Thus, a Linux debug build would be needed. Judging from the x86_64 tinderbox build log, it appears that those aren't debug builds either (ac_add_options --disable-debug).

Comment 6

6 years ago
do we have other debug builds, eg try?

Comment 7

6 years ago
If it's just a stack trace that's needed, one can send the thunderbird-bin process a SIGABRT (kill -6 <process-id>) and the crash reporter appears. This could be used to force a crash report and thus a stack trace as part of that report.

Comment 8

6 years ago
(that's for 11.0 beta 3 from the mozilla.org site, I don't know if this will work with a build from the Ubuntu repository...)
if you use the distro's build you can also install the debug package info from the distro and catch the stack.

If distro is nat what you want you can go with https://developer.mozilla.org/en/Using_the_Mozilla_symbol_server#Downloading_symbols_on_Linux_.2F_Mac_OS_X

Comment 10

6 years ago
similar to bug 722039?

Comment 11

6 years ago
stu ?

(In reply to Wayne Mery (:wsmwk) from comment #10)
> similar to bug 722039?
(Reporter)

Comment 12

6 years ago
Sorry I must have missed the email.
Doesn't sound like the same thing, mine didn't crash it just hung endlessly burning up cpu.

Alas, it hasn't happened to me since that series of occurrences.
So if you can't reproduce and neither can I you might as well close this and I'll open/create again if it happens again.

Sorry for the bother.

Comment 13

6 years ago
no problem. please reopen this one if you see again.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 6 years ago
Keywords: stackwanted
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.