Re: Unhandled exception

From: Yan-Hong Huang[MSFT] (yhhuang_at_online.microsoft.com)
Date: 04/26/04


Date: Mon, 26 Apr 2004 03:02:02 GMT

Hello Noel,

For memory related issues, sometimes the problem is not directly at the
line that reports an error. Maybe the pointer or some memory is in chaos
when the program goes there. The Assert workaround here is not quite
trustable, since the root cause of it is still not found. Maybe this
function just correct some pointer accidently. Could you please test the
following items?

1) In BOOL CUpgrade::CheckUpgradeAvailability(), call
CWebRequest::SaveResponse(_T("some constant string")) to test whether the
problem happens.

2) Change some code link sequence in BOOL CWebRequest::SaveResponse(LPCTSTR
pszFileName) to see if the behavior has changed some.

3) You mentioned that ASSERT(dwByteRead <= DATA_BUFFER_SIZE) is put in BOOL
CWebRequest::GetResponse(). How is this function related to SaveResponse?

4) I understand the problem happens in a big application. However, in order
to troubleshoot it, we need at least a sample to repro it. Since the
problem is quite related to CWebRequest class, is it possible for you to
build a small sample based on just this class to repro it? We will look
into it on our side. In newsgroup support, currently we don't provide
service to connect to customer's machice for remote debugging since it is
quite related to security and privacy. You may contact our product support
service if you want an support engineer to work specially with you on it.
Please feel free to post here if you want so.

Thanks very much. If there is anything unclear, please feel free to post
here.

Best regards,
Yanhong Huang
Microsoft Community Support

Get Secure! ¨C www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.



Relevant Pages

  • =?WINDOWS-1252?Q?2.6.23-rc3-mm1_--_drivers/net/wireless/rt2x00mac.c:65:_e?= =?WI
    ... 'ieee80211_ctstoself_get' makes pointer from integer without a cast ... # CPU idle PM support ... # Infrared-port device drivers ...
    (Linux-Kernel)
  • Re: gcc-4 ?
    ... > required to support ... > warning: structure `c_switch' used but not defined ... > assignment discards qualifiers from pointer target type ...
    (freebsd-questions)
  • Re: What will be the next MAJOR programming language for commercial use?
    ... > Does D support pointer arithmetic? ... D has Contract Programming which can help a great deal. ... That's exactly what a dynamic closure is. ... > having syntactic sugar to support them. ...
    (comp.lang.misc)
  • Re: Zero length array declaration
    ... > you should use a pointer to a buffer containing a message. ... >> compilers may let you get away with it. ... include support for and/or the struct hack which had the benefit ...
    (comp.lang.c)
  • RE: x64 thread scheduling bug?
    ... In order to research this issue, we may need to repro the scenario in local ... Would you please provide a stand-alone sample project as well as ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.vc.mfc)