Closed
Bug 991272
Opened 11 years ago
Closed 10 years ago
[Gtk3] crash in gfxContext::gfxContext when inspecting the deck
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1013552
People
(Reporter: cork, Assigned: stransky)
References
Details
(Keywords: crash)
Attachments
(2 files)
(deleted),
text/x-log
|
Details | |
(deleted),
patch
|
Details | Diff | Splinter Review |
GTK3 builds crash if you inspect anything in the #tab-view-deck deck. GTK2 works without crashing. This has been tested with https://hg.mozilla.org/mozilla-central/rev/7bacc9e903b0
STR:
1. Create a clean profile
2. Install https://addons.mozilla.org/en-US/firefox/addon/dom-inspector-6622
3. start dom inspector from the web developer menu
4. select the main firefox window from file > Inspect Chrome Document
5. Use the element picker or focus window > deck (or any of the children under it
Result:
Program received signal SIGSEGV, Segmentation fault.
gfxContext::gfxContext (this=0x7fffc0dca840, surface=0x0) at /tmp/mozilla/mozilla-central/gfx/thebes/gfxContext.cpp:88
88 mCairo = cairo_create(surface->CairoSurface());
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → stransky
Assignee | ||
Comment 1•11 years ago
|
||
Well, the question is whether (nsIWidget *)->GetThebesSurface() can return null or not.
Assignee | ||
Comment 2•11 years ago
|
||
Hm, it's because gfxASurface * nsWindow::GetThebesSurface() is not implemented in gtk3, we need some cairo context here to get the surface.
Assignee | ||
Comment 3•11 years ago
|
||
Katl, what do you think about this one? It implements nsWindow::GetThebesSurface() and returns actual mThebesSurface instead of just null.
Attachment #8406805 -
Flags: review?(karlt)
Any progress on this?
The possibility to inspect the browser chrome is a blocker for me to use these builds.
Assignee | ||
Comment 5•10 years ago
|
||
Let's fix it as a part of Bug 1013552.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•10 years ago
|
Attachment #8406805 -
Flags: review?(karlt)
Comment 6•10 years ago
|
||
I guess nsIWidget::GetThebesSurface() was called from http://hg.mozilla.org/mozilla-central/annotate/9506880e4879/layout/inspector/inFlasher.cpp#l134
You need to log in
before you can comment on or make changes to this bug.
Description
•