Closed Bug 48204 Opened 26 years ago Closed 3 years ago

Assertion while adding attachment to bugzilla bug [form sub]

Categories

(Core :: Layout: Form Controls, defect, P3)

x86
FreeBSD
defect

Tracking

()

RESOLVED WONTFIX
Future

People

(Reporter: jesup, Unassigned)

Details

Attachments

(1 file)

I was adding an attachment to a bug I'd just entered into bugzilla, and was typing the file path, when I got this assertion. The build is from a fresh pull on 8/8/2000, midday. Note mBottomEdge, height etc in aState below: (gdb) bt #0 nsDebug::Assertion (aStr=0x2995ece0 "redo line on totally empty line", aExpr=0x2995ecc0 "aState.IsImpactedByFloater()", aFile=0x2995e226 "nsBlockFrame.cpp", aLine=4278) at nsDebug.cpp:184 #1 0x2953e134 in nsBlockFrame::DoReflowInlineFrames (this=0x8b2bd6c, aState=@0xbfbfabd4, aLineLayout=@0xbfbfa378, aLine=0x8d718bc, aKeepReflowGoing=0xbfbfa96c, aLineReflowStatus=0xbfbfa80b "\002", aUpdateMaximumWidth=0, aDamageDirtyArea=0) at nsBlockFrame.cpp:4278 ... (gdb) p aState $1 = (nsBlockReflowState &) @0xbfbfabd4: { mBlock = 0x8b2bd6c, mPresContext = 0x8261100, mReflowState = @0xbfbfaf30, mSpaceManager = 0x8ace900, mSpaceManagerX = 120, mSpaceManagerY = 120, mReflowStatus = 0, mBottomEdge = 1073741824, mContentArea = { width = 13815, height = 1073741824 }, mCurrentLine = 0x8d718bc, mPrevLine = 0x8d430b4, mY = 2205, mAvailSpaceRect = { x = 0, y = 2205, width = 13815, height = 1073741824 }, ... Complete gdb backtrace and structure dumps will be attached (with 4.7...)
I also got this message (I saw it on a couple of other pages as well): nsBlockReflowContext: Block(body)(1)@0x8b2bd6c metrics=13815,1073744029!
More info: As I type into the path field, on every other character or so, the page reflows, and a scroll widget appears and disappears on the right-hand side. The scroll widget appears to not be needed (the window has lots of empty space at the bottom), and the knob fills the area (i.e. it doesn't look like it could be dragged, which makes sense). I'm using gtk if it matters.
Typing in the description field has no effect; no problems.
I think this may be related to some of the Ender-lite problems seen in post-M17 builds.
Status: UNCONFIRMED → NEW
Ever confirmed: true
I also see an assertion in today's build when trying to type in the path widget on the file upload page (FreeBSD / Gtk) However, the assertion is different: 134684672[8078200]: ###!!! ASSERTION: bad break type: 'breakType != NS_STYLE_CLEAR_NONE', file nsBlockFrame.cpp, line 4377 ###!!! ASSERTION: bad break type: 'breakType != NS_STYLE_CLEAR_NONE', file nsBlockFrame.cpp, line 4377 134684672[8078200]: ###!!! Break: at file nsBlockFrame.cpp, line 4377 ###!!! Break: at file nsBlockFrame.cpp, line 4377 No scroll widgets are appearing/disappearing in today's build. Since the problem does not cause any behavioral or performance impact, 'just' an assert, I'm pushing it off to Future at this point. If you disagree with the assessment, please reopen and include the reason for the reopen in the change. Thanks!
Status: NEW → ASSIGNED
Component: HTMLFrames → HTML Form Controls
Target Milestone: --- → Future
Bulk reassigning form bugs to Alex
Assignee: pollmann → alexsavulov
Status: ASSIGNED → NEW
Summary: Assertion while adding attachment to bugzilla bug → Assertion while adding attachment to bugzilla bug [form sub]
Assignee: alexsavulov → nobody
QA Contact: chrispetersen → layout.form-controls
This also happens when adding an attachement from a network share.
Severity: normal → S3

The code has changed to the point where I don't think the original assertion is possible anymore

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: