Closed
Bug 800498
Opened 14 years ago
Closed 13 years ago
crash in mozilla::widget::TaskbarPreview::MainWindowHook
Categories
(Core :: Widget: Win32, defect)
Tracking
()
RESOLVED
FIXED
mozilla19
People
(Reporter: mkaply, Assigned: mkaply)
References
Details
(Keywords: crash)
Crash Data
Attachments
(1 file)
|
1013 bytes,
patch
|
jimm
:
review+
lsblakk
:
approval-mozilla-aurora+
lsblakk
:
approval-mozilla-beta-
lsblakk
:
approval-mozilla-esr17+
|
Details | Diff | Splinter Review |
We were looking into reenabling this feature and we ran into this crash again in a different part of the code.
See:
https://crash-stats.mozilla.com/report/index/db14682a-8cbb-4693-b373-a1ccd2121011
| Assignee | ||
Comment 1•14 years ago
|
||
Well same part of code.
It appears that preview is null now.
Updated•14 years ago
|
Severity: normal → critical
Crash Signature: @ mozilla::widget::TaskbarPreview::MainWindowHook(void*, HWND__*, unsigned int, unsigned int, long, long*)]
Keywords: crash
Hardware: x86_64 → x86
| Assignee | ||
Comment 2•14 years ago
|
||
Can someone who understands this code:
http://mxr.mozilla.org/mozilla-central/source/widget/windows/WindowHook.cpp#120
Tell me where context actually comes from? Or cb for that matter?
The crash here is that context is null. I'm trying to figure out where it comes from, but I have no idea how these window hooks work...
Comment 3•14 years ago
|
||
OK I got this crash bp-4342c47f-d8c2-4742-b0b1-dca5c2121016 looking at a youtube video using flash plugin.
| Assignee | ||
Comment 4•14 years ago
|
||
So to provide a little more detail from the extension end.
The actual call that is causing the crash is:
let controller = gTaskbarService.getOverlayIconController(docshell);
We obtained the docshell like this:
let docshell = window.QueryInterface(Ci.nsIInterfaceRequestor)
.getInterface(Ci.nsIWebNavigation).QueryInterface(Ci.nsIDocShellTreeItem)
.treeOwner.QueryInterface(Ci.nsIInterfaceRequestor)
.getInterface(Ci.nsIXULWindow).docShell;
and I've verified it is a valid docshell.
The window is coming from our front end code.
We copied our code from here:
https://github.com/sid0/overlay-extension/blob/master/bootstrap.js
| Assignee | ||
Comment 5•14 years ago
|
||
So after much failure, I can't recreate this crash at all on builds I build myself.
Release builds always crash.
Someone suggests PGO, but I've tested PGO and non PGO and both failure.
Any changes to our code workaround the problem implying it's a timing issue.
So my suggestion (unfortunately) is to wallpaper around the crash.
Attachment #677003 -
Flags: review?
| Assignee | ||
Updated•14 years ago
|
Attachment #677003 -
Flags: review? → review?(scoobidiver)
Comment 6•14 years ago
|
||
You should ask to someone else for reviewing the patch. I know nothing about the Firefox code.
| Assignee | ||
Updated•14 years ago
|
Attachment #677003 -
Flags: review?(scoobidiver) → review?(jmathies)
Comment 7•14 years ago
|
||
Comment on attachment 677003 [details] [diff] [review]
Wallpaper patch
shouldn't be any harm in this since I assume aContext is not expected to be null.
Attachment #677003 -
Flags: review?(jmathies) → review+
Comment 8•14 years ago
|
||
Assignee: nobody → mozilla
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
| Assignee | ||
Comment 9•14 years ago
|
||
Comment on attachment 677003 [details] [diff] [review]
Wallpaper patch
I know this is a longshot, but I'd like to try to get this on Firefox 17.
This crash is random and is preventing turning on a particular feature for web.de (task bar icon).
If it doesn't go into FF 17, we'll end up having to leave the feature turned off because we want to support the FF 17 ESR.
This is incredibly low risk - just a null check.
Attachment #677003 -
Flags: approval-mozilla-beta?
Attachment #677003 -
Flags: approval-mozilla-aurora?
Comment 10•14 years ago
|
||
Comment on attachment 677003 [details] [diff] [review]
Wallpaper patch
Instead of taking this untracked issue for 17 at the final hour, I'm more comfortable uplifting it to the first dot release of ESR (17.0.1esr) that ships with 18 and will mark the flags as such.
Attachment #677003 -
Flags: approval-mozilla-beta?
Attachment #677003 -
Flags: approval-mozilla-beta-
Attachment #677003 -
Flags: approval-mozilla-aurora?
Attachment #677003 -
Flags: approval-mozilla-aurora+
Updated•14 years ago
|
status-firefox17:
--- → wontfix
status-firefox18:
--- → affected
status-firefox19:
--- → fixed
status-firefox-esr17:
--- → affected
tracking-firefox-esr17:
--- → 18+
Comment 11•14 years ago
|
||
Comment 12•14 years ago
|
||
This crash hasn't reproduced during the last 4 weeks in any Firefox 18 or 19 build:
https://crash-stats.mozilla.com/report/list?product=Firefox&query_search=signature&query_type=contains&query=mozilla%3A%3Awidget%3A%3ATaskbarPreview%3A%3AMainWindowHook%28void%2A%2C%20HWND__%2A%2C%20unsigned%20int%2C%20unsigned%20int%2C%20long%2C%20long%2A%29&reason_type=contains&date=11%2F28%2F2012%2012%3A58%3A59&range_value=4&range_unit=weeks&hang_type=any&process_type=any&do_query=1&signature=mozilla%3A%3Awidget%3A%3ATaskbarPreview%3A%3AMainWindowHook%28void%2A%2C%20HWND__%2A%2C%20unsigned%20int%2C%20unsigned%20int%2C%20long%2C%20long%2A%29
Comment 13•13 years ago
|
||
As mentioned in comment 10 - we will take an uplift of this to ESR17 (it's now 17.0.2 because of chemspill during 17 release). Please nominate for approval-mozilla-esr17 asap to get this into the build that ships with the 18 release.
| Assignee | ||
Comment 14•13 years ago
|
||
Comment on attachment 677003 [details] [diff] [review]
Wallpaper patch
[Approval Request Comment]
If this is not a sec:{high,crit} bug, please state case for ESR consideration:
User impact if declined:
Fix Landed on Version:
Risk to taking this patch (and alternatives if risky):
String or UUID changes made by this patch:
See https://wiki.mozilla.org/Release_Management/ESR_Landing_Process for more info.
Attachment #677003 -
Flags: approval-mozilla-esr17?
Updated•13 years ago
|
Attachment #677003 -
Flags: approval-mozilla-esr17? → approval-mozilla-esr17+
Comment 15•13 years ago
|
||
Comment 16•13 years ago
|
||
This crash hasn't reproduced in the last 4 weeks on Firefox 17ESR, nor on any builds newer than 11/13/2012:
https://crash-stats.mozilla.com/report/list?product=Firefox&query_search=signature&query_type=contains&query=mozilla%3A%3Awidget%3A%3ATaskbarPreview%3A%3AMainWindowHook%28void%2A%2C%20HWND__%2A%2C%20unsigned%20int%2C%20unsigned%20int%2C%20long%2C%20long%2A%29&reason_type=contains&date=11%2F28%2F2012%2012%3A58%3A59&range_value=4&range_unit=weeks&hang_type=any&process_type=any&do_query=1&signature=mozilla%3A%3Awidget%3A%3ATaskbarPreview%3A%3AMainWindowHook%28void%2A%2C%20HWND__%2A%2C%20unsigned%20int%2C%20unsigned%20int%2C%20long%2C%20long%2A%29
Comment 17•13 years ago
|
||
Ioana, this is not a verification, because we have removed the feature from the addon that triggered the bug.
We would like *certainty* that the bug is gone, in order to re-enable the feature, but currently, we can't.
Status: VERIFIED → RESOLVED
Closed: 14 years ago → 13 years ago
You need to log in
before you can comment on or make changes to this bug.
Description
•