Author Topic: Slick stack on App open and close, macOS Mojave  (Read 7498 times)

tuchman

  • Senior Community Member
  • Posts: 137
  • Hero Points: 7
Slick stack on App open and close, macOS Mojave
« on: August 03, 2019, 11:13:12 am »
After installation (and auto-migration), got a Slick stack (and two error dialogs).
The same thing happened each time that I attempted to close SE, so I had to force termination.
SE behaves much better after restarting the application - I can't reproduce the error.
Regards,
-ken

Slick Stack:
---------------
 Invalid pointer argument
tbfilelist.ex 13999 tbfilelist:_UpdateFileListModifiedFilesOne(157,1,1)   p_window_id: 213   p_object: OI_EDITOR   p_name:
tbfilelist.ex 13097 tbfilelist:FileListFilterFiles()   p_window_id: 165   p_object: OI_TREE_VIEW   p_name: ctl_file_list
tbfilelist.ex 13658 tbfilelist:_UpdateFileListModifiedFilesOne(157,1,0)   p_window_id: 244   p_object: OI_EDITOR   p_name:
tbfilelist.ex 14252 _UpdateFileListModifiedFiles(1)   p_window_id: 244   p_object: OI_EDITOR   p_name:
tbfilelist.ex 13484 _cbsave_filelist()   p_window_id: 244   p_object: OI_EDITOR   p_name:
files.ex 12636 call_list(_cbsave_)   p_window_id: 244   p_object: OI_EDITOR   p_name:
saveload.ex 111 save_file(/Users/tuchman/Library/Application Support/SlickEdit/24.0.0/user.cfg.xml,-O +DD -Z -ZR -E -S +fenddefaults )   p_window_id: 244   p_object: OI_EDITOR   p_name:
files.ex 8224 save(,16)   p_window_id: 40   p_object: OI_EDITOR   p_name:
savecfg.ex 666 save_config2(1,0)   p_window_id: 40   p_object: OI_EDITOR   p_name:
main.ex 2085 save_config(,0)   p_window_id: 40   p_object: OI_EDITOR   p_name:

MacOS:
----------
[SlickEdit Pro 2019 (v24.0.0.2)
License type: Beta License
License expiration: 2019-10-28 01:00:00
License file: /Library/Application Support/SlickEdit/24/slickedit.lic
Build Date: July 30, 2019
Emulation: macOS
OS: macOS
OS Version: 10.14.6
Processor Architecture: Intel(R) Core(TM) i5-4260U CPU @ 1.40GHz 64 bit (4 cores)
Memory: 99% Load, 4077MB/4096MB Virtual
Shell Information: /Applications/SlickEditPro2019.app/Contents/MacOS/secsh -i
Screen Size: 1366 x 768
Project Type: Perl
Language: .pl (Perl)
Encoding: Automatic
Installation Directory: /Applications/SlickEditPro2019.app/Contents/
Configuration Directory: /Users/tuchman/Library/Application Support/SlickEdit/24.0.0/
Migrated from: /Users/tuchman/Library/Application Support/SlickEdit/23.0.2/

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 5268
  • Hero Points: 432
Re: Slick stack on App open and close, macOS Mojave
« Reply #1 on: August 04, 2019, 12:46:56 pm »
Thanks for the stack info.

Something got corrupted in the File List tool window. Unfortunately, I can't tell how. When a file is saved (user.cfg.xml) and the File List tool window is displayed, there's a hook for the File List to update the modified icon indicator. I wonder if the earlier stacks were the cause of this one.

tuchman

  • Senior Community Member
  • Posts: 137
  • Hero Points: 7
Re: Slick stack on App open and close, macOS Mojave
« Reply #2 on: August 05, 2019, 04:44:02 am »
BTW: Very similar behaviour during my installation of SE on Win10.
Killing SE on exit didn't immediately "fix" the problem on Win10 - I had to restart and kill it one more time.
 

tuchman

  • Senior Community Member
  • Posts: 137
  • Hero Points: 7
Re: Slick stack on App open and close, macOS Mojave
« Reply #3 on: August 05, 2019, 07:49:20 am »
I can reproduce the problem on a 2nd Win10 host - happens every time.
1) Options->Languages->Scripting Languages->Perl->View->Line Numbers->Minimum width
2) Change value, e.g. 3=>4; Apply
3) Change value back to original value; Apply
4) OK
5) Quit application
6) Slick stack...

Invalid pointer argument
tbfilelist.ex 13999 tbfilelist:_UpdateFileListModifiedFilesOne(84,1,1)   p_window_id: 75   p_object: OI_EDITOR   p_name:
tbfilelist.ex 13097 tbfilelist:FileListFilterFiles()   p_window_id: 92   p_object: OI_TREE_VIEW   p_name: ctl_file_list
tbfilelist.ex 13658 tbfilelist:_UpdateFileListModifiedFilesOne(84,1,0)   p_window_id: 13   p_object: OI_EDITOR   p_name:
tbfilelist.ex 14252 _UpdateFileListModifiedFiles(1)   p_window_id: 70   p_object: OI_EDITOR   p_name:
tbfilelist.ex 13484 _cbsave_filelist()   p_window_id: 70   p_object: OI_EDITOR   p_name:
files.ex 12636 call_list(_cbsave_)   p_window_id: 70   p_object: OI_EDITOR   p_name:
saveload.ex 111 save_file(c:\data\SE\24.0.0\user.cfg.xml,+O +D -Z -ZR -E -S +fenddefaults )   p_window_id: 70   p_object: OI_EDITOR   p_name:
files.ex 8224 save(,16)   p_window_id: 70   p_object: OI_EDITOR   p_name:
savecfg.ex 666 save_config2(0,0)   p_window_id: 70   p_object: OI_EDITOR   p_name:
main.ex 2085 save_config(0,0)   p_window_id: 70   p_object: OI_EDITOR   p_name:
window.ex 6039 window:_safe_exit(1,1)   p_window_id: 70   p_object: OI_EDITOR   p_name:
window.ex 5472 safe_exit(1,1)   p_window_id: 70   p_object: OI_EDITOR   p_name:
window.ex 10008 _on_exit(1)   p_window_id: 70   p_object: OI_EDITOR   p_name:

