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

deleting the active profile triggers an assert in CProfilesDlg::OnDeleteProfile

NEW
Assigned to

Status

Core Graveyard
Embedding: MFC Embed
13 years ago
a year ago

People

(Reporter: timeless, Assigned: Adam Lock)

Tracking

({assertion})

Trunk
x86
Windows XP
assertion

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

13 years ago
+	profileService	{mRawPtr=0x01857d78 {mRefCnt={mValue=2 }
_mOwningThread={mThread=0x003f5198 } mStartingUp=0 ...} }	nsCOMPtr<nsIProfile>
	rv	2147500037	unsigned int
+	selectedProfile	{0x078ab800 "test"}
ATL::CStringT<char,StrTraitMFC_DLL<char,ATL::ChTraitsCRT<char> > >
+	this	0x0012f914 {CProfilesDlg hWnd=0x002e1728 {unused=33740443 }}	CProfilesDlg
* const

>	mfcembed.exe!CProfilesDlg::OnDeleteProfile()  Line 320 + 0x1e	C++
 	mfc71d.dll!_AfxDispatchCmdMsg(CCmdTarget * pTarget=0x0012f914, unsigned int
nID=1013, int nCode=0, void (void)* pfn=0x00401b2c, void * pExtra=0x00000000,
unsigned int nSig=53, AFX_CMDHANDLERINFO * pHandlerInfo=0x00000000)  Line 89	C++
 	mfc71d.dll!CCmdTarget::OnCmdMsg(unsigned int nID=1013, int nCode=0, void *
pExtra=0x00000000, AFX_CMDHANDLERINFO * pHandlerInfo=0x00000000)  Line 396 +
0x27	C++
 	mfc71d.dll!CDialog::OnCmdMsg(unsigned int nID=1013, int nCode=0, void *
pExtra=0x00000000, AFX_CMDHANDLERINFO * pHandlerInfo=0x00000000)  Line 88 + 0x18	C++
 	mfc71d.dll!CWnd::OnCommand(unsigned int wParam=1013, long lParam=2758334) 
Line 2550	C++
 	mfc71d.dll!CWnd::OnWndMsg(unsigned int message=273, unsigned int wParam=1013,
long lParam=2758334, long * pResult=0x0012f324)  Line 1759 + 0x1c	C++
 	mfc71d.dll!CWnd::WindowProc(unsigned int message=273, unsigned int
wParam=1013, long lParam=2758334)  Line 1745 + 0x1e	C++
 	mfc71d.dll!AfxCallWndProc(CWnd * pWnd=0x0012f914, HWND__ * hWnd=0x002e1728,
unsigned int nMsg=273, unsigned int wParam=1013, long lParam=2758334)  Line
241 + 0x1a	C++
 	mfc71d.dll!AfxWndProc(HWND__ * hWnd=0x002e1728, unsigned int nMsg=273,
unsigned int wParam=1013, long lParam=2758334)  Line 389	C++
 	mfc71d.dll!AfxWndProcBase(HWND__ * hWnd=0x002e1728, unsigned int nMsg=273,
unsigned int wParam=1013, long lParam=2758334)  Line 209 + 0x15	C++
 	user32.dll!_InternalCallWinProc@20()  + 0x28	
 	user32.dll!_UserCallWinProcCheckWow@32()  + 0xb7	
 	user32.dll!_DispatchClientMessage@20()  + 0x4d	
 	user32.dll!___fnDWORD@4()  + 0x24	
 	ntdll.dll!_KiUserCallbackDispatcher@12()  + 0x13	
 	user32.dll!_NtUserMessageCall@28()  + 0xc	
 	user32.dll!_SendMessageW@16()  + 0x49	
 	user32.dll!_xxxButtonNotifyParent@8()  + 0x41	
 	user32.dll!_xxxBNReleaseCapture@8()  + 0x1df0e	
 	user32.dll!_ButtonWndProcWorker@20()  + 0xb9d	
 	user32.dll!_ButtonWndProcA@16()  + 0x4c	
 	user32.dll!_InternalCallWinProc@20()  + 0x28	
 	user32.dll!_UserCallWinProcCheckWow@32()  + 0xb7	
 	user32.dll!_DispatchMessageWorker@8()  + 0xdc	
 	user32.dll!_DispatchMessageW@4()  + 0xf	
 	user32.dll!_IsDialogMessageW@8()  + 0xdb	
 	user32.dll!_IsDialogMessageA@8()  + 0x4a	
 	mfc71d.dll!CWnd::IsDialogMessageA(tagMSG * lpMsg=0x001455f0)  Line 200	C++
 	mfc71d.dll!CWnd::PreTranslateInput(tagMSG * lpMsg=0x001455f0)  Line 4512	C++
 	mfc71d.dll!CDialog::PreTranslateMessage(tagMSG * pMsg=0x001455f0)  Line 83	C++
 	mfc71d.dll!CWnd::WalkPreTranslateTree(HWND__ * hWndStop=0x00111672, tagMSG *
pMsg=0x001455f0)  Line 3129 + 0x12	C++
 	mfc71d.dll!AfxInternalPreTranslateMessage(tagMSG * pMsg=0x001455f0)  Line
