Closed Bug 486924 Opened 15 years ago Closed 15 years ago

Crash due to too much recursion through PresShell::ProcessReflowCommands

Categories

(Core :: Layout, defect)

x86
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: florian, Unassigned)

References

Details

(Keywords: crash, regression)

Attachments

(1 file)

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).
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
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.
In any case, this bug needs a testcase; per comment 0 there's one around _somewhere_.
I just tried to rebuild with the patch attached to bug 486848 and both the issue with the profile manager and the crash disapeared.
(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.
Florian: Did the patch in bug 486848 fix this or is it still happening?
Keywords: testcase-wanted
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.
bz, please file a new bug based on the issue you identified in comment 2.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Summary: Crash [@ nsRegion::SubRect] → Crash due to too much recursion through PresShell::ProcessReflowCommands
I can't recall what that issue was now, honestly....
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: