Closed Bug 195104 Opened 22 years ago Closed 16 years ago

Crash if I try to select a large amount of (quoted) text using the keyboard


(MailNews Core :: Composition, defect)

Not set


(Not tracked)



(Reporter: mozilla, Assigned: Bienvenu)



(Keywords: crash)


(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.3b) Gecko/20030211
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.3b) Gecko/20030211

I have a message with a 134K text file attached, so it is automatically
displayed inline. I hit Reply & the Compose window appears with the entire text
file quoted inline and the cursor ready below all this text. I want to delete
most of the quoted text so I hold down shift & keep hitting pgup to select a
large portion of the text. After I have hit pgup the 14th time, Mozilla crashes. 

Reproducible: Always

Steps to Reproduce:
1. Send yourself a message with a large (>130K) text file attached.
2. Ensure that your MailNews settings will automatically quote the contents of
this text file inline when you reply & place the cursor below the quoted text.
3. Select the message & hit Reply.
4. Hold down shift & keep hitting pgup, trying to select all but the 1st
paragraph of the quoted text.

Actual Results:  
After hitting pgup several (in my case, 14) times, Mozilla should crash. 

Expected Results:  
Mozilla should let me select as much text as I want.
Can you please add a Talkback ID from that crash ?
There is no talkback build available for Mozilla 1.3b on Redhat 8.0 so I cannot
do this :-(
worksforme with linux trunk 20030226.  are you using an XFT/gtk2 RPM?
Keywords: crash
Yes (GTK2).
ok, can you attach a stacktrace for the crash from gdb?
No, I cannot because I do not know how to do this. 
I tried: `gdb mozilla` but gdb said that it was not a binary.
I also tried `gdb /usr/lib/mozilla-1.3b/mozilla-bin` but it complained that it
couldn't find & refused to run. 

Any suggestions?
% mozilla &
[mozilla starts up]
% gdb _pid_of_mozilla_
(gdb) b exit
(gdb) b abort
(gdb) cont
[make mozilla crash]
(gdb) bt
BTW, when invoking gdb, it is vital to specify the location ofthe binary as
well, not just the pid.
Blocks: xft_tracking
Can you try to get that stack trace while running the browser with the --sync
flag?  That might give a better location for the actual crash.
Blocks: gtk2
No longer blocks: xft_tracking
I'm getting a crash or wild behaviour from Mozilla Mail when I try to hit return
in the middle of quoted text (to start a fresh line for my reply to that text).

This has only happened since I downloaded 1.8a2. 1.8a was fine.

(WinXP, Mozilla build ID: 2004052407)
the crash has been fixed in today's build - now it just doesn't insert a new
blank line :-(
Assignee: ducarroz → bienvenu
Ever confirmed: true
Product: MailNews → Core
WFM per comment 11.
Closed: 16 years ago
Resolution: --- → WORKSFORME
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.