This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: segfault


Erik Leunissen wrote:

My (casual) interpretation of the back trace:
It appears that somehow xstrvprintf() in utils.c is called with an empty string '\0' to append, upon which strlen() explodes.



Well that's too casual! A newline character is being appended, not an empty string.


Erik


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]