Author Topic: RC5 crash when loading macro  (Read 5861 times)

rowbearto

  • Senior Community Member
  • Posts: 2303
  • Hero Points: 132
RC5 crash when loading macro
« on: April 27, 2015, 03:34:00 AM »
When I try to load the attached macro with "load" command on linux, RC5 crashes.

RC4 did not crash when loading this macro.


rowbearto

  • Senior Community Member
  • Posts: 2303
  • Hero Points: 132
Re: RC5 crash when loading macro
« Reply #1 on: April 27, 2015, 03:36:52 AM »
When loading this macro in windows, there is no crash.

Only in Linux. It did not crash with RC4.

SlickEdit Pro 2014 (v19.0.2.5 64-bit)

Serial number:
Licensed number of users: Single user
License file: /home/robb/.slickedit/19.0.2/slickedit.lic

Build Date: April 10, 2015
Emulation: CUA

OS: Linux
OS Version: Red Hat Enterprise Linux Server release 5.5 (Tikanga)
Kernel Level: 2.6.18-194.11.1.el5
Build Version: #1 SMP Tue Jul 27 05:45:06 EDT 2010
Processor Architecture: x86_64

X Server Vendor: The Cygwin/X Project
Memory: 77% Load, 5610MB/7200MB Virtual
Shell Information: /home/robb/programs/linux/se19_0_2_5/bin/secsh -i
Screen Size: 1920 x 1080

Project Type: Cpp
Language: .process (Process)
Encoding: Automatic

Installation Directory: /home/robb/programs/linux/se19_0_2_5/
Configuration Directory: /home/robb/.slickedit/19.0.2/


rowbearto

  • Senior Community Member
  • Posts: 2303
  • Hero Points: 132
Re: RC5 crash when loading macro
« Reply #2 on: April 27, 2015, 01:30:34 PM »
I can provide core dump files if they would help. I have 2 of them, they are quite large so can't be attached. Tell me how to get the files to the SE team and I can provide them.

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1818
  • Hero Points: 151
Re: RC5 crash when loading macro
« Reply #3 on: April 27, 2015, 01:37:41 PM »
I sent a PM with upload instructions.  So far, I haven't reproduced it, but I'm on a fairly new release of Fedora 20;  I was about to fire up a VM with something closer to what you're running.

rowbearto

  • Senior Community Member
  • Posts: 2303
  • Hero Points: 132
Re: RC5 crash when loading macro
« Reply #4 on: April 27, 2015, 01:40:00 PM »
Thanks! I just sent 2 coredump files in a single .7z file. The compression reduces the size dramatically.

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1818
  • Hero Points: 151
Re: RC5 crash when loading macro
« Reply #5 on: April 27, 2015, 02:02:07 PM »
If you exit slickedit, rename the "vslick.stu" that's in /home/robb/.slickedit/19.0.2/ to something like backup.vslick.stu, and then restart slickedit, can you still reproduce the crash?

If not, go ahead and upload that .stu file to the same place as the core files. 

rowbearto

  • Senior Community Member
  • Posts: 2303
  • Hero Points: 132
Re: RC5 crash when loading macro
« Reply #6 on: April 27, 2015, 02:10:35 PM »
It did not crash after renaming the vslick.stu file and running again.

I will send my old vslick.stu file

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1818
  • Hero Points: 151
Re: RC5 crash when loading macro
« Reply #7 on: April 28, 2015, 01:09:16 PM »
I can reproduce it with that state file, it looks like it's corrupted.  Have you noticed anything strange before the loading problem, like any crashes on exit?  Or anything else that would have terminated it with a signal?

rowbearto

  • Senior Community Member
  • Posts: 2303
  • Hero Points: 132
Re: RC5 crash when loading macro
« Reply #8 on: April 28, 2015, 01:16:27 PM »
Thanks Patrick. I haven't noticed strange behavior like you describe - I was not getting crashes on exit and I'm not sure I understand what you mean by "would have terminated it with a signal".

After using a new vslick.stu file, I saw my customization of clearcase version control went away. I haven't noticed anything else in my configuration that is gone back to default. I am still using the new vslick.stu file.

Can you tell me what is stored in the vslick.stu file so that if I can know if I need to re-customize my configuration again?

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1818
  • Hero Points: 151
Re: RC5 crash when loading macro
« Reply #9 on: April 28, 2015, 02:32:09 PM »
     When I said terminated by a signal, I meant anything where another program kills the slickedit process.   So, for example, using xkill to kill the SlickEdit window, or having the window manager decide SlickEdit is not responding when   logging out, and asking the user if it should just kill the process.  Things like that.

    There's a lot of settings in the state file.  Most of them actually got restored, because we keep a lot of information on config changes outside of the state file, so we can do upgrades between versions.  But since this wasn't really an upgrade, some settings didn't get transferred.

     Probably the quickest way to deal with lost settings is to get out of slickedit, rename the bad state file back to vslick.stu, start SlickEdit, bring up the options dialog, and export all of your options.  Exit SlickEdit again, rename the bad vslick.stu to get it out of the way, restart SlickEdit, and then import the options you exported.   At the very least, when I use your vslick.stu, I can export everything without running into any obvious trouble.


     

rowbearto

  • Senior Community Member
  • Posts: 2303
  • Hero Points: 132
Re: RC5 crash when loading macro
« Reply #10 on: April 28, 2015, 02:35:36 PM »
Sometimes my SlickEdit gets killed by an external signal, as  I run an X server - sometimes I log out of ssh sessions and it freezes waiting for the X clients and I hit Ctrl-C and it terminates SE.

So you think that this can cause corruption in my vslick.stu file?

I will do the export/import now.

rowbearto

  • Senior Community Member
  • Posts: 2303
  • Hero Points: 132
Re: RC5 crash when loading macro
« Reply #11 on: April 28, 2015, 02:39:47 PM »
When exporting the options, I get a dialog: "There were errors performing export options. Please see the Message list for detailed information"

I attached a screenshot of the errors.

None of the options with errors are for things I use regularly. Am I safe importing this file?

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1818
  • Hero Points: 151
Re: RC5 crash when loading macro
« Reply #12 on: April 28, 2015, 04:08:36 PM »
Yes, that should be safe to use.

rowbearto

  • Senior Community Member
  • Posts: 2303
  • Hero Points: 132
Re: RC5 crash when loading macro
« Reply #13 on: April 28, 2015, 04:11:13 PM »
Thanks.

Can you comment on my earlier question:

Sometimes my SlickEdit gets killed by an external signal, as  I run an X server - sometimes I log out of ssh sessions and it freezes waiting for the X clients and I hit Ctrl-C and it terminates SE.

So you think that this can cause corruption in my vslick.stu file?

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1818
  • Hero Points: 151
Re: RC5 crash when loading macro
« Reply #14 on: April 28, 2015, 05:10:27 PM »
We're likely terminated with a hangup/HUP signal in that case.  The possibility of this causing a problem with a state file is pretty small, since we're not constantly writing out to it.  But it's not impossible either.  I see we do have a signal handler for HUP, so I'll double check to make sure we're not doing anything strange there.

Of the things I asked, the "crashing at exit" would be a smoking gun for a corrupted state file.  Termination by a closing X session is still a possible cause, but not as sure of a thing.