Menu

#251 Strange hang

9.2.2
open
nobody
None
Bug
minor
2022-09-15
2021-04-22
No

Every now and then, not often, I find that Alpha hangs for no apparent reason. This most recent time I caught the report that would have been sent to Apple, in case this is of any benefit at all. It doesn't happen so often that it is a major event, but it is always annoying when it does happen. Like as not it is interaction with something else on my machine rather than Alpha itself.

1 Attachments

Related

Tickets: #251

Discussion

  • Bernard Desgraupes

    Hi Chris,
    thanks for reporting this. I would need something reproducible or more details about the circumstances. I have reviewed the attached file Problem Report.txt but my skills are insufficient to understand what is going on.
    Let's keep this ticket open until we know more...

     
  • Chris Skeels

    Chris Skeels - 2021-06-01

    Further to this, I am mostly in text mode and the key combination cmd-I does seem to induce the problem.

     
  • Chris Skeels

    Chris Skeels - 2021-06-01

    That previous post should have said TeX mode not text. This, I believe ,is just a repeat of Bug #249, which I notice that you have just closed. Has something happened for it to be resolved?

    It continues to happen for me, although I am still yet to find the cause. That said, it is a tenacious problem once it occurs. It will continually happen at a particular point in the text, no obvious pattern as to which point, although always towards where a line break should ordinarily occur. Once it happens then simply adding further text to the line, even a carriage return will freeze Alpha, it does not require cmd-I to induce the problem. The same problem will not necessarily occur elsewhere in the file and sometimes you can get around it (adding text to the next line will sometimes enable the paragraph to be re-flowed, but not always.

    I wish I had something more useful to contribute.

    Cheers, Chris

     
  • Bernard Desgraupes

    Hi Chris,
    Bugs #246 and #249 have been explicitly fixed. I don't know if this is the same problem as the one you encounter but here are the circumstances that triggered the apparent freeze:
    it occurred potentially in any mode provided the current document had Automatic Line Breaking turned on and there was an escaped comment character in the current line. For instance, in TeX mode (where the comment symbol is %), a line like

    Optimus pretosius corrumperet ossifragi \% catelli...
    

    triggered the freeze when the cursor's position reached the maximum line length (usually position 70 on the line) and also during a reflow with cmd-I. A quoted comment character (like "%" in TeX mode) had the same effect. In Tcl mode, \# or "#" would cause the problem etc.
    Explanation: when deciding to break a line or not, Alpha checks whether the current line is a comment or not, so it looks for a true comment symbol (that would not be escaped or enclosed in quotes). There was unfortunately a mistake in the code: the start position of the search was not properly updated so Alpha kept looking from the same position again, and again, and again...
    This has been fixed in Alpha 9.2.3.

    Do you observe the same or similar circumstances ?

     
  • Chris Skeels

    Chris Skeels - 2022-09-15

    Hi Bernard,

    I can't remember the last time that I saw this problem. I think that this ticket should be marked as fixed and closed. Another ticket can be opened if this problem ever raises its ugly head again.

    Cheers, Chris.

     

Log in to post a comment.

MongoDB Logo MongoDB