[Issue 6088] Stack trace or some info with stack overflow

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Feb 5 16:10:27 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=6088



--- Comment #15 from Yao Gomez <yao.gomez at gmail.com> 2012-02-05 16:10:26 PST ---
(In reply to comment #14)
> This relies on Windows itself creating a stack overflow structured exception
> event, which is then captured by druntime and turned into a D exception.
> 
> The trouble is, I've never been able to get Windows to reliably create these
> upon stack overflow. Sometimes, it generates other faults instead.
> 
> In other words, it's always behaved erratically, and is not a regression. Nor
> do I think it is a serious problem, because it isn't caught by C or C++
> runtimes, nor for D on non-Windows platforms. It's just a nicety that druntime
> tries at all to catch this.

It also heavily depends on the dbghelp.dll version that the programmer has in
its system. I've had different results in different machines with the same
code, and it turns out that it was because different versions of the
aforementioned file.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list