From: Matthias Schmidt Subject: Re: got/tog segfault with corrupted (?) checkout To: Theo Buehler Cc: gameoftrees@openbsd.org Date: Wed, 27 Dec 2023 13:25:30 +0100 Hi, * Theo Buehler wrote: > > does /usr/ports/.got/base_commit happen to be empty? Yes, the file exists and has a 0 file size. > Could you 'p sb.st_size' and 'p content' and 'p *content'? at the gdb > prompt? (gdb) p sb.st_size $1 = 0 (gdb) p content $2 = (char **) 0x72fe35311e50 (gdb) p *content $3 = 0x271e43e840 Cheers Matthias