Page 5 of 6
Re: Current state of Mac version?
Posted: Wed Oct 12, 2022 4:54 am
by another_commander
Let's start with uploading all the crash logs to a site like pastebin.com, with a link to each of the pastes here. We need to know which 1.91 version you are using and if there is anything in the logs that can provide any hints what is going on.
My guess is that you are using a quite old version and a few crash cases have been fixed recently.
Re: Current state of Mac version?
Posted: Wed Oct 12, 2022 7:16 am
by Cholmondely
As far as I know there has only been the one Apple Mac version (Oolite development version 1.91.0-220208 (x86-64 test release) under Mac OS X Version 10.15.3 (Build 19D2064)) - the one you persuaded Getafix to create.
If you have produced another, surely it would make more sense for me to try that one out and then report back with a new set of logs.... But I don't see it anywhere....
Re: Current state of Mac version?
Posted: Wed Oct 12, 2022 7:40 am
by another_commander
OK, at the time of that Feb 2022 version there were some crash points in the code (which were also crashing the Windows port but maybe not as often as you describe), which were fixed later. Unfortunately, we do not have any Mac builds later than that for testing.
Re: Current state of Mac version?
Posted: Wed Oct 12, 2022 8:02 am
by Cholmondely
Re: Current state of Mac version?
Posted: Wed Oct 12, 2022 8:17 am
by another_commander
This was actually quite helpful. The program did not exactly crash here, it aborted because a condition that should be true at that time was found to not be true and the game bailed out. It was sound related and I am copying here the actual point in the code where it decided to go for a cup of tea, just in case someone with access to a Mac would be willing to look into it further.
Code: Select all
Assertion failed: (buffer == _lastBuffer), function -[OOSoundChannel getNextSoundBuffer], file /Users/getafix/Oolite-dev/oolite/src/Core/OOALSoundChannel.m, line 121.
The method where it fails in OOALSoundChannel.m is below. I have marked the bail-out point.
Code: Select all
- (void) getNextSoundBuffer
{
if (!_bigSound)
{
// we've only loaded one buffer so far
_bigSound = YES;
_lastBuffer = _buffer;
[self enqueueBuffer:_sound];
}
else
{
// _lastBuffer has something in it, so only queue up
// another one if we've finished with that
ALint processed = 0;
OOAL(alGetSourcei(_source, AL_BUFFERS_PROCESSED, &processed));
if (processed > 0) // slot free
{
// dequeue and delete lastBuffer
ALuint buffer;
OOAL(alSourceUnqueueBuffers(_source, 1, &buffer));
assert(buffer == _lastBuffer); // <-------------------------- this is line 121 where it aborts
OOAL(alDeleteBuffers(1,&_lastBuffer));
// shuffle along, and grab the next bit
_lastBuffer = _buffer;
[self enqueueBuffer:_sound];
}
}
}
Re: Current state of Mac version?
Posted: Wed Oct 12, 2022 4:43 pm
by Cholmondely
Helpful? Me? I don't know what you've been drinking, but I obviously could do with some!
Next 4 sets also paste binned - see post above
Re: Current state of Mac version?
Posted: Sat Oct 15, 2022 10:08 pm
by Cholmondely
Done!
And just to say that I've now had several hours playing the Strict/Vanilla Game on this "old" version of 1.91 (very painful when one's combat skills are as lousy as mine - and nowhere near as interesting as the cocktail versions). No crashes yet!
They should be up on Paste-bin for 6 months. But I will hopefully still have the originals...
Re: Current state of Mac version?
Posted: Fri Oct 21, 2022 1:18 pm
by another_commander
All of the crashes with the exception of #9 are abort signals following the failed assert statement at line 121 of OOALSoundChannel.m, as we've already seen above.
#9 appears to be a normal game exit, based on the log. Was that really a crash or is the posted log not the right one?
Re: Current state of Mac version?
Posted: Fri Oct 21, 2022 2:22 pm
by Cholmondely
another_commander wrote: ↑Fri Oct 21, 2022 1:18 pm
All of the crashes with the exception of #9 are abort signals following the failed assert statement at line 121 of OOALSoundChannel.m, as we've already seen above.
#9 appears to be a normal game exit, based on the log. Was that really a crash or is the posted log not the right one?
Alas, dying brain cells,
etc. I just don't remember. Maybe there was something else wrong -
ie being unable to load the saved game.
Are there any other .oxp cocktail recipes you recommend for other possibly interesting results? I'm happy to give it a go, if that's the case.
PS: I trust that all is well over at your end of the planet! Here in the UK, our Tory party is doing a most magnificent job of keeping us all entertained... I
do hope that you are managing to avoid such light relief over there in the cradle of democracy...
Re: Current state of Mac version?
Posted: Wed Aug 21, 2024 9:35 am
by Cholmondely
UPDATE!
Was given an old AppleMac with a
massive screen for playing Oolite (Wow!). Downloaded both Oolite and Oolite Starter from the Downloads page on oolite.space.
1) Oolite's Expansions Manager
still fails to connect to the new site! Is it
really that difficult to fix it?
2) Oolite Starter. I'm not a techie, so had no idea what the ARM/x86_64 distinction really is (My newer AppleMac laptop proclaims itself as having a processor called "1.1 GHz Dual-Core Intel Core i3"). I guessed that the later date on x86_64 was Mr Flibble's later rendition of a Hiranic original for the newest contraptions. AND I had to know to scroll down to the last stable version. And then I could not get it to fire up.
Expansions Hell
Our OXZ list is
not very useful.
Despite knowing the Expansions really well, I managed to download six mistakes (mostly due to poor labelling - "Superhub for Extra Planets" only works with the
Additional Planets suite/wrong version of Telescope's "Station Options"/etc).
BGS/BackGroundSet is
very confusing with no indication that they are the same thing.
Why two versions of Commodity Markets?
Why two versions of Market Observer?
Et cetera
The list is a horrendous mess - and that is speaking as somebody who knows his way around the expansions.
•Oolite Starter's flavours seem the easiest fix for this - but I can't get the newest version to work on my AppleMacs (see above).
•A more complex fix would be to edit the Expansions list and more clearly label what is there.
This has snags:
(i) the Expansions have previously been named/described/labelled by their authors and this would infringe on their territory (just see how delighted and ecstatic Reval was when it was pointed out to him that his tagging every OXP page (Goods Container 5 TC, GETTER HUD, FE Ships Player, Overdrive OXZ...) as a "Category:Fictional organisations" was wrong and confusing)
(ii) it would probably require mucking about with each relevant manifest.plist too
Re: Current state of Mac version?
Posted: Wed Aug 21, 2024 9:52 am
by MrFlibble
Cholmondely wrote: ↑Wed Aug 21, 2024 9:35 am
UPDATE!
Was given an old AppleMac with a massive screen for playing Oolite (Wow!). Downloaded both Oolite and Oolite Starter from the Downloads page on oolite.space.
1) Oolite's Expansions Manager still fails to connect to the new site! Is it really that difficult to fix it?
2) Oolite Starter. I'm not a techie, so had no idea what the ARM/x86_64 distinction really is (My AppleMac proclaims itself as having a processor called "1.1 GHz Dual-Core Intel Core i3"). I guessed that the later date on x86_64 was Mr Flibble's later rendition of a Hiranic original for the newest contraptions. AND I had to know to scroll down to the last stable version.
But then I could not get it to fire up.
Expansions Hell
Our OXZ list is not very useful.
Despite knowing the Expansions really well, I managed to download six mistakes (mostly due to poor labelling - "Superhub for Extra Planets" only works with the Additional Planets suite/wrong version of Telescope's "Station Options"/etc).
BGS/BackGroundSet is very confusing with no indication that they are the same thing.
Why two versions of Commodity Markets?
Why two versions of Market Observer?
Et cetera
The list is a horrendous mess - and that is speaking as somebody who knows his way around the expansions.
Oolite Starter's flavours seem the easiest fix for this - but I can't get the newest version to work on my AppleMacs (see above).
So that's an Intel, but at that speed I'm guessing not very recent. What version of MacOS is it running?
Re: Current state of Mac version?
Posted: Wed Aug 21, 2024 10:06 am
by Cholmondely
MrFlibble wrote: ↑Wed Aug 21, 2024 9:52 am
So that's an Intel, but at that speed I'm guessing not very recent. What version of MacOS is it running?
The date of 2011 has cropped up for the "new" one. But the MacOS on that model is 10.15 Catalina.
Edited to add: the details are taken from my current laptop (2020) - the download was to a rather older computer.
Re: Current state of Mac version?
Posted: Wed Aug 21, 2024 10:22 am
by MrFlibble
Cholmondely wrote: ↑Wed Aug 21, 2024 10:06 am
MrFlibble wrote: ↑Wed Aug 21, 2024 9:52 am
So that's an Intel, but at that speed I'm guessing not very recent. What version of MacOS is it running?
The date of 2011 has cropped up for the "new" one. But the MacOS on that model is 10.15 Catalina.
Edited to add: the details are taken from my current laptop (2020) - the download was to a rather older computer.
I've got to do some planet Earth stuff until tomorrow, when I'll check which version of Starter works on my Intel Catalina and ask you to test it.
Re: Current state of Mac version?
Posted: Wed Aug 21, 2024 2:03 pm
by Wildeblood
Cholmondely wrote: ↑Wed Aug 21, 2024 9:35 am
Expansions Hell
Our OXZ list is not very useful...
The list is a horrendous mess - and that is speaking as somebody who knows his way around the expansions.
'Twas ever thus.
Re: Current state of Mac version?
Posted: Wed Aug 21, 2024 2:36 pm
by phkb
Cholmondely wrote: ↑Wed Aug 21, 2024 9:35 am
BGS/BackGroundSet is very confusing with no indication that they are the same thing.
Happy to remove the old versions if that's what's needed.
Cholmondely wrote: ↑Wed Aug 21, 2024 9:35 am
Why two versions of Commodity Markets?
v1.2.3 is designed to work with Market Observer. v2.0.1 is designed for non-Market Observer (ie standard Oolite).
Cholmondely wrote: ↑Wed Aug 21, 2024 9:35 am
Why two versions of Market Observer?
v2.3.2 is designed for Oolite 1.79 and up. v3.7 is designed for Oolite 1.82 and up.
Look, I'm happy to clean this up. We just need to make a call on whether we want to keep these older versions available via the manager. We can keep them available on the wiki and just remove them from the DM. Let me know.