Generalized fracture mechanics