Closed Bug 41685 Opened 25 years ago Closed 24 years ago

[BiDi] Infinite loop in compose new message

Categories

(SeaMonkey :: MailNews: Message Display, defect, P3)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME
Future

People

(Reporter: franck, Assigned: mkaply)

Details

(Keywords: crash)

When the pref user_pref("browser.display.direction", 1) is set in the prefs.js, the Compose New message window does an infinite loop (and crashes on Linux). Everything is OK when user_pref("browser.display.direction", 0) is set. This can be seen on Solaris and Linux platforms for M16 version.
What does this browser preference do? What is the default setting for this preference?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: crash
OS: Solaris → Linux
Hardware: Sun → PC
reassigning to ducarroz.
Assignee: putterman → ducarroz
This preference is set to 1 for BIDI and Right-To-Left languages support (such as Arabic, Hebrew...). However the default setting is 0.
do you have a stack trace?
Target Milestone: --- → M17
When user_pref("browser.display.direction", 1) is set and you run ./mozilla -mail the mail interface comes up in RTL mode (which is correct), but when you click on the "New Msg" button, the following trace appears: .... nsWidget::~nsWidget() of toplevel: 16 widgets still exist. ComposeMessage folder=null ComposeMessage from XUL: null WEBSHELL+ = 5 WEBSHELL+ = 6 [@0x8d1dd7c] RootBox(-1) ###!!! ASSERTION: Infinite loop! Someone won't stop growing!!: 'passes < 10', file nsStackLayout.cpp, line 261 ###!!! Break: at file nsStackLayout.cpp, line 261 [@0x8d1dd7c] RootBox(-1) ###!!! ASSERTION: Infinite loop! Someone won't stop growing!!: 'passes < 10', file nsStackLayout.cpp, line 261 ###!!! Break: at file nsStackLayout.cpp, line 261 [@0x8d1dd7c] RootBox(-1) ###!!! ASSERTION: Infinite loop! Someone won't stop growing!!: 'passes < 10', file nsStackLayout.cpp, line 261 ###!!! Break: at file nsStackLayout.cpp, line 261 [@0x8d1dd7c] RootBox(-1) ###!!! ASSERTION: Infinite loop! Someone won't stop growing!!: 'passes < 10', file nsStackLayout.cpp, line 261 .....
cc'ing ftang on the bug. Frank, does this need to be fixed for rtm. Are we supporting any of the languages that require the pref to be set to 1?
Frank, do you know the answer to my previous question. We're trying to decide whether or not to future this bug.
moving to future milestone. ftang this is incorrect, please reopen.
Target Milestone: M17 → Future
Status: NEW → ASSIGNED
I don't understand that code enough to know what the problem is. But I really think that this case should be investigated more..
Frank or Naoki, do we have plans to support BIDI in the near future and if so, does this bug still occur?
I'm going to take ownership of this since it is a Bidi problem and I will check it against the current Bidi builds.
Assignee: ducarroz → mkaply
Status: ASSIGNED → NEW
changing QA to andreasb until we have someone in charge of bidi testing
QA Contact: lchiang → andreasb
Summary: Infinite loop in compose new message → [BiDi] Infinite loop in compose new message
I have removed browser.display.direction now that the official bidi is in and on, and as a result, this bug is no longer happening You can experiment with these prefs: // ------------------ // Text Direction // ------------------ // 1 = directionLTRBidi * // 2 = directionRTLBidi pref("bidi.direction", 1); Do get some of this functionality now. UI is being worked on.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
Changing QA contact to mahar@eg.ibm.com.
QA Contact: andreasb → mahar
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.