Ticket #297 (new Bug)

Opened 5 years ago

Last modified 5 years ago

Crash while editing text in draft

Reported by: TripleF Owned by: Cyrus Daboo
Priority: major Milestone: unassigned
Component: Application Version: v4.0.8
Severity: Crash/data loss Keywords:
Cc: ego@… Operating System: Mac OS X
OS Version: 10.4.11

Description

While editing text in a new draft window, Mulberry crashed with the following trace (full crashlog attached):

0   com.mulberrymail.mulberry      	0x005a0718 std::vector<unsigned long, std::allocator<unsigned long> >::_M_fill_insert(__gnu_cxx::__normal_iterator<unsigned long*, std::vector<unsigned long, std::allocator<unsigned long> > >, unsigned long, unsigned long const&) + 216
1   com.mulberrymail.mulberry      	0x0023c6bc CTextWidget::InsertTextAndStyles(unsigned short const*, unsigned long, char**, unsigned long) + 1020
2   com.mulberrymail.mulberry      	0x0023cf64 CTextWidget::InsertTextAndStyles(unsigned short const*, unsigned long, char**, bool) + 188
3   com.mulberrymail.mulberry      	0x0023dac0 CTextWidget::HandleKeyPress(EventRecord const&) + 1368
4   com.mulberrymail.mulberry      	0x00247590 CTextDisplay::HandleKeyPress(EventRecord const&) + 684
5   com.mulberrymail.mulberry      	0x002382d8 CTextWidget::HandleKeyEvent(OpaqueEventHandlerCallRef*, OpaqueEventRef*) + 420
6   com.mulberrymail.mulberry      	0x0023dbac CTextWidgetEventHandler::HandleEvent(OpaqueEventHandlerCallRef*, OpaqueEventRef*) + 164
7   com.mulberrymail.mulberry      	0x00005660 LEventHandler::EventHandlerCallback(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 56

Before crashing, Mulberry was hanging for maybe a minute (sample attached) and then returned, at which point I edited the text again and it crashed.

It is reproducible with the following text:

Rxxx xxxxxx xxxx xxx xxxxxx xxxxxx PxxxxBxxxx xxxxxxxxxxxx xxxx. Mxx xxx xxxxxx Wxxxx xxxxx (1.25GHx, xxxx xxx xx-Zxxxxx) xxxxxx xx Bxxxxxx xxxxxxxxxx xxx xäxxx xxxx xxx xxxxx xxxx xxxxxxx... Wxxx xxx Lxxxx Bxxxx, xxxx xxx Fxxx xüx'x Axxxxxxxx. Dxxxxxxx xxxxxx xxx xxxxxx xx xxx xxxx xxx Axxxxxxxxxxxxx xüx xxxxxx Zxxx xxxxxxxxx xöxxxxx xxxxx xxx xx Lxxxx xxxxxxxxxxxx. Mxxxx Axxxxüxxx xxx Axxxxx Sxxxxxxxx xxxxx xxxx xxxx xxxxx xxxxx xxxx xxx xxxxx MxxBxxx Pxx üxxxxxxxx, xxxxxxxx xäxx xxx xxx xxxxx PxxxxBxxx xxx xxxxxxx, xxxxx xxx xxxxx xxxxx xxxxxx xxxx.

Axxxxxxxx xxx xxxx Fxxxx-Nxxx xx xxxxx Küxxx: x.Z. xxxxx xxx Kxxxx xxxxx xxx Pxxxxxxxxxxx xxx. xüx xxxx xxx xxxxx xäxxxxx Wxxxx xxx xxx xxx xxx Mxxxxxxxxx xxxx Fxxxxxxxx xx xxx xxxxx Sxxxx xxxxx. Bxx xxx xxxxxxxx xxx xxx xxxxxxx. Axx xx, xxx xxx xxxx Wxxxxx xxx xxxxx Fxxxxxxx xxx Sxx Fxxxxxxxx xxxx xxx Ax-Pxxx xxxxxxxxxx. Sxx xxx xxxxx xxxxxxxxxxxx Müxxxxxx Büxxxxxx, Bxxxxxxx xxxx xxxxßxx xxüxx. Ixx xxxxx xxx xxxx xxx xxx xxxx xxx xxxxxxxxxx.

Place the line before the word "Bxxxxxxx" in the second-to-last sentence of the last paragraph and hit backspace and it should either hang or crash.

Attachments

crashlog.txt (28.3 KB) - added by TripleF 5 years ago.
Crash Log
mulberrysample.txt (13.1 KB) - added by TripleF 5 years ago.
Sample while Hanging

Change History

Changed 5 years ago by TripleF

Crash Log

Changed 5 years ago by TripleF

Sample while Hanging

comment:1 Changed 5 years ago by TripleF

  • Cc ego@… added

comment:2 Changed 5 years ago by TripleF

"Place the line before the word "Bxxxxxxx"" should read "Place the cursor before the word "Bxxxxxxx"".

Also, you of course need to paste the sample text in a draft window beforehand.

Note: See TracTickets for help on using tickets.