On Wed, Sep 24, 2014 at 9:31 PM, Nan Xiao <xiaonan830818@xxxxxxxxx> wrote: > > ...... > size_t filename_length = strlen(info->filename); > ...... > > I can see the root cause is the "info->filename" is invalid (After > disassembling the code, the address is 0x57c4ac00000000, and it is > indeed invalid). > > I don't know how to analyse this bug, could anyone give any clues? > Thanks very much in advance! > I would consider using valgrind or address-sanitizer/memory-sanitizer to track down your bug. Note that the latter two options require a fairly recent version of gcc or clang.