Closed
Bug 4206
Opened 25 years ago
Closed 25 years ago
clicking on Insert Stuff button crashes the apprunner
Categories
(Core :: DOM: Editor, defect, P3)
Tracking
()
VERIFIED
FIXED
M4
People
(Reporter: sujay, Assigned: sfraser_bugs)
References
Details
using the 3/23 build of apprunner: 1) launch the apprunner -editor 2) Click on the Insert sTuff button about 1-2 times. Crash. Gtk-CRITICAL **: file gtkbox.c: line 332 (gtk_box_pack_start): assertion `child->parent == NULL' failed. Inserting text Segmentation fault (core dumped)
Comment 1•25 years ago
|
||
Yup, just as described. Here's the stack trace. Maybe the caret is getting confused by whatever InsertStuff is doing? Is this only Linux, or does it happen on other platforms? #0 0x4046bd67 in TextFrame::GetWidth (this=0x823e340, aRenderingContext=@0x823e3a0, aTextStyle=@0xbffff3bc, aBuffer=0xc0000000, aLength=136564554, aWidthResult=@0xbfffdb78) at /builds/tue/mozilla/layout/html/base/src/nsTextFrame.cpp:1204 #1 0x4046e48f in TextFrame::GetPointFromOffset (this=0x823e340, inPresContext=0x81ed5d0, inRendContext=0x823e3a0, inOffset=41, outPoint=0xbffff4e4) at /builds/tue/mozilla/layout/html/base/src/nsTextFrame.cpp:1878 #2 0x403fb7a7 in nsCaret::DrawCaret (this=0x8209420) at /builds/tue/mozilla/layout/base/src/nsCaret.cpp:336 #3 0x403fb94d in nsCaret::CaretBlinkCallback (aTimer=0x8249c80, aClosure=0x8209420) at /builds/tue/mozilla/layout/base/src/nsCaret.cpp:376
Assignee | ||
Updated•25 years ago
|
Assignee: kostello → sfraser
Assignee | ||
Comment 3•25 years ago
|
||
The problem probably exists XP, but it only crashes on Linux because text measurement on that platform objects to being given bogus offsets. This is my bug.
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•25 years ago
|
Summary: clicking on Insert STuff button crashes the apprunner → clicking on Insert Stuff button crashes the apprunner
Assignee | ||
Comment 5•25 years ago
|
||
This is probably fixed by Mike's fixes for selection in PRE text. Sujay, can you re-test?
Assignee | ||
Updated•25 years ago
|
Target Milestone: M4
Assignee | ||
Comment 6•25 years ago
|
||
M4
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 7•25 years ago
|
||
Again, the same fix as 4153. Note that the Insert Text function is now available from the debug menu in the editor window.
Assignee | ||
Comment 8•25 years ago
|
||
Oh wait, I lied. This crash is/was different. But I think it has already been fixed by other changes. QA: when testing this, please test in both preformatted text and normal text.
You need to log in
before you can comment on or make changes to this bug.
Description
•