Replace assert(0) with abort() or cpu_abort()