Because the default LL textures are not included with libomv attemping to bake layers with them will fail, but this causes an extra side effect that can be avoided.
Every attempted upload adds to pending uploads, if the bake as failed (due to LL textures or some other reason) UploadBake(Baker bake) will be called with bake.BakedTexture.AssetID==UUID.Zero, this attempts to add a upload with a UUID.Zero to the pending uploads, this of cause will never complete.
UpdateAppearanceFromWearables() which is used in most paths to set what the agent is wearing will block on CachedResponseEvent.WaitOne(); (if baking), this event is only ever set if all pending uploads =0 which cannot occur if the above situation occurs.
Patch attached that does not attempt to add failed bakes, this allows the appearance setting to continue so that any other available bakes and the AgentIsNowWearing() gets called, preventing cloud AV's in many situations.