Closed
Bug 486924
Opened 16 years ago
Closed 16 years ago
Crash due to too much recursion through PresShell::ProcessReflowCommands
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: florian, Unassigned)
References
Details
(Keywords: crash, regression)
Attachments
(1 file)
|
60.09 KB,
text/plain
|
Details |
See attached stack.
I think this crash happens when my JS code adds hundreds of items to a listbox.
I don't know the exact regression range. The first time I noticed it was with a build built 2 days ago, so I guess it's somewhere between 2 days and a week.
I also noticed that some listbox items are not visible. For example, I have 7 profiles and the profile manager displays only 4 of them, however the scroll bar is displayed with the right size (the scrollheight is big enough to display the 7 items).
Comment 1•16 years ago
|
||
This is basically a dupe of bug 486848, only there was no mention of a crash. I'll mark as dependent for now.
Depends on: 486848
Comment 2•16 years ago
|
||
Hmm. It's not clear to me that this is a dup of bug 486848. This bug is an infinite recursion causing stack overflow (so the signature in the summary is pointless).
The issue in bug 486848 _may_ cause that. But I don't see why, and we should be guarding against this in any case. So no matter what happens with this bug, we'll want a separate fix here, imo.
Comment 3•16 years ago
|
||
In any case, this bug needs a testcase; per comment 0 there's one around _somewhere_.
| Reporter | ||
Comment 4•16 years ago
|
||
I just tried to rebuild with the patch attached to bug 486848 and both the issue with the profile manager and the crash disapeared.
| Reporter | ||
Comment 5•16 years ago
|
||
(In reply to comment #3)
> In any case, this bug needs a testcase; per comment 0 there's one around
> _somewhere_.
The crash happens with the last two Mac (haven't tested the other OSes) nightlies of Instantbird when I join #developers, while the code populates the list of people in the chat room.
I'm not sure how easy or hard it would be to produce a reduced testcase. I suspect the crash depends on the nicknames of people in the room because I joined other chat rooms with as many people and didn't crash there.
Comment 6•16 years ago
|
||
Florian: Did the patch in bug 486848 fix this or is it still happening?
Keywords: testcase-wanted
| Reporter | ||
Comment 7•16 years ago
|
||
The patch of bug 486848 made the crash disappear so I'm tempted to say this bug is fixed, but comment 2 suggests that there is probably something more to do/fix here.
Comment 8•16 years ago
|
||
bz, please file a new bug based on the issue you identified in comment 2.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Summary: Crash [@ nsRegion::SubRect] → Crash due to too much recursion through PresShell::ProcessReflowCommands
Comment 9•16 years ago
|
||
I can't recall what that issue was now, honestly....
Updated•10 years ago
|
Keywords: testcase-wanted
You need to log in
before you can comment on or make changes to this bug.
Description
•