:linmath(warning): and other errors!

all of us have seen errors such as this:

:linmath(warning): Tried to invert singular LMatrix3.
:linmath(warning): Tried to invert singular LMatrix3.
:linmath(warning): Tried to invert singular LMatrix3.
:linmath(warning): Tried to invert singular LMatrix3.
:linmath(warning): Tried to invert singular LMatrix3.
:linmath(warning): Tried to invert singular LMatrix3.

or nodes being empty and cornucopia warning and errors. My question is what is the best way to find the source of the errors?

this might help :
discourse.panda3d.org/viewtopic.php?t=2539