Open Bug 1257681 Opened 8 years ago Updated 8 years ago

Assertion failure: doneChecking (We gave the spellchecker one word, but it didn't finish checking?!?!), at /var/tmp/portage/www-client/seamonkey-2.39/work/seamonkey-2.39/mozilla/extensions/spellcheck/src/mozInlineSpellChecker.cpp:1384

Categories

(SeaMonkey :: General, defect)

SeaMonkey 2.39 Branch
defect
Not set
normal

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: mmokrejs, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39
Build ID: 20151103174305

Steps to reproduce:

While doing Reply to an email the reply mailer window is rendered with the text to be replied to with '>' already inserted. However, text cursor is shown at teh very last line (actually there should be my .signature added to it and that is maybe the reason why the cursor is at the end and what causes the crash?) ...

Anyway, mailer crashes with:




Actual results:

--DOMWINDOW == 27 (0x7fb19260ec00) [pid = 32498] [serial = 17] [outer = (nil)] [url = chrome://global/content/commonDialog.xul]
--DOMWINDOW == 26 (0x7fb194c4ac00) [pid = 32498] [serial = 19] [outer = (nil)] [url = chrome://global/content/commonDialog.xul]
Assertion failure: doneChecking (We gave the spellchecker one word, but it didn't finish checking?!?!), at /var/tmp/portage/www-client/seamonkey-2.39/work/seamonkey-2.39/mozilla/extensions/spellcheck/src/mozInlineSpellChecker.cpp:1384
#01: ???[/var/tmp/portage/www-client/seamonkey-2.39/work/seamonkey-2.39/seamonk/dist/seamonkey/libxul.so +0x51b8daa]
#02: ???[/var/tmp/portage/www-client/seamonkey-2.39/work/seamonkey-2.39/seamonk/dist/seamonkey/libxul.so +0x51b9c82]
#03: ???[/var/tmp/portage/www-client/seamonkey-2.39/work/seamonkey-2.39/seamonk/dist/seamonkey/libxul.so +0x51bbb7b]
#04: ???[/var/tmp/portage/www-client/seamonkey-2.39/work/seamonkey-2.39/seamonk/dist/seamonkey/libxul.so +0x12cf51e]
#05: ???[/var/tmp/portage/www-client/seamonkey-2.39/work/seamonkey-2.39/seamonk/dist/seamonkey/libxul.so +0x132dc17]
#06: ???[/var/tmp/portage/www-client/seamonkey-2.39/work/seamonkey-2.39/seamonk/dist/seamonkey/libxul.so +0x1805490]
#07: ???[/var/tmp/portage/www-client/seamonkey-2.39/work/seamonkey-2.39/seamonk/dist/seamonkey/libxul.so +0x1788d66]
#08: ???[/var/tmp/portage/www-client/seamonkey-2.39/work/seamonkey-2.39/seamonk/dist/seamonkey/libxul.so +0x1788cea]
#09: ???[/var/tmp/portage/www-client/seamonkey-2.39/work/seamonkey-2.39/seamonk/dist/seamonkey/libxul.so +0x1788c42]
#10: ???[/var/tmp/portage/www-client/seamonkey-2.39/work/seamonkey-2.39/seamonk/dist/seamonkey/libxul.so +0x45a2c1a]
#11: ???[/var/tmp/portage/www-client/seamonkey-2.39/work/seamonkey-2.39/seamonk/dist/seamonkey/libxul.so +0x543b6a3]
#12: ???[/var/tmp/portage/www-client/seamonkey-2.39/work/seamonkey-2.39/seamonk/dist/seamonkey/libxul.so +0x54e14b6]
#13: ???[/var/tmp/portage/www-client/seamonkey-2.39/work/seamonkey-2.39/seamonk/dist/seamonkey/libxul.so +0x54e1879]
#14: XRE_main[/var/tmp/portage/www-client/seamonkey-2.39/work/seamonkey-2.39/seamonk/dist/seamonkey/libxul.so +0x54e1b45]
#15: ???[/var/tmp/portage/www-client/seamonkey-2.39/work/seamonkey-2.39/seamonk/dist/seamonkey/seamonkey +0x5e3c]
#16: ???[/var/tmp/portage/www-client/seamonkey-2.39/work/seamonkey-2.39/seamonk/dist/seamonkey/seamonkey +0x6248]
#17: __libc_start_main[/lib64/libc.so.6 +0x20850]
#18: _start[/var/tmp/portage/www-client/seamonkey-2.39/work/seamonkey-2.39/seamonk/dist/seamonkey/seamonkey +0x56d9]
#19: ??? (???:???)

Program /var/tmp/portage/www-client/seamonkey-2.39/work/seamonkey-2.39/seamonk/dist/seamonkey/seamonkey (pid = 32498) received signal 11.
CC Jorg do you know how the spelling checker works?
Flags: needinfo?(mozilla)
Hmm, yes, I know various aspects of it, but mainly the code in editor/composer.

I've dug around with the code in extensions/spellcheck as well, but I don't know why this would fail:

    rv = DoSpellCheck(aWordUtil, aSpellCheckSelection, &status,
                      &doneChecking);
    NS_ENSURE_SUCCESS(rv, rv);
    MOZ_ASSERT(doneChecking,
               "We gave the spellchecker one word, but it didn't finish checking?!?!");

You'd have to step through it and see what happens.
Flags: needinfo?(mozilla)
Attached file 2.40 gdb stacktrace
Hi Jorg,
  the crash just happened now with seamonkey-2.40. I attach gdb stacktrace (resolved) and the output from STDOUT/STDERR as well. The automatic stacktrace resolution does not work for me, probably because debug symbols are detached from binaries (using splitdebug FEATURE of Gentoo Linux). But, gdb can see the symbols, so the attached file is OK.

Assertion failure: doneChecking (We gave the spellchecker one word, but it didn't finish checking?!?!), at /scratch/var/tmp/portage/www-client/seamonkey-2.40-r1/work/seamonkey-2.40/mozilla/extensions/spellcheck/src/mozInlineSpellChecker.cpp:1390
#01: ???[/usr/lib64/seamonkey/libxul.so +0x5294180]
#02: ???[/usr/lib64/seamonkey/libxul.so +0x529504e]
#03: ???[/usr/lib64/seamonkey/libxul.so +0x5296fe7]
#04: ???[/usr/lib64/seamonkey/libxul.so +0x12f3f77]
#05: ???[/usr/lib64/seamonkey/libxul.so +0x1359317]
#06: ???[/usr/lib64/seamonkey/libxul.so +0x1841b5a]
#07: ???[/usr/lib64/seamonkey/libxul.so +0x17c5a94]
#08: ???[/usr/lib64/seamonkey/libxul.so +0x17c5a18]
#09: ???[/usr/lib64/seamonkey/libxul.so +0x17c5970]
#10: ???[/usr/lib64/seamonkey/libxul.so +0x465f3c0]
#11: ???[/usr/lib64/seamonkey/libxul.so +0x5516d8d]
#12: ???[/usr/lib64/seamonkey/libxul.so +0x55cb346]
#13: ???[/usr/lib64/seamonkey/libxul.so +0x55cb709]
#14: XRE_main[/usr/lib64/seamonkey/libxul.so +0x55cb9d5]
#15: ???[/usr/bin/seamonkey +0x590c]
#16: ???[/usr/bin/seamonkey +0x5d18]
#17: __libc_start_main[/lib64/libc.so.6 +0x207b0]
#18: _start[/usr/bin/seamonkey +0x51a9]
#19: ??? (???:???)

Program /usr/bin/seamonkey (pid = 18576) received signal 11.
Stack:
#01: ???[/usr/lib64/seamonkey/libxul.so +0x5d666e0]
#02: ???[/lib64/libpthread.so.0 +0x10e20]
#03: ???[/usr/lib64/seamonkey/libxul.so +0x5294185]
#04: ???[/usr/lib64/seamonkey/libxul.so +0x529504e]
#05: ???[/usr/lib64/seamonkey/libxul.so +0x5296fe7]
#06: ???[/usr/lib64/seamonkey/libxul.so +0x12f3f77]
#07: ???[/usr/lib64/seamonkey/libxul.so +0x1359317]
#08: ???[/usr/lib64/seamonkey/libxul.so +0x1841b5a]
#09: ???[/usr/lib64/seamonkey/libxul.so +0x17c5a94]
#10: ???[/usr/lib64/seamonkey/libxul.so +0x17c5a18]
#11: ???[/usr/lib64/seamonkey/libxul.so +0x17c5970]
#12: ???[/usr/lib64/seamonkey/libxul.so +0x465f3c0]
#13: ???[/usr/lib64/seamonkey/libxul.so +0x5516d8d]
#14: ???[/usr/lib64/seamonkey/libxul.so +0x55cb346]
#15: ???[/usr/lib64/seamonkey/libxul.so +0x55cb709]
#16: XRE_main[/usr/lib64/seamonkey/libxul.so +0x55cb9d5]
#17: ???[/usr/bin/seamonkey +0x590c]
#18: ???[/usr/bin/seamonkey +0x5d18]
#19: __libc_start_main[/lib64/libc.so.6 +0x207b0]
#20: _start[/usr/bin/seamonkey +0x51a9]
#21: ??? (???:???)
Sleeping for 300 seconds.
Type 'gdb /usr/bin/seamonkey 18576' to attach your debugger to this thread.



I am clueless in the code, would you mind sending me the gdb commands you want me to run? I will keep the gdb session opened overnight. Just in case you had time to dig into this. Thank you.
I'm not a Linux man, so I can't guide you in gdb. I might take a look at your attachment later.
I do not even know what variables to look for, which function is relevant here, and the commands I tried are a blind shot. Thank you.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: