Closed Bug 801453 Opened 12 years ago Closed 12 years ago

crash in mozilla::image::RasterImage::Discard

Categories

(Core :: Graphics: ImageLib, defect)

19 Branch
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla19
Tracking Status
firefox18 --- unaffected
firefox19 + fixed

People

(Reporter: scoobidiver, Assigned: jdm)

References

Details

(Keywords: crash, regression, topcrash, Whiteboard: [native-crash])

Crash Data

It first appeared in 19.0a1/20121014. The regression range is:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=90857937b601&tochange=57304bbf9c0e
It might be a regression from bug 505385.

Signature 	mozilla::image::RasterImage::Discard(bool) More Reports Search
UUID	b7e527f0-39e9-4b65-a131-7508b2121014
Date Processed	2012-10-14 19:45:17
Uptime	319
Install Age	12.1 minutes since version was first installed.
Install Time	2012-10-14 19:32:49
Product	Firefox
Version	19.0a1
Build ID	20121014030627
Release Channel	nightly
OS	Windows NT
OS Version	6.1.7601 Service Pack 1
Build Architecture	x86
Build Architecture Info	GenuineIntel family 6 model 58 stepping 9
Crash Reason	EXCEPTION_ACCESS_VIOLATION_READ
Crash Address	0x38
App Notes 	
AdapterVendorID: 0x8086, AdapterDeviceID: 0x0166, AdapterSubsysID: 15171043, AdapterDriverVersion: 8.15.10.2761
D2D? D2D+ DWrite? DWrite+ D3D10 Layers? D3D10 Layers+ 
EMCheckCompatibility	True
Adapter Vendor ID	0x8086
Adapter Device ID	0x0166
Total Virtual Memory	4294836224
Available Virtual Memory	3702505472
System Memory Use Percentage	55
Available Page File	5507919872
Available Physical Memory	1878274048

Frame 	Module 	Signature 	Source
0 	xul.dll 	mozilla::image::RasterImage::Discard 	image/src/RasterImage.cpp:2274
1 	xul.dll 	mozilla::image::DiscardTracker::DiscardNow 	image/src/DiscardTracker.cpp:268
2 	xul.dll 	nsTimerImpl::Fire 	xpcom/threads/nsTimerImpl.cpp:472
3 	winmm.dll 	timeGetTime 	
4 	xul.dll 	nsTimerEvent::Run 	xpcom/threads/nsTimerImpl.cpp:555
5 	xul.dll 	nsThread::ProcessNextEvent 	xpcom/threads/nsThread.cpp:612
6 	xul.dll 	mozilla::ipc::MessagePump::Run 	ipc/glue/MessagePump.cpp:117
7 	xul.dll 	MessageLoop::RunHandler 	ipc/chromium/src/base/message_loop.cc:208
8 	xul.dll 	MessageLoop::Run 	ipc/chromium/src/base/message_loop.cc:182
9 	xul.dll 	nsBaseAppShell::Run 	widget/xpwidgets/nsBaseAppShell.cpp:163
10 	xul.dll 	nsAppShell::Run 	widget/windows/nsAppShell.cpp:232
11 	xul.dll 	nsAppStartup::Run 	toolkit/components/startup/nsAppStartup.cpp:290
12 	xul.dll 	XREMain::XRE_mainRun 	toolkit/xre/nsAppRunner.cpp:3792
13 	xul.dll 	XREMain::XRE_main 	toolkit/xre/nsAppRunner.cpp:3858
14 	xul.dll 	XRE_main 	toolkit/xre/nsAppRunner.cpp:3933
15 	firefox.exe 	wmain 	toolkit/xre/nsWindowsWMain.cpp:105

More reports at:
https://crash-stats.mozilla.com/report/list?signature=mozilla%3A%3Aimage%3A%3ARasterImage%3A%3ADiscard%28bool%29
It's #3 top crasher in today's build.
Keywords: topcrash
Crash Signature: [@ mozilla::image::RasterImage::Discard(bool)] → [@ mozilla::image::RasterImage::Discard(bool)] [@ nsQueryReferent::operator()(nsID const&, void**)]
Crash Signature: [@ mozilla::image::RasterImage::Discard(bool)] [@ nsQueryReferent::operator()(nsID const&, void**)] → [@ mozilla::image::RasterImage::Discard(bool)] [@ nsQueryReferent::operator()(nsID const&, void**)] [@ mozilla::image::Image::SizeOfData()] [@ imgRequestProxy::OnDiscard()] [@ imgStatusTrackerObserver::OnDiscard()]
Josh, can you take a look at this?
Assignee: nobody → josh
It's #1 top crasher in today's build.
I've got a fix in bug 802168.
Depends on: 802168
By which I mean bug 802485.
Depends on: 802485
No longer depends on: 802168
Crash Signature: [@ mozilla::image::RasterImage::Discard(bool)] [@ nsQueryReferent::operator()(nsID const&, void**)] [@ mozilla::image::Image::SizeOfData()] [@ imgRequestProxy::OnDiscard()] [@ imgStatusTrackerObserver::OnDiscard()] → [@ mozilla::image::RasterImage::Discard(bool)] [@ mozilla::image::DiscardTracker::DiscardNow()] [@ nsQueryReferent::operator()(nsID const& void**)] [@ mozilla::image::Image::SizeOfData()] [@ imgRequestProxy::OnDiscard()] [@ imgStatusTrackerObserver::…
Crash Signature: nsID const&) | mozilla::image::RasterImage::Discard(bool)] [@ @0x0 | nsCOMPtr_base::assign_from_helper(nsCOMPtr_helper const&, nsID const&) | mozilla::image::RasterImage::Discard(bool)] → nsID const&) | mozilla::image::RasterImage::Discard(bool)] [@ @0x0 | nsCOMPtr_base::assign_from_helper(nsCOMPtr_helper const&, nsID const&) | mozilla::image::RasterImage::Discard(bool)] [@ nsQueryReferent::operator()(nsID const&, void**) const]
OS: Windows 7 → All
Whiteboard: [native-crash]
Crash Signature: nsID const&) | mozilla::image::RasterImage::Discard(bool)] [@ @0x0 | nsCOMPtr_base::assign_from_helper(nsCOMPtr_helper const&, nsID const&) | mozilla::image::RasterImage::Discard(bool)] [@ nsQueryReferent::operator()(nsID const&, void**) const] → nsID const&) | mozilla::image::RasterImage::Discard(bool)] [@ @0x0 | nsCOMPtr_base::assign_from_helper(nsCOMPtr_helper const&, nsID const&) | mozilla::image::RasterImage::Discard(bool)] [@ nsQueryReferent::operator()(nsID const& void**) const] [@ @0x0 …
There are no crashes in 19.0a1/20121023 that contains the fix of bug 802485.
Status: NEW → RESOLVED
Crash Signature: void**)] [@ mozilla::image::Image::SizeOfData()] [@ imgRequestProxy::OnDiscard()] [@ imgStatusTrackerObserver::OnDiscard()] [@ nsCOMPtr_base::assign_from_helper(nsCOMPtr_helper const& → void**)] [@ imgRequestProxy::OnDiscard()] [@ imgStatusTrackerObserver::OnDiscard()] [@ nsCOMPtr_base::assign_from_helper(nsCOMPtr_helper const&
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
There are crashes on 19.0b1, 19.0b4, 20.0a2. Should reopened ?
You need to log in before you can comment on or make changes to this bug.