Re: Crash in virtual file descriptor FDDEBUG code

2020-11-16 Thread Tom Lane
Greg Nancarrow writes: > While investigating a possible file-descriptor issue, I enabled the > FDDEBUG code in src/backend/storage/file/fd.c, only to find that it > resulted in a crash as soon as it was invoked. Yeah, I can imagine that code doesn't get tested often. > I've attached a small

Crash in virtual file descriptor FDDEBUG code

2020-11-16 Thread Greg Nancarrow
Hi Hackers, While investigating a possible file-descriptor issue, I enabled the FDDEBUG code in src/backend/storage/file/fd.c, only to find that it resulted in a crash as soon as it was invoked. It turns out the crash was in some logging code that was being passed a NULL fileName. I've attached a