"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Matthias Schmidt <openbsd@xosc.org>
Subject:
Re: got/tog segfault with corrupted (?) checkout
To:
Theo Buehler <tb@theobuehler.org>
Cc:
gameoftrees@openbsd.org
Date:
Wed, 27 Dec 2023 13:25:30 +0100

Download raw body.

Thread
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 <error: Cannot access memory at address 0x271e43e840>

Cheers

	Matthias