SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Topic started by: shadm on November 21, 2014, 05:53:24 PM

Title: GIT history diff stack
Post by: shadm on November 21, 2014, 05:53:24 PM
I get a Slick-C Stack when trying to do a git history diff.

Stack details:
Invalid number argument
historydiff.ex 1879 historydiff:setDate(2,1,Tue 04 Jun 2013 06:00:15 AM CDT)   p_window_id: 362   p_object: OI_TREE_VIEW   p_name: ctlVersionList
historydiff.ex 1265 _history_diff_form._ctlclose.on_create(@22904,,0,0)   p_window_id: 362   p_object: OI_TREE_VIEW   p_name: ctlVersionList
dlgeditv.ex 6131 show(-modal -xy  _history_diff_form,@22904)   p_window_id: 184   p_object: OI_EDITOR   p_name:
svc.ex 8959 svc_history_diff(/samsung/nxt-next/arm/tmp-glibc/work/nxt-agleader-linux-gnueabi/u-boot-fslc/2014.10-r0/git/include/configs/mx6sabre_common.h)   p_window_id: 184   p_object: OI_EDITOR   p_name:


Machine details:
SlickEdit 2014 (v19.0.0.14 64-bit)

Serial number: WL461897
Licensed number of users: Single user
License file: /opt/slickedit/bin/slickedit.lic

Build Date: November 06, 2014
Emulation: Visual Studio

OS: Linux
OS Version: Ubuntu 14.04.1 LTS
Kernel Level: 3.13.0-39-generic
Build Version: #66-Ubuntu SMP Tue Oct 28 13:30:27 UTC 2014
Processor Architecture: x86_64

X Server Vendor: The X.Org Foundation
Memory: 90% Load, 7469MB/8270MB Virtual
Shell Info: /opt/slickedit/bin/secsh -i
Screen Size: 1920 x 1200, 1920 x 1200

Project Type: Cpp
Language: .h (C/C++)
Encoding: Automatic

Installation Directory: /opt/slickedit/
Configuration Directory: /home/<user>/.slickedit/19.0.0/
Spill File: /tmp/$slk.<user>.26105


I also included an image of the dialog in case it's useful.
Title: Re: GIT history diff stack
Post by: Dan on November 21, 2014, 09:33:23 PM
I will look into this.
Title: Re: GIT history diff stack
Post by: Dan on November 21, 2014, 09:35:30 PM
I can't reproduce it so far.  Do you get it immediately?
Title: Re: GIT history diff stack
Post by: shadm on November 24, 2014, 02:54:42 PM
If the git repo is personal (or my company's) it comes up very quickly.  If I am querying a more distant (like kernel.org) repo, it takes a few moments.  The difference in time may also be related to the length of the history of the file, rather than the location.  Interestingly, if I try again immediately after dismissing the error dialog and stack window, it opens up the history window without the error, but there is only a single entry in the version list (top left pane), but the rest of the panes are empty.
Title: Re: GIT history diff stack
Post by: Dan on November 24, 2014, 06:44:51 PM
But it still fails on the remote repositories?

The "second time" issue is expected behavior.  It's the dialog that caused the stack hanging around.
Title: Re: GIT history diff stack
Post by: shadm on November 24, 2014, 06:46:08 PM
Yes, fails the same way in both cases, just one takes longer.
Title: Re: GIT history diff stack
Post by: Dan on November 24, 2014, 07:32:50 PM
Just trying to calculate the scope of the problem... Does the regular history dialog work?
Title: Re: GIT history diff stack
Post by: shadm on November 24, 2014, 07:37:54 PM
Using the Backup History to do a diff, I get the full history diff window with a list of backup versions and the files are shown in the diff windows.
Title: Re: GIT history diff stack
Post by: Dan on November 24, 2014, 07:41:13 PM
Does the regular history dialog work?
Title: Re: GIT history diff stack
Post by: shadm on November 24, 2014, 07:42:52 PM
Yes, the git file history dialog works as well.
Title: Re: GIT history diff stack
Post by: lambertia on November 24, 2014, 11:31:54 PM
Maybe send SE the results of the commands the window uses when you execute them manually on the command line.
Title: Re: GIT history diff stack
Post by: Dan on November 25, 2014, 01:30:26 PM
Please set def_svc_logging to 1, then run it once, and then set def_svc_logging back to 0.  There will be an svc.log in your config/logs directory.  Please send me that.
Title: Re: GIT history diff stack
Post by: shadm on November 25, 2014, 03:46:06 PM
Attaching the log.

Dialog Info:
Invalid number argument
file=historydiff.ex offset=1879

Stack:
Invalid number argument
historydiff.ex 1879 historydiff:setDate(3,1,Mon 08 Jul 2013 06:37:19 AM CDT)   p_window_id: 347   p_object: OI_TREE_VIEW   p_name: ctlVersionList
historydiff.ex 1265 _history_diff_form._ctlclose.on_create(@23995,,0,0)   p_window_id: 347   p_object: OI_TREE_VIEW   p_name: ctlVersionList
dlgeditv.ex 6131 show(-modal -xy  _history_diff_form,@23995)   p_window_id: 78   p_object: OI_EDITOR   p_name:
svc.ex 8959 svc_history_diff(/samsung/nxt-next/arm/tmp-glibc/work/nxt-agleader-linux-gnueabi/u-boot-fslc/2014.10-r0/dev/drivers/spi/spi.c)   p_window_id: 78   p_object: OI_EDITOR   p_name:

Title: Re: GIT history diff stack
Post by: Dan on November 25, 2014, 06:34:17 PM
Please PM me an email address to send a debug CVSClass.e to.