Known Bugs
Forum rules
Be kind.
Be kind.
- tperry2x
- Posts: 3209
- Joined: Tue Dec 21, 2021 9:10 pm
- Location: Somewhere in deepest darkest Norfolk, England
- Contact:
Re: Known Bugs
Tested in Arch Linux, Ubuntu Mate, Zorin OS, and Fedora today (mostly VMs - except the Fedora distro, which is on a legacy piece of hardware).
(And of course, MX Linux - which is my "daily driver")
I can report that they all managed to play back the video as per my tests above. Fedora was very laggy at first, but sped up when the inspector was closed. So the inspector probably wants looking at next, regarding how it's applying the various properties on a "Player" object.
I'm probably going to mark this as 'fixed' on the bug status page, with the proviso that the dependency procedure should be followed.
edit: I find it funny that my post about the video and the fix has had over 250 views! (only 56 registered users) - but nobody offering to test it. Oh well, never mind.
(And of course, MX Linux - which is my "daily driver")
I can report that they all managed to play back the video as per my tests above. Fedora was very laggy at first, but sped up when the inspector was closed. So the inspector probably wants looking at next, regarding how it's applying the various properties on a "Player" object.
I'm probably going to mark this as 'fixed' on the bug status page, with the proviso that the dependency procedure should be followed.
edit: I find it funny that my post about the video and the fix has had over 250 views! (only 56 registered users) - but nobody offering to test it. Oh well, never mind.
- tperry2x
- Posts: 3209
- Joined: Tue Dec 21, 2021 9:10 pm
- Location: Somewhere in deepest darkest Norfolk, England
- Contact:
Re: Known Bugs
Having been staring at the engine code most of the weekend (yes, I know - seems sad, but it's been raining again... typical uk weather, so...):
I'd been looking at malloc errors in the engine, and found one that affects all platforms to a varying degree.
The short version of this is repeated use of the switch case function leads to escalating memory use, until a certain point where the engine will spontaneously exit (MacOS - and take down the entire IDE) or (Linux - where menu drawing suddenly slows to a crawl as the memory heap reports having no available memory). (note to self: use munmap() to unmap the memory once I've identified what is causing this).
Windows does not seem to be affected, as looking at memory maps - the memory does escalate momentarily, but it is released, so never becomes a problem. (Verified behaviour using RAMMap)
It's difficult to see exactly what the root cause of this escalation of memory is on MacOS and Linux, but the symptoms to reproduce it involve working extensively with the switch case method for hours on end (macos). Or, on Linux - sometimes the bug can come into effect upon the launch of an instance of the IDE. This is what makes it hard to fix, as the bug behaves differently between platforms. It could even be a shared library causing it. (platform specific).
As such, the older method of if else statements may be better if you are working on switch case for hours on end without quitting the IDE. Alternatively, if you are (thinking of Richmond's Sheba stack when I write this), best to save the stack and relaunch the IDE every couple of hours of continued use.
I'd been looking at malloc errors in the engine, and found one that affects all platforms to a varying degree.
The short version of this is repeated use of the switch case function leads to escalating memory use, until a certain point where the engine will spontaneously exit (MacOS - and take down the entire IDE) or (Linux - where menu drawing suddenly slows to a crawl as the memory heap reports having no available memory). (note to self: use munmap() to unmap the memory once I've identified what is causing this).
Windows does not seem to be affected, as looking at memory maps - the memory does escalate momentarily, but it is released, so never becomes a problem. (Verified behaviour using RAMMap)
It's difficult to see exactly what the root cause of this escalation of memory is on MacOS and Linux, but the symptoms to reproduce it involve working extensively with the switch case method for hours on end (macos). Or, on Linux - sometimes the bug can come into effect upon the launch of an instance of the IDE. This is what makes it hard to fix, as the bug behaves differently between platforms. It could even be a shared library causing it. (platform specific).
As such, the older method of if else statements may be better if you are working on switch case for hours on end without quitting the IDE. Alternatively, if you are (thinking of Richmond's Sheba stack when I write this), best to save the stack and relaunch the IDE every couple of hours of continued use.
- richmond62
- Posts: 4831
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
Re: Known Bugs
I am absolutely sure that a whole slew of people are 'out there' transcribing the complete Kebra Nagast using my Sheba stack as we face this problem.
What is more to the point (think about the far larger SWITCH statements in my Devawriter Pro thing) is whether this happens in a standalone.

What is more to the point (think about the far larger SWITCH statements in my Devawriter Pro thing) is whether this happens in a standalone.
https://richmondmathewson.owlstown.net/
- tperry2x
- Posts: 3209
- Joined: Tue Dec 21, 2021 9:10 pm
- Location: Somewhere in deepest darkest Norfolk, England
- Contact:
Re: Known Bugs
That I don't know - I've not tried regenerating the standalones, or monitoring them for memory leaks, but that is a very good point.richmond62 wrote: ↑Sun Nov 10, 2024 6:35 pm What is more to the point (think about the far larger SWITCH statements in my Devawriter Pro thing) is whether this happens in a standalone.
Edit: I'm getting off topic here, so moved the next couple of posts here.
- tperry2x
- Posts: 3209
- Joined: Tue Dec 21, 2021 9:10 pm
- Location: Somewhere in deepest darkest Norfolk, England
- Contact:
Re: Known Bugs
Poking around in the IDE, I found something that WILL become a problem, but isn't yet.
IF we ever get past MacOS 19 - when it goes to 20 (and if the IDE still runs)... (there's a lot of "if's" there)... but it'll be here sooner or later.
Anyway, when running on macOS 20+, if you were to 'get the platform', it'll come back as "MacOS Classic"
One to bear in mind for future!
This will also mean in theory, that all Mac standalones ever created, will also identify the platform as "MacOS Classic" - so if anyone has used:
in a standalone, that won't work... and that (in theory) might break a few things.
But it's a bit niche, nonetheless.
IF we ever get past MacOS 19 - when it goes to 20 (and if the IDE still runs)... (there's a lot of "if's" there)... but it'll be here sooner or later.
Anyway, when running on macOS 20+, if you were to 'get the platform', it'll come back as "MacOS Classic"

One to bear in mind for future!
This will also mean in theory, that all Mac standalones ever created, will also identify the platform as "MacOS Classic" - so if anyone has used:
Code: Select all
if the platform is "MacOS X" then...
But it's a bit niche, nonetheless.
- richmond62
- Posts: 4831
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
Re: Known Bugs
If Apple keep churning out versions at the rate they do that'll be in 2029, when many people using Mac computers won't know what 'Classic' means in that context.
Having found that can you not edit it to check for 1 or 2, as by the time we get to MacOS 30 I'm "planning" to be dead, senile, or planting cabbages with my nose in a sun-kissed monastery for antiquated nut-cases.
Having found that can you not edit it to check for 1 or 2, as by the time we get to MacOS 30 I'm "planning" to be dead, senile, or planting cabbages with my nose in a sun-kissed monastery for antiquated nut-cases.
https://richmondmathewson.owlstown.net/
- tperry2x
- Posts: 3209
- Joined: Tue Dec 21, 2021 9:10 pm
- Location: Somewhere in deepest darkest Norfolk, England
- Contact:
Re: Known Bugs
You can, it's in the revcommonlibrary - and it's definitely editable.richmond62 wrote: ↑Thu Nov 14, 2024 7:51 pm Having found that can you not edit it to check for 1 or 2...
I was in there poking around anyway, to fix revCopyFile on Windows and hunting for things that might be slowing the IDE down.
Edit: Richmond has confirmed it's not as pressing as I feared:
I just realised - that'll be a problem sooner rather than I thought!
This platform function uses systemversion. As in, the unfixed systemversion - the one that gets reported incorrectly by the engine.
With MacOS 11 actually reporting as 16 by the engine currently, that would in theory mean that MacOS 15 reports as MacOS 20 in the IDE if you run "put the systemversion".
If that's the case, can you try "put the platform" under MacOS sequoia for me Richmond? - I want to see if it comes back with "MacOS Classic"
I also found there's this undocumented(?) function:
Code: Select all
put macVersionLessThan("9.2.2", "11.3.1")
Anyway, please can you check what "put the platform" returns under MacOS 15 Sequoia.
A suggested fix could be:
- richmond62
- Posts: 4831
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
Re: Known Bugs
Yes, of course.
Currently hanging around in a queue to have my summer tyres taken off and the winter ones fitted . . .
You never know your luck, I might get to the machine running MacOS Wellingtonia within the next 2-3 hours.
Currently hanging around in a queue to have my summer tyres taken off and the winter ones fitted . . .
You never know your luck, I might get to the machine running MacOS Wellingtonia within the next 2-3 hours.

https://richmondmathewson.owlstown.net/
- richmond62
- Posts: 4831
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
- richmond62
- Posts: 4831
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
Re: Known Bugs
Ooooooo: the Dictionary does not seem to be working:
-
-
https://richmondmathewson.owlstown.net/
- tperry2x
- Posts: 3209
- Joined: Tue Dec 21, 2021 9:10 pm
- Location: Somewhere in deepest darkest Norfolk, England
- Contact:
Re: Known Bugs
Can you try
Will go through the dictionary thing in a sec, just want to do one thing at a time.
Code: Select all
put the platform
- richmond62
- Posts: 4831
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
Re: Known Bugs
I did exactly that AND posted a screen shot just now.Can you try
Oh, AND:
-
https://richmondmathewson.owlstown.net/
- tperry2x
- Posts: 3209
- Joined: Tue Dec 21, 2021 9:10 pm
- Location: Somewhere in deepest darkest Norfolk, England
- Contact:
Re: Known Bugs
Cool. 15.2 is what you should be seeing of course.richmond62 wrote: ↑Fri Nov 15, 2024 1:25 pmI did exactly that AND posted a screen shot just now.Can you try
Oh, AND:
-
SShot 2024-11-15 at 15.24.00.png
Sorry, our posts crossed over. I replied too early.
for the dictionary thing, still loading here: So, can you navigate to: Can you open any of those text files in a text editor?
If you can't, then it'll be a permissions thing, and I'll need to start setting the permission of these on the Mac just like I do on Windows and Linux currently.
For the meantime, go back a few folder levels, get-info on the "exports" folder. Make yourself have read & write access and apply to "all enclosed items..."
- tperry2x
- Posts: 3209
- Joined: Tue Dec 21, 2021 9:10 pm
- Location: Somewhere in deepest darkest Norfolk, England
- Contact:
Re: Known Bugs
Good news with the incorrect systemversion, that it's counting MacOS 15 Sequoia as 10.16 at least, not 16 - because if it were doing that, as I say - we'd be up to 20 now and be reporting the platform as "MacOS classic".
It buys us some more time at the very least.
I'll build a check into the dictionary stack, so it deals with permissions. That'll be a relatively simple thing to add, so thank you for finding that. (If it's indeed what that is).
It buys us some more time at the very least.
I'll build a check into the dictionary stack, so it deals with permissions. That'll be a relatively simple thing to add, so thank you for finding that. (If it's indeed what that is).
- richmond62
- Posts: 4831
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
Re: Known Bugs
Yes: that 'systemVersion function.txt' can be opened with TextEdit on MacOS 15.2 beta 3 without a problem.
https://richmondmathewson.owlstown.net/
- richmond62
- Posts: 4831
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
- tperry2x
- Posts: 3209
- Joined: Tue Dec 21, 2021 9:10 pm
- Location: Somewhere in deepest darkest Norfolk, England
- Contact:
Re: Known Bugs
If nothing is populating in the dictionary window, that implies that OXT can't read the contents of that folder (the exports folder I mention above) - yes, as per that screenshot you just posted - for whatever reason.
If you click on the padlock, change it to "read only" for example, then apply to all enclosed items. Then change it back to "read and write" (if you want) - see if it can load then?
or you can open a terminal, type "sudo chmod -R 755 " (with a space at the end) - then drag that folder in and press return.
(as I say, I'll build this check in, if that works).
If you click on the padlock, change it to "read only" for example, then apply to all enclosed items. Then change it back to "read and write" (if you want) - see if it can load then?
or you can open a terminal, type "sudo chmod -R 755 " (with a space at the end) - then drag that folder in and press return.
(as I say, I'll build this check in, if that works).
- richmond62
- Posts: 4831
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
Re: Known Bugs
Did that,and, NO: Dictionary "says no!" 
This is NOT happening at home with the MacOS 12 Monterey machine.

This is NOT happening at home with the MacOS 12 Monterey machine.
https://richmondmathewson.owlstown.net/
- tperry2x
- Posts: 3209
- Joined: Tue Dec 21, 2021 9:10 pm
- Location: Somewhere in deepest darkest Norfolk, England
- Contact:
Re: Known Bugs
Hmmm. That is curious.
(and annoying if I'm honest)
I wonder if it's some kind of OS sandbox thing?
Well, you'll be glad to know that I will hopefully have a mac that will run Sequoia soon, so at least I'll be able to test and diagnose these issues a little better. (Rather than developing on Catalina and scrounging the use of a Monterey mac from someone else!).
So, things should only improve in that regard. (more cement, less sand)
I don't think I'll try betas though, I'll stick to non-beta OS releases.
(and annoying if I'm honest)
I wonder if it's some kind of OS sandbox thing?
Well, you'll be glad to know that I will hopefully have a mac that will run Sequoia soon, so at least I'll be able to test and diagnose these issues a little better. (Rather than developing on Catalina and scrounging the use of a Monterey mac from someone else!).
So, things should only improve in that regard. (more cement, less sand)
I don't think I'll try betas though, I'll stick to non-beta OS releases.
- richmond62
- Posts: 4831
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
Re: Known Bugs
Whatever rubbish Apple may spew out, I would treat ALL MacOS releases as part of an ongoing rolling-release where nothing is ever finished.I don't think I'll try betas though, I'll stick to non-beta OS releases.
https://richmondmathewson.owlstown.net/
Who is online
Users browsing this forum: No registered users and 2 guests