Closed
Bug 812622
Opened 12 years ago
Closed 11 years ago
Reply-to-all with no text selected leads to assertion in debug builds
Categories
(MailNews Core :: Composition, defect)
MailNews Core
Composition
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 827061
People
(Reporter: Irving, Unassigned)
Details
(Keywords: assertion)
###!!! ASSERTION: Bad position passed to nsJISx4051LineBreaker::Next: 'aLen > aPos', file /Users/ireid/tbird/comm-central/mozilla/intl/lwbrk/src/nsJISx4501LineBreaker.cpp, line 785 The top of the call stack is: #0 0x000000010176c651 in nsJISx4051LineBreaker::Next at /Users/ireid/tbird/comm-central/mozilla/intl/lwbrk/src/nsJISx4501LineBreaker.cpp:785 #1 0x00000001036b9d9c in nsMsgComposeService::GetOrigWindowSelection(int, nsIMsgWindow*, nsACString_internal&) () #2 0x00000001036baba1 in nsMsgComposeService::OpenComposeWindow at /Users/ireid/tbird/comm-central/mailnews/compose/src/nsMsgComposeService.cpp:549 We try to get the selected text for the current message view; when no text is selected, we get a valid select object at around http://mxr.mozilla.org/comm-central/source/mailnews/compose/src/nsMsgComposeService.cpp#431 but then pass a zero-length string (and zero for length and position) to lineBreaker->Next() at http://mxr.mozilla.org/comm-central/source/mailnews/compose/src/nsMsgComposeService.cpp#454 The composer seems to do the right thing in the end, bringing up a compose window quoting the entire text of the replied-to message, but it would be better to do that without triggering an assertion failure.
Comment 1•11 years ago
|
||
Fixed by bug 827061 http://hg.mozilla.org/comm-central/rev/e63ea30fd18b
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•