Use just +map midnight, not +set map midnight. Map is a command, not a setting. Also, after it crashes, type "up" and press enter a few times. That will identify the functions that lead to calling CL_Shutdown().
Actually, I think I may have fixed the crash, but the server is shutting down because of something (maybe it was just the +set map instead of +map).