www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - repro cases for optlink crashes

reply Benjamin Thaut <code benjamin-thaut.de> writes:
What is the ideal repro case for a optlink crash?
Are the object files enough or is a reduced sourcecode repro case preferred?
If a reduced sourcecode is required, is there a way to make optlink 
crash with a console message instead of the usual popup window? The 
popup window makes it difficult to reduce the crash.

-- 
Kind Regards
Benjamin Thaut
Apr 18 2012
parent Robert Clipsham <robert octarineparrot.com> writes:
On 19/04/2012 06:42, Benjamin Thaut wrote:
 What is the ideal repro case for a optlink crash?
 Are the object files enough or is a reduced sourcecode repro case
 preferred?
 If a reduced sourcecode is required, is there a way to make optlink
 crash with a console message instead of the usual popup window? The
 popup window makes it difficult to reduce the crash.

From what I recall, the object files are enough, however source that reproduces it may also be of use (I have no idea if that's the case). If you want to reduce the source/size of object files that reproduce it, you can use DustMite: https://github.com/CyberShadow/DustMite There's instructions for how to reduce an optlink crash here: https://github.com/CyberShadow/DustMite/wiki/Reducing-OPTLINK%27s-Message-Box-of-Death (General instructions for using DustMite are here - https://github.com/CyberShadow/DustMite/wiki ). Of course once you're happy you should file a bug report at: http://d.puremagic.com/issues/ with the link-failure keyword. Hope this helps! -- Robert http://octarineparrot.com/
Apr 20 2012