[Cmake] CMake built with .NET, crash on selecting library

William A. Hoffman bill.hoffman at kitware.com
Wed May 1 19:05:23 EDT 2002


OK, perhaps it is a win2000 .NET problem.
On my laptop with XP it works fine.

This is all of the ... buttons right?

It just uses this MFC class:
CPathDialog

What is the string that is bad Jim?

-Bill

At 05:25 PM 5/1/2002 -0400, Andy Cedilnik wrote:
>I have the same problem. Here is my stack trace:
>
>         mfc70d.dll!CCmdTarget::OnCmdMsg(unsigned int nID=714, int
>nCode=0, void * pExtra=0x00000000, AFX_CMDHANDLERINFO *
>pHandlerInfo=0x00000000)  Line 396 + 0x27     C++
>         mfc70d.dll!CWnd::OnCommand(unsigned int wParam=714, long
>lParam=1835758)  Line 2542     C++
>         mfc70d.dll!CWnd::OnWndMsg(unsigned int message=273, unsigned int
>wParam=714, long lParam=1835758, long * pResult=0x00e5f2f0)  Line 1751 +
>0x1c  C++
>         mfc70d.dll!CWnd::WindowProc(unsigned int message=273, unsigned
>int wParam=714, long lParam=1835758)  Line 1737 + 0x1e   C++
>         mfc70d.dll!AfxCallWndProc(CWnd * pWnd=0x00e5fbbc, HWND__ *
>hWnd=0x00050384, unsigned int nMsg=273, unsigned int wParam=714, long
>lParam=1835758)  Line 241 + 0x1a
>         C++
>         mfc70d.dll!AfxWndProc(HWND__ * hWnd=0x00050384, unsigned int
>nMsg=273, unsigned int wParam=714, long lParam=1835758)  Line 387  C++
>         mfc70d.dll!AfxWndProcBase(HWND__ * hWnd=0x00050384, unsigned int
>nMsg=273, unsigned int wParam=714, long lParam=1835758)  Line 209 +
>0x15       C++
>         USER32.DLL!77e11b60()
>         USER32.DLL!77e137f7()
>         USER32.DLL!77e13c40()
>         USER32.DLL!77e2438f()
>         USER32.DLL!77e21467()
>         USER32.DLL!77e11b60()
>         USER32.DLL!77e142eb()
>         USER32.DLL!77e14ce5()
>         mfc70d.dll!CWnd::DefWindowProcA(unsigned int nMsg=514, unsigned
>int wParam=0, long lParam=393220)  Line 1022 + 0x20     C++
>         mfc70d.dll!CWnd::WindowProc(unsigned int message=514, unsigned
>int wParam=0, long lParam=393220)  Line 1738 + 0x1a      C++
>         mfc70d.dll!AfxCallWndProc(CWnd * pWnd=0x00e5fcb8, HWND__ *
>hWnd=0x001c02ee, unsigned int nMsg=514, unsigned int wParam=0, long
>lParam=393220)  Line 241 + 0x1a  C++
>         mfc70d.dll!AfxWndProc(HWND__ * hWnd=0x001c02ee, unsigned int
>nMsg=514, unsigned int wParam=0, long lParam=393220)  Line 387     C++
>         mfc70d.dll!AfxWndProcBase(HWND__ * hWnd=0x001c02ee, unsigned int
>nMsg=514, unsigned int wParam=0, long lParam=393220)  Line 209 + 0x15
>C++
>         USER32.DLL!77e11b60()
>         USER32.DLL!77e11cca()
>         USER32.DLL!77e11ddf()
>         USER32.DLL!77e1ffbf()
>         mfc70d.dll!CWnd::IsDialogMessageA(tagMSG * lpMsg=0x00e63d00)
>Line 200  C++
>         mfc70d.dll!CWnd::PreTranslateInput(tagMSG * lpMsg=0x00e63d00)
>Line 4505        C++
>         mfc70d.dll!CDialog::PreTranslateMessage(tagMSG *
>pMsg=0x00e63d00)  Line 83      C++
>         mfc70d.dll!CWnd::WalkPreTranslateTree(HWND__ *
>hWndStop=0x0010036e, tagMSG * pMsg=0x00e63d00)  Line 3121 + 0x12 C++
>         mfc70d.dll!AfxInternalPreTranslateMessage(tagMSG *
>pMsg=0x00e63d00)  Line 238 + 0x12    C++
>         mfc70d.dll!CWinThread::PreTranslateMessage(tagMSG *
>pMsg=0x00e63d00)  Line 795 + 0x9    C++
>         mfc70d.dll!AfxPreTranslateMessage(tagMSG * pMsg=0x00e63d00)
>Line 257 + 0xf     C++
>         mfc70d.dll!AfxInternalPumpMessage()  Line 183 + 0x18    C++
>         mfc70d.dll!CWinThread::PumpMessage()  Line 916  C++
>         mfc70d.dll!AfxPumpMessage()  Line 195 + 0xb     C++
>         mfc70d.dll!CWnd::RunModalLoop(unsigned long dwFlags=4)  Line
>4559 + 0x5 C++
>         mfc70d.dll!CDialog::DoModal()  Line 533 + 0xc   C++
>         CMakeSetup.exe!CMakeSetup::InitInstance()  Line 66 + 0xb    C++
>         mfc70d.dll!AfxWinMain(HINSTANCE__ * hInstance=0x00400000,
>HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x00e62e81, int
>nCmdShow=1)  Line 39 + 0xb   C++
>         CMakeSetup.exe!WinMain(HINSTANCE__ * hInstance=0x00400000,
>HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x00e62e81, int
>nCmdShow=1)  Line 25        C++
>         CMakeSetup.exe!WinMainCRTStartup()  Line 392 + 0x3b     C
>         KERNEL32.DLL!77e8d326()
>
>How much does Visual Studio .NET suck?
>
>                         Andy
>
>
>On Wed, 2002-05-01 at 17:12, Miller, James V (Research) wrote:
> > I'll try to run through the debugger. Dan and I are using different 
> versions of .NET (Professional vs
> > Basic version).
> > We are both running Win2000. My system also has VC++ 6.0 installed 
> whereas Dan's machine had no other
> > compilers.
> >
> > When it crashed I did jump into the debugger  and the error occurred in 
> CString when it tried to call
> > the Length()
> > method.
> >
> >
> >
> > -----Original Message-----
> > From: William A. Hoffman [mailto:bill.hoffman at kitware.com]
> > Sent: Wednesday, May 01, 2002 5:04 PM
> > To: Miller, James V (Research); CMake developers (E-mail)
> > Subject: Re: [Cmake] CMake built with .NET, crash on selecting library
> >
> >
> > Dan reported the same problem.  I have not been about to duplicate it here.
> > Seems to be related to the .Net installation at GE somehow, as all of 
> the ones
> > at Kitware work.  Can you run it in the debugger?
> >
> > -Bill
> >
> >
> > At 05:01 PM 5/1/2002 -0400, Miller, James V (Research) wrote:
> >
> >
> > Just built CMake from a CVS checkout from yesterday using .NET 
> (Professional)
> >
> > When I run CMakeSetup on VTK, the python library is not found since I 
> have Python 2.2 on my system
> > (and the default scripts only look for versions 2.1 and 2.0 (and maybe 
> 1.5).
> >
> > I click the "..." to set the path to the lib and CMake crashes.  This 
> happens with both a debug and
> > release
> > build of CMake.
> >
> >
> > Jim Miller
> > _____________________________________
> > Visualization & Computer Vision
> > GE Research
> > Bldg. KW, Room C218B
> > P.O. Box 8, Schenectady NY 12301
> >
> > millerjv at research.ge.com <mailto:millerjv at research.ge.com>
> >
> > james.miller at research.ge.com
> > (518) 387-4005, Dial Comm: 8*833-4005,
> > Cell: (518) 505-7065, Fax: (518) 387-6981
> >
> >  <?xml:namespace prefix = o ns = 
> "urn:schemas-microsoft-com:office:office" />
> >
> >
> >





More information about the CMake mailing list