After some fiddling with GDB, I have managed to execute the same code path you did when the crash happened and everything went through fine. After analyzing the log and the stack trace, it's evident that the crash happens between https://github.com/xrootd/xrootd/blob/master/src/XrdCl/XrdClFileStateHandler.cc#L884 and https://github.com/xrootd/xrootd/blob/master/src/XrdCl/XrdClFileStateHandler.cc#L916. It's in the std::string constructor, so it's likely https://github.com/xrootd/xrootd/blob/master/src/XrdCl/XrdClFileStateHandler.cc#L887. Except this is only possible when the XrdCl::File object has already been deleted. Are you sure you're protecting the right thing?


Reply to this email directly or view it on GitHub.



Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1