The bug leading to the crash is coz of uninitialization of LIST.