Closed
Bug 36674
Opened 25 years ago
Closed 25 years ago
AV in nsDeviceContextWin::ComputeFullAreaUsingScreen
Categories
(Core :: XUL, defect, P3)
Tracking
()
M17
People
(Reporter: m_kato, Assigned: hyatt)
Details
ENVIROMENT
==========
o Windows 2000 Server
o 1280 x 1024 x 2 (dual display enviroment)
o Mozilla M15
STEP
====
1. Run Mozilla
2. Click a menu.
RESULT
======
AV occurs in nsDeviceContextWin::ComputeFullAreaUsingScreen
http://lxr.mozilla.org/seamonkey/source/gfx/src/windows/nsDeviceContextWin.cpp#2
12
STACK TRACE
===========
> k
000000000012efa4 0000000000e829f9 GKGFXWIN!
nsDeviceContextWin::ComputeFullAreaUsingScreen+0xa9(0x0012EF98, 0x0012EFB4) (No
FPO)
000000000012efc4 00000000002e095a GKGFXWIN!
nsDeviceContextWin::GetDeviceSurfaceDimensions+0x7b(0x00F363C8, 0x00000007,
0x02173FF4) (No FPO)
000000000012efe0 0000000001c40bd2 JSDOM!ScreenImpl::GetWidth+0x27(0x02173FF4,
0x0012F254) (No FPO)
000000000012f278 0000000001c3ed87 GKHTML!
nsMenuPopupFrame::SyncViewWithFrame+0x271(0x0012EF98, 0x010112A0, {...}, {...},
0x0209E720, 0xFFFFFFFF, 0xFFFFFFFF) (No FPO)
000000000012f410 0000000001c3e9de GKHTML!nsMenuFrame::OpenMenuInternal+0x290
(0x0012EF98, 0x00000001) (No FPO)
000000000012f4b8 0000000001c05b52 GKHTML!nsMenuFrame::AttributeChanged+0x57
(0x0209E720, 0x010112A0, 0x01F8F708, 0x00000000, 0x00FA6400, 0x00000003) (No
FPO)
000000000012f574 0000000001b941ab GKHTML!
nsCSSFrameConstructor::AttributeChanged+0x19e(0x010BA568, 0x0209E720,
0x00000003, 0x00000000, 0x00FA6400, 0x00000002) (No FPO)
000000000012f594 0000000001bbfe34 GKHTML!StyleSetImpl::AttributeChanged+0x1e
(0x01056D38, 0x010112A0, 0x01F8F708, 0x00000000, 0x00FA6400, 0xFFFFFFFF) (No
FPO)
000000000012f5bc 0000000000eb6eed GKHTML!PresShell::AttributeChanged+0x2e
(0x010BA5F8, 0x010566F0, 0x01F8F708, 0x00000000, 0x00FA6400, 0xFFFFFFFF) (No
FPO)
000000000012f720 0000000000ecd5f1 RDF!nsXULDocument::AttributeChanged+0x134
(0x010566F0, 0x01F8F708, 0x00000000, 0x00FA6400, 0xFFFFFFFF) (No FPO)
000000000012f80c 0000000000ecb9bd RDF!nsXULElement::SetAttribute+0x456
(0x00F77388, 0x00000000, 0x00FA6400, {...}, 0x00000001) (No FPO)
000000000012f830 0000000001c3eaa5 RDF!nsXULElement::SetAttribute+0x38
(0x00000000, {...}, {...}) (No FPO)
000000000012f998 0000000001c3e7ec GKHTML!nsMenuFrame::OpenMenu+0x79
(0x01F8F718, 0x00000001) (No FPO)
000000000012f9a4 0000000001c3e568 GKHTML!nsMenuFrame::ToggleMenuState+0x20
(0x0209E720) (FPO: [1,0,0])
000000000012fa54 0000000001bc059f GKHTML!nsMenuFrame::HandleEvent+0xb2
(0x0209E720, 0x010112A0, 0x0012FB8C, 0x00000001) (No FPO)
000000000012fa90 0000000001de1e0c GKHTML!PresShell::HandleEvent+0x268
(0x00000000, 0x010EDF68, 0x0012FB8C, 0x0012FB4C, 0x00EE0804) (No FPO)
000000000012fad8 0000000001de9d58 GKVIEW!nsView::HandleEvent+0x10b
(0x00000002, 0x021113D0, 0x0000001C, 0x0012FB4C, 0x00000001) (No FPO)
000000000012fb34 0000000001de2833 GKVIEW!nsViewManager2::DispatchEvent+0x222
(0x0000096F, 0x0000000B, 0x0012FB4C) (No FPO)
000000000012fb50 0000000000e552ab GKVIEW!HandleEvent+0x31(0x010EDE48) (No FPO)
000000000012fb60 0000000000e552f1 GKWIDGET!nsWindow::DispatchEvent+0x1a
(0x010BA43C, 0x0012FB8C, 0x00000000) (FPO: [3,0,2])
000000000012fb74 0000000000e57964 GKWIDGET!nsWindow::DispatchWindowEvent+0x16
(0x0012EF98, 0x00000000) (No FPO)
000000000012fc04 0000000000e57c95 GKWIDGET!nsWindow::DispatchMouseEvent+0x14a
(0x0012EF98, 0x0000012E, 0x00000000) (No FPO)
000000000012fc14 0000000000e570db GKWIDGET!
ChildWindow::DispatchMouseEvent+0x5f(0x0012EF98, 0x0000012E, 0x00000000) (FPO:
[2,0,1])
000000000012fd44 0000000000e556a8 GKWIDGET!nsWindow::ProcessMessage+0x88b
(0x0012EF98, 0x00000201, 0x00000001, 0x000B00A1, 0x0012FD8C) (No FPO)
000000000012fd78 0000000077de2a70 GKWIDGET!nsWindow::WindowProc+0x97
(0x009D02BC, 0x00000201, 0x00000001, 0x00000000) (No FPO)
000000000012fd98 0000000077de3015 USER32!UserCallWinProc+0x18 (No FPO)
000000000012fe24 0000000077de4915 USER32!DispatchMessageWorker+0x108 (EBP)
000000000012fe30 0000000000e5b865 USER32!DispatchMessageA+0xb (FPO: [1,0,0])
000000000012fe7c 0000000000e1594a GKWIDGET!nsAppShell::Run+0x117(0x00FCCB10)
(No FPO)
000000000012fe84 000000000040192b APPSHELL!nsAppShellService::Run+0xd
(0x00DACCC8) (FPO: [1,0,0])
000000000012fed4 00000000004015ad MOZILLA!main1+0x292(0x00000001, 0x004B2CB8,
0x004B2D00) (No FPO)
000000000012ff18 0000000000402614 MOZILLA!main+0x181(0x00000001, 0x004B2CB8)
(No FPO)
000000000012ff24 0000000000402faa MOZILLA!WinMain+0x15(0x00400000,
0x00400000, 0x001333FC, 0x00400000) (FPO: [4,0,0])
000000000012ffc0 0000000077e57903 MOZILLA!WinMainCRTStartup+0x134 (No FPO)
000000000012fff0 0000000000000000 KERNEL32!BaseProcessStart+0x3d (EBP)
> r
EAX=00000000 EBX=00000000 ECX=0012ef98 EDX=0012ef0c ESI=00000000
EDI=0012efb4
EIP=00e822a3 ESP=0012ef8c EBP=0012efa4 EFL=00000246
CS=001b DS=0023 ES=0023 SS=0023 FS=0038 GS=0000
> u
GKGFXWIN!nsDeviceContextWin::ComputeFullAreaUsingScreen+0xa9:
00E822A3 D84E14 fmul dword ptr [esi+14h]
00E822A6 D9EE fldz
00E822A8 D8D9 fcomp st(1)
00E822AA DFE0 fnstsw ax
00E822AC 9E sahf
00E822AD 7708 ja
nsDeviceContextWin::ComputeFullAreaUsingScreen+0BDh
00E822AF D805C846E800 fadd dword ptr [__real@4@3ffe8000000000000000]
00E822B5 EB06 jmp
nsDeviceContextWin::ComputeFullAreaUsingScreen+0C3h
> dd ss:esp
0x0012EF8C 0012f254 00f363c8 00000000 00000400 T....c..........
0x0012EF9C 00000500 0211bef0 0012efc4 00e829f9 .............)..
0x0012EFAC 0012efb4 00f363c8 00000000 00000000 .....c..........
0x0012EFBC 00000000 00000000 0012efe0 002e095a ............Z...
0x0012EFCC 00f363c8 0012f254 0012efe8 01ca66a8 .c..T........f..
0x0012EFDC 020fbdac 0012f278 01c40bd2 02173ff4 ....x........?..
0x0012EFEC 0012f254 10008ccf 0209e720 00000000 T....... .......
0x0012EFFC 020fbdac 02097990 00000000 004b0000 .....y........K.
Reporter | ||
Comment 1•25 years ago
|
||
If it uses the debug build (SET MOZ_DEBUG=1), it doesn't occur.
Comment 2•25 years ago
|
||
assigning to hyatt as p3 for M17. jrgm, if you have a Win2K box and can spare
a moment, we'd appreciate confirmation.
Assignee: trudelle → hyatt
Target Milestone: --- → M17
Comment 3•25 years ago
|
||
m_kato@ga2.so-net.ne.jp : is this a dual monitor setup (I think so).
This is the same stack trace as bug #36239. marking as duplicate.
But I'll add two key pieces of info from this one for pinkerton to see.
*** This bug has been marked as a duplicate of 36239 ***
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•