<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 18 October 2015 at 12:41, Rick Walsh <span dir="ltr"><<a href="mailto:rickmwalsh@gmail.com" target="_blank">rickmwalsh@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On 18 October 2015 at 11:43, 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 18 October 2015 at 03:39, Linus Torvalds<br>
<span><<a href="mailto:torvalds@linux-foundation.org" target="_blank">torvalds@linux-foundation.org</a>> wrote:<br>
><br>
> On Oct 17, 2015 17:34, "Lubomir I. Ivanov" <<a href="mailto:neolit123@gmail.com" target="_blank">neolit123@gmail.com</a>> wrote:<br>
>><br>
>> 1017b090: 80 39 00             cmpb   $0x0,(%ecx)  <---------<br>
>><br>
>> to me, that closely resembles a NULL pointer check.<br>
><br>
> No, that's a byte compare, so it's just looking for the terminating zero in<br>
> the string.<br>
<br>
</span>oh, yes of course.<br>
<span><br>
><br>
> Looks like something passed in an invalid string to me, but I have no idea<br>
> how to debug under windows.<br>
><br></span></blockquote><div><br></div></span><div>Yes, "Q�\"@�\177-\n)?T" looks like it might be an invalid string.  See backtrace below.<br></div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>
<br>
</span>seems that Rick agrees to install a toolchain. i will provide a<br>
download link + brief instructions. tomorrow though, as it's 3:41AM<br>
for me :-(<br>
<br></blockquote><div><br></div></span><div>It's lunchtime for me.  Here's something to help debug after some sleep.<br></div><div><br></div><div>I didn't download a whole toolchain, but using the 32 bit version (64 bit won't give me a backtrace) of gdb from <a href="http://www.equation.com/servlet/equation.cmd?fa=gdb" target="_blank">http://www.equation.com/servlet/equation.cmd?fa=gdb</a> gives me:<br><br>(gdb) run -v -v<br>Starting program: C:\Program Files (x86)\Subsurface\subsurface.exe -v -v<br>[New Thread 5648.0x1a24]<br>[New Thread 5648.0x18c8]<br>[New Thread 5648.0x1bc0]<br>[New Thread 5648.0x1968]<br><br>can't find Qt localization for locale "de" searching in "C:/Program Files (x86)/Subsurface/translations"<br>[New Thread 5648.0x1ab8]<br>[New Thread 5648.0x1ab4]<br>Found 126 GeoNode object LEAKS!<br>No GeoNode object leak!<br>[New Thread 5648.0x1a5c]<br>[New Thread 5648.0x128]<br>[New Thread 5648.0x14dc]<br>[New Thread 5648.0x2f4]<br>[New Thread 5648.0xf10]<br>[Thread 5648.0x1a5c exited with code 0]<br>[Thread 5648.0x128 exited with code 0]<br>[Thread 5648.0xf10 exited with code 0]<br>[Thread 5648.0x14dc exited with code 0]<br>[Thread 5648.0x2f4 exited with code 0]<br>[Thread 5648.0x1ab4 exited with code 0]<br>[New Thread 5648.0x15c0]<br>[New Thread 5648.0x3f8]<br>[New Thread 5648.0x157c]<br>[New Thread 5648.0x15b8]<br>[New Thread 5648.0x12a0]<br>[New Thread 5648.0x1924]<br>[New Thread 5648.0x1798]<br>[New Thread 5648.0x18b0]<br>[New Thread 5648.0x1908]<br>[New Thread 5648.0x1840]<br>QObject::connect: Cannot connect (null)::stateChanged(QNetworkSession::State) to QNetworkReplyHttpImpl::_q_networkSessionStateChanged(QNetworkSession::State)<br>[New Thread 5648.0x12ac]<br>[New Thread 5648.0x12a8]<br>[New Thread 5648.0x4f4]<br>setGeometryDp: Unable to set geometry 861x800+8+31 on QWidgetWindow/'MainWindowWindow'. Resulting geometry:  861x749+8+31 (frame: 8, 31, 8, 8, custom margin: 0, 0, 0, 0, minimum size: 545x589, maximum size: 16777215x16777215).<br>Unable to match dive 'program.divelog' (subsurface)<br>Unable to match dive 'version.divelog' (3)<br>Unable to match autogroup 'model.divecomputerid.' (Shearwater Petrel)<br>Unable to match autogroup 'deviceid.divecomputerid.' (dc701c49)<br>Unable to match autogroup 'serial.divecomputerid.d.' (390e6bd0)<br>Unable to match autogroup 'firmware.divecomputerid.' (29)<br>Found 99 GeoNode object LEAKS!<br>Set the current dive site: 0<br>No GeoNode object leak!<br>cloud URL set as "<a href="https://cloud.subsurface-divelog.org//git/rickmwalsh@gmail.com%5Brickmwalsh@gmail.com%5D" target="_blank">https://cloud.subsurface-divelog.org//git/rickmwalsh@gmail.com[rickmwalsh@gmail.com]</a>"<br><br>File locations:<br><br>Local git storage: C:\Users\Rick\AppData\Roaming\Subsurface/cloudstorage/7033a3cd3d2b65ca<br>cloud URL set as "<a href="https://cloud.subsurface-divelog.org//git/rickmwalsh@gmail.com%5Brickmwalsh@gmail.com%5D" target="_blank">https://cloud.subsurface-divelog.org//git/rickmwalsh@gmail.com[rickmwalsh@gmail.com]</a>"<br>Cloud URL: <a href="https://cloud.subsurface-divelog.org//git/rickmwalsh@gmail.com%5Brickmwalsh@gmail.com%5D" target="_blank">https://cloud.subsurface-divelog.org//git/rickmwalsh@gmail.com[rickmwalsh@gmail.com]</a><br>Image hashes: C:\Users\Rick\AppData\Roaming\Subsurface/hashes<br>Local picture directory: C:\Users\Rick\AppData\Roaming\Subsurface/picturedata/<br><br><br>Program received signal SIGSEGV, Segmentation fault.<br>0x7647b090 in vswprintf () from C:\WINDOWS\SYSTEM32\msvcrt.dll<br>(gdb) bt<br>#0  0x7647b090 in vswprintf () from C:\WINDOWS\SYSTEM32\msvcrt.dll<br>#1  0x7647645d in vsnprintf_l () from C:\WINDOWS\SYSTEM32\msvcrt.dll<br>#2  0x764763b8 in vsnprintf () from C:\WINDOWS\SYSTEM32\msvcrt.dll<br>#3  0x005b4e3b in vsnprintf (__local_argv=0xeb851eb8 <error: Cannot access memory at address 0xeb851eb8>, __format=0x29ceb4 "Q�\"@�\177-\n)?T", __n=0, __stream=<optimized out>)<br>    at /data/winqt551/mxe/usr/i686-w64-mingw32.shared/include/stdio.h:545<br>#4  put_vformat (b=b@entry=0x7dbe30 <ToolTipItem::refresh(QPointF const&)::mb>, fmt=fmt@entry=0xe645d38 "Gewebe %.0fmin: $.1f%s\n", args=args@entry=0x29cea8 "")<br>    at /home/hohndel/src/win/subsurface/membuffer.c:97<br>#5  0x005b4fdf in put_format (b=b@entry=0x7dbe30 <ToolTipItem::refresh(QPointF const&)::mb>, fmt=0xe645d38 "Gewebe %.0fmin: $.1f%s\n") at /home/hohndel/src/win/subsurface/membuffer.c:134<br>#6  0x005cc53d in plot_string (has_ndl=<optimized out>, b=0x7dbe30 <ToolTipItem::refresh(QPointF const&)::mb>, entry=0xe0441d0, pi=0xa5e10b8) at /home/hohndel/src/win/subsurface/profile.c:1230<br>#7  get_plot_details_new (pi=0xa5e10b8, time=1314, mb=0x7dbe30 <ToolTipItem::refresh(QPointF const&)::mb>) at /home/hohndel/src/win/subsurface/profile.c:1258<br>#8  0x00557594 in ToolTipItem::refresh (this=<optimized out>, pos=...) at /home/hohndel/src/win/subsurface/qt-ui/profile/divetooltipitem.cpp:250<br>#9  0x0053e360 in ProfileWidget2::mouseMoveEvent (this=0xa5e0808, event=0x29d5a0) at /home/hohndel/src/win/subsurface/qt-ui/profile/profilewidget2.cpp:877<br>#10 0x059ec74f in ZN7QWidget5eventEP6QEvent () from C:\Program Files (x86)\Subsurface\Qt5Widgets.dll<br>#11 0x00000000 in ?? ()<br>(gdb)<br><br></div><div>This time the crash came on startup - I didn't even get to look at the log or planner.<br></div><div> </div></div></div></div></blockquote><div>Just repeated several times: the crash occurs when the mouse moves over the profile (creating the popup data box), whether it's inside the planner, or from a real dive log.  The crash happens on startup if the mouse pointer is in the part of the screen where the profile should be displayed.<br><br></div><div>I tested in a few languages.  The crash occurs with German and German (Switzerland).  It did not occur with English, Swedish, French, Russian or Chinese (Taiwan).<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">Cheers,<br><br></div><div class="gmail_extra">Rick<br></div></div>
</blockquote></div><br></div></div>