Hello Héctor,
On Tue, 28 Nov 2023 13:37:40 +0100
=?UTF-8?B?SMOpY3RvciBPcsOzbiBNYXJ0w61uZXo=?= <hector.o...@gmail.com> wrote:
> I wanted to drop a link to addr2line bug[1], could that be related?
>
> [1] https://sourceware.org/bugzilla/show_bug.cgi?id=29785
Thanks for this link.
It looks like it can be related, but I can't confirm this at the moment.
> > I thought that this BUG should be easy to eliminate - but it turns out
> > that there are several serious BUGs in the gdb, and the only way to
> > eliminate them is to debug the gdb first ;)
>
> Which several serious bugs? I understand you mean in the upstream GNU
> GDB, instead of the Debian GNU GDB package. Are those reported
> upstream?
Well, I think that at least 2 problems are obvious:
- huge memory consumption (can be related to the upstream bug or just a
memory leak)
- creation of useless threads: I would expect that "enable-threading"
really enables SMP for searching symbol tables, memory ranges, etc.
I haven't reported this yet, because first I want to fully understand
whats going on.
And yes, I mean upstream GNU GDB bugs.
Regards.