FIXED: V16.50 - hanging while editing html file

Report issues, odd behaviors or submit a detailed bug report.
User avatar
DerellLicht1
Posts: 203
Joined: 23 Jul 2021 17:38
Location: Fremont, CA, USA

FIXED: V16.50 - hanging while editing html file

Post by DerellLicht1 »

I have a new problem that is popping up here... I haven't experienced this in previous versions.
I am editing an html file containing 15,825 lines...

I am not at all sure what is actually causing the issue, and I cannot reproduce it intentionally, but it has happened more than 10 times in the past 10 minutes or so.
What will happen is, I'm typing something into the body of the file; most recently, I was typing:

Code: Select all

width=456 height=816
into an IMG tag, but I got to the 'h', and the crash occurred.
What happens is, the entire window greys out, I get a spinning busy cursor, and the program is hung...
I never get any error dialogs or anything.
I eventually switch back and kill the editor from the command line.

Is anyone else seeing this??
Last edited by DerellLicht1 on 01 Nov 2025 21:11, edited 4 times in total.
User avatar
DerellLicht1
Posts: 203
Joined: 23 Jul 2021 17:38
Location: Fremont, CA, USA

Re: V16.50 - hanging while editing html file

Post by DerellLicht1 »

Okay, I just got an interesting clue; I got this crash again, while I was typing text into the file.
After I terminated texted from command line, then re-started the program,
I got a pop-up dialog that said "another program made changes to this file. Do you want to reload this file and lose all the changes that you made??"
However, *nothing* is editing this file except RJTE, and there is only one copy of the file open in the editor...

Interesting, eh??
User avatar
Rickard Johansson
Site Admin
Posts: 6908
Joined: 19 Jul 2006 14:29

Re: V16.50 - hanging while editing html file

Post by Rickard Johansson »

There is a debug version available that can detect when the program hangs.

Please try it and when the program hangs - wait 10 seconds and see if a dialog pops up.

https://www.rj-texted.se/downloads/TextEd.zip
User avatar
DerellLicht1
Posts: 203
Joined: 23 Jul 2021 17:38
Location: Fremont, CA, USA

Re: V16.50 - hanging while editing html file

Post by DerellLicht1 »

Okay, I got this crash again with debug version... here is the debug report:

Interesting thing about the crash in debug version; I initially got the popup about this error report, saved that, then went back to continue typing, and at that point I again got the greyed-out screen and program hang...

In this case, I *never* got the dialog that says "this program appears to have hung" ... unlike the following example (bugreport2).
Attachments
rjte.bugreport.zip
(10.84 KiB) Downloaded 640 times
Last edited by DerellLicht1 on 30 Oct 2025 01:35, edited 2 times in total.
User avatar
DerellLicht1
Posts: 203
Joined: 23 Jul 2021 17:38
Location: Fremont, CA, USA

Re: V16.50 - hanging while editing html file

Post by DerellLicht1 »

Also, here is the file that I am editing; go down to line 287, and try typing there...
Attachments
The Prometheus crisis text.out.zip
(306.8 KiB) Downloaded 650 times
User avatar
DerellLicht1
Posts: 203
Joined: 23 Jul 2021 17:38
Location: Fremont, CA, USA

Re: V16.50 - hanging while editing html file

Post by DerellLicht1 »

Okay, here's a more typical freeze-on-typing, like the others that I've had...
Attachments
rjte.bugreport2.zip
(11.37 KiB) Downloaded 623 times
User avatar
DerellLicht1
Posts: 203
Joined: 23 Jul 2021 17:38
Location: Fremont, CA, USA

Re: V16.50 - hanging while editing html file

Post by DerellLicht1 »

Permit me to provide a little more detail on what I've been doing on this file...

I read through the file, and insert a <p> at the end of each paragraph (using a keyboard macro).
In the meantime, I am viewing the resulting html file in a web browser (Firefox, in this case)...
If I see any typos in the text, I switch back to RJTE, correct the error, then refresh the browser display and proceed.

