Analysis of critical threshold phenomena in hyperbolic balance laws