When I build locally from the develop branch and then launch from the linuxx86_64bin I see this in the terminal:
[210112] MCU_library_load libpango1.0.so.0 > libpango1.0.so.0
[210112] MCU_library_load libpangocairo1.0.so.0 > libpangocairo1.0.so.0
[210112] MCU_library_load libpangoft21.0.so.0 > libpangoft21.0.so.0
[210112] MCU_library_load libpango1.0.so.0 > libpango1.0.so.0
[210112] MCU_library_load libpangocairo1.0.so.0 > libpangocairo1.0.so.0
[210112] MCU_library_load libpangoft21.0.so.0 > libpangoft21.0.so.0
[210112] MCU_library_load libpango1.0.so.0 > libpango1.0.so.0
[210112] MCU_library_load libpangocairo1.0.so.0 > libpangocairo1.0.so.0
[210112] MCU_library_load libpangoft21.0.so.0 > libpangoft21.0.so.0
[210112] MCU_library_load libpango1.0.so.0 > libpango1.0.so.0
[210112] MCU_library_load libpangocairo1.0.so.0 > libpangocairo1.0.so.0
[210112] MCU_library_load libpangoft21.0.so.0 > libpangoft21.0.so.0
[210112] MCU_library_load libpango1.0.so.0 > libpango1.0.so.0
[210112] MCU_library_load libpangocairo1.0.so.0 > libpangocairo1.0.so.0
[210112] MCU_library_load libpangoft21.0.so.0 > libpangoft21.0.so.0
[210112] MCU_library_load libpango1.0.so.0 > libpango1.0.so.0
[210112] MCU_library_load libpangocairo1.0.so.0 > libpangocairo1.0.so.0
[210112] MCU_library_load libpangoft21.0.so.0 > libpangoft21.0.so.0
[210112] MCU_library_load libpango1.0.so.0 > libpango1.0.so.0
[210112] MCU_library_load libpangocairo1.0.so.0 > libpangocairo1.0.so.0
[210112] MCU_library_load libpangoft21.0.so.0 > libpangoft21.0.so.0
[210112] MCU_library_load libpango1.0.so.0 > libpango1.0.so.0
[210112] MCU_library_load libpangocairo1.0.so.0 > libpangocairo1.0.so.0
[210112] MCU_library_load libpangoft21.0.so.0 > libpangoft21.0.so.0
[210112] MCU_library_load libpango1.0.so.0 > libpango1.0.so.0
[210112] MCU_library_load libpangocairo1.0.so.0 > libpangocairo1.0.so.0
[210112] MCU_library_load libpangoft21.0.so.0 > libpangoft21.0.so.0
[210112] MCU_library_load libpango1.0.so.0 > libpango1.0.so.0
[210112] MCU_library_load libpangocairo1.0.so.0 > libpangocairo1.0.so.0
[210112] MCU_library_load libpangoft21.0.so.0 > libpangoft21.0.so.0
[210112] MCU_library_load libpango1.0.so.0 > libpango1.0.so.0
[210112] MCU_library_load libpangocairo1.0.so.0 > libpangocairo1.0.so.0
[210112] MCU_library_load libpangoft21.0.so.0 > libpangoft21.0.so.0
[210112] MCU_library_load libpango1.0.so.0 > libpango1.0.so.0
[210112] MCU_library_load libpangocairo1.0.so.0 > libpangocairo1.0.so.0
[210112] MCU_library_load libpangoft21.0.so.0 > libpangoft21.0.so.0
[210112] MCU_library_load libpango1.0.so.0 > libpango1.0.so.0
[210112] MCU_library_load libpangocairo1.0.so.0 > libpangocairo1.0.so.0
[210112] MCU_library_load libpangoft21.0.so.0 > libpangoft21.0.so.0
[210112] MCU_library_load libpango1.0.so.0 > libpango1.0.so.0
[210112] MCU_library_load libpangocairo1.0.so.0 > libpangocairo1.0.so.0
[210112] MCU_library_load libpangoft21.0.so.0 > libpangoft21.0.so.0
[210112] MCU_library_load libpango1.0.so.0 > libpango1.0.so.0
[210112] MCU_library_load libpangocairo1.0.so.0 > libpangocairo1.0.so.0
[210112] MCU_library_load libpangoft21.0.so.0 > libpangoft21.0.so.0
[210112] MCU_library_load libpango1.0.so.0 > libpango1.0.so.0
[210112] MCU_library_load libpangocairo1.0.so.0 > libpangocairo1.0.so.0
[210112] MCU_library_load libpangoft21.0.so.0 > libpangoft21.0.so.0
Why so much thrashing? Is this reloading all three libraries every time another font is discovered?
so much loading of libraries
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, LCMark

 VIP Livecode Opensource Backer
 Posts: 9701
 Joined: Sat Apr 08, 2006 7:05 am
 Location: Los Angeles
 Contact:
Re: so much loading of libraries
I wonder if that may be related to the huge number of font init calls at boot, which has caused issues with at least one with host:
https://quality.livecode.com/show_bug.cgi?id=14115
https://quality.livecode.com/show_bug.cgi?id=14115
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

 VIP Livecode Opensource Backer
 Posts: 3575
 Joined: Mon Jan 22, 2007 7:36 am
 Location: Berkeley, CA, US
 Contact:
Re: so much loading of libraries
Digging into this a bit further, I see MCU_library_load calls MCSLibraryCreateWithPath, which doesn't seem to exist in the source code but is apparently constructed during the build process by code in weak_stub_maker.pl. And has a bewildering comment by way of explanation. I've read this six times today and still don't have a clue as to what it means.
# MCSupportLibraryLoad and friends have engine dependency  for example
# when weak linking to the crypto library we rely on revsecurity living
# next to the executable, which is resolved using MCcmd. We also rely on
# mappings from dynamic library names to paths which can be custom
# defined as deploy parameters. Hence we need to use special
# implementations for access to the libfoundation system library API
# if we require no engine dependency.
PowerDebug http://powerdebug.ahsoftware.net
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev