I did not say it would solve anything. I simply stated an Opinion that married Priests might be good for the church.
I think implied in your comment was that if only these guys, their testosterone raging, could marry women, it would end the problem of homosexuality and pedophilia in the church. Please accept my apologies if I was mistaken.
I am not a Catholic, but it is scriptural (Paul's writings) that some are called by God to be celibate, and there certainly is historical precedent for folks who are successfully celibate.
You may be able to argue that some folks enter the priesthood because they are not comfortable with their sexuality and hope to avoid the issue.
Christian faith enables individuals to make choices and to overcome sin. Destructive sexual behaviors, though addictive, are not uncontrollable (unless, I suppose, you're a rabbit or a tomcat.) Even those with homosexual or pedophilia tendencies can make a conscious decision, with God's help, not to indulge in their fantasies.
It is up to the Catholics, certainly, whether they want priests to be able to marry. I understand that the Catholic church is accepting some who are already married. And it might change the mix of folks willing to go into the priesthood. However, celibacy does not turn a person into a pedophile, nor the ability to marry prevent pedophilia.