Closed Bug 124276 Opened 24 years ago Closed 9 months ago

"\"Frédéric\" <fb@rz-online.de>" causes assertion "not a UTF8 string" when quick searching in npm.performance with debug build

Categories

(MailNews Core :: MIME, defect)

x86
FreeBSD
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: timeless, Unassigned)

References

Details

(Keywords: assertion)

Attachments

(1 file)

npm.perf, enter '%' in quick search. I'll try to attach some stacks.
Attached file stacks
Un-obscuring summary.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: "\"Frédéric\" <fb@rz-online.de>" in npm.performance causes Assertion calculator calculated incorrect length; ASSERTION: not a UTF8 string: 'Error' → Assertion when searching for "\"Frédéric\" <fb@rz-online.de>" in npm.performance
I was not searching for that string, I was searching for *any* string.
Keywords: assertion
Summary: Assertion when searching for "\"Frédéric\" <fb@rz-online.de>" in npm.performance → "\"Frédéric\" <fb@rz-online.de>" causes "not a UTF8 string" when quick searching in npm.performance
The fix for bug 134277 will prevent to show \" in email address, maybe that will avoid the current problem.
Status: NEW → ASSIGNED
Depends on: 134277
Target Milestone: --- → mozilla1.1alpha
Reporter, can you still reproduce with newest build?
mine@despammed.com: hello, welcome to bugzilla. notice the keyword "assertion", this means you need a debug build. i don't have a debug build of mailnews. so, no i can't. but that doesn't mean the bug went away. it just means i'm busy doing 800 other things. as for ducarroz's comment, i'm fairly certain he's wrong. the interesting characters are almost certainly the accented e's.
I moved the assertion to nsMsgHeaderParser::ParseHeaderAddresses. Anyway, we still assert there and in several other methods of nsMsgHeaderParser. We have to decider whether it's correct to assert there. It seems like it's not.
Product: MailNews → Core
Assignee: ducarroz → nobody
Status: ASSIGNED → NEW
QA Contact: esther → mime
Product: Core → MailNews Core
still having issue using latest TB or trunk?
Whiteboard: closeme 2008-09-29
(In reply to comment #8) > still having issue using latest TB or trunk? See comment 6, this needs someone with a debug build to check it before closing.
Whiteboard: closeme 2008-09-29
Severity: normal → S3

Hartmut, would you be able to test with a debug build?

Flags: needinfo?(h.w.forms)
Summary: "\"Frédéric\" <fb@rz-online.de>" causes "not a UTF8 string" when quick searching in npm.performance → "\"Frédéric\" <fb@rz-online.de>" causes assertion "not a UTF8 string" when quick searching in npm.performance with debug build
Target Milestone: mozilla1.1alpha → ---

These assertions have been removed long ago in bug 253936, furthermore, the C++ header parser code doesn't exist anymore for quite some time.

Status: NEW → RESOLVED
Closed: 9 months ago
Depends on: 253936
Flags: needinfo?(h.w.forms)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: