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

MacOS Sierra
http://sldev.free.fr/forum/viewtopic.php?f=4&t=1666
Page 1 of 1

Author:  Catten [ 2016-09-21 16:44:40 ]
Post subject:  MacOS Sierra

Hi Henri

I can't start Cool Viewer anymore since updating to MacOS Sierra. No logs are generated but the system logs show this

Cool VL Viewer[1678]: Cool VL Viewer(1678,0xa50c11c0) malloc: *** malloc_zone_unregister() failed for 0xa50b9000


Any idea how to solve this quick and make useable build? I'd hate being stuck on firestorm for long :)

Author:  Henri Beauchamp [ 2016-09-21 20:37:14 ]
Post subject:  Re: MacOS Sierra

I don't have a single clue of what it is all about... You'll have to ask on a Mac forum, I guess. Probably some breakage in backward compatibility with old Mac binaries...

It's not a viewer bug however.

You may try and compile the viewer without jemalloc (edit indra/cmake/00-BuildOptions.cmake), since it's the malloc replacement in use by default for Mac builds, but you will loose the memory safety checks and get crashes whenever the virtual address space will be exhausted or will get too fragmented.

Author:  Catten [ 2016-09-22 12:08:56 ]
Post subject:  Re: MacOS Sierra

Yea compiling without did the trick.

Seems there is a patch in the making for this issue: https://github.com/jemalloc/jemalloc/issues/420

/Catten

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