Closed
Bug 1461124
Opened 8 years ago
Closed 1 year ago
Crash in nsLineBreaker::FlushCurrentWord via nsTextFrame::ReflowText replying to email, infinite recursion in block/inline reflow
Categories
(Core :: Layout: Text and Fonts, defect, P3)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: wsmwk, Unassigned)
References
()
Details
(Keywords: crash, Whiteboard: [tbird crash])
Crash Data
#45 crash for 52.7.0. According to stats, users on average crash twice
The typical bug comment is "replying to mail"
This bug was filed from the Socorro interface and is
report bp-17b83321-d1b9-4e2b-9572-c20360180425. (fpd)
=============================================================
Top 10 frames of crashing thread:
0 xul.dll nsLineBreaker::FlushCurrentWord dom/base/nsLineBreaker.cpp:60
1 xul.dll nsLineBreaker::AppendText dom/base/nsLineBreaker.cpp:366
2 xul.dll BuildTextRunsScanner::SetupBreakSinksForTextRun layout/generic/nsTextFrame.cpp:2617
3 xul.dll BuildTextRunsScanner::BuildTextRunForFrames layout/generic/nsTextFrame.cpp:2391
4 xul.dll BuildTextRunsScanner::FlushFrames layout/generic/nsTextFrame.cpp:1629
5 xul.dll BuildTextRunsScanner::ScanFrame layout/generic/nsTextFrame.cpp:1903
6 xul.dll BuildTextRunsScanner::ScanFrame layout/generic/nsTextFrame.cpp:1913
7 xul.dll BuildTextRuns layout/generic/nsTextFrame.cpp:1530
8 xul.dll nsTextFrame::EnsureTextRun layout/generic/nsTextFrame.cpp:2832
9 xul.dll nsTextFrame::ReflowText layout/generic/nsTextFrame.cpp:9053
=============================================================
Comment 1•8 years ago
|
||
Firefox case is bp-0381d423-12c2-48ad-89ba-c29fb0180509. This is stack overflow by reflow.
Component: General → Layout: Text
Product: Thunderbird → Core
Comment 2•8 years ago
|
||
Note that this may not really be a text-specific problem; the root issue is infinite recursion in block/inline reflow, and it just happens that we're looking at a text frame when the stack runs out.
See also the discussion in bug 1403656, which may be the same underlying cause.
Priority: -- → P3
See Also: → 1403656
| Reporter | ||
Comment 3•7 years ago
|
||
(In reply to Jonathan Kew (:jfkthame) from comment #2)
> Note that this may not really be a text-specific problem; the root issue is
> infinite recursion in block/inline reflow, and it just happens that we're
> looking at a text frame when the stack runs out.
>
> See also the discussion in bug 1403656, which may be the same underlying cause.
Indeed the Mac crashes I sampled in crazy old bug 520028 are also via nsTextFrame::ReflowText
Thunderbird version: 60.3.0
Windows 8.1
User reports crash when attempting to 'Reply' to an email.
Would this be part of the same bug?
https://support.mozilla.org/en-US/questions/1241260
Reason: EXCEPTION_STACK_OVERFLOW
_chkstk | BuildTextRunsScanner::SetupBreakSinksForTextRun
https://crash-stats.mozilla.com/report/index/5d2eb2d3-d73d-4566-a4de-96fd70181108
Other reports link:
https://crash-stats.mozilla.com/signature/?product=Thunderbird&signature=_chkstk%20%7C%20BuildTextRunsScanner%3A%3ASetupBreakSinksForTextRun&date=%3E%3D2018-11-14T14%3A21%3A26.000Z&date=%3C2018-11-21T14%3A21%3A26.000Z&_columns=date&_columns=product&_columns=version&_columns=build_id&_columns=platform&_columns=reason&_columns=address&_columns=install_time&_sort=-date&page=1#reports
| Reporter | ||
Comment 5•6 years ago
|
||
Summary: Crash in nsLineBreaker::FlushCurrentWord via nsTextFrame::ReflowText replying to email → Crash in nsLineBreaker::FlushCurrentWord via nsTextFrame::ReflowText replying to email, infinite recursion in block/inline reflow
Whiteboard: [tbird crash]
| Reporter | ||
Comment 6•5 years ago
|
||
By my reckoning, version 78 crash rate is lower than 60 and 68.
Firefox bp-2b3e68bc-4977-40aa-8e2b-94ae60210219 EXCEPTION_ACCESS_VIOLATION_READ
TB 78 bp-2436f320-4d06-4228-ae63-807c80210219 EXCEPTION_STACK_OVERFLOW
TB 60 bp-19cf74f5-0dbe-4dae-a10f-330d50210219 EXCEPTION_STACK_OVERFLOW
Comment 7•3 years ago
|
||
Since the crash volume is low (less than 5 per week), the severity is downgraded to S3. Feel free to change it back if you think the bug is still critical.
For more information, please visit auto_nag documentation.
Severity: critical → S3
Comment 8•1 year ago
|
||
Closing because no crashes reported for 12 weeks.
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•