If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

query_result.get() == mRawPtr in nsSecureBrowserUIImpl

VERIFIED INVALID

Status

()

Core
Security
VERIFIED INVALID
17 years ago
17 years ago

People

(Reporter: Bernd, Assigned: Mitchell Stoltz (not reading bugmail))

Tracking

Trunk
x86
Other
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

17 years ago
Since some days every time I try to submit information with my CVS 2001-02-02
build under Win98 I get an assertion  and crash then instead of the warning
window that the information I would like to submit is unsecure.

it asserts with:
query_result.get() == mRawPtr, "QueryInterface needed

The code snippet is :

 nsCOMPtr<nsIPSMSocketInfo> psmInfo = do_QueryInterface(info);
    if (!psmInfo) {
        PR_LOG(gSecureDocLog, PR_LOG_DEBUG, ("SecureUI: GetSecurityState:%p - no
nsIPSMSocketInfo for %p\n", aChannel, (nsISupports *)info));
--->       return nsIWebProgressListener::STATE_IS_INSECURE;
    }
the stacktrace:

KERNEL32! bff768a0()
nsDebug::Assertion(const char * 0x01fcc4ac `string', const char * 0x01fcc4c8
`string', const char * 0x01fcc3b0 `string', int 500) line 254 + 13 bytes
nsCOMPtr<nsIScriptGlobalObject>::Assert_NoQueryNeeded() line 500 + 41 bytes
nsGetterAddRefs<nsIScriptGlobalObject>::~nsGetterAddRefs<nsIScriptGlobalObject>()
line 909
nsSecureBrowserUIImpl::Notify(nsSecureBrowserUIImpl * const 0x033e13e8,
nsIContent * 0x03434af0, nsIDOMWindowInternal * 0x03383494, nsIURI * 0x033ed220,
int * 0x007ceac0) line 265
nsFormFrame::OnSubmit(nsFormFrame * const 0x00ab0e64, nsIPresContext *
0x0346c820, nsIFrame * 0x02b6789c) line 890 + 70 bytes
nsHTMLButtonControlFrame::MouseClicked(nsIPresContext * 0x0346c820) line 362
nsHTMLInputElement::HandleDOMEvent(nsHTMLInputElement * const 0x0343f580,
nsIPresContext * 0x0346c820, nsEvent * 0x007cf16c, nsIDOMEvent * * 0x00000000,
unsigned int 1, nsEventStatus * 0x007cf4f0) line 1164
PresShell::HandleEventInternal(nsEvent * 0x007cf16c, nsIView * 0x00000000,
unsigned int 1, nsEventStatus * 0x007cf4f0) line 4914 + 47 bytes
PresShell::HandleEventWithTarget(PresShell * const 0x03401d60, nsEvent *
0x007cf16c, nsIFrame * 0x02b6789c, nsIContent * 0x0343f580, unsigned int 1,
nsEventStatus * 0x007cf4f0) line 4895 + 22 bytes
nsEventStateManager::CheckForAndDispatchClick(nsEventStateManager * const
0x03421730, nsIPresContext * 0x0346c820, nsMouseEvent * 0x007cf5fc,
nsEventStatus * 0x007cf4f0) line 1971 + 61 bytes
nsEventStateManager::PostHandleEvent(nsEventStateManager * const 0x03421738,
nsIPresContext * 0x0346c820, nsEvent * 0x007cf5fc, nsIFrame * 0x02b6789c,
nsEventStatus * 0x007cf4f0, nsIView * 0x0342fdd0) line 1080 + 28 bytes
PresShell::HandleEventInternal(nsEvent * 0x007cf5fc, nsIView * 0x0342fdd0,
unsigned int 1, nsEventStatus * 0x007cf4f0) line 4934 + 43 bytes
PresShell::HandleEvent(PresShell * const 0x03401d64, nsIView * 0x0342fdd0,
nsGUIEvent * 0x007cf5fc, nsEventStatus * 0x007cf4f0, int 0, int & 1) line 4849 +
25 bytes
nsView::HandleEvent(nsView * const 0x0342fdd0, nsGUIEvent * 0x007cf5fc, unsigned
int 8, nsEventStatus * 0x007cf4f0, int 0, int & 1) line 372
nsView::HandleEvent(nsView * const 0x0342e890, nsGUIEvent * 0x007cf5fc, unsigned
int 8, nsEventStatus * 0x007cf4f0, int 0, int & 1) line 345
nsView::HandleEvent(nsView * const 0x03402f40, nsGUIEvent * 0x007cf5fc, unsigned
int 28, nsEventStatus * 0x007cf4f0, int 1, int & 1) line 345
nsViewManager2::DispatchEvent(nsViewManager2 * const 0x03405160, nsGUIEvent *
0x007cf5fc, nsEventStatus * 0x007cf4f0) line 1424
HandleEvent(nsGUIEvent * 0x007cf5fc) line 68
nsWindow::DispatchEvent(nsWindow * const 0x0342e754, nsGUIEvent * 0x007cf5fc,
nsEventStatus & nsEventStatus_eIgnore) line 687 + 10 bytes
nsWindow::DispatchWindowEvent(nsGUIEvent * 0x007cf5fc) line 708
nsWindow::DispatchMouseEvent(unsigned int 301, nsPoint * 0x00000000) line 3948 +
21 bytes
ChildWindow::DispatchMouseEvent(unsigned int 301, nsPoint * 0x00000000) line 4158
nsWindow::ProcessMessage(unsigned int 514, unsigned int 0, long 13631735, long *
0x007cf9b0) line 2965 + 24 bytes
nsWindow::WindowProc(HWND__ * 0x0000093c, unsigned int 514, unsigned int 0, long
13631735) line 922 + 27 bytes
KERNEL32! bff7363b()
KERNEL32! bff94407()
007c8a36()

Any hints to solve the problem?
(Reporter)

Comment 1

17 years ago
My debug build did not correctly compile extensions\psm-glue. Now it does.
Status: NEW → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → INVALID

Comment 2

17 years ago
Marking VERIFIED INVALID per reporter's comments.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.