Author Topic: GIT history diff stack  (Read 4292 times)

shadm

  • Community Member
  • Posts: 49
  • Hero Points: 0
GIT history diff stack
« 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.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2518
  • Hero Points: 140
Re: GIT history diff stack
« Reply #1 on: November 21, 2014, 09:33:23 pm »
I will look into this.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2518
  • Hero Points: 140
Re: GIT history diff stack
« Reply #2 on: November 21, 2014, 09:35:30 pm »
I can't reproduce it so far.  Do you get it immediately?

shadm

  • Community Member
  • Posts: 49
  • Hero Points: 0
Re: GIT history diff stack
« Reply #3 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.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2518
  • Hero Points: 140
Re: GIT history diff stack
« Reply #4 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.

shadm

  • Community Member
  • Posts: 49
  • Hero Points: 0
Re: GIT history diff stack
« Reply #5 on: November 24, 2014, 06:46:08 pm »
Yes, fails the same way in both cases, just one takes longer.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2518
  • Hero Points: 140
Re: GIT history diff stack
« Reply #6 on: November 24, 2014, 07:32:50 pm »
Just trying to calculate the scope of the problem... Does the regular history dialog work?

shadm

  • Community Member
  • Posts: 49
  • Hero Points: 0
Re: GIT history diff stack
« Reply #7 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.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2518
  • Hero Points: 140
Re: GIT history diff stack
« Reply #8 on: November 24, 2014, 07:41:13 pm »
Does the regular history dialog work?

shadm

  • Community Member
  • Posts: 49
  • Hero Points: 0
Re: GIT history diff stack
« Reply #9 on: November 24, 2014, 07:42:52 pm »
Yes, the git file history dialog works as well.

lambertia

  • Senior Community Member
  • Posts: 382
  • Hero Points: 14
  • I have nothing sufficiently witty to say.
Re: GIT history diff stack
« Reply #10 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.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2518
  • Hero Points: 140
Re: GIT history diff stack
« Reply #11 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.

shadm

  • Community Member
  • Posts: 49
  • Hero Points: 0
Re: GIT history diff stack
« Reply #12 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:


Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2518
  • Hero Points: 140
Re: GIT history diff stack
« Reply #13 on: November 25, 2014, 06:34:17 pm »
Please PM me an email address to send a debug CVSClass.e to.