238 + 0x12	C++
 	mfc71d.dll!CWinThread::PreTranslateMessage(tagMSG * pMsg=0x001455f0)  Line
795 + 0x9	C++
 	mfc71d.dll!AfxPreTranslateMessage(tagMSG * pMsg=0x001455f0)  Line 257 + 0xf	C++
 	mfc71d.dll!AfxInternalPumpMessage()  Line 183 + 0x18	C++
 	mfc71d.dll!CWinThread::PumpMessage()  Line 916	C++
 	mfc71d.dll!AfxPumpMessage()  Line 195 + 0xb	C++
 	mfc71d.dll!CWnd::RunModalLoop(unsigned long dwFlags=4)  Line 4566 + 0x5	C++
 	mfc71d.dll!CDialog::DoModal()  Line 527 + 0xc	C++
 	mfcembed.exe!CProfileMgr::DoManageProfilesDialog(int bAtStartUp=0)  Line 127
+ 0xb	C++
 	mfcembed.exe!CMfcEmbedApp::OnManageProfiles()  Line 629	C++
 	mfc71d.dll!_AfxDispatchCmdMsg(CCmdTarget * pTarget=0x0043cd60, unsigned int
nID=32787, int nCode=0, void (void)* pfn=0x00401988, void * pExtra=0x00000000,
unsigned int nSig=53, AFX_CMDHANDLERINFO * pHandlerInfo=0x00000000)  Line 89	C++
 	mfc71d.dll!CCmdTarget::OnCmdMsg(unsigned int nID=32787, int nCode=0, void *
pExtra=0x00000000, AFX_CMDHANDLERINFO * pHandlerInfo=0x00000000)  Line 396 +
0x27	C++
 	mfc71d.dll!CFrameWnd::OnCmdMsg(unsigned int nID=32787, int nCode=0, void *
pExtra=0x00000000, AFX_CMDHANDLERINFO * pHandlerInfo=0x00000000)  Line 902 +
0x21	C++
 	mfcembed.exe!CBrowserFrame::OnCmdMsg(unsigned int nID=32787, int nCode=0, void
* pExtra=0x00000000, AFX_CMDHANDLERINFO * pHandlerInfo=0x00000000)  Line 303	C++
 	mfc71d.dll!CWnd::OnCommand(unsigned int wParam=32787, long lParam=0)  Line
2550	C++
 	mfc71d.dll!CFrameWnd::OnCommand(unsigned int wParam=32787, long lParam=0) 
Line 320	C++
 	mfc71d.dll!CWnd::OnWndMsg(unsigned int message=273, unsigned int wParam=32787,
long lParam=0, long * pResult=0x0012fca4)  Line 1759 + 0x1c	C++
 	mfc71d.dll!CWnd::WindowProc(unsigned int message=273, unsigned int
wParam=32787, long lParam=0)  Line 1745 + 0x1e	C++
 	mfc71d.dll!AfxCallWndProc(CWnd * pWnd=0x034e0ab0, HWND__ * hWnd=0x007815be,
unsigned int nMsg=273, unsigned int wParam=32787, long lParam=0)  Line 241 +
0x1a	C++
 	mfc71d.dll!AfxWndProc(HWND__ * hWnd=0x007815be, unsigned int nMsg=273,
unsigned int wParam=32787, long lParam=0)  Line 389	C++
 	mfc71d.dll!AfxWndProcBase(HWND__ * hWnd=0x007815be, unsigned int nMsg=273,
unsigned int wParam=32787, long lParam=0)  Line 209 + 0x15	C++
 	user32.dll!_InternalCallWinProc@20()  + 0x28	
 	user32.dll!_UserCallWinProcCheckWow@32()  + 0xb7	
 	user32.dll!_DispatchMessageWorker@8()  + 0xdc	
 	user32.dll!_DispatchMessageA@4()  + 0xf	
 	mfc71d.dll!AfxInternalPumpMessage()  Line 188	C++
 	mfc71d.dll!CWinThread::PumpMessage()  Line 916	C++
 	mfc71d.dll!CWinThread::Run()  Line 637 + 0xb	C++
 	mfc71d.dll!CWinApp::Run()  Line 701	C++
 	mfc71d.dll!AfxWinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ *
hPrevInstance=0x00000000, char * lpCmdLine=0x00142384, int nCmdShow=10)  Line
49 + 0xb	C++
 	mfcembed.exe!WinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ *
hPrevInstance=0x00000000, char * lpCmdLine=0x00142384, int nCmdShow=10)  Line 25	C++
 	mfcembed.exe!WinMainCRTStartup()  Line 390 + 0x39	C
 	kernel32.dll!_BaseProcessStart@4()  + 0x23	

i also managed to trigger it with an inactive profile. at the very least, the
assert needs to be removed.
QA Contact: dunn5557 → mfcembed
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.