Closed Bug 148217 Opened 23 years ago Closed 19 years ago

Assertion using NS_ConvertUTF8toUCS2

Categories

(SeaMonkey :: Location Bar, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: nhottanscp, Assigned: hewitt)

Details

(Keywords: intl, Whiteboard: waterson@netscape.com)

I am getting assersions when I type non ASCII to URL bar. E.g. when I type 'á' then get the assertion (see the call stack below). This is annoying, please fix soon. NTDLL! 77f9eea9() nsDebug::Assertion(const char * 0x1011a5d4 `string', const char * 0x10129c04, const char * 0x1012854c `string', int 1309) line 274 + 13 bytes nsDebug::Error(const char * 0x1011a5d4 `string', const char * 0x1012854c `string', int 1309) line 453 + 22 bytes CalculateUTF8Length::write(const char * 0x0012e3a4, unsigned int 14) line 1309 + 20 bytes nsCharSinkTraits<CalculateUTF8Length>::write(CalculateUTF8Length & {...}, const char * 0x0012e3a4, unsigned int 14) line 571 copy_string(nsReadingIterator<char> & {...}, const nsReadingIterator<char> & {...}, CalculateUTF8Length & {...}) line 90 + 39 bytes NS_ConvertUTF8toUCS2::Init(const nsACString & {...}) line 1330 + 35 bytes NS_ConvertUTF8toUCS2::NS_ConvertUTF8toUCS2(const nsACString & {...}) line 558 nsGlobalHistory::AutoCompleteEnumerator::IsResult(nsIMdbRow * 0x0346170c) line 3856
This happens on the trunk. I think this started recently. I did not see this before.
Keywords: intl
Whiteboard: waterson@netscape.com
###!!! ASSERTION: Input wasn't UTF8 or incorrect length was calculated: 'Error', file d:\build\mozilla\string\obsolete\nsString2.cpp, line 1344 Break: at file d:\build\mozilla\string\obsolete\nsString2.cpp, line 1344
The assertion is there for a reason, the string code is fine. -> url bar
Assignee: jaggernaut → hewitt
Component: String → URL Bar
QA Contact: scc → claudius
worksforme with linux seamonkey trunk build
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.