Error: Process is not alive while implementing a Stack through genserver

Check the order of the arguments in your handle_call/3 callback function.