Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-03-19 06:45:25



Reply to topic  [ 14 posts ]  Go to page Previous  1, 2
Cool VL Viewer v1.30.0.28 crashes on turning ALM on or off. 
Author Message

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
I just noticed that there is one small change that went into the macOS-specific ones in v1.30.0.25 and did not get reverted in v1.30.0.29 with the rest... And it happens to be in a method called from the preferences panel (a first time at postBuild() time, and another on applyResolution()). While the crash dumps you posted do not list this method, it might still be an issue with it.

So, before you recompile the old versions, and provided you still got the build tree for v1.30.0.29, change the file linden/indra/llwindow/llwindowmacosx.cpp in it to read, at line 731 to read:
Code:
CFArrayRef modes = CGDisplayAvailableModes(mDisplay);
instead of:
Code:
CFArrayRef modes = CGDisplayCopyAllDisplayModes(mDisplay, nullptr);

and remove line 769, i.e. remove:
Code:
CFRelease(modes);

Then relaunch the compilation and see if the resulting build works for you...

This change/revert will also be part of tomorrow's releases.


2022-12-02 22:16:58
Profile WWW

Joined: 2012-01-19 03:18:40
Posts: 196
Location: Sydney, Australia (UTC +10)
Reply with quote
I did still have the build tree for v1.30.0.29, applied the fix as you instructed, and rebuilt the app. It solved the problem! I can turn on/off ALM and make other Preference changes without any problems.

Thank you so much for pursuing this, and looking after Mac users. Vous êtes manifique!


2022-12-03 06:03:34
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
Great !

Glad it finally got solved.

The good thing (TM) in this all, is that you learned how to build the viewer by yourself too ! :lol:


2022-12-03 09:28:01
Profile WWW

Joined: 2012-01-19 03:18:40
Posts: 196
Location: Sydney, Australia (UTC +10)
Reply with quote
Henri Beauchamp wrote:
Great !
The good thing (TM) in this all, is that you learned how to build the viewer by yourself too ! :lol:
I did, and successfully built v1.30.0.30 this morning. So far, it works fine.


2022-12-04 03:00:03
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 14 posts ]  Go to page Previous  1, 2

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.