Closed Bug 159245 Opened 23 years ago Closed 23 years ago

Clicking on "Window" menu makes mozilla crash on a 64 bit OS

Categories

(Core Graveyard :: Embedding: APIs, defect)

DEC
OSF/1
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 159220

People

(Reporter: shanmu, Assigned: adamlock)

Details

(Keywords: crash)

Mozilla crashed when I hit the Window menu in the browser. This happes with the trunk build as well as Mozilla 1.1 beta release. The checkin through revision 1.7 to "nsWindowDataSource.cpp" treats pointers to be 32 bits, which causes trouble on a 64 bit OS. One such example is nsISupportsKey key(window); has been changed to nsPRUint32Key key(NS_PTR_TO_INT32(window)); I hit the bug when closure->resultWindow is stuffed with 32 bits closure->resultWindow = NS_STATIC_CAST(nsIXULWindow*, NS_INT32_TO_PTR(thisKey->GetValue())); This blocks the release of Mozilla 1.1 beta on Tru64 UNIX. I suggest this to be changed to work on 64 bit OS.
Keywords: crash
*** This bug has been marked as a duplicate of 159220 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.