fix the coredump bug when select not existing file
Merge pull request #3 from liuluheng/master

fix the coredump bug when select not existing file