The error *never* occurs when I insert the <p> into the text...
It also, rarely occurs (I *think*) when I simply correct typos in the text.
It primarily occurs when text is missing from the file, and I need to type in the missing text.

I hope this context is of some use to you...
User avatar
Rickard Johansson
Site Admin
Posts: 6908
Joined: 19 Jul 2006 14:29

Re: V16.50 - hanging while editing html file

Post by Rickard Johansson »

I think it's a code explorer issue caused by the <p> tags. Because there is no end tag </p> it tries to add thousands of sub items in the tag tree and the program crash or hang when the program can't allocate more system resources.

To confirm, test again but first close the "Code Explorer" panel.
User avatar
DerellLicht1
Posts: 203
Joined: 23 Jul 2021 17:38
Location: Fremont, CA, USA

Re: V16.50 - hanging while editing html file

Post by DerellLicht1 »

Oh, interesting!!
I've never looked at code explorer before, but yeah, I see those streams of <p> entries in the listing...

Maybe I should switch from <p> to <br>, to do paragraph breaks??
Anyway, this probably resolves this issue. Consider it closed for now, if I see anything else pop up, I'll update this thread.
User avatar
Rickard Johansson
Site Admin
Posts: 6908
Joined: 19 Jul 2006 14:29

Re: V16.50 - hanging while editing html file

Post by Rickard Johansson »

Added a max value of sub items in the tree view. It seems to work well...

Fixed in next release (v16.51). Thanks!
User avatar
DerellLicht1
Posts: 203
Joined: 23 Jul 2021 17:38
Location: Fremont, CA, USA

Re: FIXED: V16.50 - hanging while editing html file

Post by DerellLicht1 »

Dang... nope, still happening.
I closed code explorer, and also converted all <p> to <br><br>
But when I went to type in some missing text, I still got this crash...
Attachments
bugreport3.zip
(11.04 KiB) Downloaded 644 times
User avatar
DerellLicht1
Posts: 203
Joined: 23 Jul 2021 17:38
Location: Fremont, CA, USA

Re: FIXED: V16.50 - hanging while editing html file

Post by DerellLicht1 »

Well, I've been working away for another 5 hours now, since I eliminated all the <p> entries, and this crash only happened the one time that I documented... so I don't know what is going on... there *is* something still there, but it is less common than the <p> artifacts were... in fact, it *might* be a separate issue from the original, since the symptoms are somewhat different...
User avatar
Rickard Johansson
Site Admin
Posts: 6908
Joined: 19 Jul 2006 14:29

Re: FIXED (??): V16.50 - hanging while editing html file

Post by Rickard Johansson »

I think I finally found the issue. I've uploaded a new test version

https://www.rj-texted.se/downloads/TextEd.zip


If you have time - please try it out.
User avatar
DerellLicht1
Posts: 203
Joined: 23 Jul 2021 17:38
Location: Fremont, CA, USA

Re: FIXED (??): V16.50 - hanging while editing html file

Post by DerellLicht1 »

Yep, definitely still happening. "The application seems to be frozen."
I let the dialog send the bug report to you directly.

Actually, I see what the issue is... apparently, I have the same problem with <br> as I have with <p> ...
I had re-enabled code explorer, thinking that the problem was solved by getting rid of all <p> ...

I'll have to test again once I get V16.51 ...
Attachments
The Prometheus crisis text.out.zip
(292.8 KiB) Downloaded 674 times
User avatar
DerellLicht1
Posts: 203
Joined: 23 Jul 2021 17:38
Location: Fremont, CA, USA

Re: FIXED (??): V16.50 - hanging while editing html file

Post by DerellLicht1 »

Rickard Johansson wrote: 31 Oct 2025 14:45 I think I finally found the issue. I've uploaded a new test version

https://www.rj-texted.se/downloads/TextEd.zip

If you have time - please try it out.
Okay, I just tested it out on the current problem line, and I was able to type it in successfully...
Cool!!

I'll keep testing...
btw, I've re-re-enabled code-explorer, to ensure that I'm testing the real issues.
Post Reply