Closed Bug 609173 Opened 14 years ago Closed 4 years ago

crash in [@ GenericHandleMgr(_MIDL_STUB_DESC const*, unsigned char*, unsigned char const*, unsigned int, void**) ]

Categories

(Core :: Graphics: Color Management, defect, P3)

x86
Windows
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: marcia, Unassigned)

References

Details

(Keywords: crash, Whiteboard: [gfx-noted])

Crash Data

Seen while reviewing crash reports. New to the 20101102 build, this crash is Win XP only and low volume. Not clear whether it is the same person crashing. http://tinyurl.com/28ykyne links to the set of crashes which happened today.

Frame 	Module 	Signature [Expand] 	Source
0 		@0x727b4a77 	
1 	rpcrt4.dll 	GenericHandleMgr 	
2 	rpcrt4.dll 	NdrClientCall2 	
3 	winspool.drv 	RpcGetPrinterDriverDirectory 	
4 	winspool.drv 	GetPrinterDriverDirectoryW 	
5 	mscms.dll 	InternalGetColorDirectory 	
6 	gdi32.dll 	IcmInitialize 	
7 	gdi32.dll 	GetICMProfileW 	
8 	xul.dll 	gfxWindowsPlatform::GetPlatformCMSOutputProfile 	gfx/thebes/gfxWindowsPlatform.cpp:601
9 	xul.dll 	gfxPlatform::GetCMSOutputProfile 	
10 	xul.dll 	mozilla::imagelib::nsPNGDecoder::info_callback 	modules/libpr0n/decoders/nsPNGDecoder.cpp:542
11 	xul.dll 	MOZ_PNG_push_have_info 	modules/libimg/png/pngpread.c:1899
12 	xul.dll 	MOZ_PNG_push_read_chunk 	modules/libimg/png/pngpread.c:435
13 	xul.dll 	MOZ_PNG_proc_some_data 	modules/libimg/png/pngpread.c:64
14 	xul.dll 	MOZ_PNG_process_data 	modules/libimg/png/pngpread.c:41
15 	xul.dll 	mozilla::imagelib::nsPNGDecoder::WriteInternal 	modules/libpr0n/decoders/nsPNGDecoder.cpp:349
16 	xul.dll 	mozilla::imagelib::RasterImage::WriteToDecoder 	modules/libpr0n/src/RasterImage.cpp:2225
17 	xul.dll 	mozilla::imagelib::RasterImage::AddSourceData 	modules/libpr0n/src/RasterImage.cpp:1208
18 	xul.dll 	mozilla::imagelib::RasterImage::WriteToRasterImage 	modules/libpr0n/src/RasterImage.cpp:2698
19 	xul.dll 	nsPipeInputStream::ReadSegments 	xpcom/io/nsPipe3.cpp:799
20 	xul.dll 	imgRequest::OnDataAvailable 	modules/libpr0n/src/imgRequest.cpp:1155
21 	xul.dll 	ProxyListener::OnDataAvailable 	modules/libpr0n/src/imgLoader.cpp:2019
22 	xul.dll 	nsJARChannel::OnDataAvailable 	modules/libjar/nsJARChannel.cpp:937
23 	xul.dll 	nsInputStreamPump::OnStateTransfer 	netwerk/base/src/nsInputStreamPump.cpp:510
Component: Graphics → GFX: Color Management
QA Contact: thebes → color-management
Crash Signature: [@ GenericHandleMgr(_MIDL_STUB_DESC const*, unsigned char*, unsigned char const*, unsigned int, void**) ]
This crash continues to occur. Here's a recent example:
https://crash-stats.mozilla.com/report/index/ed0b6a62-0397-4af6-9563-4950c2111112
Summary: Firefox/4.0b8pre crash in [@ GenericHandleMgr(_MIDL_STUB_DESC const*, unsigned char*, unsigned char const*, unsigned int, void**) ] → crash in [@ GenericHandleMgr(_MIDL_STUB_DESC const*, unsigned char*, unsigned char const*, unsigned int, void**) ]
From the stack it appears that the OS is using the printer driver using the output profile looking and that the printer driver is causing the crash.

Maybe we should store a state while loading the system profile. If we get a crash then the next time around we can just default to sRGB as the output profile.
Crash Signature: [@ GenericHandleMgr(_MIDL_STUB_DESC const*, unsigned char*, unsigned char const*, unsigned int, void**) ] → [@ GenericHandleMgr(_MIDL_STUB_DESC const*, unsigned char*, unsigned char const*, unsigned int, void**) ] [@ GenericHandleMgr ]
This is still being reported at low volume with current versions (~1/day on average) and appears to affect Windows versions other than Windows XP.
OS: Windows XP → Windows
Whiteboard: [gfx-noted]

Closing because no crashes reported for 12 weeks.

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