Closed Bug 497894 Opened 15 years ago Closed 14 years ago

SeaMonkey crashes after deleting parts of the mail address in the To: field after autocomplete [@ nsAbQueryStringToExpression::ParseCondition][@ nsCharsetAlias2::GetPreferred(nsACString_internal const&, nsACString_internal&)]

Categories

(MailNews Core :: Address Book, defect)

x86
Windows XP
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 280232

People

(Reporter: mcsmurf, Unassigned)

References

Details

(Keywords: crash, topcrash, Whiteboard: [dupe of 280232][possible STR])

Crash Data

Attachments

(1 file)

To reproduce:
1. Create a new contact in the address book, the display name needs to be something like "Test 'test' test", the mail address does not seem to matter. The important part seem to be the '...' inside the display name.
2. Compose a new mail
3. Type "Test" in the To: field and watch it autocompleting
4. Press the right cursor key once to get to the end of the text field and now press the backspace key a few times to delete the last few letters in the text field

Results:
It crashes.

Reproduced this with a SeaMonkey 1.9.1/comm-central build, the crasher has also been reproduced with a Thunderbird 3.0b3pre build, see http://crash-stats.mozilla.com/report/index/f8e7fe12-60d2-4e2c-a891-0fcf72090408 for a stack trace. The crash itself is a stack overflow, so that stack is wrong in Frame 0,1,2,3 as far as I can tell.
Attached file Stack trace
This is a stack trace I got with my SeaMonkey debug build, cut off of course.
#6 topcrash for 3.0b3

"When I use backspace to delete a mail address in address field in a write new message window, Thunderbird crashes."
Flags: blocking-thunderbird3?
Keywords: topcrash
Summary: SeaMonkey crashes after deleting parts of the mail address in the To: field after autocomplete [@ nsAbQueryStringToExpression::ParseCondition][@ nsCharsetAlias2::GetPreferred] → SeaMonkey crashes after deleting parts of the mail address in the To: field after autocomplete [@ nsAbQueryStringToExpression::ParseCondition][@ nsCharsetAlias2::GetPreferred(nsACString_internal const&, nsACString_internal&)]
Not blocking on this because it is actually a duplicate of bug 280232.

Frank, seeing as you think you have STR, could you try this again on the latest builds and see if you hit the NS_ERROR line in nsAbMDBDirectory that says:

"Attempting to search a directory within a search"

?

I couldn't reproduce this with a quick test on my debug build - but although we worked around it in bug 280232 I'd still be interested in STR for how it actually gets into the loop state.

Leaving open until Frank confirms if he can reproduce or not (if not please close as dupe of bug 280232).
Depends on: 280232
Flags: blocking-thunderbird3? → blocking-thunderbird3-
Whiteboard: [dupe of 280232][possible STR]
Crash seems to be gone.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Crash Signature: [@ nsAbQueryStringToExpression::ParseCondition] [@ nsCharsetAlias2::GetPreferred(nsACString_internal const&, nsACString_internal&)]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: