On 18 October 2015 at 11:43, Lubomir I. Ivanov <[email protected]> wrote:
> On 18 October 2015 at 03:39, Linus Torvalds > <[email protected]> wrote: > > > > On Oct 17, 2015 17:34, "Lubomir I. Ivanov" <[email protected]> wrote: > >> > >> 1017b090: 80 39 00 cmpb $0x0,(%ecx) <--------- > >> > >> to me, that closely resembles a NULL pointer check. > > > > No, that's a byte compare, so it's just looking for the terminating zero > in > > the string. > > oh, yes of course. > > > > > Looks like something passed in an invalid string to me, but I have no > idea > > how to debug under windows. > > > Yes, "Q�\"@�\177-\n)?T" looks like it might be an invalid string. See backtrace below. > > seems that Rick agrees to install a toolchain. i will provide a > download link + brief instructions. tomorrow though, as it's 3:41AM > for me :-( > > It's lunchtime for me. Here's something to help debug after some sleep. I didn't download a whole toolchain, but using the 32 bit version (64 bit won't give me a backtrace) of gdb from http://www.equation.com/servlet/equation.cmd?fa=gdb gives me: (gdb) run -v -v Starting program: C:\Program Files (x86)\Subsurface\subsurface.exe -v -v [New Thread 5648.0x1a24] [New Thread 5648.0x18c8] [New Thread 5648.0x1bc0] [New Thread 5648.0x1968] can't find Qt localization for locale "de" searching in "C:/Program Files (x86)/Subsurface/translations" [New Thread 5648.0x1ab8] [New Thread 5648.0x1ab4] Found 126 GeoNode object LEAKS! No GeoNode object leak! [New Thread 5648.0x1a5c] [New Thread 5648.0x128] [New Thread 5648.0x14dc] [New Thread 5648.0x2f4] [New Thread 5648.0xf10] [Thread 5648.0x1a5c exited with code 0] [Thread 5648.0x128 exited with code 0] [Thread 5648.0xf10 exited with code 0] [Thread 5648.0x14dc exited with code 0] [Thread 5648.0x2f4 exited with code 0] [Thread 5648.0x1ab4 exited with code 0] [New Thread 5648.0x15c0] [New Thread 5648.0x3f8] [New Thread 5648.0x157c] [New Thread 5648.0x15b8] [New Thread 5648.0x12a0] [New Thread 5648.0x1924] [New Thread 5648.0x1798] [New Thread 5648.0x18b0] [New Thread 5648.0x1908] [New Thread 5648.0x1840] QObject::connect: Cannot connect (null)::stateChanged(QNetworkSession::State) to QNetworkReplyHttpImpl::_q_networkSessionStateChanged(QNetworkSession::State) [New Thread 5648.0x12ac] [New Thread 5648.0x12a8] [New Thread 5648.0x4f4] 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). Unable to match dive 'program.divelog' (subsurface) Unable to match dive 'version.divelog' (3) Unable to match autogroup 'model.divecomputerid.' (Shearwater Petrel) Unable to match autogroup 'deviceid.divecomputerid.' (dc701c49) Unable to match autogroup 'serial.divecomputerid.d.' (390e6bd0) Unable to match autogroup 'firmware.divecomputerid.' (29) Found 99 GeoNode object LEAKS! Set the current dive site: 0 No GeoNode object leak! cloud URL set as " https://cloud.subsurface-divelog.org//git/[email protected][[email protected]] " File locations: Local git storage: C:\Users\Rick\AppData\Roaming\Subsurface/cloudstorage/7033a3cd3d2b65ca cloud URL set as " https://cloud.subsurface-divelog.org//git/[email protected][[email protected]] " Cloud URL: https://cloud.subsurface-divelog.org//git/[email protected][[email protected]] Image hashes: C:\Users\Rick\AppData\Roaming\Subsurface/hashes Local picture directory: C:\Users\Rick\AppData\Roaming\Subsurface/picturedata/ Program received signal SIGSEGV, Segmentation fault. 0x7647b090 in vswprintf () from C:\WINDOWS\SYSTEM32\msvcrt.dll (gdb) bt #0 0x7647b090 in vswprintf () from C:\WINDOWS\SYSTEM32\msvcrt.dll #1 0x7647645d in vsnprintf_l () from C:\WINDOWS\SYSTEM32\msvcrt.dll #2 0x764763b8 in vsnprintf () from C:\WINDOWS\SYSTEM32\msvcrt.dll #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>) at /data/winqt551/mxe/usr/i686-w64-mingw32.shared/include/stdio.h:545 #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 "") at /home/hohndel/src/win/subsurface/membuffer.c:97 #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 #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 #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 #8 0x00557594 in ToolTipItem::refresh (this=<optimized out>, pos=...) at /home/hohndel/src/win/subsurface/qt-ui/profile/divetooltipitem.cpp:250 #9 0x0053e360 in ProfileWidget2::mouseMoveEvent (this=0xa5e0808, event=0x29d5a0) at /home/hohndel/src/win/subsurface/qt-ui/profile/profilewidget2.cpp:877 #10 0x059ec74f in ZN7QWidget5eventEP6QEvent () from C:\Program Files (x86)\Subsurface\Qt5Widgets.dll #11 0x00000000 in ?? () (gdb) This time the crash came on startup - I didn't even get to look at the log or planner. Cheers, Rick
_______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
