Assertion using NS_ConvertUTF8toUCS2

RESOLVED WORKSFORME

Status

SeaMonkey
Location Bar
RESOLVED WORKSFORME
16 years ago
10 years ago

People

(Reporter: nhottanscp, Assigned: Joe Hewitt (gone))

Tracking

({intl})

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: waterson@netscape.com)

(Reporter)

Description

16 years ago
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
(Reporter)

Comment 1

16 years ago
This happens on the trunk. I think this started recently. I did not see this before.
Keywords: intl
Whiteboard: waterson@netscape.com
(Reporter)

Comment 2

16 years ago
###!!! 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

Comment 3

16 years ago
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

Comment 4

13 years ago
worksforme with linux seamonkey trunk build
Status: NEW → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → WORKSFORME
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.