Author Topic: 24.0.2.0: Crash on select line and drag up, macOS  (Read 1628 times)

tuchman

  • Senior Community Member
  • Posts: 144
  • Hero Points: 7
24.0.2.0: Crash on select line and drag up, macOS
« on: April 09, 2020, 03:01:29 PM »
Problem can be relatively easily reproduced.
1) Cursor in middle of variable "current_offset" in line 4 of attached file
2) Then, in VERY fast succession...
2.1) Select line 4 by triple-clicking on track pad, and
2.2) Click trackpad and drag line 4 up towards blank line 3
3) SE crashes...
Crashed Thread:        0  Dispatch queue: com.apple.main-thread
Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x00000133d8241398
Exception Note:        EXC_CORPSE_NOTIFY
Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [9965]

Notes:
1) I also observed this problem in the previous SE version.
2) Also seen in perl and other source files

SlickEdit Pro 2019 (v24.0.2.0)
Licensed number of users: Single user
License file: /Library/Application Support/SlickEdit/24/slickedit.lic
Build Date: April 1, 2020
Emulation: macOS
OS: macOS
OS Version: 10.15.4
Processor Architecture: Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz 64 bit (16 cores)
Memory: 96% Load, 15818MB/16384MB Virtual
Shell Information: /Applications/SlickEditPro2019.app/Contents/MacOS/secsh -i
Screen Size: 1680 x 1050
Project Type: Python
Language: .py (Python)
Encoding: UTF-8, no signature
Installation Directory: /Applications/SlickEditPro2019.app/Contents/
Configuration Directory: /Users/tuchman/Library/Application Support/SlickEdit/24.0.2/
Migrated from: /Users/tuchman/Library/Application Support/SlickEdit/24.0.1/

Dennis

  • Senior Community Member
  • Posts: 3960
  • Hero Points: 517
Re: 24.0.2.0: Crash on select line and drag up, macOS
« Reply #1 on: April 20, 2020, 05:20:41 PM »
Thanks, that was a very good bug report.  I was able to reproduce the problem and am working on a fix for the Qt libraries to put into the next release.

SlickEdit Support

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 384
  • Hero Points: 29
Re: 24.0.2.0: Crash on select line and drag up, macOS
« Reply #2 on: April 21, 2020, 09:33:58 PM »
PM sent.

SlickEdit Support

Sychev

  • Junior Community Member
  • Posts: 7
  • Hero Points: 0
Re: 24.0.2.0: Crash on select line and drag up, macOS
« Reply #3 on: January 25, 2021, 07:05:57 PM »
Are there any updates or patches to this problem? My  SlickEdit Pro 2017 (v22.0.2.1) for Mac crashes any time I try to drag highlighted block of code.

Dennis

  • Senior Community Member
  • Posts: 3960
  • Hero Points: 517
Re: 24.0.2.0: Crash on select line and drag up, macOS
« Reply #4 on: January 25, 2021, 11:58:11 PM »
You would need to upgrade to SlickEdit 2020.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6864
  • Hero Points: 528
Re: 24.0.2.0: Crash on select line and drag up, macOS
« Reply #5 on: January 26, 2021, 03:26:31 AM »
As a work around, you can disable "Allow drag drop of text" Tools>Options>Editing>General. That way, you can't even try to drag/drop text.