SIGSEGV handler with diagnostics, uptime reporting