<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 7 August 2015 at 08:35, Lubomir I. Ivanov <span dir="ltr"><<a href="mailto:neolit123@gmail.com" target="_blank">neolit123@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 7 August 2015 at 00:40, Rick Walsh <<a href="mailto:rickmwalsh@gmail.com">rickmwalsh@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I had to boot into Windows 8 on my laptop, so thought I might as well try<br>
> the latest Subsurface daily on it (subsurface-4.4.2-1319-g3efafd1fde50).<br>
><br>
> Upon opening the planner, I got a segfault.  I couldn't see any meaningful<br>
> debug messages, and do not know how to run programs on Windows in debug<br>
> mode.<br>
><br>
> Sorry (not sorry) I'm about to head off for a few days of collecting dive<br>
> computer data in some amazing limestone sinkholes, so can't help much trying<br>
> to work out the cause of this.<br>
><br>
<br>
</span>patch attached:<br>
-------------<br>
    Planner: use the heap for note buffers<br>
<br>
    The default stack size on Windows per thread is 1024kb.<br>
    Using the heap prevents a stack overflow in add_plan_to_notes().<br>
<br>
    The alternative is to tell the linker to use N bytes of stack:<br>
    -Wl,--stack,N<br>
-------------<br>
<br>
the default size on Linux is probably 8172kb.<br></blockquote><div><br></div><div>Thanks for responding so quickly to what I thought would not be a helpful bug report.  I can't build for Windows, but I wanted to make sure it didn't break things on Linux.  Unfortunately, I cannot apply your patch to the latest master.<br><br></div><div>Cheers,<br><br></div><div>Rick<br></div><div><br></div></div></div></div>