<p dir="ltr"><br>
On 18 Oct 2015 11:34, "Lubomir I. Ivanov" <<a href="mailto:neolit123@gmail.com">neolit123@gmail.com</a>> wrote:<br>
><br>
> On 17 October 2015 at 21:55, Stefan Fuchs <<a href="mailto:sfuchs@gmx.de">sfuchs@gmx.de</a>> wrote:<br>
> ><br>
> ><br>
> > I really prefer this the other way around. Get everyone involved. Then if someone has a specific follow up question, send them the file.<br>
> > But for verification, for you Subsurface now crashes when you just try to open that file?<br>
> > Because that's a pretty standard mild trimix dive. Not long, not deep, no unusual gases - this is something that we test all the time<br>
> ><br>
> > Any ideas? Anything else you need to know from my side? Thanks!<br>
> ><br>
> ><br>
> > Not right now, let's see what Lubomir and Robert think<br>
> ><br>
><br>
> so, Rick sent me his MSVCRT.dll and the XML dive log.<br>
> i can't reproduce the issue on Windows 7 with or without the German translation.<br>
><br>
> the faulting offset 0x0007b090 is oddly inside the vswprintf() branch<br>
> of the DLL!<br>
><br>
> 1017b08d: eb 07                 jmp    0x1017b096<br>
> 1017b08f: 48                   dec    %eax<br>
> 1017b090: 80 39 00             cmpb   $0x0,(%ecx)  <---------<br>
> 1017b093: 74 05                 je     0x1017b09a<br>
> 1017b095: 41                   inc    %ecx<br>
> 1017b096: 85 c0                 test   %eax,%eax<br>
> 1017b098: 75 f5                 jne    0x1017b08f<br>
> 1017b09a: 2b ce                 sub    %esi,%ecx<br>
><br>
> to me, that closely resembles a NULL pointer check.<br>
><br>
> the question is where is vswprintf() used...<br>
> i don't find any usage of this function in the Subsurface source tree<br>
> (or any wide char functions to begin with), except in windows.c so it<br>
> has to come from somewhere else...<br>
><br>
> the only library which calls it directly is libzip, but i don't find<br>
> that to be planner related (?).<br>
><br>
> objdump -D libzip.dll | grep vswprintf<br>
> 61693f1a <_vswprintf>:<br>
> 61693f6a:       e8 ab ff ff ff          call   61693f1a <_vswprintf><br>
><br>
> anyhow, i would ask Rick and/or Stefan to run subsurface.exe under GDB<br>
> so that we obtain some sort of meaningful backtrace.<br>
> of course, only if we they agree to download a toolchain and follow<br>
> some instructions.<br>
><br>
I'm happy to do that.  I have a few things to do today, but if you give me instructions how to install the toolchain I'll give it a go.  I have a pretty basic Windows 10 setup.  HP laptop came with Windows 8 just before 10 was released.  Upgraded when I could (I don't mind Windows 7, but 8 doesn't agree with me).</p>
<p dir="ltr">Rick<br>
</p>