Closed Bug 244504 Opened 22 years ago Closed 21 years ago

Certain Arabic Character sequence causes X11Crash / Browser Hang

Categories

(Core :: Layout: Text and Fonts, defect)

x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: m_alsebaeyie, Assigned: mkaply)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a1) Gecko/20040520 On writing text in a simple input text box writing 2 consequetive LamAlef characters or with a short distance apart causes the following: -In Mozilla 1.7b/1.8a/ Nightly Build The browser stops responding for 30 seconds the first time the sequence is encountered. It resumes working normally afterwards and if the sequence is encountered again it responds normally -In Mozilla 1.6, X11 Crashes completely... This Occurs on All Our Machines (30+) with different hardware configuration, They All Have Linux Redhat 9 installed... I tried the same sequence on Windows 2000 Professional SP4 with the same versions and the problem doesn't occur. Reproducible: Always Steps to Reproduce: 1.Open Mozilla on linux 2.Open an Html page with a simple input: <body> <INPUT type="text"> </body> 3. Use this textbox to enter any of the following sequences: &#1575;&#1604;&#1575;&#1587;&#1604;&#1575;&#1605; &#1589;&#1604;&#1575;&#1581; &#1588;&#1593;&#1604;&#1575;&#1606; &#1604;&#1575;&#1604;&#1575; Actual Results: &#1616;As I said, On 1.7b/1.8a/Nightly, Mozilla stopped responding for about 30 secs the first time the sequence is entered, working normally afterwards. If I close and reopen the browser, the problem occurs again... Expected Results: this sequences should not cause crash/irresponsivenesss
Arabic Charachters didn't display correctly in my steps to reproduce, Simply Type 2 consquetive LamAlef (Lam then Alef then Lam then Alef) charachters in step 3...
can you attach a testcase (given it can crash when the characters are already in the input box) ? I don't have any arabic knowledge and am not sure how to get these characters on an english Linux box.
Ok, unfortunately, a textbox with the value already set to the sequence doesn't cause the problem (I guess it's the input), so an HTML file will not help If this helps, Here is a UTF-8 Text File, copying and Pasting from it into the input box causes the problem (I tried it)
Attachment #149203 - Attachment mime type: text/plain → text/plain; charset="UTF-8"
Attachment #149203 - Attachment mime type: text/plain; charset="UTF-8" → text/plain; charset=UTF-8
This Week, We tried to recreate the bug on a Linux Mandrake 10 box, It didn't occur on all mozilla versions, so I guess this is either X11 Version or Redhat problem. Mandrake 10 Versions Kernel = 2.6.3-7mdk XFree86 version = 4.3.0.1 Redhat 9 Versions (where the problem occured) Kernel = 2.4.20-8 XFree86 version = 4.3.0 (Red Hat Linux release: 4.3.0-2)
Muhammad Alsebaeyie: Regarding you last comment, should we close this bug as WORKSFORME?
Ok I guess, We have since tried this on Debian also and it didn't happen again...
Marking WFM. Thanx for info!
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
Component: Layout: BiDi Hebrew & Arabic → Layout: Text
QA Contact: zach → layout.fonts-and-text
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: