Article View: microsoft.public.dotnet.framework.interop
Article #7Re: C# XslCompiledTransform crash when called from VCL C++
From: Jeroen ter Hofstede
Date: Fri, 17 Mar 2006 13:36
Date: Fri, 17 Mar 2006 13:36
25 lines
2459 bytes
2459 bytes
Jeroen ter Hofstede schreef: > Jeroen ter Hofstede schreef: > > > Jeroen ter Hofstede schreef: > > > > [snip] > > > object. Unfortunately, when calling Load() on this object, the > > > application crashes with an access violation in the .Net runtime. This > > [snip] > > > > > > After some experimentation and debugging: > > - The access violation seems to be caused by a stack overflow. I > > suspect that this is a symptom of the problem, not the cause. > > Increasing the stack from 1 to 4 MB does not help. > > I can confirm that now. The stack overflow is caused by an attempt to > recursively handle a 'invalid floating point operation' fault in > mscorjit.dll. A final update (and then I'll stop muttering to myself): the problem reproduces with the newest Borland C++ (Studio?). I can now reliable reproduce it also with a console application. The same program compiled with Visual C++ (2005) does not exhibit the problem.
Technical Details
Message-ID:
<1142602593.837341.9870@p10g2000cwp.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!p10g2000cwp.googlegroups.com!not-for-mailReferences:
<1142521767.541238.214090@z34g2000cwc.googlegroups.com> <1142588061.441789.225940@i39g2000cwa.googlegroups.com> <1142591469.157091.141210@i39g2000cwa.googlegroups.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10fc48,f764f9342057d78f X-Google-Thread: fde74,f764f9342057d78f X-Google-Attributes: gid10fc48,gidfde74,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!p10g2000cwp.googlegroups.com!not-for-mail From: "Jeroen ter Hofstede" <jeroen.ter.hofstede@wanadoo.nl> Newsgroups: microsoft.public.dotnet.framework.interop,borland.public.cppbuilder.language.cpp Subject: Re: C# XslCompiledTransform crash when called from VCL C++ Date: 17 Mar 2006 05:36:33 -0800 Organization: http://groups.google.com Lines: 26 Message-ID: <1142602593.837341.9870@p10g2000cwp.googlegroups.com> References: <1142521767.541238.214090@z34g2000cwc.googlegroups.com> <1142588061.441789.225940@i39g2000cwa.googlegroups.com> <1142591469.157091.141210@i39g2000cwa.googlegroups.com> NNTP-Posting-Host: 62.177.224.213 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1142602599 15276 127.0.0.1 (17 Mar 2006 13:36:39 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 17 Mar 2006 13:36:39 +0000 (UTC) In-Reply-To: <1142591469.157091.141210@i39g2000cwa.googlegroups.com> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: p10g2000cwp.googlegroups.com; posting-host=62.177.224.213; posting-account=GtcNIQ0AAAB-HytxjLrEI1snnk-XzQGu