tuchman

  • Senior Community Member
  • Posts: 137
  • Hero Points: 7
Re: Slick stack on App open and close, macOS Mojave
« Reply #4 on: August 05, 2019, 09:32:27 am »
I can also reproduce the problem by renaming the 24.0.0 directory used by SE under the "-sc" path ("vs.exe -sc c:\data\SE")
It seems like any action that results in a change to user.cfg.xml causes the problem, so this essentially stops me from any further testing of this beta.
Any ideas on a work-around?

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 5268
  • Hero Points: 432
Re: Slick stack on App open and close, macOS Mojave
« Reply #5 on: August 05, 2019, 11:54:24 am »
Are you always transferring from a previous config (23.0.2?) when you delete the 24.0.0 directory?

I'm getting the feeling that there's something in your config which is helping to cause these issues. Try starting SlickEdit with a -sc option to a new config directory (vs +new -sc temp-config-dir).
« Last Edit: August 05, 2019, 12:45:28 pm by Clark »

tuchman

  • Senior Community Member
  • Posts: 137
  • Hero Points: 7
Re: Slick stack on App open and close, macOS Mojave
« Reply #6 on: August 06, 2019, 09:45:57 am »
Thanks - No more slick stacks on open/close after starting from a fresh config as you suggested.
I have been carrying around my config for several years without issue on upgrade, but maybe this step was long overdue.

Nonetheless, SE's behavior is this case is pretty annoying.
I can send you my old config files if you think that they may be of value (but I don't want to attach them).

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 5268
  • Hero Points: 432
Re: Slick stack on App open and close, macOS Mojave
« Reply #7 on: August 06, 2019, 11:21:34 am »
Please post your 23.0.2\user.cfg.xml. Hopefully, that's all we need. We'll attempt to upgrade it.

As a work around while we figure this out, you can export your settings from the previous version of SlickEdit and import them into v24.

tuchman

  • Senior Community Member
  • Posts: 137
  • Hero Points: 7
Re: Slick stack on App open and close, macOS Mojave
« Reply #8 on: August 06, 2019, 11:44:27 am »
I'm pretty sure that the issue is related to the user macro xretrace (which I REALLY like - I should have requested similar functionality for this SE release).
My SE configuration changes were going quite well until I installed the latest version of xretrace from scratch.
After xretrace was installed, I started seeing the same slick stack on closing (and later re-opening) SE.
I'll look into this a bit deeper.

tuchman

  • Senior Community Member
  • Posts: 137
  • Hero Points: 7
Re: Slick stack on App open and close, macOS Mojave
« Reply #9 on: August 06, 2019, 12:02:29 pm »
Just in case... the config file.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 5268
  • Hero Points: 432
Re: Slick stack on App open and close, macOS Mojave
« Reply #10 on: August 06, 2019, 02:41:58 pm »
I'm definitely going to need more. I loaded xretrace into a 23.0.2 config with your user.cfg.xml but no luck.

It looks like your macros are installed under your 23.0.2 directory. Can you zip up your 23.0.2 directory without the tagfiles which are large and aren't needed. That should give us everything we need.

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2966
  • Hero Points: 440
Re: Slick stack on App open and close, macOS Mojave
« Reply #11 on: August 06, 2019, 10:00:07 pm »
I was not able to reproduce the stack either, however, I did notice some sloppiness in the code where the stack occurred, so I am checking in a few fixes for the next beta that should prevent this sort of thing from happening.

tuchman

  • Senior Community Member
  • Posts: 137
  • Hero Points: 7
Re: Slick stack on App open and close, macOS Mojave
« Reply #12 on: August 07, 2019, 07:46:06 am »
Hmmmm... Can't reply with the 47MByte attachment.
No obvious error is generated on 'post'.

Update: Also tried 7zip and 25Mbyte upload - no luck.
« Last Edit: August 07, 2019, 02:22:05 pm by tuchman »

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 5268
  • Hero Points: 432
Re: Slick stack on App open and close, macOS Mojave
« Reply #13 on: August 07, 2019, 06:22:17 pm »
Wait for beta 2. Hopefully the change Dennis made will fix this.

If not, we will come up with a way for you to upload your files.

tuchman

  • Senior Community Member
  • Posts: 137
  • Hero Points: 7
Re: Slick stack on App open and close, macOS Mojave
« Reply #14 on: August 12, 2019, 08:04:23 am »
Thanks - I can no longer reproduce the problem using Beta2.