On 18 May 2010, at 14:25, Chris Sutcliffe wrote:
> On 17 May 2010 15:41, Andy Koppe wrote:
>> Is this on 0.7 only or can you reproduce it with 0.6.2? 'debug=1'
>> links with dmalloc, so you could try removing that from the makefile
>> to try and make it fail (and hence get a meaningful stackdump).
>> Otherwise, you need to enable heap debugging using the dmalloc
>> utility, which sets up an environment variable that controls what
>> checks are performed.
>
> I can't recreate the issue with the 0.6 branch. Using trunk the issue
> occurs only when run directly (i.e. not via a Cygwin console) and not
> when compiled with debug enabled (even with dmalloc disabled). I've
> attached the stackdump from the 0.7 build (mintty7.exe).
Thanks.
> Playing with the optimizations, the crash seems to be related to
> '-Os'. If I remove from cc_opts the issue goes away. Could this be
> some bizarre optimization issue with the compiler?
Unlikely. That sort of thing usually is a symptom of a bug in pointer
use.
> If there is anything else I can do to help, please let me know.
If you're really curious you could have a go at enabling dmalloc's
heap checking, but don't worry, I'll investigate when I get back.
Might need your minttyrc, vimrc and fstab to reproduce it. Does it
crash right away when opening fstab or after any particular operations?
Cheers,
Andy