Menu

#2114 ScitE crashes when I open some Python script

Bug
closed-fixed
nobody
a11y (3)
5
2019-07-05
2019-06-22
Gigi Naples
No

Hi,
I using Scite, usually with Python scripts.
Since 4.0.4 version, when opening some long script, it crashes and return following message:

Failure in Scintilla

Scintilla failed with status 1. SciTE will now close.

OK

For this reason, I'm turned to 4.0.3 and can't update to last versions.
I using portable Windows version full.

Cheers

LR

Discussion

  • Neil Hodgson

    Neil Hodgson - 2019-06-22

    There weren't any changes to Python support in 4.0.4 that are likely to cause problems. The main changes in that version that could cause problems are to character encoding support like handling invalid UTF-8 byte sequences.

    You should post an example file that crashes.

     
  • Gigi Naples

    Gigi Naples - 2019-06-24

    Hi,
    here's an example Python script which generate the crash. If you try to move cursor or every other action generate crash.

    Cheers

     
  • Zufu Liu

    Zufu Liu - 2019-06-24

    What's your system, please test SciTE 4.1.7, see if it still crash (not crash on my Win10).
    https://www.scintilla.org/SciTEDownload.html

    If it still crash, please also add your SciTEUser.properties (and other properties you modified) here.

     
  • Gigi Naples

    Gigi Naples - 2019-06-24

    Hi,
    I tried with both 32 and 64 bit of Windows 10 Pro.
    It's a very strange because I don't edit any setting.
    I tried also last 4.1.7 but problem persists.
    I'll doing other tests.

    Cheers

    LR

     
    • Neil Hodgson

      Neil Hodgson - 2019-06-24

      Most likely problem is using an assistive technology like the NVDA screen reader. Try turning such tools off and see if it fixes the problem.

       
  • Gigi Naples

    Gigi Naples - 2019-06-25

    Hi,
    I'm visually impaired user and assistive technologies are fundamental for my interactions with pc and smartphones.
    Therefore, I tried with a sighted person to open script without NVDA and effectively it works correctly.
    But, when re-enable screen reader after opened file, Scite crashes immediately.
    Please solve this problem, Scite is my favorite editor for programming.

    Thanks a lot

    LR

     
  • Zufu Liu

    Zufu Liu - 2019-06-25

    This may has been fixed recently by https://sourceforge.net/p/scintilla/bugs/2110/

    You can ask other person to build SciTE from current source and check whether it's been fixed or not. Or test Notepad2 v4.19.06r2148 (which contains the fix) from https://github.com/zufuliu/notepad2/releases

     
    • Gigi Naples

      Gigi Naples - 2019-06-25

      Hi,
      I tried Notepad2, it works correctly with script which causes crash.
      About ScitE, I'll wait future releases.

      Cheers

      LR

       
  • Gigi Naples

    Gigi Naples - 2019-06-25

    Hi,
    thanks a lot for support, I'll test both alternatives.

    Cheers

    LR

     
  • Gigi Naples

    Gigi Naples - 2019-06-25

    Hi,
    I tried Notepad2 posted by Zufu Liu, it works correctly with script which causes crash.
    About ScitE, I'll wait future releases for tests.

    Cheers

    LR

     
  • Zufu Liu

    Zufu Liu - 2019-06-25

    Russo, thanks.

    So this was fixed by https://sourceforge.net/p/scintilla/bugs/2110/

     
  • Zufu Liu

    Zufu Liu - 2019-06-26
    • labels: --> a11y
    • status: open --> open-fixed
     
  • Zufu Liu

    Zufu Liu - 2019-06-26

    Fixed by [d7aeda] in [#2110]

     

    Related

    Bugs: #2110
    Commit: [d7aeda]

  • Gigi Naples

    Gigi Naples - 2019-06-27

    Hi,
    thanks to Zufu Liu which posted last comment, I have been downloaded last Scintilla snapshot.
    I compiled the Win32 files via MinGw using mingw32-make, and I replaced dlls in last ScitE 4.1.7.
    After replacing, I tested the famous script which causes crash and it works correctly!!!
    Yuppy!
    Thanks a lot to Neil and Zufu for patience.

    Cheers

    LR

     
  • Neil Hodgson

    Neil Hodgson - 2019-07-05
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB