Cool VL Viewer forum
http://sldev.free.fr/forum/

Cool VL Viewer v1.30.0.28 crashes on turning ALM on or off.
http://sldev.free.fr/forum/viewtopic.php?f=4&t=2326
Page 2 of 2

Author:  Henri Beauchamp [ 2022-12-02 22:16:58 ]
Post subject:  Re: Cool VL Viewer v1.30.0.28 crashes on turning ALM on or o

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.

Author:  linyifei [ 2022-12-03 06:03:34 ]
Post subject:  Re: Cool VL Viewer v1.30.0.28 crashes on turning ALM on or o

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!

Author:  Henri Beauchamp [ 2022-12-03 09:28:01 ]
Post subject:  Re: Cool VL Viewer v1.30.0.28 crashes on turning ALM on or o

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:

Author:  linyifei [ 2022-12-04 03:00:03 ]
Post subject:  Re: Cool VL Viewer v1.30.0.28 crashes on turning ALM on or o

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.

Page 2 of 2 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/