Author Topic: Eclipse crashes when editing a file in IBM HLASM mode of slickedit  (Read 1936 times)

Praveen Kumar

  • Community Member
  • Posts: 15
  • Hero Points: 0
Opening the attached file crashes the eclipse when we try to edit the file in IBM HLASM mode of slickedit.

Even if any blank space beyond column 72 in IBM HLASM mode also crashes eclipse with the Error:"Collecting garbage". Trailing spaces option is not working in slickedit is the root cause of occurrence of spaces beyond column 72.

Which I have reported earlier:
http://community.slickedit.com/index.php/topic,10187.0.html

Attached .log file FYR.

Lee

  • Moderator
  • Senior Community Member
  • *
  • Posts: 990
  • Hero Points: 84
Re: Eclipse crashes when editing a file in IBM HLASM mode of slickedit
« Reply #1 on: October 23, 2014, 01:12:19 pm »
Strip trailing spaces on save should be working in the current Release Candidate even with the truncation line enabled,  I will double-check on that.   I am also able to reproduce the crash with the sample, I will investigate it for a fix.

Praveen Kumar

  • Community Member
  • Posts: 15
  • Hero Points: 0
Re: Eclipse crashes when editing a file in IBM HLASM mode of slickedit
« Reply #2 on: November 13, 2014, 12:28:00 am »
Hi Lee,

Thanks for your reply!!
I have tested the "Strip Trailing Mode" option of IBM hlasm mode in Eclipse Luna and confirmed that it's still not working.
Also like to let you know that "Truncation" option in SlickEdit Preference-->Language-->Assembly Language-->IBM HLASM-->General - is also not working.

Would you great if you can investigate this one as well.

I have found one more file with the same issue of eclipse hangs when this file is opens with IBM HLASM mode of slickedit.
PFA, asm file, relative log file and screenshots.

Thanks & Regards,
Praveen

Lee

  • Moderator
  • Senior Community Member
  • *
  • Posts: 990
  • Hero Points: 84
Re: Eclipse crashes when editing a file in IBM HLASM mode of slickedit
« Reply #3 on: November 13, 2014, 03:59:33 pm »
The fix I put in should be in the build your using, and it does work in my testing.  It should be stripping all trailing spaces, even beyond the truncation line.  To confirm, you are using is "Strip all trailing spaces", in the SlickEdit Preferences > Languages > IBM HLASM > File Options > Save Options > Strip trailing spaces.  Is this correct?

For the IBM HLASM hang, I have a hotfix specifically for Window 32-bit build.  I am attaching a hotfix that should address that.  You will need to bring up the SlickEdit command-line (bound to ESC in most emulations) and use the load-hotfix command.   You will be prompted for a zip file, point it to the attached zip file which you will need to download.  Then restart Eclipse.  Should be fixed.  If you need a 64-bit Windows version, I can provide one of those as well.

Praveen Kumar

  • Community Member
  • Posts: 15
  • Hero Points: 0
Re: Eclipse crashes when editing a file in IBM HLASM mode of slickedit
« Reply #4 on: November 14, 2014, 03:08:46 am »
Lee,

Thanks a lot for your hot-fix. It worked!! :-)
I retested "Strip all trailing spaces" option and it is also working good!! My apologies :-(

Could you reproduce the below issue in your system?? If yes, Is there any hot-fix available for this???

{{ "Truncation"option in SlickEdit Preference-->Language-->Assembly Language-->IBM HLASM-->General - is also not working.  }}


Thanks,
Praveen



Lee

  • Moderator
  • Senior Community Member
  • *
  • Posts: 990
  • Hero Points: 84
Re: Eclipse crashes when editing a file in IBM HLASM mode of slickedit
« Reply #5 on: November 14, 2014, 02:18:50 pm »
Make sure your source file is in IBM HLASM mode.  Under the Format menu, there is a Select Mode(language), it will identifiy the current language mode in the menu.  The default mode for .asm file is Intel Assembly unless you've set the associated language in the File Extension Manager (SlickEdit Preferences > Languages > File Extension Manager).

Praveen Kumar

  • Community Member
  • Posts: 15
  • Hero Points: 0
Re: Eclipse crashes when editing a file in IBM HLASM mode of slickedit
« Reply #6 on: November 14, 2014, 10:36:34 pm »
Thanks for your reply:-) I'll check it out.