ASSERTION: Invalid pixel scale value when setting fullZoom to an invalid value

REOPENED
Unassigned

Status

()

Core
Layout
REOPENED
11 years ago
a year ago

People

(Reporter: Martijn Wargers (zombie), Unassigned)

Tracking

({assertion, testcase})

Trunk
x86
Windows XP
assertion, testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

11 years ago
Created attachment 289932 [details]
testcase

See testcase, it uses enhanced privileges so you need to download it to your computer to see the assertion.

I guess this probably needs to be fixed in the DocumentViewerImpl::SetFullZoom caller.

Stack:
 	ntdll.dll!_DbgBreakPoint@0() 	
>	xpcom_core.dll!Break(const char * aMsg=0x0012ebb8)  Line 480	C++
 	xpcom_core.dll!NS_DebugBreak_P(unsigned int aSeverity=1, const char * aStr=0x02b17a70, const char * aExpr=0x02b17a64, const char * aFile=0x02b17a20, int aLine=742)  Line 358 + 0xc bytes	C++
 	gkgfxthebes.dll!nsThebesDeviceContext::SetPixelScale(float aScale=-1.0000000)  Line 742 + 0x1c bytes	C++
 	gklayout.dll!nsPresContext::SetFullZoom(float aZoom=-1.0000000)  Line 1159 + 0x1d bytes	C++
 	gklayout.dll!DocumentViewerImpl::SetFullZoom(float aFullZoom=-1.0000000)  Line 2738	C++
 	docshell.dll!nsDocShell::SetupNewViewer(nsIContentViewer * aNewViewer=0x05808530)  Line 6248 + 0x2f bytes	C++
 	docshell.dll!nsDocShell::Embed(nsIContentViewer * aContentViewer=0x05808530, const char * aCommand=0x030dbd82, nsISupports * aExtraInfo=0x00000000)  Line 4746 + 0x1c bytes	C++
 	docshell.dll!nsDocShell::CreateContentViewer(const char * aContentType=0x06004510, nsIRequest * request=0x0569a458, nsIStreamListener * * aContentHandler=0x00f485c0)  Line 5944 + 0x27 bytes	C++
 	docshell.dll!nsDSURIContentListener::DoContent(const char * aContentType=0x06004510, int aIsContentPreferred=0, nsIRequest * request=0x0569a458, nsIStreamListener * * aContentHandler=0x00f485c0, int * aAbortProcess=0x0012f538)  Line 138 + 0x20 bytes	C++
 	docshell.dll!nsDocumentOpenInfo::TryContentListener(nsIURIContentListener * aListener=0x05714418, nsIChannel * aChannel=0x0569a458)  Line 735 + 0x41 bytes	C++
 	docshell.dll!nsDocumentOpenInfo::DispatchContent(nsIRequest * request=0x0569a458, nsISupports * aCtxt=0x00000000)  Line 434 + 0x39 bytes	C++
 	docshell.dll!nsDocumentOpenInfo::OnStartRequest(nsIRequest * request=0x0569a458, nsISupports * aCtxt=0x00000000)  Line 280 + 0x10 bytes	C++
 	necko.dll!nsBaseChannel::OnStartRequest(nsIRequest * request=0x0639cfe8, nsISupports * ctxt=0x00000000)  Line 604 + 0x46 bytes	C++
 	necko.dll!nsInputStreamPump::OnStateStart()  Line 439 + 0x2c bytes	C++
 	necko.dll!nsInputStreamPump::OnInputStreamReady(nsIAsyncInputStream * stream=0x04bd5990)  Line 395 + 0xb bytes	C++
 	xpcom_core.dll!nsInputStreamReadyEvent::Run()  Line 112	C++
 	xpcom_core.dll!nsThread::ProcessNextEvent(int mayWait=1, int * result=0x0012f984)  Line 491	C++
 	xpcom_core.dll!NS_ProcessNextEvent_P(nsIThread * thread=0x00e2be70, int mayWait=1)  Line 227 + 0x16 bytes	C++
 	gkwidget.dll!nsBaseAppShell::Run()  Line 154 + 0xc bytes	C++
 	tkitcmps.dll!nsAppStartup::Run()  Line 170 + 0x1c bytes	C++
 	xul.dll!XRE_main(int argc=1, char * * argv=0x00e28940, const nsXREAppData * aAppData=0x00e28d20)  Line 3142 + 0x25 bytes	C++
 	firefox.exe!main(int argc=1, char * * argv=0x00e28940)  Line 153 + 0x12 bytes	C++
 	firefox.exe!__tmainCRTStartup()  Line 586 + 0x19 bytes	C
 	firefox.exe!mainCRTStartup()  Line 403	C
 	kernel32.dll!_BaseProcessStart@4()  + 0x23 bytes
(Reporter)

Updated

a year ago
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → WORKSFORME
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
You need to log in before you can comment on or make changes to this bug.