Current state of Mac version?

Discussion and announcements regarding the Mac port… er, original version of Oolite.

Moderators: winston, another_commander

another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6646
Joined: Wed Feb 28, 2007 7:54 am

Re: Current state of Mac version?

Post 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.
User avatar
Cholmondely
Archivist
Archivist
Posts: 5280
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Current state of Mac version?

Post 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....
Last edited by Cholmondely on Wed Oct 12, 2022 7:45 am, edited 1 time in total.
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6646
Joined: Wed Feb 28, 2007 7:54 am

Re: Current state of Mac version?

Post 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.
User avatar
Cholmondely
Archivist
Archivist
Posts: 5280
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Current state of Mac version?

Post by Cholmondely »

I've posted the first five sets of reports

The crash happened while priming equipment.

The AppleMac report is on top, followed by lots of space (a dozen carriage returns), and then the latest.log


Would it help if I changed the format in some way for the other crash reports?

1st crash: priming equipment
2nd crash: changed view
3rd crash: (forget what I did)
4th crash: left game
5th crash: while looking around
6th crash: slowing down
7th crash: while looking around
8th crash: ILS was about to turn ship towards station for docking (mislabeled as 7th but with correct description)
9th crash: saved game did not load (no AppleMac report)
10th crash: changed view
11th crash: just flying (did I change the view?)
12th crash: did nothing but had just changed the view
13th crash: had just arrived at the witchpoint beacon
14th crash: just as I docked
15th crash: just docking with a Rock Hermit

Edited to show progressive pasting and binning of sundry crash reports!
Edited to say "Finished!"
Last edited by Cholmondely on Sat Oct 15, 2022 10:05 pm, edited 2 times in total.
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6646
Joined: Wed Feb 28, 2007 7:54 am

Re: Current state of Mac version?

Post 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];
		}
	}
}
User avatar
Cholmondely
Archivist
Archivist
Posts: 5280
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Current state of Mac version?

Post by Cholmondely »

another_commander wrote: Wed Oct 12, 2022 8:17 am
This was actually quite helpful.
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
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
Cholmondely
Archivist
Archivist
Posts: 5280
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Current state of Mac version?

Post by Cholmondely »

another_commander wrote: Wed Oct 12, 2022 8:17 am
This was actually quite
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...
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6646
Joined: Wed Feb 28, 2007 7:54 am

Re: Current state of Mac version?

Post 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?
User avatar
Cholmondely
Archivist
Archivist
Posts: 5280
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Current state of Mac version?

Post 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...
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
Cholmondely
Archivist
Archivist
Posts: 5280
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Current state of Mac version?

Post 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
Last edited by Cholmondely on Wed Aug 21, 2024 10:08 am, edited 2 times in total.
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
MrFlibble
---- E L I T E ----
---- E L I T E ----
Posts: 313
Joined: Sun Feb 18, 2024 12:13 pm

Re: Current state of Mac version?

Post 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?
User avatar
Cholmondely
Archivist
Archivist
Posts: 5280
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Current state of Mac version?

Post 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.
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
MrFlibble
---- E L I T E ----
---- E L I T E ----
Posts: 313
Joined: Sun Feb 18, 2024 12:13 pm

Re: Current state of Mac version?

Post 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.
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2409
Joined: Sat Jun 11, 2011 6:07 am
Location: Western Australia

Re: Current state of Mac version?

Post 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.
In your heart, you know it's flat.
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4814
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Current state of Mac version?

Post 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.
Post Reply