I'm having some problems understanding what are the possible definitons of mass and how they are related to each other.
In Classical Mechanics, we can distinguish between inertial and gravitational mass (although they are supposed to be the same $m_i=m_g$): $$F=m_ia$$
$$F=G\frac{Mm_g}{r^2}$$
On the other hand, in Special Relativity, mass is: $$p^\mu p_\mu=m^2$$
But in Quantum Mechanics, I think none of these definitions should be valid (Newton's second law doesn't hold, gravity can't be described in QM and QM isn't relativistic). So, what mass should we use in Schrödinger's equation, when we state that: $T=\frac{p^2}{2m}$?
In QFT, the correct mass is $p^\mu p_\mu=m^2$, isn't it?
Finally, are there more possible definitions of mass, besides the description in String Theory (maybe in General Relativity, I've read that there are problems defining energy in a localised point, that we can only evaluate the total energy)? Are some definitons more fundamental than the rest?
EDIT: What about this definition I've found in QM $m=\hbar (\frac{d^2E}{dk^2})-1$?