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

fix the coredump bug when select not existing file