And just because Malthusians have been wrong for centuries, doesn't mean they won't turn out to be right in the next 50 years. At some point something will snap. Yeah, we have it pretty good right now. At least those of us in the west. I'm not sure if those people in India who have to endure 51 Celsius heats, don't have access to fresh water and live in areas where it's hard to breathe are in a better positions than their ancestors.
A trillion people on Earth may be possible if there was a God designing the planet from scratch with the specific aim to put a trillion people on it. But moving gradually to such a number, from where we are now, I'd say is absolutely impossible. Countries like India and China that are already bursting at the seams, seem to be proving that.